From f0ecc04e9151b2f34ef9ad894447fb6fd82cca1b Mon Sep 17 00:00:00 2001 From: lachesse Date: Wed, 29 May 2024 13:59:54 +0000 Subject: [PATCH] deploy: b8c55658c35f5a9a6554c0c7e8c6ee13677be294 --- index.html | 2 +- main-NQRIFCCO.js => main-EWHNLIAT.js | 44 ++++++++++++++-------------- 2 files changed, 23 insertions(+), 23 deletions(-) rename main-NQRIFCCO.js => main-EWHNLIAT.js (82%) diff --git a/index.html b/index.html index eb591cf..d0e0bbf 100644 --- a/index.html +++ b/index.html @@ -11,5 +11,5 @@ - + diff --git a/main-NQRIFCCO.js b/main-EWHNLIAT.js similarity index 82% rename from main-NQRIFCCO.js rename to main-EWHNLIAT.js index 2ca359f..155d928 100644 --- a/main-NQRIFCCO.js +++ b/main-EWHNLIAT.js @@ -1,11 +1,11 @@ -import{a as D,b as J,c as $c,f as Hc}from"./chunk-CWTPBX7D.js";function Ph(t,e){return Object.is(t,e)}var Te=null,Ii=!1,qo=1,at=Symbol("SIGNAL");function Z(t){let e=Te;return Te=t,e}function gC(){return Ii}var Ti={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Yo(t){if(Ii)throw new Error("");if(Te===null)return;Te.consumerOnSignalRead(t);let e=Te.nextProducerIndex++;if(Ir(Te),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Xo(t){Ir(t);for(let e=0;e0}function Ir(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Lh(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Zc(t){let e=Object.create(yC);e.computation=t;let n=()=>{if(Oh(e),Yo(e),e.value===Zo)throw e.error;return e.value};return n[at]=e,n}var zc=Symbol("UNSET"),Gc=Symbol("COMPUTING"),Zo=Symbol("ERRORED"),yC=J(D({},Ti),{value:zc,dirty:!0,error:null,equal:Ph,producerMustRecompute(t){return t.value===zc||t.value===Gc},producerRecomputeValue(t){if(t.value===Gc)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Gc;let n=Qo(t),r;try{r=t.computation()}catch(i){r=Zo,t.error=i}finally{Ko(t,n)}if(e!==zc&&e!==Zo&&r!==Zo&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}});function vC(){throw new Error}var jh=vC;function Vh(){jh()}function Bh(t){jh=t}var wC=null;function Uh(t){let e=Object.create(Yc);e.value=t;let n=()=>(Yo(e),e.value);return n[at]=e,n}function es(t,e){Rh()||Vh(),t.equal(t.value,e)||(t.value=e,CC(t))}function $h(t,e){Rh()||Vh(),es(t,e(t.value))}var Yc=J(D({},Ti),{equal:Ph,value:void 0});function CC(t){t.version++,mC(),Nh(t),wC?.()}function Hh(t,e,n){let r=Object.create(DC);n&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=e;let i=c=>{r.cleanupFn=c};function o(c){return c.fn===null&&c.schedule===null}function s(c){o(c)||(qc(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Wc)}let a=()=>{if(r.fn===null)return;if(gC())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Xo(r))return;r.hasRun=!0;let c=Qo(r);try{r.cleanupFn(),r.cleanupFn=Wc,r.fn(i)}finally{Ko(r,c)}};return r.ref={notify:()=>Fh(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[at]:r},r.ref}var Wc=()=>{},DC=J(D({},Ti),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Wc});function N(t){return typeof t=="function"}function Sr(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ts=Sr(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: +import{a as D,b as J,c as Hc,f as qo}from"./chunk-CWTPBX7D.js";function Ph(t,e){return Object.is(t,e)}var Te=null,Ii=!1,Zo=1,at=Symbol("SIGNAL");function Z(t){let e=Te;return Te=t,e}function gC(){return Ii}var Ti={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Qo(t){if(Ii)throw new Error("");if(Te===null)return;Te.consumerOnSignalRead(t);let e=Te.nextProducerIndex++;if(Ir(Te),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Jo(t){Ir(t);for(let e=0;e0}function Ir(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Lh(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Zc(t){let e=Object.create(yC);e.computation=t;let n=()=>{if(Oh(e),Qo(e),e.value===Yo)throw e.error;return e.value};return n[at]=e,n}var zc=Symbol("UNSET"),Gc=Symbol("COMPUTING"),Yo=Symbol("ERRORED"),yC=J(D({},Ti),{value:zc,dirty:!0,error:null,equal:Ph,producerMustRecompute(t){return t.value===zc||t.value===Gc},producerRecomputeValue(t){if(t.value===Gc)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Gc;let n=Ko(t),r;try{r=t.computation()}catch(i){r=Yo,t.error=i}finally{Xo(t,n)}if(e!==zc&&e!==Yo&&r!==Yo&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}});function vC(){throw new Error}var jh=vC;function Vh(){jh()}function Bh(t){jh=t}var wC=null;function Uh(t){let e=Object.create(Yc);e.value=t;let n=()=>(Qo(e),e.value);return n[at]=e,n}function ts(t,e){Rh()||Vh(),t.equal(t.value,e)||(t.value=e,CC(t))}function $h(t,e){Rh()||Vh(),ts(t,e(t.value))}var Yc=J(D({},Ti),{equal:Ph,value:void 0});function CC(t){t.version++,mC(),Nh(t),wC?.()}function Hh(t,e,n){let r=Object.create(DC);n&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=e;let i=c=>{r.cleanupFn=c};function o(c){return c.fn===null&&c.schedule===null}function s(c){o(c)||(qc(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Wc)}let a=()=>{if(r.fn===null)return;if(gC())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Jo(r))return;r.hasRun=!0;let c=Ko(r);try{r.cleanupFn(),r.cleanupFn=Wc,r.fn(i)}finally{Xo(r,c)}};return r.ref={notify:()=>Fh(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[at]:r},r.ref}var Wc=()=>{},DC=J(D({},Ti),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Wc});function N(t){return typeof t=="function"}function Sr(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ns=Sr(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Bn(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var ve=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(N(r))try{r()}catch(o){e=o instanceof ts?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{zh(o)}catch(s){e=e??[],s instanceof ts?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ts(e)}}add(e){var n;if(e&&e!==this)if(this.closed)zh(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&Bn(n,e)}remove(e){let{_finalizers:n}=this;n&&Bn(n,e),e instanceof t&&e._removeParent(this)}};ve.EMPTY=(()=>{let t=new ve;return t.closed=!0,t})();var Qc=ve.EMPTY;function ns(t){return t instanceof ve||t&&"closed"in t&&N(t.remove)&&N(t.add)&&N(t.unsubscribe)}function zh(t){N(t)?t():t.unsubscribe()}var Dt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tr={setTimeout(t,e,...n){let{delegate:r}=Tr;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=Tr;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function rs(t){Tr.setTimeout(()=>{let{onUnhandledError:e}=Dt;if(e)e(t);else throw t})}function Un(){}var Gh=Kc("C",void 0,void 0);function Wh(t){return Kc("E",void 0,t)}function qh(t){return Kc("N",t,void 0)}function Kc(t,e,n){return{kind:t,value:e,error:n}}var $n=null;function xr(t){if(Dt.useDeprecatedSynchronousErrorHandling){let e=!$n;if(e&&($n={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=$n;if($n=null,n)throw r}}else t()}function Zh(t){Dt.useDeprecatedSynchronousErrorHandling&&$n&&($n.errorThrown=!0,$n.error=t)}var Hn=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ns(e)&&e.add(this)):this.destination=EC}static create(e,n,r){return new Ar(e,n,r)}next(e){this.isStopped?Jc(qh(e),this):this._next(e)}error(e){this.isStopped?Jc(Wh(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Jc(Gh,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()}}},bC=Function.prototype.bind;function Xc(t,e){return bC.call(t,e)}var el=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){is(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){is(r)}else is(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){is(n)}}},Ar=class extends Hn{constructor(e,n,r){super();let i;if(N(e)||!e)i={next:e??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&Dt.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Xc(e.next,o),error:e.error&&Xc(e.error,o),complete:e.complete&&Xc(e.complete,o)}):i=e}this.destination=new el(i)}};function is(t){Dt.useDeprecatedSynchronousErrorHandling?Zh(t):rs(t)}function _C(t){throw t}function Jc(t,e){let{onStoppedNotification:n}=Dt;n&&Tr.setTimeout(()=>n(t,e))}var EC={closed:!0,next:Un,error:_C,complete:Un};var Pr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function et(t){return t}function tl(...t){return nl(t)}function nl(t){return t.length===0?et:t.length===1?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}var B=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=IC(n)?n:new Ar(n,r,i);return xr(()=>{let{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 r=Yh(r),new r((i,o)=>{let s=new Ar({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Pr](){return this}pipe(...n){return nl(n)(this)}toPromise(n){return n=Yh(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function Yh(t){var e;return(e=t??Dt.Promise)!==null&&e!==void 0?e:Promise}function MC(t){return t&&N(t.next)&&N(t.error)&&N(t.complete)}function IC(t){return t&&t instanceof Hn||MC(t)&&ns(t)}function rl(t){return N(t?.lift)}function H(t){return e=>{if(rl(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 V(t,e,n,r,i){return new il(t,e,n,r,i)}var il=class extends Hn{constructor(e,n,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}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()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Or(){return H((t,e)=>{let n=null;t._refCount++;let r=V(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let i=t._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var Nr=class extends B{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,rl(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let n=this.getSubject();e.add(this.source.subscribe(V(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return Or()(this)}};var Rr={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Rr;r&&(e=r.requestAnimationFrame,n=r.cancelAnimationFrame);let i=e(o=>{n=void 0,t(o)});return new ve(()=>n?.(i))},requestAnimationFrame(...t){let{delegate:e}=Rr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Rr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Qh=Sr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ue=(()=>{class t extends B{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new os(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Qh}next(n){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:i,observers:o}=this;return r||i?Qc:(this.currentObservers=null,o.push(n),new ve(()=>{this.currentObservers=null,Bn(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new B;return n.source=this,n}}return t.create=(e,n)=>new os(e,n),t})(),os=class extends Ue{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:Qc}};var De=class extends Ue{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var ol={now(){return(ol.delegate||Date).now()},delegate:void 0};var ss=class extends ve{constructor(e,n){super()}schedule(e,n=0){return this}};var xi={setInterval(t,e,...n){let{delegate:r}=xi;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=xi;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Fr=class extends ss{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(e,n,r=0){return xi.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&xi.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,i;try{this.work(e)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Bn(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var kr=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};kr.now=ol.now;var Lr=class extends kr{constructor(e,n=kr.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var Ai=new Lr(Fr),Kh=Ai;var as=class extends Fr{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}requestAsyncId(e,n,r=0){return r!==null&&r>0?super.requestAsyncId(e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=Rr.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,n,r=0){var i;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(e,n,r);let{actions:o}=e;n!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==n&&(Rr.cancelAnimationFrame(n),e._scheduled=void 0)}};var cs=class extends Lr{flush(e){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,i;e=e||r.shift();do if(i=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,i){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw i}}};var Pi=new cs(as);var xe=new B(t=>t.complete());function ls(t){return t&&N(t.schedule)}function Xh(t){return t[t.length-1]}function jr(t){return N(Xh(t))?t.pop():void 0}function gn(t){return ls(Xh(t))?t.pop():void 0}function ep(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((r=r.apply(t,e||[])).next())})}function Jh(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")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.")}function zn(t){return this instanceof zn?(this.v=t,this):new zn(t)}function tp(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(h){r[h]&&(i[h]=function(p){return new Promise(function(m,v){o.push([h,p,m,v])>1||a(h,p)})})}function a(h,p){try{c(r[h](p))}catch(m){d(o[0][3],m)}}function c(h){h.value instanceof zn?Promise.resolve(h.value.v).then(l,u):d(o[0][2],h)}function l(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}function np(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Jh=="function"?Jh(t):t[Symbol.iterator](),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,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var Vr=t=>t&&typeof t.length=="number"&&typeof t!="function";function us(t){return N(t?.then)}function ds(t){return N(t[Pr])}function fs(t){return Symbol.asyncIterator&&N(t?.[Symbol.asyncIterator])}function hs(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function SC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ps=SC();function gs(t){return N(t?.[ps])}function ms(t){return tp(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:i}=yield zn(n.read());if(i)return yield zn(void 0);yield yield zn(r)}}finally{n.releaseLock()}})}function ys(t){return N(t?.getReader)}function ae(t){if(t instanceof B)return t;if(t!=null){if(ds(t))return TC(t);if(Vr(t))return xC(t);if(us(t))return AC(t);if(fs(t))return rp(t);if(gs(t))return PC(t);if(ys(t))return OC(t)}throw hs(t)}function TC(t){return new B(e=>{let n=t[Pr]();if(N(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function xC(t){return new B(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,rs)})}function PC(t){return new B(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function rp(t){return new B(e=>{NC(t,e).catch(n=>e.error(n))})}function OC(t){return rp(ms(t))}function NC(t,e){var n,r,i,o;return ep(this,void 0,void 0,function*(){try{for(n=np(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),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()})}function qe(t,e,n,r=0,i=!1){let o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function vs(t,e=0){return H((n,r)=>{n.subscribe(V(r,i=>qe(r,t,()=>r.next(i),e),()=>qe(r,t,()=>r.complete(),e),i=>qe(r,t,()=>r.error(i),e)))})}function ws(t,e=0){return H((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function ip(t,e){return ae(t).pipe(ws(e),vs(e))}function op(t,e){return ae(t).pipe(ws(e),vs(e))}function sp(t,e){return new B(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function ap(t,e){return new B(n=>{let r;return qe(n,e,()=>{r=t[ps](),qe(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>N(r?.return)&&r.return()})}function Cs(t,e){if(!t)throw new Error("Iterable cannot be null");return new B(n=>{qe(n,e,()=>{let r=t[Symbol.asyncIterator]();qe(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function cp(t,e){return Cs(ms(t),e)}function lp(t,e){if(t!=null){if(ds(t))return ip(t,e);if(Vr(t))return sp(t,e);if(us(t))return op(t,e);if(fs(t))return Cs(t,e);if(gs(t))return ap(t,e);if(ys(t))return cp(t,e)}throw hs(t)}function ce(t,e){return e?lp(t,e):ae(t)}function O(...t){let e=gn(t);return ce(t,e)}function ct(t,e){let n=N(t)?t:()=>t,r=i=>i.error(n());return new B(e?i=>e.schedule(r,0,i):r)}function sl(t){return!!t&&(t instanceof B||N(t.lift)&&N(t.subscribe))}var Kt=Sr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function up(t){return t instanceof Date&&!isNaN(t)}function T(t,e){return H((n,r)=>{let i=0;n.subscribe(V(r,o=>{r.next(t.call(e,o,i++))}))})}var{isArray:RC}=Array;function FC(t,e){return RC(e)?t(...e):t(e)}function Br(t){return T(e=>FC(t,e))}var{isArray:kC}=Array,{getPrototypeOf:LC,prototype:jC,keys:VC}=Object;function Ds(t){if(t.length===1){let e=t[0];if(kC(e))return{args:e,keys:null};if(BC(e)){let n=VC(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function BC(t){return t&&typeof t=="object"&&LC(t)===jC}function bs(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function _s(...t){let e=gn(t),n=jr(t),{args:r,keys:i}=Ds(t);if(r.length===0)return ce([],e);let o=new B(UC(r,e,i?s=>bs(i,s):et));return n?o.pipe(Br(n)):o}function UC(t,e,n=et){return r=>{dp(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let l=ce(t[c],e),u=!1;l.subscribe(V(r,d=>{o[c]=d,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function dp(t,e,n){t?qe(n,t,e):e()}function fp(t,e,n,r,i,o,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&e.complete()},p=v=>l{o&&e.next(v),l++;let b=!1;ae(n(v,u++)).subscribe(V(e,_=>{i?.(_),o?p(_):e.next(_)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&lm(_)):m(_)}h()}catch(_){e.error(_)}}))};return t.subscribe(V(e,p,()=>{d=!0,h()})),()=>{a?.()}}function we(t,e,n=1/0){return N(e)?we((r,i)=>T((o,s)=>e(r,o,i,s))(ae(t(r,i))),n):(typeof e=="number"&&(n=e),H((r,i)=>fp(r,i,t,n)))}function al(t=1/0){return we(et,t)}function Oi(){return al(1)}function mn(...t){return Oi()(ce(t,gn(t)))}function Es(t){return new B(e=>{ae(t()).subscribe(e)})}function cl(...t){let e=jr(t),{args:n,keys:r}=Ds(t),i=new B(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(r?bs(r,a):a),o.complete())}))}});return e?i.pipe(Br(e)):i}var $C=["addListener","removeListener"],HC=["addEventListener","removeEventListener"],zC=["on","off"];function Gn(t,e,n,r){if(N(n)&&(r=n,n=void 0),r)return Gn(t,e,n).pipe(Br(r));let[i,o]=qC(t)?HC.map(s=>a=>t[s](e,a,n)):GC(t)?$C.map(hp(t,e)):WC(t)?zC.map(hp(t,e)):[];if(!i&&Vr(t))return we(s=>Gn(s,e,n))(ae(t));if(!i)throw new TypeError("Invalid event target");return new B(s=>{let a=(...c)=>s.next(1o(a)})}function hp(t,e){return n=>r=>t[n](e,r)}function GC(t){return N(t.addListener)&&N(t.removeListener)}function WC(t){return N(t.on)&&N(t.off)}function qC(t){return N(t.addEventListener)&&N(t.removeEventListener)}function pp(t=0,e,n=Kh){let r=-1;return e!=null&&(ls(e)?n=e:r=e),new B(i=>{let o=up(t)?+t-n.now():t;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}var{isArray:ZC}=Array;function gp(t){return t.length===1&&ZC(t[0])?t[0]:t}function be(t,e){return H((n,r)=>{let i=0;n.subscribe(V(r,o=>t.call(e,o,i++)&&r.next(o)))})}function ll(...t){let e=jr(t),n=gp(t);return n.length?new B(r=>{let i=n.map(()=>[]),o=n.map(()=>!1);r.add(()=>{i=o=null});for(let s=0;!r.closed&&s{if(i[s].push(a),i.every(c=>c.length)){let c=i.map(l=>l.shift());r.next(e?e(...c):c),i.some((l,u)=>!l.length&&o[u])&&r.complete()}},()=>{o[s]=!0,!i[s].length&&r.complete()}));return()=>{i=o=null}}):xe}function tt(t){return H((e,n)=>{let r=null,i=!1,o;r=e.subscribe(V(n,void 0,void 0,s=>{o=ae(t(s,tt(t)(e))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function Ms(t,e,n,r,i){return(o,s)=>{let a=n,c=e,l=0;o.subscribe(V(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),r&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function ul(t,e){return H(Ms(t,e,arguments.length>=2,!1,!0))}function yn(t,e){return N(e)?we(t,e,1):we(t,1)}function dl(t,e=Ai){return H((n,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let l=o;o=null,r.next(l)}};function c(){let l=s+t,u=e.now();if(u{o=l,s=e.now(),i||(i=e.schedule(c,t),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function vn(t){return H((e,n)=>{let r=!1;e.subscribe(V(n,i=>{r=!0,n.next(i)},()=>{r||n.next(t),n.complete()}))})}function $e(t){return t<=0?()=>xe:H((e,n)=>{let r=0;e.subscribe(V(n,i=>{++r<=t&&(n.next(i),t<=r&&n.complete())}))})}function mp(){return H((t,e)=>{t.subscribe(V(e,Un))})}function Ni(t){return T(()=>t)}function fl(t,e){return e?n=>mn(e.pipe($e(1),mp()),n.pipe(fl(t))):we((n,r)=>ae(t(n,r)).pipe($e(1),Ni(n)))}function hl(t,e=Ai){let n=pp(t,e);return fl(()=>n)}function Is(t=YC){return H((e,n)=>{let r=!1;e.subscribe(V(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(t())))})}function YC(){return new Kt}function Wn(t){return H((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Lt(t,e){let n=arguments.length>=2;return r=>r.pipe(t?be((i,o)=>t(i,o,r)):et,$e(1),n?vn(e):Is(()=>new Kt))}function Ur(t){return t<=0?()=>xe:H((e,n)=>{let r=[];e.subscribe(V(n,i=>{r.push(i),t{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function pl(t,e){let n=arguments.length>=2;return r=>r.pipe(t?be((i,o)=>t(i,o,r)):et,Ur(1),n?vn(e):Is(()=>new Kt))}function gl(t,e){return H(Ms(t,e,arguments.length>=2,!0))}function ml(...t){let e=gn(t);return H((n,r)=>{(e?mn(t,n,e):mn(t,n)).subscribe(r)})}function Ne(t,e){return H((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(V(r,c=>{i?.unsubscribe();let l=0,u=o++;ae(t(c,u)).subscribe(i=V(r,d=>r.next(e?e(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Ri(t){return H((e,n)=>{ae(t).subscribe(V(n,()=>n.complete(),Un)),!n.closed&&e.subscribe(n)})}function re(t,e,n){let r=N(t)||e||n?{next:t,error:e,complete:n}:t;return r?H((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(V(o,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),o.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),o.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),o.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):et}var tg="https://g.co/ng/security#xss",y=class extends Error{constructor(e,n){super(na(e,n)),this.code=e}};function na(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var ng=Symbol("InputSignalNode#UNSET"),QC=J(D({},Yc),{transformFn:void 0,applyValueToInputSignal(t,e){es(t,e)}});function rg(t,e){let n=Object.create(QC);n.value=t,n.transformFn=e?.transform;function r(){if(Yo(n),n.value===ng)throw new y(-950,!1);return n.value}return r[at]=n,r}function ra(t){return{toString:t}.toString()}var Cn=globalThis;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 KC(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Ye(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ye).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` -`);return n===-1?e:e.substring(0,n)}function Ol(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var XC=oe({__forward_ref__:oe});function sr(t){return t.__forward_ref__=sr,t.toString=function(){return Ye(this())},t}function He(t){return ig(t)?t():t}function ig(t){return typeof t=="function"&&t.hasOwnProperty(XC)&&t.__forward_ref__===sr}function M(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ht(t){return{providers:t.providers||[],imports:t.imports||[]}}function ia(t){return yp(t,sg)||yp(t,ag)}function og(t){return ia(t)!==null}function yp(t,e){return t.hasOwnProperty(e)?t[e]:null}function JC(t){let e=t&&(t[sg]||t[ag]);return e||null}function vp(t){return t&&(t.hasOwnProperty(wp)||t.hasOwnProperty(e0))?t[wp]:null}var sg=oe({\u0275prov:oe}),wp=oe({\u0275inj:oe}),ag=oe({ngInjectableDef:oe}),e0=oe({ngInjectorDef:oe}),I=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=M({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function cg(t){return t&&!!t.\u0275providers}var t0=oe({\u0275cmp:oe}),n0=oe({\u0275dir:oe}),r0=oe({\u0275pipe:oe}),i0=oe({\u0275mod:oe}),js=oe({\u0275fac:oe}),Fi=oe({__NG_ELEMENT_ID__:oe}),Cp=oe({__NG_ENV_ID__:oe});function qr(t){return typeof t=="string"?t:t==null?"":String(t)}function o0(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():qr(t)}function s0(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new y(-200,t)}function Vu(t,e){throw new y(-201,!1)}var G=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(G||{}),Nl;function lg(){return Nl}function Ze(t){let e=Nl;return Nl=t,e}function ug(t,e,n){let r=ia(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&G.Optional)return null;if(e!==void 0)return e;Vu(t,"Injector")}var a0={},ki=a0,c0="__NG_DI_FLAG__",Vs="ngTempTokenPath",l0="ngTokenPath",u0=/\n/gm,d0="\u0275",Dp="__source",Gr;function f0(){return Gr}function wn(t){let e=Gr;return Gr=t,e}function h0(t,e=G.Default){if(Gr===void 0)throw new y(-203,!1);return Gr===null?ug(t,void 0,e):Gr.get(t,e&G.Optional?null:void 0,e)}function x(t,e=G.Default){return(lg()||h0)(He(t),e)}function g(t,e=G.Default){return x(t,oa(e))}function oa(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Rl(t){let e=[];for(let n=0;n{let t=new ve;return t.closed=!0,t})();var Qc=ve.EMPTY;function rs(t){return t instanceof ve||t&&"closed"in t&&N(t.remove)&&N(t.add)&&N(t.unsubscribe)}function zh(t){N(t)?t():t.unsubscribe()}var Dt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tr={setTimeout(t,e,...n){let{delegate:r}=Tr;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=Tr;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function is(t){Tr.setTimeout(()=>{let{onUnhandledError:e}=Dt;if(e)e(t);else throw t})}function Un(){}var Gh=Kc("C",void 0,void 0);function Wh(t){return Kc("E",void 0,t)}function qh(t){return Kc("N",t,void 0)}function Kc(t,e,n){return{kind:t,value:e,error:n}}var $n=null;function xr(t){if(Dt.useDeprecatedSynchronousErrorHandling){let e=!$n;if(e&&($n={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=$n;if($n=null,n)throw r}}else t()}function Zh(t){Dt.useDeprecatedSynchronousErrorHandling&&$n&&($n.errorThrown=!0,$n.error=t)}var Hn=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,rs(e)&&e.add(this)):this.destination=EC}static create(e,n,r){return new Ar(e,n,r)}next(e){this.isStopped?Jc(qh(e),this):this._next(e)}error(e){this.isStopped?Jc(Wh(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Jc(Gh,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()}}},bC=Function.prototype.bind;function Xc(t,e){return bC.call(t,e)}var el=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){os(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){os(r)}else os(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){os(n)}}},Ar=class extends Hn{constructor(e,n,r){super();let i;if(N(e)||!e)i={next:e??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&Dt.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Xc(e.next,o),error:e.error&&Xc(e.error,o),complete:e.complete&&Xc(e.complete,o)}):i=e}this.destination=new el(i)}};function os(t){Dt.useDeprecatedSynchronousErrorHandling?Zh(t):is(t)}function _C(t){throw t}function Jc(t,e){let{onStoppedNotification:n}=Dt;n&&Tr.setTimeout(()=>n(t,e))}var EC={closed:!0,next:Un,error:_C,complete:Un};var Pr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function et(t){return t}function tl(...t){return nl(t)}function nl(t){return t.length===0?et:t.length===1?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}var B=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=IC(n)?n:new Ar(n,r,i);return xr(()=>{let{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 r=Yh(r),new r((i,o)=>{let s=new Ar({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Pr](){return this}pipe(...n){return nl(n)(this)}toPromise(n){return n=Yh(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function Yh(t){var e;return(e=t??Dt.Promise)!==null&&e!==void 0?e:Promise}function MC(t){return t&&N(t.next)&&N(t.error)&&N(t.complete)}function IC(t){return t&&t instanceof Hn||MC(t)&&rs(t)}function rl(t){return N(t?.lift)}function H(t){return e=>{if(rl(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 V(t,e,n,r,i){return new il(t,e,n,r,i)}var il=class extends Hn{constructor(e,n,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}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()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Or(){return H((t,e)=>{let n=null;t._refCount++;let r=V(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let i=t._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var Nr=class extends B{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,rl(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let n=this.getSubject();e.add(this.source.subscribe(V(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return Or()(this)}};var Rr={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Rr;r&&(e=r.requestAnimationFrame,n=r.cancelAnimationFrame);let i=e(o=>{n=void 0,t(o)});return new ve(()=>n?.(i))},requestAnimationFrame(...t){let{delegate:e}=Rr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Rr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Qh=Sr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ue=(()=>{class t extends B{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ss(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Qh}next(n){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:i,observers:o}=this;return r||i?Qc:(this.currentObservers=null,o.push(n),new ve(()=>{this.currentObservers=null,Bn(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new B;return n.source=this,n}}return t.create=(e,n)=>new ss(e,n),t})(),ss=class extends Ue{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:Qc}};var De=class extends Ue{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var ol={now(){return(ol.delegate||Date).now()},delegate:void 0};var as=class extends ve{constructor(e,n){super()}schedule(e,n=0){return this}};var xi={setInterval(t,e,...n){let{delegate:r}=xi;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=xi;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Fr=class extends as{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(e,n,r=0){return xi.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&xi.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,i;try{this.work(e)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Bn(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var kr=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};kr.now=ol.now;var Lr=class extends kr{constructor(e,n=kr.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var Ai=new Lr(Fr),Kh=Ai;var cs=class extends Fr{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}requestAsyncId(e,n,r=0){return r!==null&&r>0?super.requestAsyncId(e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=Rr.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,n,r=0){var i;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(e,n,r);let{actions:o}=e;n!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==n&&(Rr.cancelAnimationFrame(n),e._scheduled=void 0)}};var ls=class extends Lr{flush(e){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,i;e=e||r.shift();do if(i=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,i){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw i}}};var Pi=new ls(cs);var xe=new B(t=>t.complete());function us(t){return t&&N(t.schedule)}function Xh(t){return t[t.length-1]}function jr(t){return N(Xh(t))?t.pop():void 0}function gn(t){return us(Xh(t))?t.pop():void 0}function ep(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((r=r.apply(t,e||[])).next())})}function Jh(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")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.")}function zn(t){return this instanceof zn?(this.v=t,this):new zn(t)}function tp(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(h){r[h]&&(i[h]=function(p){return new Promise(function(m,v){o.push([h,p,m,v])>1||a(h,p)})})}function a(h,p){try{c(r[h](p))}catch(m){d(o[0][3],m)}}function c(h){h.value instanceof zn?Promise.resolve(h.value.v).then(l,u):d(o[0][2],h)}function l(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}function np(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Jh=="function"?Jh(t):t[Symbol.iterator](),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,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var Vr=t=>t&&typeof t.length=="number"&&typeof t!="function";function ds(t){return N(t?.then)}function fs(t){return N(t[Pr])}function hs(t){return Symbol.asyncIterator&&N(t?.[Symbol.asyncIterator])}function ps(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function SC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gs=SC();function ms(t){return N(t?.[gs])}function ys(t){return tp(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:i}=yield zn(n.read());if(i)return yield zn(void 0);yield yield zn(r)}}finally{n.releaseLock()}})}function vs(t){return N(t?.getReader)}function ae(t){if(t instanceof B)return t;if(t!=null){if(fs(t))return TC(t);if(Vr(t))return xC(t);if(ds(t))return AC(t);if(hs(t))return rp(t);if(ms(t))return PC(t);if(vs(t))return OC(t)}throw ps(t)}function TC(t){return new B(e=>{let n=t[Pr]();if(N(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function xC(t){return new B(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,is)})}function PC(t){return new B(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function rp(t){return new B(e=>{NC(t,e).catch(n=>e.error(n))})}function OC(t){return rp(ys(t))}function NC(t,e){var n,r,i,o;return ep(this,void 0,void 0,function*(){try{for(n=np(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),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()})}function qe(t,e,n,r=0,i=!1){let o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function ws(t,e=0){return H((n,r)=>{n.subscribe(V(r,i=>qe(r,t,()=>r.next(i),e),()=>qe(r,t,()=>r.complete(),e),i=>qe(r,t,()=>r.error(i),e)))})}function Cs(t,e=0){return H((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function ip(t,e){return ae(t).pipe(Cs(e),ws(e))}function op(t,e){return ae(t).pipe(Cs(e),ws(e))}function sp(t,e){return new B(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function ap(t,e){return new B(n=>{let r;return qe(n,e,()=>{r=t[gs](),qe(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>N(r?.return)&&r.return()})}function Ds(t,e){if(!t)throw new Error("Iterable cannot be null");return new B(n=>{qe(n,e,()=>{let r=t[Symbol.asyncIterator]();qe(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function cp(t,e){return Ds(ys(t),e)}function lp(t,e){if(t!=null){if(fs(t))return ip(t,e);if(Vr(t))return sp(t,e);if(ds(t))return op(t,e);if(hs(t))return Ds(t,e);if(ms(t))return ap(t,e);if(vs(t))return cp(t,e)}throw ps(t)}function ce(t,e){return e?lp(t,e):ae(t)}function O(...t){let e=gn(t);return ce(t,e)}function ct(t,e){let n=N(t)?t:()=>t,r=i=>i.error(n());return new B(e?i=>e.schedule(r,0,i):r)}function sl(t){return!!t&&(t instanceof B||N(t.lift)&&N(t.subscribe))}var Kt=Sr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function up(t){return t instanceof Date&&!isNaN(t)}function T(t,e){return H((n,r)=>{let i=0;n.subscribe(V(r,o=>{r.next(t.call(e,o,i++))}))})}var{isArray:RC}=Array;function FC(t,e){return RC(e)?t(...e):t(e)}function Br(t){return T(e=>FC(t,e))}var{isArray:kC}=Array,{getPrototypeOf:LC,prototype:jC,keys:VC}=Object;function bs(t){if(t.length===1){let e=t[0];if(kC(e))return{args:e,keys:null};if(BC(e)){let n=VC(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function BC(t){return t&&typeof t=="object"&&LC(t)===jC}function _s(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function Es(...t){let e=gn(t),n=jr(t),{args:r,keys:i}=bs(t);if(r.length===0)return ce([],e);let o=new B(UC(r,e,i?s=>_s(i,s):et));return n?o.pipe(Br(n)):o}function UC(t,e,n=et){return r=>{dp(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let l=ce(t[c],e),u=!1;l.subscribe(V(r,d=>{o[c]=d,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function dp(t,e,n){t?qe(n,t,e):e()}function fp(t,e,n,r,i,o,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&e.complete()},p=v=>l{o&&e.next(v),l++;let b=!1;ae(n(v,u++)).subscribe(V(e,_=>{i?.(_),o?p(_):e.next(_)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&lm(_)):m(_)}h()}catch(_){e.error(_)}}))};return t.subscribe(V(e,p,()=>{d=!0,h()})),()=>{a?.()}}function we(t,e,n=1/0){return N(e)?we((r,i)=>T((o,s)=>e(r,o,i,s))(ae(t(r,i))),n):(typeof e=="number"&&(n=e),H((r,i)=>fp(r,i,t,n)))}function al(t=1/0){return we(et,t)}function Oi(){return al(1)}function mn(...t){return Oi()(ce(t,gn(t)))}function Ms(t){return new B(e=>{ae(t()).subscribe(e)})}function cl(...t){let e=jr(t),{args:n,keys:r}=bs(t),i=new B(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(r?_s(r,a):a),o.complete())}))}});return e?i.pipe(Br(e)):i}var $C=["addListener","removeListener"],HC=["addEventListener","removeEventListener"],zC=["on","off"];function Gn(t,e,n,r){if(N(n)&&(r=n,n=void 0),r)return Gn(t,e,n).pipe(Br(r));let[i,o]=qC(t)?HC.map(s=>a=>t[s](e,a,n)):GC(t)?$C.map(hp(t,e)):WC(t)?zC.map(hp(t,e)):[];if(!i&&Vr(t))return we(s=>Gn(s,e,n))(ae(t));if(!i)throw new TypeError("Invalid event target");return new B(s=>{let a=(...c)=>s.next(1o(a)})}function hp(t,e){return n=>r=>t[n](e,r)}function GC(t){return N(t.addListener)&&N(t.removeListener)}function WC(t){return N(t.on)&&N(t.off)}function qC(t){return N(t.addEventListener)&&N(t.removeEventListener)}function pp(t=0,e,n=Kh){let r=-1;return e!=null&&(us(e)?n=e:r=e),new B(i=>{let o=up(t)?+t-n.now():t;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}var{isArray:ZC}=Array;function gp(t){return t.length===1&&ZC(t[0])?t[0]:t}function be(t,e){return H((n,r)=>{let i=0;n.subscribe(V(r,o=>t.call(e,o,i++)&&r.next(o)))})}function ll(...t){let e=jr(t),n=gp(t);return n.length?new B(r=>{let i=n.map(()=>[]),o=n.map(()=>!1);r.add(()=>{i=o=null});for(let s=0;!r.closed&&s{if(i[s].push(a),i.every(c=>c.length)){let c=i.map(l=>l.shift());r.next(e?e(...c):c),i.some((l,u)=>!l.length&&o[u])&&r.complete()}},()=>{o[s]=!0,!i[s].length&&r.complete()}));return()=>{i=o=null}}):xe}function tt(t){return H((e,n)=>{let r=null,i=!1,o;r=e.subscribe(V(n,void 0,void 0,s=>{o=ae(t(s,tt(t)(e))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function Is(t,e,n,r,i){return(o,s)=>{let a=n,c=e,l=0;o.subscribe(V(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),r&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function ul(t,e){return H(Is(t,e,arguments.length>=2,!1,!0))}function yn(t,e){return N(e)?we(t,e,1):we(t,1)}function dl(t,e=Ai){return H((n,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let l=o;o=null,r.next(l)}};function c(){let l=s+t,u=e.now();if(u{o=l,s=e.now(),i||(i=e.schedule(c,t),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function vn(t){return H((e,n)=>{let r=!1;e.subscribe(V(n,i=>{r=!0,n.next(i)},()=>{r||n.next(t),n.complete()}))})}function $e(t){return t<=0?()=>xe:H((e,n)=>{let r=0;e.subscribe(V(n,i=>{++r<=t&&(n.next(i),t<=r&&n.complete())}))})}function mp(){return H((t,e)=>{t.subscribe(V(e,Un))})}function Ni(t){return T(()=>t)}function fl(t,e){return e?n=>mn(e.pipe($e(1),mp()),n.pipe(fl(t))):we((n,r)=>ae(t(n,r)).pipe($e(1),Ni(n)))}function hl(t,e=Ai){let n=pp(t,e);return fl(()=>n)}function Ss(t=YC){return H((e,n)=>{let r=!1;e.subscribe(V(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(t())))})}function YC(){return new Kt}function Wn(t){return H((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Lt(t,e){let n=arguments.length>=2;return r=>r.pipe(t?be((i,o)=>t(i,o,r)):et,$e(1),n?vn(e):Ss(()=>new Kt))}function Ur(t){return t<=0?()=>xe:H((e,n)=>{let r=[];e.subscribe(V(n,i=>{r.push(i),t{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function pl(t,e){let n=arguments.length>=2;return r=>r.pipe(t?be((i,o)=>t(i,o,r)):et,Ur(1),n?vn(e):Ss(()=>new Kt))}function gl(t,e){return H(Is(t,e,arguments.length>=2,!0))}function ml(...t){let e=gn(t);return H((n,r)=>{(e?mn(t,n,e):mn(t,n)).subscribe(r)})}function Ne(t,e){return H((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(V(r,c=>{i?.unsubscribe();let l=0,u=o++;ae(t(c,u)).subscribe(i=V(r,d=>r.next(e?e(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Ri(t){return H((e,n)=>{ae(t).subscribe(V(n,()=>n.complete(),Un)),!n.closed&&e.subscribe(n)})}function re(t,e,n){let r=N(t)||e||n?{next:t,error:e,complete:n}:t;return r?H((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(V(o,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),o.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),o.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),o.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):et}var tg="https://g.co/ng/security#xss",y=class extends Error{constructor(e,n){super(ra(e,n)),this.code=e}};function ra(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var ng=Symbol("InputSignalNode#UNSET"),QC=J(D({},Yc),{transformFn:void 0,applyValueToInputSignal(t,e){ts(t,e)}});function rg(t,e){let n=Object.create(QC);n.value=t,n.transformFn=e?.transform;function r(){if(Qo(n),n.value===ng)throw new y(-950,!1);return n.value}return r[at]=n,r}function ia(t){return{toString:t}.toString()}var Cn=globalThis;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 KC(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Ye(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ye).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` +`);return n===-1?e:e.substring(0,n)}function Ol(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var XC=oe({__forward_ref__:oe});function sr(t){return t.__forward_ref__=sr,t.toString=function(){return Ye(this())},t}function He(t){return ig(t)?t():t}function ig(t){return typeof t=="function"&&t.hasOwnProperty(XC)&&t.__forward_ref__===sr}function M(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ht(t){return{providers:t.providers||[],imports:t.imports||[]}}function oa(t){return yp(t,sg)||yp(t,ag)}function og(t){return oa(t)!==null}function yp(t,e){return t.hasOwnProperty(e)?t[e]:null}function JC(t){let e=t&&(t[sg]||t[ag]);return e||null}function vp(t){return t&&(t.hasOwnProperty(wp)||t.hasOwnProperty(e0))?t[wp]:null}var sg=oe({\u0275prov:oe}),wp=oe({\u0275inj:oe}),ag=oe({ngInjectableDef:oe}),e0=oe({ngInjectorDef:oe}),I=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=M({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function cg(t){return t&&!!t.\u0275providers}var t0=oe({\u0275cmp:oe}),n0=oe({\u0275dir:oe}),r0=oe({\u0275pipe:oe}),i0=oe({\u0275mod:oe}),Vs=oe({\u0275fac:oe}),Fi=oe({__NG_ELEMENT_ID__:oe}),Cp=oe({__NG_ENV_ID__:oe});function qr(t){return typeof t=="string"?t:t==null?"":String(t)}function o0(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():qr(t)}function s0(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new y(-200,t)}function Vu(t,e){throw new y(-201,!1)}var G=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(G||{}),Nl;function lg(){return Nl}function Ze(t){let e=Nl;return Nl=t,e}function ug(t,e,n){let r=oa(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&G.Optional)return null;if(e!==void 0)return e;Vu(t,"Injector")}var a0={},ki=a0,c0="__NG_DI_FLAG__",Bs="ngTempTokenPath",l0="ngTokenPath",u0=/\n/gm,d0="\u0275",Dp="__source",Gr;function f0(){return Gr}function wn(t){let e=Gr;return Gr=t,e}function h0(t,e=G.Default){if(Gr===void 0)throw new y(-203,!1);return Gr===null?ug(t,void 0,e):Gr.get(t,e&G.Optional?null:void 0,e)}function x(t,e=G.Default){return(lg()||h0)(He(t),e)}function g(t,e=G.Default){return x(t,sa(e))}function sa(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Rl(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ye(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(u0,` - `)}`}function Yn(t,e){let n=t.hasOwnProperty(js);return n?t[js]:null}function y0(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?Bu(n,e):e(n))}function dg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Bs(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function w0(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function Uu(t,e,n){let r=Ki(t,e);return r>=0?t[r|1]=n:(r=~r,w0(t,r,e,n)),r}function yl(t,e){let n=Ki(t,e);if(n>=0)return t[n|1]}function Ki(t,e){return C0(t,e,1)}function C0(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<e?i=o:r=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&l!==d){if(bt(r))return!1;s=!0}}}}return bt(r)||s}function bt(t){return(t&1)===0}function S0(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!bt(s)&&(e+=_p(o,i),i=""),r=s,o=o||!bt(r);n++}return i!==""&&(e+=_p(o,i)),e}function O0(t){return t.map(P0).join(",")}function N0(t){let e=[],n=[],r=1,i=2;for(;r{let e=Cg(t),n=J(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===pg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Bt.Emulated,styles:t.styles||ze,_:null,schemas:t.schemas||null,tView:null,id:""});Dg(n);let r=t.dependencies;return n.directiveDefs=Mp(r,!1),n.pipeDefs=Mp(r,!0),n.id=k0(n),n})}function R0(t){return Qn(t)||mg(t)}function F0(t){return t!==null}function zt(t){return ra(()=>({type:t.type,bootstrap:t.bootstrap||ze,declarations:t.declarations||ze,imports:t.imports||ze,exports:t.exports||ze,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Ep(t,e){if(t==null)return Zr;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a=P.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(n[o]=a!==P.None?[r,a]:r,e[o]=s):n[o]=r}return n}function _e(t){return ra(()=>{let e=Cg(t);return Dg(e),e})}function lt(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Qn(t){return t[t0]||null}function mg(t){return t[n0]||null}function yg(t){return t[r0]||null}function vg(t){let e=Qn(t)||mg(t)||yg(t);return e!==null?e.standalone:!1}function wg(t,e){let n=t[i0]||null;if(!n&&e===!0)throw new Error(`Type ${Ye(t)} does not have '\u0275mod' property.`);return n}function Cg(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Zr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||ze,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ep(t.inputs,e),outputs:Ep(t.outputs),debugInfo:null}}function Dg(t){t.features?.forEach(e=>e(t))}function Mp(t,e){if(!t)return null;let n=e?yg:R0;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(F0)}function k0(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of n)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function tn(t){return{\u0275providers:t}}function L0(...t){return{\u0275providers:bg(!0,t),\u0275fromNgModule:!0}}function bg(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return Bu(e,s=>{let a=s;kl(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&_g(i,o),n}function _g(t,e){for(let n=0;n{e(o,r)})}}function kl(t,e,n,r){if(t=He(t),!t)return!1;let i=null,o=vp(t),s=!o&&Qn(t);if(!o&&!s){let c=t.ngModule;if(o=vp(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)kl(l,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{Bu(o.imports,u=>{kl(u,e,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&_g(l,e)}if(!a){let l=Yn(i)||(()=>new i);e({provide:i,useFactory:l,deps:ze},i),e({provide:hg,useValue:i,multi:!0},i),e({provide:Yr,useValue:()=>x(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=t;Hu(c,u=>{e(u,l)})}}else return!1;return i!==t&&t.providers!==void 0}function Hu(t,e){for(let n of t)cg(n)&&(n=n.\u0275providers),Array.isArray(n)?Hu(n,e):e(n)}var j0=oe({provide:String,useValue:oe});function Eg(t){return t!==null&&typeof t=="object"&&j0 in t}function V0(t){return!!(t&&t.useExisting)}function B0(t){return!!(t&&t.useFactory)}function Qr(t){return typeof t=="function"}function U0(t){return!!t.useClass}var sa=new I(""),Ps={},$0={},vl;function zu(){return vl===void 0&&(vl=new Us),vl}var Qe=class{},ji=class extends Qe{get destroyed(){return this._destroyed}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,jl(e,s=>this.processProvider(s)),this.records.set(fg,$r(void 0,this)),i.has("environment")&&this.records.set(Qe,$r(void 0,this));let o=this.records.get(sa);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(hg,ze,G.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Z(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=wn(this),r=Ze(void 0),i;try{return e()}finally{wn(n),Ze(r)}}get(e,n=ki,r=G.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Cp))return e[Cp](this);r=oa(r);let i,o=wn(this),s=Ze(void 0);try{if(!(r&G.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=q0(e)&&ia(e);l&&this.injectableDefInScope(l)?c=$r(Ll(e),Ps):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=r&G.Self?zu():this.parent;return n=r&G.Optional&&n===ki?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vs]=a[Vs]||[]).unshift(Ye(e)),o)throw a;return g0(a,e,"R3InjectorError",this.source)}else throw a}finally{Ze(s),wn(o)}}resolveInjectorInitializers(){let e=Z(null),n=wn(this),r=Ze(void 0),i;try{let o=this.get(Yr,ze,G.Self);for(let s of o)s()}finally{wn(n),Ze(r),Z(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Ye(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(e){e=He(e);let n=Qr(e)?e:He(e&&e.provide),r=z0(e);if(!Qr(e)&&e.multi===!0){let i=this.records.get(n);i||(i=$r(void 0,Ps,!0),i.factory=()=>Rl(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=Z(null);try{return n.value===Ps&&(n.value=$0,n.value=n.factory()),typeof n.value=="object"&&n.value&&W0(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Z(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=He(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ll(t){let e=ia(t),n=e!==null?e.factory:Yn(t);if(n!==null)return n;if(t instanceof I)throw new y(204,!1);if(t instanceof Function)return H0(t);throw new y(204,!1)}function H0(t){if(t.length>0)throw new y(204,!1);let n=JC(t);return n!==null?()=>n.factory(t):()=>new t}function z0(t){if(Eg(t))return $r(void 0,t.useValue);{let e=Mg(t);return $r(e,Ps)}}function Mg(t,e,n){let r;if(Qr(t)){let i=He(t);return Yn(i)||Ll(i)}else if(Eg(t))r=()=>He(t.useValue);else if(B0(t))r=()=>t.useFactory(...Rl(t.deps||[]));else if(V0(t))r=()=>x(He(t.useExisting));else{let i=He(t&&(t.useClass||t.provide));if(G0(t))r=()=>new i(...Rl(t.deps));else return Yn(i)||Ll(i)}return r}function $r(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function G0(t){return!!t.deps}function W0(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function q0(t){return typeof t=="function"||typeof t=="object"&&t instanceof I}function jl(t,e){for(let n of t)Array.isArray(n)?jl(n,e):n&&cg(n)?jl(n.\u0275providers,e):e(n)}function nn(t,e){t instanceof ji&&t.assertNotDestroyed();let n,r=wn(t),i=Ze(void 0);try{return e()}finally{wn(r),Ze(i)}}function Ig(){return lg()!==void 0||f0()!=null}function aa(t){if(!Ig())throw new y(-203,!1)}function Z0(t){return typeof t=="function"}var rn=0,L=1,F=2,Re=3,Et=4,xt=5,Vi=6,Bi=7,je=8,Kr=9,Mt=10,Ee=11,Ui=12,Ip=13,ti=14,It=15,Xi=16,Hr=17,Xt=18,ca=19,Sg=20,Dn=21,Os=22,Kn=23,Ke=25,Tg=1;var Xn=7,$s=8,Xr=9,Ve=10,Gu=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Gu||{});function qn(t){return Array.isArray(t)&&typeof t[Tg]=="object"}function on(t){return Array.isArray(t)&&t[Tg]===!0}function xg(t){return(t.flags&4)!==0}function la(t){return t.componentOffset>-1}function Wu(t){return(t.flags&1)===1}function bn(t){return!!t.template}function Y0(t){return(t[F]&512)!==0}var Vl=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ag(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function At(){return Pg}function Pg(t){return t.type.prototype.ngOnChanges&&(t.setInput=K0),Q0}At.ngInherit=!0;function Q0(){let t=Ng(this),e=t?.current;if(e){let n=t.previous;if(n===Zr)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function K0(t,e,n,r,i){let o=this.declaredInputs[r],s=Ng(t)||X0(t,{previous:Zr,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new Vl(l&&l.currentValue,n,c===Zr),Ag(t,e,i,n)}var Og="__ngSimpleChanges__";function Ng(t){return t[Og]||null}function X0(t,e){return t[Og]=e}var Sp=null;var jt=function(t,e,n){Sp?.(t,e,n)},J0="svg",eD="math",tD=!1;function nD(){return tD}function Ut(t){for(;Array.isArray(t);)t=t[rn];return t}function Rg(t,e){return Ut(e[t])}function ut(t,e){return Ut(e[t.index])}function qu(t,e){return t.data[e]}function Fg(t,e){return t[e]}function En(t,e){let n=e[t];return qn(n)?n:n[rn]}function Zu(t){return(t[F]&128)===128}function rD(t){return on(t[Re])}function Hs(t,e){return e==null?null:t[e]}function kg(t){t[Hr]=0}function iD(t){t[F]&1024||(t[F]|=1024,Zu(t)&&$i(t))}function oD(t,e){for(;t>0;)e=e[ti],t--;return e}function Yu(t){return!!(t[F]&9216||t[Kn]?.dirty)}function Bl(t){t[Mt].changeDetectionScheduler?.notify(1),Yu(t)?$i(t):t[F]&64&&(nD()?(t[F]|=1024,$i(t)):t[Mt].changeDetectionScheduler?.notify())}function $i(t){t[Mt].changeDetectionScheduler?.notify();let e=Hi(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!Zu(e)));)e=Hi(e)}function Lg(t,e){if((t[F]&256)===256)throw new y(911,!1);t[Dn]===null&&(t[Dn]=[]),t[Dn].push(e)}function sD(t,e){if(t[Dn]===null)return;let n=t[Dn].indexOf(e);n!==-1&&t[Dn].splice(n,1)}function Hi(t){let e=t[Re];return on(e)?e[Re]:e}var z={lFrame:zg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function aD(){return z.lFrame.elementDepthCount}function cD(){z.lFrame.elementDepthCount++}function lD(){z.lFrame.elementDepthCount--}function jg(){return z.bindingsEnabled}function uD(){return z.skipHydrationRootTNode!==null}function dD(t){return z.skipHydrationRootTNode===t}function fD(){z.skipHydrationRootTNode=null}function Q(){return z.lFrame.lView}function Ge(){return z.lFrame.tView}function ar(t){return z.lFrame.contextLView=t,t[je]}function cr(t){return z.lFrame.contextLView=null,t}function dt(){let t=Vg();for(;t!==null&&t.type===64;)t=t.parent;return t}function Vg(){return z.lFrame.currentTNode}function hD(){let t=z.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ji(t,e){let n=z.lFrame;n.currentTNode=t,n.isParent=e}function Bg(){return z.lFrame.isParent}function pD(){z.lFrame.isParent=!1}function Ug(){let t=z.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function gD(){return z.lFrame.bindingIndex}function mD(t){return z.lFrame.bindingIndex=t}function eo(){return z.lFrame.bindingIndex++}function Qu(t){let e=z.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function yD(){return z.lFrame.inI18n}function vD(t,e){let n=z.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ul(e)}function wD(){return z.lFrame.currentDirectiveIndex}function Ul(t){z.lFrame.currentDirectiveIndex=t}function CD(t){let e=z.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function DD(){return z.lFrame.currentQueryIndex}function Ku(t){z.lFrame.currentQueryIndex=t}function bD(t){let e=t[L];return e.type===2?e.declTNode:e.type===1?t[xt]:null}function $g(t,e,n){if(n&G.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(n&G.Host);)if(i=bD(o),i===null||(o=o[ti],i.type&10))break;if(i===null)return!1;e=i,t=o}let r=z.lFrame=Hg();return r.currentTNode=e,r.lView=t,!0}function Xu(t){let e=Hg(),n=t[L];z.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Hg(){let t=z.lFrame,e=t===null?null:t.child;return e===null?zg(t):e}function zg(t){let 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 t!==null&&(t.child=e),e}function Gg(){let t=z.lFrame;return z.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Wg=Gg;function Ju(){let t=Gg();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 _D(t){return(z.lFrame.contextLView=oD(t,z.lFrame.contextLView))[je]}function sn(){return z.lFrame.selectedIndex}function Jn(t){z.lFrame.selectedIndex=t}function ed(){let t=z.lFrame;return qu(t.tView,t.selectedIndex)}function ED(){return z.lFrame.currentNamespace}var qg=!0;function td(){return qg}function nd(t){qg=t}function MD(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=Pg(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function rd(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[c]<0&&(t[Hr]+=65536),(a>14>16&&(t[F]&3)===e&&(t[F]+=16384,Tp(a,o)):Tp(a,o)}var Wr=-1,er=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function SD(t){return t instanceof er}function TD(t){return(t.flags&8)!==0}function xD(t){return(t.flags&16)!==0}function Yg(t){return t!==Wr}function zs(t){return t&32767}function AD(t){return t>>16}function Gs(t,e){let n=AD(t),r=e;for(;n>0;)r=r[ti],n--;return r}var $l=!0;function Ws(t){let e=$l;return $l=t,e}var PD=256,Qg=PD-1,Kg=5,OD=0,Vt={};function ND(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Fi)&&(r=n[Fi]),r==null&&(r=n[Fi]=OD++);let i=r&Qg,o=1<>Kg)]|=o}function qs(t,e){let n=Xg(t,e);if(n!==-1)return n;let r=e[L];r.firstCreatePass&&(t.injectorIndex=e.length,Cl(r.data,t),Cl(e,null),Cl(r.blueprint,null));let i=id(t,e),o=t.injectorIndex;if(Yg(i)){let s=zs(i),a=Gs(i,e),c=a[L].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|c[s+l]}return e[o+8]=i,o}function Cl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Xg(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function id(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=rm(i),r===null)return Wr;if(n++,i=i[ti],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Wr}function Hl(t,e,n){ND(t,e,n)}function Jg(t,e,n){if(n&G.Optional||t!==void 0)return t;Vu(e,"NodeInjector")}function em(t,e,n,r){if(n&G.Optional&&r===void 0&&(r=null),!(n&(G.Self|G.Host))){let i=t[Kr],o=Ze(void 0);try{return i?i.get(e,r,n&G.Optional):ug(e,r,n&G.Optional)}finally{Ze(o)}}return Jg(r,e,n)}function tm(t,e,n,r=G.Default,i){if(t!==null){if(e[F]&2048&&!(r&G.Self)){let s=LD(t,e,n,r,Vt);if(s!==Vt)return s}let o=nm(t,e,n,r,Vt);if(o!==Vt)return o}return em(e,n,r,i)}function nm(t,e,n,r,i){let o=FD(n);if(typeof o=="function"){if(!$g(e,t,r))return r&G.Host?Jg(i,n,r):em(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&G.Optional))Vu(n);else return s}finally{Wg()}}else if(typeof o=="number"){let s=null,a=Xg(t,e),c=Wr,l=r&G.Host?e[It][xt]:null;for((a===-1||r&G.SkipSelf)&&(c=a===-1?id(t,e):e[a+8],c===Wr||!Ap(r,!1)?a=-1:(s=e[L],a=zs(c),e=Gs(c,e)));a!==-1;){let u=e[L];if(xp(o,a,u.data)){let d=RD(a,e,n,s,r,l);if(d!==Vt)return d}c=e[a+8],c!==Wr&&Ap(r,e[L].data[a+8]===l)&&xp(o,a,e)?(s=u,a=zs(c),e=Gs(c,e)):a=-1}}return i}function RD(t,e,n,r,i,o){let s=e[L],a=s.data[t+8],c=r==null?la(a)&&$l:r!=s&&(a.type&3)!==0,l=i&G.Host&&o===a,u=Fs(a,s,n,c,l);return u!==null?tr(e,s,u,a):Vt}function Fs(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,c=t.directiveStart,l=t.directiveEnd,u=o>>20,d=r?a:a+u,h=i?a+u:l;for(let p=d;p=c&&m.type===n)return p}if(i){let p=s[c];if(p&&bn(p)&&p.type===n)return c}return null}function tr(t,e,n,r){let i=t[n],o=e.data;if(SD(i)){let s=i;s.resolving&&s0(o0(o[n]));let a=Ws(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?Ze(s.injectImpl):null,u=$g(t,r,G.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&MD(n,o[n],e)}finally{l!==null&&Ze(l),Ws(a),s.resolving=!1,Wg()}}return i}function FD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Fi)?t[Fi]:void 0;return typeof e=="number"?e>=0?e&Qg:kD:e}function xp(t,e,n){let r=1<>Kg)]&r)}function Ap(t,e){return!(t&G.Self)&&!(t&G.Host&&e)}var Zn=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return tm(this._tNode,this._lView,e,oa(r),n)}};function kD(){return new Zn(dt(),Q())}function to(t){return ra(()=>{let e=t.prototype.constructor,n=e[js]||zl(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[js]||zl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function zl(t){return ig(t)?()=>{let e=zl(He(t));return e&&e()}:Yn(t)}function LD(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=nm(o,s,n,r|G.Self,Vt);if(a!==Vt)return a;let c=o.parent;if(!c){let l=s[Sg];if(l){let u=l.get(n,Vt,r);if(u!==Vt)return u}c=rm(s),s=s[ti]}o=c}return i}function rm(t){let e=t[L],n=e.type;return n===2?e.declTNode:n===1?t[xt]:null}function Pp(t,e=null,n=null,r){let i=im(t,e,n,r);return i.resolveInjectorInitializers(),i}function im(t,e=null,n=null,r,i=new Set){let o=[n||ze,L0(t)];return r=r||(typeof t=="object"?void 0:Ye(t)),new ji(o,e||zu(),r||null,i)}var an=(()=>{let e=class e{static create(r,i){if(Array.isArray(r))return Pp({name:""},i,r,"");{let o=r.name??"";return Pp({name:o},r.parent,r.providers,o)}}};e.THROW_IF_NOT_FOUND=ki,e.NULL=new Us,e.\u0275prov=M({token:e,providedIn:"any",factory:()=>x(fg)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var jD="ngOriginalError";function Dl(t){return t[jD]}var St=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Dl(e);for(;n&&Dl(n);)n=Dl(n);return n||null}},om=new I("",{providedIn:"root",factory:()=>g(St).handleError.bind(void 0)}),Xe=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=VD,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Gl=class extends Xe{constructor(e){super(),this._lView=e}onDestroy(e){return Lg(this._lView,e),()=>sD(this._lView,e)}};function VD(){return new Gl(Q())}var Wl=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=g(St,{optional:!0}),this.destroyRef=g(Xe),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new y(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let n=this.listeners?.indexOf(e);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(e){if(this.destroyed)throw new y(953,!1);if(this.listeners===null)return;let n=Z(null);try{for(let r of this.listeners)try{r(e)}catch(i){this.errorHandler?.handleError(i)}}finally{Z(n)}}};function ua(t){return new Wl}function Op(t,e){return rg(t,e)}function BD(t){return rg(ng,t)}var ie=(Op.required=BD,Op);function UD(){return ni(dt(),Q())}function ni(t,e){return new he(ut(t,e))}var he=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=UD;let t=e;return t})();function $D(t){return t instanceof he?t.nativeElement:t}var ql=class extends Ue{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,Ig()&&(this.destroyRef=g(Xe,{optional:!0})??void 0)}emit(e){let n=Z(null);try{super.next(e)}finally{Z(n)}}subscribe(e,n,r){let i=e,o=n||(()=>null),s=r;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=bl(o),i&&(i=bl(i)),s&&(s=bl(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ve&&e.add(a),a}};function bl(t){return e=>{setTimeout(t,void 0,e)}}var me=ql;function HD(){return this._results[Symbol.iterator]()}var Zl=class t{get changes(){return this._changes??=new me}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=HD)}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){this.dirty=!1;let r=v0(e);(this._changesDetected=!y0(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function sm(t){return(t.flags&128)===128}var am=new Map,zD=0;function GD(){return zD++}function WD(t){am.set(t[ca],t)}function qD(t){am.delete(t[ca])}var Np="__ngContext__";function nr(t,e){qn(e)?(t[Np]=e[ca],WD(e)):t[Np]=e}function cm(t){return um(t[Ui])}function lm(t){return um(t[Et])}function um(t){for(;t!==null&&!on(t);)t=t[Et];return t}var Yl;function dm(t){Yl=t}function fm(){if(Yl!==void 0)return Yl;if(typeof document<"u")return document;throw new y(210,!1)}var da=new I("",{providedIn:"root",factory:()=>ZD}),ZD="ng",od=new I(""),Ce=new I("",{providedIn:"platform",factory:()=>"unknown"});var sd=new I(""),ad=new I("",{providedIn:"root",factory:()=>fm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),cd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},hm=new I("",{providedIn:"root",factory:()=>cd});function YD(){let t=new no;return g(Ce)==="browser"&&(t.store=QD(fm(),g(da))),t}var no=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,i){return this.store[r]!==void 0?this.store[r]:i}set(r,i){this.store[r]=i}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,i){this.onSerializeCallbacks[r]=i}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/null;function ld(t,e,n=!1){return JD(t,e,n)}var pm=!1,eb=new I("",{providedIn:"root",factory:()=>pm});var Ss;function tb(){if(Ss===void 0&&(Ss=null,Cn.trustedTypes))try{Ss=Cn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ss}function fa(t){return tb()?.createHTML(t)||t}var Jt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${tg})`}},Ql=class extends Jt{getTypeName(){return"HTML"}},Kl=class extends Jt{getTypeName(){return"Style"}},Xl=class extends Jt{getTypeName(){return"Script"}},Jl=class extends Jt{getTypeName(){return"URL"}},eu=class extends Jt{getTypeName(){return"ResourceURL"}};function Pt(t){return t instanceof Jt?t.changingThisBreaksApplicationSecurity:t}function lr(t,e){let n=nb(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${tg})`)}return n===e}function nb(t){return t instanceof Jt&&t.getTypeName()||null}function gm(t){return new Ql(t)}function mm(t){return new Kl(t)}function ym(t){return new Xl(t)}function vm(t){return new Jl(t)}function wm(t){return new eu(t)}function rb(t){let e=new nu(t);return ib()?new tu(e):e}var tu=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let n=new window.DOMParser().parseFromString(fa(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch{return null}}},nu=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=fa(e),n}};function ib(){try{return!!new window.DOMParser().parseFromString(fa(""),"text/html")}catch{return!1}}var ob=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ha(t){return t=String(t),t.match(ob)?t:"unsafe:"+t}function cn(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function ro(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var Cm=cn("area,br,col,hr,img,wbr"),Dm=cn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bm=cn("rp,rt"),sb=ro(bm,Dm),ab=ro(Dm,cn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),cb=ro(bm,cn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Rp=ro(Cm,ab,cb,sb),_m=cn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lb=cn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ub=cn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),db=ro(_m,lb,ub),fb=cn("script,style,template"),ru=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,r=!0,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){i.push(n),n=gb(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=pb(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(e){let n=Fp(e).toLowerCase();if(!Rp.hasOwnProperty(n))return this.sanitizedSomething=!0,!fb.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=e.attributes;for(let i=0;i"),!0}endElement(e){let n=Fp(e).toLowerCase();Rp.hasOwnProperty(n)&&!Cm.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(kp(e))}};function hb(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function pb(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Em(e);return e}function gb(t){let e=t.firstChild;if(e&&hb(t,e))throw Em(e);return e}function Fp(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Em(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var mb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yb=/([^\#-~ |!])/g;function kp(t){return t.replace(/&/g,"&").replace(mb,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(yb,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Ts;function Mm(t,e){let n=null;try{Ts=Ts||rb(t);let r=e?String(e):"";n=Ts.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Ts.getInertBodyElement(r)}while(r!==o);let a=new ru().sanitizeChildren(Lp(n)||n);return fa(a)}finally{if(n){let r=Lp(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Lp(t){return"content"in t&&vb(t)?t.content:null}function vb(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ot=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ot||{});function Mn(t){let e=wb();return e?e.sanitize(Ot.URL,t)||"":lr(t,"URL")?Pt(t):ha(qr(t))}function wb(){let t=Q();return t&&t[Mt].sanitizer}function Im(t){return t instanceof Function?t():t}var en=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(en||{}),Cb;function ud(t,e){return Cb(t,e)}function zr(t,e,n,r,i){if(r!=null){let o,s=!1;on(r)?o=r:qn(r)&&(s=!0,r=r[rn]);let a=Ut(r);t===0&&n!==null?i==null?Am(e,n,a):Zs(e,n,a,i||null,!0):t===1&&n!==null?Zs(e,n,a,i||null,!0):t===2?Lb(e,a,s):t===3&&e.destroyNode(a),o!=null&&Vb(e,t,o,n,i)}}function Db(t,e){return t.createText(e)}function bb(t,e,n){t.setValue(e,n)}function Sm(t,e,n){return t.createElement(e,n)}function _b(t,e){Tm(t,e),e[rn]=null,e[xt]=null}function Eb(t,e,n,r,i,o){r[rn]=i,r[xt]=e,ga(t,r,n,1,i,o)}function Tm(t,e){e[Mt].changeDetectionScheduler?.notify(1),ga(t,e,e[Ee],2,null,null)}function Mb(t){let e=t[Ui];if(!e)return _l(t[L],t);for(;e;){let n=null;if(qn(e))n=e[Ui];else{let r=e[Ve];r&&(n=r)}if(!n){for(;e&&!e[Et]&&e!==t;)qn(e)&&_l(e[L],e),e=e[Re];e===null&&(e=t),qn(e)&&_l(e[L],e),n=e&&e[Et]}e=n}}function Ib(t,e,n,r){let i=Ve+r,o=n.length;r>0&&(n[i-1][Et]=e),r0&&(t[n-1][Et]=r[Et]);let o=Bs(t,Ve+e);_b(r[L],r);let s=o[Xt];s!==null&&s.detachView(o[L]),r[Re]=null,r[Et]=null,r[F]&=-129}return r}function pa(t,e){if(!(e[F]&256)){let n=e[Ee];n.destroyNode&&ga(t,e,n,3,null,null),Mb(e)}}function _l(t,e){if(e[F]&256)return;let n=Z(null);try{e[F]&=-129,e[F]|=256,e[Kn]&&qc(e[Kn]),xb(t,e),Tb(t,e),e[L].type===1&&e[Ee].destroy();let r=e[Xi];if(r!==null&&on(e[Re])){r!==e[Re]&&xm(r,e);let i=e[Xt];i!==null&&i.detachView(t)}qD(e)}finally{Z(n)}}function Tb(t,e){let n=t.cleanup,r=e[Bi];if(n!==null)for(let o=0;o=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(e[Bi]=null);let i=e[Dn];if(i!==null){e[Dn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===Bt.None||o===Bt.Emulated)return null}return ut(r,n)}}function Zs(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Am(t,e,n){t.appendChild(e,n)}function jp(t,e,n,r,i){r!==null?Zs(t,e,n,r,i):Am(t,e,n)}function Ob(t,e,n,r){t.removeChild(e,n,r)}function dd(t,e){return t.parentNode(e)}function Nb(t,e){return t.nextSibling(e)}function Rb(t,e,n){return kb(t,e,n)}function Fb(t,e,n){return t.type&40?ut(t,n):null}var kb=Fb,Vp;function fd(t,e,n,r){let i=Ab(t,r,e),o=e[Ee],s=r.parent||e[xt],a=Rb(s,r,e);if(i!=null)if(Array.isArray(n))for(let c=0;cKe&&Rm(t,e,Ke,!1),jt(s?2:0,i),n(r,i)}finally{Jn(o),jt(s?3:1,i)}}function jm(t,e,n){if(xg(e)){let r=Z(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function Zb(t,e,n,r){let i=Zm(e);i.push(n),t.firstCreatePass&&Ym(t).push(r,i.length-1)}function Yb(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return uD()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Bp(t,e,n,r,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;r??={};let a,c=P.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(i!==null){if(!i.hasOwnProperty(o))continue;l=i[o]}t===0?Up(r,n,l,a,c):Up(r,n,l,a)}return r}function Up(t,e,n,r,i){let o;t.hasOwnProperty(n)?(o=t[n]).push(e,r):o=t[n]=[e,r],i!==void 0&&o.push(i)}function Qb(t,e,n){let r=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function t_(t,e,n,r){let i=n.directiveStart,o=n.directiveEnd;la(n)&&c_(e,n,t.data[i+n.componentOffset]),t.firstCreatePass||qs(n,e),nr(r,e);let s=n.initialInputs;for(let a=i;a{$i(t.lView)},consumerOnSignalRead(){this.lView[Kn]=this}}),ty=100;function ny(t,e=!0,n=0){let r=t[Mt],i=r.rendererFactory,o=!1;o||i.begin?.();try{D_(t,n)}catch(s){throw e&&Qm(t,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function D_(t,e){au(t,e);let n=0;for(;Yu(t);){if(n===ty)throw new y(103,!1);n++,au(t,1)}}function b_(t,e,n,r){let i=e[F];if((i&256)===256)return;let o=!1;!o&&e[Mt].inlineEffectRunner?.flush(),Xu(e);let s=null,a=null;!o&&__(t)&&(a=y_(e),s=Qo(a));try{kg(e),mD(t.bindingStartIndex),n!==null&&Lm(t,e,n,2,r);let c=(i&3)===3;if(!o)if(c){let d=t.preOrderCheckHooks;d!==null&&Ns(e,d,null)}else{let d=t.preOrderHooks;d!==null&&Rs(e,d,0,null),wl(e,0)}if(E_(e),ry(e,0),t.contentQueries!==null&&qm(t,e),!o)if(c){let d=t.contentCheckHooks;d!==null&&Ns(e,d)}else{let d=t.contentHooks;d!==null&&Rs(e,d,1),wl(e,1)}$b(t,e);let l=t.components;l!==null&&oy(e,l,0);let u=t.viewQuery;if(u!==null&&su(2,u,r),!o)if(c){let d=t.viewCheckHooks;d!==null&&Ns(e,d)}else{let d=t.viewHooks;d!==null&&Rs(e,d,2),wl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Os]){for(let d of e[Os])d();e[Os]=null}o||(e[F]&=-73)}catch(c){throw $i(e),c}finally{a!==null&&(Ko(a,s),w_(a)),Ju()}}function __(t){return t.type!==2}function ry(t,e){for(let n=cm(t);n!==null;n=lm(n))for(let r=Ve;r-1&&(zi(e,r),Bs(n,r))}this._attachedToViewContainer=!1}pa(this._lView[L],this._lView)}onDestroy(e){Lg(this._lView,e)}markForCheck(){yd(this._cdRefInjectingView||this._lView)}detach(){this._lView[F]&=-129}reattach(){Bl(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,ny(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Tm(this._lView[L],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=e,Bl(this._lView)}},Wi=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=T_;let t=e;return t})(),I_=Wi,S_=class extends I_{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let i=wa(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new rr(i)}};function T_(){return vd(dt(),Q())}function vd(t,e){return t.type&4?new S_(e,t,ni(t,e)):null}var IL=new RegExp(`^(\\d+)*(${XD}|${KD})*(.*)`);var x_=()=>null;function qi(t,e){return x_(t,e)}var Jr=class{},cu=class{},Qs=class{};function A_(t){let e=Error(`No component factory found for ${Ye(t)}.`);return e[P_]=t,e}var P_="ngComponent";var lu=class{resolveComponentFactory(e){throw A_(e)}},Da=(()=>{let e=class e{};e.NULL=new lu;let t=e;return t})(),ir=class{},ln=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>O_();let t=e;return t})();function O_(){let t=Q(),e=dt(),n=En(e.index,t);return(qn(n)?n:t)[Ee]}var N_=(()=>{let e=class e{};e.\u0275prov=M({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),El={};var $p=new Set;function Nt(t){$p.has(t)||($p.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Hp(...t){}function R_(){let t=typeof Cn.requestAnimationFrame=="function",e=Cn[t?"requestAnimationFrame":"setTimeout"],n=Cn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var fe=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new me(!1),this.onMicrotaskEmpty=new me(!1),this.onStable=new me(!1),this.onError=new me(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,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=R_().nativeRequestAnimationFrame,L_(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new y(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,F_,Hp,Hp);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)}},F_={};function wd(t){if(t._nesting==0&&!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 k_(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Cn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,uu(t),t.isCheckStableRunning=!0,wd(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),uu(t))}function L_(t){let e=()=>{k_(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{if(j_(a))return n.invokeTask(i,o,s,a);try{return zp(t),n.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Gp(t)}},onInvoke:(n,r,i,o,s,a,c)=>{try{return zp(t),n.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Gp(t)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,uu(t),wd(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function uu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function zp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Gp(t){t._nesting--,wd(t)}var du=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new me,this.onMicrotaskEmpty=new me,this.onStable=new me,this.onError=new me}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)}};function j_(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var sy=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of r)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function fu(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&Om(t,n,o.join(" "))}}function G_(t,e,n){let r=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=q_;let t=e;return t})();function q_(){let t=dt();return cy(t,Q())}var Z_=ri,ay=class extends Z_{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return ni(this._hostTNode,this._hostLView)}get injector(){return new Zn(this._hostTNode,this._hostLView)}get parentInjector(){let e=id(this._hostTNode,this._hostLView);if(Yg(e)){let n=Gs(e,this._hostLView),r=zs(e),i=n[L].data[r+8];return new Zn(i,n)}else return new Zn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=qp(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(e,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=qi(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Gi(this._hostTNode,s)),a}createComponent(e,n,r,i,o){let s=e&&!Z0(e),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let c=s?e:new Zi(Qn(e)),l=r||this.parentInjector;if(!o&&c.ngModule==null){let v=(s?l:this.parentInjector).get(Qe,null);v&&(o=v)}let u=Qn(c.componentType??{}),d=qi(this._lContainer,u?.id??null),h=d?.firstChild??null,p=c.create(l,i,h,o);return this.insertImpl(p.hostView,a,Gi(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let i=e._lView;if(rD(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[Re],l=new ay(c,c[xt],c[Re]);l.detach(l.indexOf(e))}}let o=this._adjustIndex(n),s=this._lContainer;return Ca(s,i,o,r),e.attachToViewContainerRef(),dg(Ml(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=qp(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=zi(this._lContainer,n);r&&(Bs(Ml(this._lContainer),n),pa(r[L],r))}detach(e){let n=this._adjustIndex(e,-1),r=zi(this._lContainer,n);return r&&Bs(Ml(this._lContainer),n)!=null?new rr(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function qp(t){return t[$s]}function Ml(t){return t[$s]||(t[$s]=[])}function cy(t,e){let n,r=e[t.index];return on(r)?n=r:(n=Wm(r,e,null,t),e[t.index]=n,va(e,n)),Q_(n,e,t,r),new ay(n,t,e)}function Y_(t,e){let n=t[Ee],r=n.createComment(""),i=ut(e,t),o=dd(n,i);return Zs(n,o,r,Nb(n,i),!1),r}var Q_=J_,K_=()=>!1;function X_(t,e,n){return K_(t,e,n)}function J_(t,e,n,r){if(t[Xn])return;let i;n.type&8?i=Ut(r):i=Y_(e,n),t[Xn]=i}var gu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},mu=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let l=o[a+1],u=e[-c];for(let d=Ve;de.trim())}function aE(t,e,n){t.queries===null&&(t.queries=new vu),t.queries.track(new wu(e,n))}function dy(t,e){return t.queries.getByIndex(e)}function cE(t,e){let n=t[L],r=dy(n,e);return r.crossesNgTemplate?Cu(n,t,e,[]):ly(n,t,r,e)}function ba(t,e){Nt("NgSignals");let n=Uh(t),r=n[at];return e?.equal&&(r.equal=e.equal),n.set=i=>es(r,i),n.update=i=>$h(r,i),n.asReadonly=lE.bind(n),n}function lE(){let t=this[at];if(t.readonlyFn===void 0){let e=()=>this();e[at]=t,t.readonlyFn=e}return t.readonlyFn}function Cd(t,e){let n,r=Zc(()=>{n._dirtyCounter();let i=pE(n,t);if(e&&i===void 0)throw new y(-951,!1);return i});return n=r[at],n._dirtyCounter=ba(0),n._flatValue=void 0,r}function uE(){return Cd(!0,!1)}function dE(){return Cd(!0,!0)}function fE(){return Cd(!1,!1)}function hE(t,e){let n=t[at];n._lView=Q(),n._queryIndex=e,n._queryList=uy(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function pE(t,e){let n=t._lView,r=t._queryIndex;if(n===void 0||r===void 0||n[F]&4)return e?void 0:ze;let i=uy(n,r),o=cE(n,r);return i.reset(o,$D),e?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function Zp(t,e){return uE()}function gE(t,e){return dE()}var fy=(Zp.required=gE,Zp);function _a(t,e){return fE()}function mE(t){return Object.getPrototypeOf(t.prototype).constructor}function un(t){let e=mE(t.type),n=!0,r=[t];for(;e;){let i;if(bn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new y(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=xs(t.inputs),s.inputTransforms=xs(t.inputTransforms),s.declaredInputs=xs(t.declaredInputs),s.outputs=xs(t.outputs);let a=i.hostBindings;a&&DE(t,a);let c=i.viewQuery,l=i.contentQueries;if(c&&wE(t,c),l&&CE(t,l),yE(t,i),KC(t.outputs,i.outputs),bn(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Li(i.hostAttrs,n=Li(n,i.hostAttrs))}}function xs(t){return t===Zr?{}:t===ze?[]:t}function wE(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function CE(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function DE(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function Dd(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}t.inputTransforms=n}var _n=class{},Yi=class{};var Du=class extends _n{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ks(this);let i=wg(e);this._bootstrapComponents=Im(i.bootstrap),this._r3Injector=im(e,n,[{provide:_n,useValue:this},{provide:Da,useValue:this.componentFactoryResolver},...r],Ye(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},bu=class extends Yi{constructor(e){super(),this.moduleType=e}create(e){return new Du(this.moduleType,e,[])}};var Xs=class extends _n{constructor(e){super(),this.componentFactoryResolver=new Ks(this),this.instance=null;let n=new ji([...e.providers,{provide:_n,useValue:this},{provide:Da,useValue:this.componentFactoryResolver}],e.parent||zu(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function bd(t,e,n=null){return new Xs({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var In=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new De(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function hy(t,e,n){return t[e]=n}function $t(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function py(t,e,n,r){let i=$t(t,e,n);return $t(t,e+1,r)||i}function bE(t){return(t.flags&32)===32}function _E(t,e,n,r,i,o,s,a,c){let l=e.consts,u=ya(e,t,4,s||null,Hs(l,a));Hm(e,n,u,Hs(l,c)),rd(e,u);let d=u.tView=pd(2,u,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function Tt(t,e,n,r,i,o,s,a){let c=Q(),l=Ge(),u=t+Ke,d=l.firstCreatePass?_E(u,l,c,e,n,r,i,o,s):l.data[u];Ji(d,!1);let h=EE(l,c,d,t);td()&&fd(l,c,h,d),nr(h,c);let p=Wm(h,c,h,d);return c[u]=p,va(c,p),X_(p,d,c),Wu(d)&&Vm(l,c,d),s!=null&&Bm(c,d,a),Tt}var EE=ME;function ME(t,e,n,r){return nd(!0),e[Ee].createComment("")}function Rt(t,e,n,r){let i=Q(),o=eo();if($t(i,o,e)){let s=Ge(),a=ed();l_(a,i,t,e,n,r)}return Rt}function gy(t,e,n,r){return $t(t,eo(),n)?e+qr(n)+r:ft}function IE(t,e,n,r,i,o){let s=gD(),a=py(t,s,n,i);return Qu(2),a?e+qr(n)+r+qr(i)+o:ft}function As(t,e){return t<<17|e<<2}function or(t){return t>>17&32767}function SE(t){return(t&2)==2}function TE(t,e){return t&131071|e<<17}function _u(t){return t|2}function ei(t){return(t&131068)>>2}function Il(t,e){return t&-131069|e<<2}function xE(t){return(t&1)===1}function Eu(t){return t|1}function AE(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=or(s),c=ei(s);t[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Ki(d,u)>0)&&(l=!0)}else u=n;if(i)if(c!==0){let h=or(t[a+1]);t[r+1]=As(h,a),h!==0&&(t[h+1]=Il(t[h+1],r)),t[a+1]=TE(t[a+1],r)}else t[r+1]=As(a,0),a!==0&&(t[a+1]=Il(t[a+1],r)),a=r;else t[r+1]=As(c,0),a===0?a=r:t[c+1]=Il(t[c+1],r),c=r;l&&(t[r+1]=_u(t[r+1])),Yp(t,u,r,!0),Yp(t,u,r,!1),PE(e,u,t,r,o),s=As(a,c),o?e.classBindings=s:e.styleBindings=s}function PE(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ki(o,e)>=0&&(n[r+1]=Eu(n[r+1]))}function Yp(t,e,n,r){let i=t[n+1],o=e===null,s=r?or(i):ei(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];OE(c,e)&&(a=!0,t[s+1]=r?Eu(l):_u(l)),s=r?or(l):ei(l)}a&&(t[n+1]=r?_u(i):Eu(i))}function OE(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ki(t,e)>=0:!1}var _t={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function NE(t){return t.substring(_t.key,_t.keyEnd)}function RE(t){return FE(t),my(t,yy(t,0,_t.textEnd))}function my(t,e){let n=_t.textEnd;return n===e?-1:(e=_t.keyEnd=kE(t,_t.key=e,n),yy(t,e,n))}function FE(t){_t.key=0,_t.keyEnd=0,_t.value=0,_t.valueEnd=0,_t.textEnd=t.length}function yy(t,e,n){for(;e32;)e++;return e}function k(t,e,n){let r=Q(),i=eo();if($t(r,i,e)){let o=Ge(),s=ed();$m(o,s,r,t,e,r[Ee],n,!1)}return k}function Mu(t,e,n,r,i){let o=e.inputs,s=i?"class":"style";gd(t,n,o[s],s,r)}function io(t,e,n){return vy(t,e,n,!1),io}function Gt(t,e){return vy(t,e,null,!0),Gt}function We(t){jE(zE,LE,t,!0)}function LE(t,e){for(let n=RE(e);n>=0;n=my(e,n))Uu(t,NE(e),!0)}function vy(t,e,n,r){let i=Q(),o=Ge(),s=Qu(2);if(o.firstUpdatePass&&Cy(o,t,s,r),e!==ft&&$t(i,s,e)){let a=o.data[sn()];Dy(o,a,i,i[Ee],t,i[s+1]=WE(e,n),r,s)}}function jE(t,e,n,r){let i=Ge(),o=Qu(2);i.firstUpdatePass&&Cy(i,null,o,r);let s=Q();if(n!==ft&&$t(s,o,n)){let a=i.data[sn()];if(by(a,r)&&!wy(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ol(c,n||"")),Mu(i,a,s,n,r)}else GE(i,a,s,s[Ee],s[o+1],s[o+1]=HE(t,e,n),r,o)}}function wy(t,e){return e>=t.expandoStartIndex}function Cy(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[sn()],s=wy(t,n);by(o,r)&&e===null&&!s&&(e=!1),e=VE(i,o,e,r),AE(i,o,e,n,s,r)}}function VE(t,e,n,r){let i=CD(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=Sl(null,t,e,n,r),n=Qi(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=Sl(i,t,e,n,r),o===null){let c=BE(t,e,r);c!==void 0&&Array.isArray(c)&&(c=Sl(null,t,e,c[1],r),c=Qi(c,e.attrs,r),UE(t,e,r,c))}else o=$E(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function BE(t,e,n){let r=n?e.classBindings:e.styleBindings;if(ei(r)!==0)return t[or(r)]}function UE(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[or(i)]=r}function $E(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=n[i+1];h===ft&&(h=d?ze:void 0);let p=d?yl(h,r):u===r?h:void 0;if(l&&!Js(p)&&(p=yl(c,r)),Js(p)&&(a=p,s))return a;let m=t[i+1];i=s?or(m):ei(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=yl(c,r))}return a}function Js(t){return t!==void 0}function WE(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ye(Pt(t)))),t}function by(t,e){return(t.flags&(e?8:16))!==0}var Iu=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),i=Math.max(e,n),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(e,n){this.attach(n,this.detach(e))}};function Tl(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function qE(t,e,n){let r,i,o=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;o<=s&&o<=a;){let c=t.at(o),l=e[o],u=Tl(o,c,o,l,n);if(u!==0){u<0&&t.updateValue(o,l),o++;continue}let d=t.at(s),h=e[a],p=Tl(s,d,a,h,n);if(p!==0){p<0&&t.updateValue(s,h),s--,a--;continue}let m=n(o,c),v=n(s,d),b=n(o,l);if(Object.is(b,v)){let _=n(a,h);Object.is(_,m)?(t.swap(o,s),t.updateValue(s,h),a--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(r??=new ea,i??=Xp(t,o,s,n),Su(t,r,o,b))t.updateValue(o,l),o++,s++;else if(i.has(b))r.set(m,t.detach(o)),s--;else{let _=t.create(o,e[o]);t.attach(o,_),o++,s++}}for(;o<=a;)Kp(t,r,n,o,e[o]),o++}else if(e!=null){let a=e[Symbol.iterator](),c=a.next();for(;!c.done&&o<=s;){let l=t.at(o),u=c.value,d=Tl(o,l,o,u,n);if(d!==0)d<0&&t.updateValue(o,u),o++,c=a.next();else{r??=new ea,i??=Xp(t,o,s,n);let h=n(o,u);if(Su(t,r,o,h))t.updateValue(o,u),o++,s++,c=a.next();else if(!i.has(h))t.attach(o,t.create(o,u)),o++,s++,c=a.next();else{let p=n(o,l);r.set(p,t.detach(o)),s--}}}for(;!c.done;)Kp(t,r,n,t.length,c.value),c=a.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(a=>{t.destroy(a)})}function Su(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Kp(t,e,n,r,i){if(Su(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Xp(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var ea=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,r]of this.kvMap)if(e(r,n),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),e(r,n)}}};function Sn(t,e,n){Nt("NgControlFlow");let r=Q(),i=eo(),o=Pu(r,Ke+t),s=0;if($t(r,i,e)){let a=Z(null);try{if(Jm(o,s),e!==-1){let c=Ou(r[L],Ke+e),l=qi(o,c.tView.ssrId),u=wa(r,c,n,{dehydratedView:l});Ca(o,u,s,Gi(c,l))}}finally{Z(a)}}else{let a=Xm(o,s);a!==void 0&&(a[je]=n)}}var Tu=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Ve}};function Ea(t,e){return e}var xu=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function ht(t,e,n,r,i,o,s,a,c,l,u,d,h){Nt("NgControlFlow");let p=c!==void 0,m=Q(),v=a?s.bind(m[It][je]):s,b=new xu(p,v);m[Ke+t]=b,Tt(t+1,e,n,r,i,o),p&&Tt(t+2,c,l,u,d,h)}var Au=class extends Iu{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ve}at(e){return this.getLView(e)[je].$implicit}attach(e,n){let r=n[Vi];this.needsIndexUpdate||=e!==this.length,Ca(this.lContainer,n,e,Gi(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,ZE(this.lContainer,e)}create(e,n){let r=qi(this.lContainer,this.templateTNode.tView.ssrId);return wa(this.hostLView,this.templateTNode,new Tu(this.lContainer,n,e),{dehydratedView:r})}destroy(e){pa(e[L],e)}updateValue(e,n){this.getLView(e)[je].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(nd(!0),Sm(r,i,ED()));function ur(){return Q()}var ta="en-US";var XE=ta;function JE(t){typeof t=="string"&&(XE=t.toLowerCase().replace(/_/g,"-"))}function Ae(t,e,n,r){let i=Q(),o=Ge(),s=dt();return tM(o,i,i[Ee],s,t,e,r),Ae}function eM(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function tM(t,e,n,r,i,o,s){let a=Wu(r),l=t.firstCreatePass&&Ym(t),u=e[je],d=Zm(e),h=!0;if(r.type&3||s){let v=ut(r,e),b=s?s(v):v,_=d.length,Y=s?j=>s(Ut(j[r.index])):r.index,K=null;if(!s&&a&&(K=eM(t,e,i,r.index)),K!==null){let j=K.__ngLastListenerFn__||K;j.__ngNextListenerFn__=o,K.__ngLastListenerFn__=o,h=!1}else{o=eg(r,e,u,o,!1);let j=n.listen(b,i,o);d.push(o,j),l&&l.push(i,Y,_,_+1)}}else o=eg(r,e,u,o,!1);let p=r.outputs,m;if(h&&p!==null&&(m=p[i])){let v=m.length;if(v)for(let b=0;b-1?En(t.index,e):e;yd(a);let c=Jp(e,n,r,s),l=o.__ngNextListenerFn__;for(;l;)c=Jp(e,n,l,s)&&c,l=l.__ngNextListenerFn__;return i&&c===!1&&s.preventDefault(),c}}function Me(t=1){return _D(t)}function oo(t,e,n){return _y(t,"",e,"",n),oo}function _y(t,e,n,r,i){let o=Q(),s=gy(o,e,n,r);if(s!==ft){let a=Ge(),c=ed();$m(a,c,o,t,s,o[Ee],i,!1)}return _y}function so(t,e,n,r){hE(t,oE(e,n,r))}function Ma(t=1){Ku(DD()+t)}function nM(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function f(t,e=""){let n=Q(),r=Ge(),i=t+Ke,o=r.firstCreatePass?ya(r,i,1,e,null):r.data[i],s=rM(r,n,o,e,t);n[i]=s,td()&&fd(r,n,s,o),Ji(o,!1)}var rM=(t,e,n,r,i)=>(nd(!0),Db(e[Ee],r));function ao(t){return Pe("",t,""),ao}function Pe(t,e,n){let r=Q(),i=gy(r,t,e,n);return i!==ft&&Km(r,sn(),i),Pe}function _d(t,e,n,r,i){let o=Q(),s=IE(o,t,e,n,r,i);return s!==ft&&Km(o,sn(),s),_d}function iM(t,e,n){let r=Ge();if(r.firstCreatePass){let i=bn(t);Nu(n,r.data,r.blueprint,i,!0),Nu(e,r.data,r.blueprint,i,!1)}}function Nu(t,e,n,r,i){if(t=He(t),Array.isArray(t))for(let o=0;o>20;if(Qr(t)||!t.multi){let p=new er(l,i,ee),m=Al(c,e,i?u:u+h,d);m===-1?(Hl(qs(a,s),o,c),xl(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{let p=Al(c,e,u+h,d),m=Al(c,e,u,u+h),v=p>=0&&n[p],b=m>=0&&n[m];if(i&&!b||!i&&!v){Hl(qs(a,s),o,c);let _=aM(i?sM:oM,n.length,i,r,l);!i&&b&&(n[m].providerFactory=_),xl(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=Ey(n[i?m:p],l,!i&&r);xl(o,t,p>-1?p:m,_)}!i&&r&&b&&n[m].componentProviders++}}}function xl(t,e,n,r){let i=Qr(e),o=U0(e);if(i||o){let c=(o?He(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Ey(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Al(t,e,n,r){for(let i=n;i{n.providersResolver=(r,i)=>iM(r,i?i(t):t,e)}}var cM=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let i=bg(!1,r.type),o=i.length>0?bd([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(x(Qe))});let t=e;return t})();function ue(t){Nt("NgStandalone"),t.getStandaloneInjector=e=>e.get(cM).getOrCreateStandaloneInjector(t)}function My(t,e){let n=t[e];return n===ft?void 0:n}function lM(t,e,n,r,i,o){let s=e+n;return $t(t,s,i)?hy(t,s+1,o?r.call(o,i):r(i)):My(t,s+1)}function uM(t,e,n,r,i,o,s){let a=e+n;return py(t,a,i,o)?hy(t,a+2,s?r.call(s,i,o):r(i,o)):My(t,a+2)}function W(t,e){let n=Ge(),r,i=t+Ke;n.firstCreatePass?(r=dM(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=Yn(r.type,!0)),s,a=Ze(ee);try{let c=Ws(!1),l=o();return Ws(c),nM(n,Q(),i,l),l}finally{Ze(a)}}function dM(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function Be(t,e,n){let r=t+Ke,i=Q(),o=Fg(i,r);return Iy(i,r)?lM(i,Ug(),e,o.transform,n,o):o.transform(n)}function se(t,e,n,r){let i=t+Ke,o=Q(),s=Fg(o,i);return Iy(o,i)?uM(o,Ug(),e,s.transform,n,r,s):s.transform(n,r)}function Iy(t,e){return t[L].data[e].pure}var Ia=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Sy=new I("");function dr(t){return!!t&&typeof t.then=="function"}function Ty(t){return!!t&&typeof t.subscribe=="function"}var xy=new I(""),Ay=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=g(xy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let o of this.appInits){let s=o();if(dr(s))r.push(s);else if(Ty(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),r.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Sa=new I("");function fM(){Bh(()=>{throw new y(600,!1)})}function hM(t){return t.isBoundToModule}function pM(t,e,n){try{let r=n();return dr(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var fr=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(om),this.afterRenderEffectManager=g(sy),this.externalTestViews=new Set,this.beforeRender=new Ue,this.afterTick=new Ue,this.componentTypes=[],this.components=[],this.isStable=g(In).hasPendingTasks.pipe(T(r=>!r)),this._injector=g(Qe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){let o=r instanceof Qs;if(!this._injector.get(Ay).done){let p=!o&&vg(r),m=!1;throw new y(405,m)}let a;o?a=r:a=this._injector.get(Da).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=hM(a)?void 0:this._injector.get(_n),l=i||a.selector,u=a.create(an.NULL,[],l,c),d=u.location.nativeElement,h=u.injector.get(Sy,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Pl(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new y(101,!1);let i=Z(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,Z(i)}}detectChangesInAttachedViews(r){let i=0,o=this.afterRenderEffectManager;for(;;){if(i===ty)throw new y(103,!1);if(r){let s=i===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)gM(a,s,c)}if(i++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Fu(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Fu(s))))break}}attachView(r){let i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){let i=r;Pl(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let i=this._injector.get(Sa,[]);[...this._bootstrapListeners,...i].forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Pl(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Pl(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function gM(t,e,n){!e&&!Fu(t)||mM(t,n,e)}function Fu(t){return Yu(t)}function mM(t,e,n){let r;n?(r=0,t[F]|=1024):t[F]&64?r=0:r=1,ny(t,e,r)}var ku=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},Ed=(()=>{let e=class e{compileModuleSync(r){return new bu(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let i=this.compileModuleSync(r),o=wg(r),s=Im(o.declarations).reduce((a,c)=>{let l=Qn(c);return l&&a.push(new Zi(l)),a},[]);return new ku(i,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var yM=(()=>{let e=class e{constructor(){this.zone=g(fe),this.applicationRef=g(fr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vM(t){return[{provide:fe,useFactory:t},{provide:Yr,multi:!0,useFactory:()=>{let e=g(yM,{optional:!0});return()=>e.initialize()}},{provide:Yr,multi:!0,useFactory:()=>{let e=g(bM);return()=>{e.initialize()}}},{provide:om,useFactory:wM}]}function wM(){let t=g(fe),e=g(St);return n=>t.runOutsideAngular(()=>e.handleError(n))}function CM(t){let e=vM(()=>new fe(DM(t)));return tn([[],e])}function DM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var bM=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=g(fe),this.pendingTasks=g(In)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _M(){return typeof $localize<"u"&&$localize.locale||ta}var Md=new I("",{providedIn:"root",factory:()=>g(Md,G.Optional|G.SkipSelf)||_M()});var Py=new I("");var Ls=null;function EM(t=[],e){return an.create({name:e,providers:[{provide:sa,useValue:"platform"},{provide:Py,useValue:new Set([()=>Ls=null])},...t]})}function MM(t=[]){if(Ls)return Ls;let e=EM(t);return Ls=e,fM(),IM(e),e}function IM(t){t.get(od,null)?.forEach(n=>n())}var gt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=SM;let t=e;return t})();function SM(t){return TM(dt(),Q(),(t&16)===16)}function TM(t,e,n){if(la(t)&&!n){let r=En(t.index,e);return new rr(r,r)}else if(t.type&47){let r=e[It];return new rr(r,e)}return null}function Oy(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=MM(r),o=[CM(),...n||[]],a=new Xs({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(fe);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(St,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:p=>{l.handleError(p)}})});let d=()=>a.destroy(),h=i.get(Py);return h.add(d),a.onDestroy(()=>{u.unsubscribe(),h.delete(d)}),pM(l,c,()=>{let p=a.get(Ay);return p.runInitializers(),p.donePromise.then(()=>{let m=a.get(Md,ta);JE(m||ta);let v=a.get(fr);return e!==void 0&&v.bootstrap(e),v})})})}catch(e){return Promise.reject(e)}}var xM=(()=>{let e=class e{constructor(){this.appRef=g(fr),this.taskService=g(In),this.pendingRenderTaskId=null,this.shouldRefreshViews=!1}notify(r=0){this.shouldRefreshViews||=r===0,this.pendingRenderTaskId===null&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){return Hc(this,null,function*(){let r=new Promise(o=>setTimeout(o)),i=typeof Cn.requestAnimationFrame=="function"?new Promise(o=>requestAnimationFrame(()=>o())):null;yield Promise.race([r,i]),this.tick()})}tick(){try{this.appRef.destroyed||this.appRef._tick(this.shouldRefreshViews)}finally{this.shouldRefreshViews=!1;let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ny(){return tn([{provide:Jr,useExisting:xM},{provide:fe,useClass:du}])}function hr(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Id(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Ry(t,e){Nt("NgSignals");let n=Zc(t);return e?.equal&&(n[at].equal=e.equal),n}var AM=new I("",{providedIn:"root",factory:()=>g(PM)}),PM=(()=>{let e=class e{};e.\u0275prov=M({token:e,providedIn:"root",factory:()=>new Lu});let t=e;return t})(),Lu=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(In),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(e){let n=e.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,n]of this.queues)e===null?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(let n of e)e.delete(n),this.queuedEffectCount--,n.run()}},ju=class{constructor(e,n,r,i,o,s){this.scheduler=e,this.effectFn=n,this.creationZone=r,this.injector=o,this.watcher=Hh(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(St,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Tn(t,e){Nt("NgSignals"),!e?.injector&&aa(Tn);let n=e?.injector??g(an),r=e?.manualCleanup!==!0?n.get(Xe):null,i=new ju(n.get(AM),t,typeof Zone>"u"?null:Zone.current,r,n,e?.allowSignalWrites??!1),o=n.get(gt,null,{optional:!0});return!o||!(o._lView[F]&8)?i.watcher.notify():(o._lView[Os]??=[]).push(i.watcher.notify),i}var Ly=null;function dn(){return Ly}function jy(t){Ly??=t}var Ta=class{};var de=new I(""),Vy=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(RM),providedIn:"platform"});let t=e;return t})();var RM=(()=>{let e=class e extends Vy{constructor(){super(),this._doc=g(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return dn().getBaseHref(this._doc)}onPopState(r){let i=dn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=dn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function By(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function Fy(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function pr(t){return t&&t[0]!=="?"?"?"+t:t}var xa=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(Uy),providedIn:"root"});let t=e;return t})(),FM=new I(""),Uy=(()=>{let e=class e extends xa{constructor(r,i){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return By(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+pr(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,s){let a=this.prepareExternalUrl(o+pr(s));this._platformLocation.pushState(r,i,a)}replaceState(r,i,o,s){let a=this.prepareExternalUrl(o+pr(s));this._platformLocation.replaceState(r,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(i){return new(i||e)(x(Vy),x(FM,8))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var co=(()=>{let e=class e{constructor(r){this._subject=new me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let i=this._locationStrategy.getBaseHref();this._basePath=jM(Fy(ky(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,i=""){return this.path()==this.normalize(r+pr(i))}normalize(r){return e.stripTrailingSlash(LM(this._basePath,ky(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,i="",o=null){this._locationStrategy.pushState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+pr(i)),o)}replaceState(r,i="",o=null){this._locationStrategy.replaceState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+pr(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",i){this._urlChangeListeners.forEach(o=>o(r,i))}subscribe(r,i,o){return this._subject.subscribe({next:r,error:i,complete:o})}};e.normalizeQueryParams=pr,e.joinWithSlash=By,e.stripTrailingSlash=Fy,e.\u0275fac=function(i){return new(i||e)(x(xa))},e.\u0275prov=M({token:e,factory:()=>kM(),providedIn:"root"});let t=e;return t})();function kM(){return new co(x(xa))}function LM(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function ky(t){return t.replace(/\/index.html$/,"")}function jM(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function Aa(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}function VM(t,e){return new y(2100,!1)}var $y=(()=>{let e=class e{transform(r){if(r==null)return null;if(typeof r!="string")throw VM(e,r);return r.toUpperCase()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"uppercase",type:e,pure:!0,standalone:!0});let t=e;return t})();var Td="browser",BM="server";function oi(t){return t===Td}function mt(t){return t===BM}var ii=class{};var Hy=t=>t.src,UM=new I("",{providedIn:"root",factory:()=>Hy});var $M=new I("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),HM=(()=>{let e=class e{constructor(){this.preloadedImages=g($M),this.document=g(de)}createPreloadLinkTag(r,i,o,s){if(this.preloadedImages.has(i))return;this.preloadedImages.add(i);let a=r.createElement("link");r.setAttribute(a,"as","image"),r.setAttribute(a,"href",i),r.setAttribute(a,"rel","preload"),r.setAttribute(a,"fetchpriority","high"),s&&r.setAttribute(a,"imageSizes",s),o&&r.setAttribute(a,"imageSrcset",o),r.appendChild(this.document.head,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zM=/^((\s*\d+w\s*(,|$)){1,})$/;var GM=[1,2],WM=640;var qM=1920,ZM=1080;var yt=(()=>{let e=class e{constructor(){this.imageLoader=g(UM),this.config=YM(g(hm)),this.renderer=g(ln),this.imgElement=g(he).nativeElement,this.injector=g(an),this.isServer=mt(g(Ce)),this.preloadLinkCreator=g(HM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Nt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let r=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),r,this.sizes)}ngOnChanges(r){if(r.ngSrc&&!r.ngSrc.isFirstChange()){let i=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&i&&o&&i!==o&&this.injector.get(fe).runOutsideAngular(()=>{this.lcpObserver?.updateImage(i,o)})}}callImageLoader(r){let i=r;return this.loaderParams&&(i.loaderParams=this.loaderParams),this.imageLoader(i)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let r={src:this.ngSrc};this._renderedSrc=this.callImageLoader(r)}return this._renderedSrc}getRewrittenSrcset(){let r=zM.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let s=r?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:r}=this.config,i=r;return this.sizes?.trim()==="100vw"&&(i=r.filter(s=>s>=WM)),i.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(r=!1){r&&(this._renderedSrc=null);let i=this.getRewrittenSrc();this.setHostAttribute("src",i);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return GM.map(i=>`${this.callImageLoader({src:this.ngSrc,width:this.width*i})} ${i}x`).join(", ")}shouldGenerateAutomaticSrcset(){let r=!1;return this.sizes||(r=this.width>qM||this.height>ZM),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Hy&&!r}generatePlaceholder(r){let{placeholderResolution:i}=this.config;return r===!0?`url(${this.callImageLoader({src:this.ngSrc,width:i,isPlaceholder:!0})})`:typeof r=="string"&&r.startsWith("data:")?`url(${r})`:null}shouldBlurPlaceholder(r){return!r||!r.hasOwnProperty("blur")?!0:!!r.blur}removePlaceholderOnLoad(r){let i=()=>{let a=this.injector.get(gt);o(),s(),this.placeholder=!1,a.markForCheck()},o=this.renderer.listen(r,"load",i),s=this.renderer.listen(r,"error",i)}ngOnDestroy(){}setHostAttribute(r,i){this.renderer.setAttribute(this.imgElement,r,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(i,o){i&2&&io("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[P.HasDecoratorInputTransform,"ngSrc","ngSrc",QM],ngSrcset:"ngSrcset",sizes:"sizes",width:[P.HasDecoratorInputTransform,"width","width",Id],height:[P.HasDecoratorInputTransform,"height","height",Id],loading:"loading",priority:[P.HasDecoratorInputTransform,"priority","priority",hr],loaderParams:"loaderParams",disableOptimizedSrcset:[P.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",hr],fill:[P.HasDecoratorInputTransform,"fill","fill",hr],placeholder:[P.HasDecoratorInputTransform,"placeholder","placeholder",KM],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Dd,At]});let t=e;return t})();function YM(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((n,r)=>n-r)),Object.assign({},cd,t,e)}function QM(t){return typeof t=="string"?t:Pt(t)}function KM(t){return typeof t=="string"&&t.startsWith("data:")?t:hr(t)}var uo=class{},Oa=class{},gr=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Ad=class{encodeKey(e){return zy(e)}encodeValue(e){return zy(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function JM(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var eI=/%(\d[a-f0-9])/gi,tI={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zy(t){return encodeURIComponent(t).replace(eI,(e,n)=>tI[n]??e)}function Pa(t){return`${t}`}var xn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Ad,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=JM(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],i=Array.isArray(r)?r.map(Pa):[Pa(r)];this.map.set(n,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let i=e[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(Pa(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],i=r.indexOf(Pa(e.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Pd=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function nI(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Gy(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Wy(t){return typeof Blob<"u"&&t instanceof Blob}function qy(t){return typeof FormData<"u"&&t instanceof FormData}function rI(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var lo=class t{constructor(e,n,r,i){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(nI(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new gr,this.context??=new Pd,!this.params)this.params=new xn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":ah.set(p,e.setHeaders[p]),l)),e.setParams&&(u=Object.keys(e.setParams).reduce((h,p)=>h.set(p,e.setParams[p]),u)),new t(n,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},si=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(si||{}),fo=class{constructor(e,n=Fa.Ok,r="OK"){this.headers=e.headers||new gr,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Od=class t extends fo{constructor(e={}){super(e),this.type=si.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Na=class t extends fo{constructor(e={}){super(e),this.type=si.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ra=class extends fo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Fa=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Fa||{});function xd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Nd=(()=>{let e=class e{constructor(r){this.handler=r}request(r,i,o={}){let s;if(r instanceof lo)s=r;else{let l;o.headers instanceof gr?l=o.headers:l=new gr(o.headers);let u;o.params&&(o.params instanceof xn?u=o.params:u=new xn({fromObject:o.params})),s=new lo(r,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=O(s).pipe(yn(l=>this.handler.handle(l)));if(r instanceof lo||o.observe==="events")return a;let c=a.pipe(be(l=>l instanceof Na));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(T(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(T(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(T(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(T(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(r,i={}){return this.request("DELETE",r,i)}get(r,i={}){return this.request("GET",r,i)}head(r,i={}){return this.request("HEAD",r,i)}jsonp(r,i){return this.request("JSONP",r,{params:new xn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,i={}){return this.request("OPTIONS",r,i)}patch(r,i,o={}){return this.request("PATCH",r,xd(o,i))}post(r,i,o={}){return this.request("POST",r,xd(o,i))}put(r,i,o={}){return this.request("PUT",r,xd(o,i))}};e.\u0275fac=function(i){return new(i||e)(x(uo))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();function iI(t,e){return e(t)}function oI(t,e,n){return(r,i)=>nn(n,()=>e(r,o=>t(o,i)))}var Ky=new I(""),sI=new I(""),aI=new I("");var Zy=(()=>{let e=class e extends uo{constructor(r,i){super(),this.backend=r,this.injector=i,this.chain=null,this.pendingTasks=g(In);let o=g(aI,{optional:!0});this.backend=o??r}handle(r){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Ky),...this.injector.get(sI,[])]));this.chain=o.reduceRight((s,a)=>oI(s,a,this.injector),iI)}let i=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe(Wn(()=>this.pendingTasks.remove(i)))}};e.\u0275fac=function(i){return new(i||e)(x(Oa),x(Qe))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();var cI=/^\)\]\}',?\n/;function lI(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Yy=(()=>{let e=class e{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new y(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ce(i.\u0275loadImpl()):O(null)).pipe(Ne(()=>new B(s=>{let a=i.build();if(a.open(r.method,r.urlWithParams),r.withCredentials&&(a.withCredentials=!0),r.headers.forEach((b,_)=>a.setRequestHeader(b,_.join(","))),r.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let b=r.detectContentTypeHeader();b!==null&&a.setRequestHeader("Content-Type",b)}if(r.responseType){let b=r.responseType.toLowerCase();a.responseType=b!=="json"?b:"text"}let c=r.serializeBody(),l=null,u=()=>{if(l!==null)return l;let b=a.statusText||"OK",_=new gr(a.getAllResponseHeaders()),Y=lI(a)||r.url;return l=new Od({headers:_,status:a.status,statusText:b,url:Y}),l},d=()=>{let{headers:b,status:_,statusText:Y,url:K}=u(),j=null;_!==Fa.NoContent&&(j=typeof a.response>"u"?a.responseText:a.response),_===0&&(_=j?Fa.Ok:0);let Oe=_>=200&&_<300;if(r.responseType==="json"&&typeof j=="string"){let pe=j;j=j.replace(cI,"");try{j=j!==""?JSON.parse(j):null}catch(ge){j=pe,Oe&&(Oe=!1,j={error:ge,text:j})}}Oe?(s.next(new Na({body:j,headers:b,status:_,statusText:Y,url:K||void 0})),s.complete()):s.error(new Ra({error:j,headers:b,status:_,statusText:Y,url:K||void 0}))},h=b=>{let{url:_}=u(),Y=new Ra({error:b,status:a.status||0,statusText:a.statusText||"Unknown Error",url:_||void 0});s.error(Y)},p=!1,m=b=>{p||(s.next(u()),p=!0);let _={type:si.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),r.responseType==="text"&&a.responseText&&(_.partialText=a.responseText),s.next(_)},v=b=>{let _={type:si.UploadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),s.next(_)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),r.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",v)),a.send(c),s.next({type:si.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),r.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(x(ii))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),Xy=new I(""),uI="XSRF-TOKEN",dI=new I("",{providedIn:"root",factory:()=>uI}),fI="X-XSRF-TOKEN",hI=new I("",{providedIn:"root",factory:()=>fI}),ka=class{},pI=(()=>{let e=class e{constructor(r,i,o){this.doc=r,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=Aa(r,this.cookieName),this.lastCookieString=r),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(x(de),x(Ce),x(dI))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();function gI(t,e){let n=t.url.toLowerCase();if(!g(Xy)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=g(ka).getToken(),i=g(hI);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),e(t)}function Jy(...t){let e=[Nd,Yy,Zy,{provide:uo,useExisting:Zy},{provide:Oa,useExisting:Yy},{provide:Ky,useValue:gI,multi:!0},{provide:Xy,useValue:!0},{provide:ka,useClass:pI}];for(let n of t)e.push(...n.\u0275providers);return tn(e)}var kd=class extends Ta{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ld=class t extends kd{static makeCurrent(){jy(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.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 n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=yI();return n==null?null:vI(n)}resetBaseElement(){ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Aa(document.cookie,e)}},ho=null;function yI(){return ho=ho||document.querySelector("base"),ho?ho.getAttribute("href"):null}function vI(t){return new URL(t,document.baseURI).pathname}var wI=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),jd=new I(""),nv=(()=>{let e=class e{constructor(r,i){this._zone=i,this._eventNameToPlugin=new Map,r.forEach(o=>{o.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,i,o){return this._findPluginFor(i).addEventListener(r,i,o)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(s=>s.supports(r)),!i)throw new y(5101,!1);return this._eventNameToPlugin.set(r,i),i}};e.\u0275fac=function(i){return new(i||e)(x(jd),x(fe))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),La=class{constructor(e){this._doc=e}},Rd="ng-app-id",rv=(()=>{let e=class e{constructor(r,i,o,s={}){this.doc=r,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=mt(s),this.resetHostNodes()}addStyles(r){for(let i of r)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(r){for(let i of r)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(i=>i.remove()),r.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let i of this.getAllStyles())this.addStyleToHost(r,i)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let i of this.hostNodes)this.addStyleToHost(i,r)}onStyleRemoved(r){let i=this.styleRef;i.get(r)?.elements?.forEach(o=>o.remove()),i.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Rd}="${this.appId}"]`);if(r?.length){let i=new Map;return r.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(r,i){let o=this.styleRef;if(o.has(r)){let s=o.get(r);return s.usage+=i,s.usage}return o.set(r,{usage:i,elements:[]}),i}getStyleElement(r,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===r)return o.delete(i),s.removeAttribute(Rd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Rd,this.appId),r.appendChild(a),a}}addStyleToHost(r,i){let o=this.getStyleElement(r,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(x(de),x(da),x(ad,8),x(Ce))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),Fd={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/"},Bd=/%COMP%/g,iv="%COMP%",CI=`_nghost-${iv}`,DI=`_ngcontent-${iv}`,bI=!0,_I=new I("",{providedIn:"root",factory:()=>bI});function EI(t){return DI.replace(Bd,t)}function MI(t){return CI.replace(Bd,t)}function ov(t,e){return e.map(n=>n.replace(Bd,t))}var ja=(()=>{let e=class e{constructor(r,i,o,s,a,c,l,u=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=mt(c),this.defaultRenderer=new po(r,a,l,this.platformIsServer)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Bt.ShadowDom&&(i=J(D({},i),{encapsulation:Bt.Emulated}));let o=this.getOrCreateRenderer(r,i);return o instanceof Va?o.applyToHost(r):o instanceof go&&o.applyStyles(),o}getOrCreateRenderer(r,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case Bt.Emulated:s=new Va(l,u,i,this.appId,d,a,c,h);break;case Bt.ShadowDom:return new Vd(l,u,r,i,a,c,this.nonce,h);default:s=new go(l,u,i,d,a,c,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(x(nv),x(rv),x(da),x(_I),x(de),x(Ce),x(fe),x(ad))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),po=class{constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Fd[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(ev(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(ev(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new y(-5104,!1);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;let o=Fd[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=Fd[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&(en.DashCase|en.Important)?e.style.setProperty(n,r,i&en.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&en.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=dn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function ev(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Vd=class extends po{constructor(e,n,r,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=ov(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},go=class extends po{constructor(e,n,r,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=c?ov(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Va=class extends go{constructor(e,n,r,i,o,s,a,c){let l=i+"-"+r.id;super(e,n,r,o,s,a,c,l),this.contentAttr=EI(l),this.hostAttr=MI(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},II=(()=>{let e=class e extends La{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,o){return r.addEventListener(i,o,!1),()=>this.removeEventListener(r,i,o)}removeEventListener(r,i,o){return r.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(x(de))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),tv=["alt","control","meta","shift"],SI={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},TI={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},xI=(()=>{let e=class e extends La{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>dn().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let i=r.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),tv.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(r,i){let o=SI[r.key]||r.key,s="";return i.indexOf("code.")>-1&&(o=r.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),tv.forEach(a=>{if(a!==o){let c=TI[a];c(r)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(r,i,o){return s=>{e.matchEventFullKeyCode(s,r)&&o.runGuarded(()=>i(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(i){return new(i||e)(x(de))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();function sv(t,e){return Oy(D({rootComponent:t},AI(e)))}function AI(t){return{appProviders:[...FI,...t?.providers??[]],platformProviders:RI}}function PI(){Ld.makeCurrent()}function OI(){return new St}function NI(){return dm(document),document}var RI=[{provide:Ce,useValue:Td},{provide:od,useValue:PI,multi:!0},{provide:de,useFactory:NI,deps:[]}];var FI=[{provide:sa,useValue:"root"},{provide:St,useFactory:OI,deps:[]},{provide:jd,useClass:II,multi:!0,deps:[de,fe,Ce]},{provide:jd,useClass:xI,multi:!0,deps:[de]},ja,rv,nv,{provide:ir,useExisting:ja},{provide:ii,useClass:wI,deps:[]},[]];var av=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(i){return new(i||e)(x(de))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ud=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=x(kI),o},providedIn:"root"});let t=e;return t})(),kI=(()=>{let e=class e extends Ud{constructor(r){super(),this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case Ot.NONE:return i;case Ot.HTML:return lr(i,"HTML")?Pt(i):Mm(this._doc,String(i)).toString();case Ot.STYLE:return lr(i,"Style")?Pt(i):i;case Ot.SCRIPT:if(lr(i,"Script"))return Pt(i);throw new y(5200,!1);case Ot.URL:return lr(i,"URL")?Pt(i):ha(String(i));case Ot.RESOURCE_URL:if(lr(i,"ResourceURL"))return Pt(i);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(r){return gm(r)}bypassSecurityTrustStyle(r){return mm(r)}bypassSecurityTrustScript(r){return ym(r)}bypassSecurityTrustUrl(r){return vm(r)}bypassSecurityTrustResourceUrl(r){return wm(r)}};e.\u0275fac=function(i){return new(i||e)(x(de))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ai=(()=>{let e=class e{transform(r,i){return r===i?"yellow":"black"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"color",type:e,pure:!0,standalone:!0});let t=e;return t})();var Ba=(()=>{let e=class e{transform(r){return r?"show":"hide"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"hide",type:e,pure:!0,standalone:!0});let t=e;return t})();var vt=(()=>{let e=class e{transform(r,i="",o=!1){return r?i?`assets/images/${i}/${r}.${o?"webp":"svg"}`:`assets/images/${r}.svg`:""}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"asset",type:e,pure:!0,standalone:!0});let t=e;return t})();var ci=(()=>{let e=class e{transform(r){return`Navigate to ${r??""}`}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"anchorLabel",type:e,pure:!0,standalone:!0});let t=e;return t})();var Ua=(()=>{let e=class e{constructor(){this.jsDaddyWebsite="https://jsdaddy.io/",this.openSourceVisitBtnPath="open-source/visit-btn"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-visit-btn"]],standalone:!0,features:[ue],decls:13,vars:8,consts:[["target","_self",3,"href"],[1,"color-btn","row","ai-c","jc-sb","bg-yellow","text"],["width","20","height","20","alt","Chevron button",3,"ngSrc"]],template:function(i,o){i&1&&(w(0,"a",0),W(1,"anchorLabel"),f(2,` + `)}`}function Yn(t,e){let n=t.hasOwnProperty(Vs);return n?t[Vs]:null}function y0(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?Bu(n,e):e(n))}function dg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Us(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function w0(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function Uu(t,e,n){let r=Ki(t,e);return r>=0?t[r|1]=n:(r=~r,w0(t,r,e,n)),r}function yl(t,e){let n=Ki(t,e);if(n>=0)return t[n|1]}function Ki(t,e){return C0(t,e,1)}function C0(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<e?i=o:r=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&l!==d){if(bt(r))return!1;s=!0}}}}return bt(r)||s}function bt(t){return(t&1)===0}function S0(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!bt(s)&&(e+=_p(o,i),i=""),r=s,o=o||!bt(r);n++}return i!==""&&(e+=_p(o,i)),e}function O0(t){return t.map(P0).join(",")}function N0(t){let e=[],n=[],r=1,i=2;for(;r{let e=Cg(t),n=J(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===pg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Bt.Emulated,styles:t.styles||ze,_:null,schemas:t.schemas||null,tView:null,id:""});Dg(n);let r=t.dependencies;return n.directiveDefs=Mp(r,!1),n.pipeDefs=Mp(r,!0),n.id=k0(n),n})}function R0(t){return Qn(t)||mg(t)}function F0(t){return t!==null}function zt(t){return ia(()=>({type:t.type,bootstrap:t.bootstrap||ze,declarations:t.declarations||ze,imports:t.imports||ze,exports:t.exports||ze,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Ep(t,e){if(t==null)return Zr;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a=P.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(n[o]=a!==P.None?[r,a]:r,e[o]=s):n[o]=r}return n}function _e(t){return ia(()=>{let e=Cg(t);return Dg(e),e})}function lt(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Qn(t){return t[t0]||null}function mg(t){return t[n0]||null}function yg(t){return t[r0]||null}function vg(t){let e=Qn(t)||mg(t)||yg(t);return e!==null?e.standalone:!1}function wg(t,e){let n=t[i0]||null;if(!n&&e===!0)throw new Error(`Type ${Ye(t)} does not have '\u0275mod' property.`);return n}function Cg(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Zr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||ze,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ep(t.inputs,e),outputs:Ep(t.outputs),debugInfo:null}}function Dg(t){t.features?.forEach(e=>e(t))}function Mp(t,e){if(!t)return null;let n=e?yg:R0;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(F0)}function k0(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of n)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function tn(t){return{\u0275providers:t}}function L0(...t){return{\u0275providers:bg(!0,t),\u0275fromNgModule:!0}}function bg(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return Bu(e,s=>{let a=s;kl(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&_g(i,o),n}function _g(t,e){for(let n=0;n{e(o,r)})}}function kl(t,e,n,r){if(t=He(t),!t)return!1;let i=null,o=vp(t),s=!o&&Qn(t);if(!o&&!s){let c=t.ngModule;if(o=vp(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)kl(l,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{Bu(o.imports,u=>{kl(u,e,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&_g(l,e)}if(!a){let l=Yn(i)||(()=>new i);e({provide:i,useFactory:l,deps:ze},i),e({provide:hg,useValue:i,multi:!0},i),e({provide:Yr,useValue:()=>x(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=t;Hu(c,u=>{e(u,l)})}}else return!1;return i!==t&&t.providers!==void 0}function Hu(t,e){for(let n of t)cg(n)&&(n=n.\u0275providers),Array.isArray(n)?Hu(n,e):e(n)}var j0=oe({provide:String,useValue:oe});function Eg(t){return t!==null&&typeof t=="object"&&j0 in t}function V0(t){return!!(t&&t.useExisting)}function B0(t){return!!(t&&t.useFactory)}function Qr(t){return typeof t=="function"}function U0(t){return!!t.useClass}var aa=new I(""),Os={},$0={},vl;function zu(){return vl===void 0&&(vl=new $s),vl}var Qe=class{},ji=class extends Qe{get destroyed(){return this._destroyed}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,jl(e,s=>this.processProvider(s)),this.records.set(fg,$r(void 0,this)),i.has("environment")&&this.records.set(Qe,$r(void 0,this));let o=this.records.get(aa);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(hg,ze,G.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Z(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=wn(this),r=Ze(void 0),i;try{return e()}finally{wn(n),Ze(r)}}get(e,n=ki,r=G.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Cp))return e[Cp](this);r=sa(r);let i,o=wn(this),s=Ze(void 0);try{if(!(r&G.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=q0(e)&&oa(e);l&&this.injectableDefInScope(l)?c=$r(Ll(e),Os):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=r&G.Self?zu():this.parent;return n=r&G.Optional&&n===ki?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Bs]=a[Bs]||[]).unshift(Ye(e)),o)throw a;return g0(a,e,"R3InjectorError",this.source)}else throw a}finally{Ze(s),wn(o)}}resolveInjectorInitializers(){let e=Z(null),n=wn(this),r=Ze(void 0),i;try{let o=this.get(Yr,ze,G.Self);for(let s of o)s()}finally{wn(n),Ze(r),Z(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Ye(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(e){e=He(e);let n=Qr(e)?e:He(e&&e.provide),r=z0(e);if(!Qr(e)&&e.multi===!0){let i=this.records.get(n);i||(i=$r(void 0,Os,!0),i.factory=()=>Rl(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=Z(null);try{return n.value===Os&&(n.value=$0,n.value=n.factory()),typeof n.value=="object"&&n.value&&W0(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Z(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=He(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ll(t){let e=oa(t),n=e!==null?e.factory:Yn(t);if(n!==null)return n;if(t instanceof I)throw new y(204,!1);if(t instanceof Function)return H0(t);throw new y(204,!1)}function H0(t){if(t.length>0)throw new y(204,!1);let n=JC(t);return n!==null?()=>n.factory(t):()=>new t}function z0(t){if(Eg(t))return $r(void 0,t.useValue);{let e=Mg(t);return $r(e,Os)}}function Mg(t,e,n){let r;if(Qr(t)){let i=He(t);return Yn(i)||Ll(i)}else if(Eg(t))r=()=>He(t.useValue);else if(B0(t))r=()=>t.useFactory(...Rl(t.deps||[]));else if(V0(t))r=()=>x(He(t.useExisting));else{let i=He(t&&(t.useClass||t.provide));if(G0(t))r=()=>new i(...Rl(t.deps));else return Yn(i)||Ll(i)}return r}function $r(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function G0(t){return!!t.deps}function W0(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function q0(t){return typeof t=="function"||typeof t=="object"&&t instanceof I}function jl(t,e){for(let n of t)Array.isArray(n)?jl(n,e):n&&cg(n)?jl(n.\u0275providers,e):e(n)}function nn(t,e){t instanceof ji&&t.assertNotDestroyed();let n,r=wn(t),i=Ze(void 0);try{return e()}finally{wn(r),Ze(i)}}function Ig(){return lg()!==void 0||f0()!=null}function ca(t){if(!Ig())throw new y(-203,!1)}function Z0(t){return typeof t=="function"}var rn=0,L=1,F=2,Re=3,Et=4,xt=5,Vi=6,Bi=7,je=8,Kr=9,Mt=10,Ee=11,Ui=12,Ip=13,ti=14,It=15,Xi=16,Hr=17,Xt=18,la=19,Sg=20,Dn=21,Ns=22,Kn=23,Ke=25,Tg=1;var Xn=7,Hs=8,Xr=9,Ve=10,Gu=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Gu||{});function qn(t){return Array.isArray(t)&&typeof t[Tg]=="object"}function on(t){return Array.isArray(t)&&t[Tg]===!0}function xg(t){return(t.flags&4)!==0}function ua(t){return t.componentOffset>-1}function Wu(t){return(t.flags&1)===1}function bn(t){return!!t.template}function Y0(t){return(t[F]&512)!==0}var Vl=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ag(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function At(){return Pg}function Pg(t){return t.type.prototype.ngOnChanges&&(t.setInput=K0),Q0}At.ngInherit=!0;function Q0(){let t=Ng(this),e=t?.current;if(e){let n=t.previous;if(n===Zr)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function K0(t,e,n,r,i){let o=this.declaredInputs[r],s=Ng(t)||X0(t,{previous:Zr,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new Vl(l&&l.currentValue,n,c===Zr),Ag(t,e,i,n)}var Og="__ngSimpleChanges__";function Ng(t){return t[Og]||null}function X0(t,e){return t[Og]=e}var Sp=null;var jt=function(t,e,n){Sp?.(t,e,n)},J0="svg",eD="math",tD=!1;function nD(){return tD}function Ut(t){for(;Array.isArray(t);)t=t[rn];return t}function Rg(t,e){return Ut(e[t])}function ut(t,e){return Ut(e[t.index])}function qu(t,e){return t.data[e]}function Fg(t,e){return t[e]}function En(t,e){let n=e[t];return qn(n)?n:n[rn]}function Zu(t){return(t[F]&128)===128}function rD(t){return on(t[Re])}function zs(t,e){return e==null?null:t[e]}function kg(t){t[Hr]=0}function iD(t){t[F]&1024||(t[F]|=1024,Zu(t)&&$i(t))}function oD(t,e){for(;t>0;)e=e[ti],t--;return e}function Yu(t){return!!(t[F]&9216||t[Kn]?.dirty)}function Bl(t){t[Mt].changeDetectionScheduler?.notify(1),Yu(t)?$i(t):t[F]&64&&(nD()?(t[F]|=1024,$i(t)):t[Mt].changeDetectionScheduler?.notify())}function $i(t){t[Mt].changeDetectionScheduler?.notify();let e=Hi(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!Zu(e)));)e=Hi(e)}function Lg(t,e){if((t[F]&256)===256)throw new y(911,!1);t[Dn]===null&&(t[Dn]=[]),t[Dn].push(e)}function sD(t,e){if(t[Dn]===null)return;let n=t[Dn].indexOf(e);n!==-1&&t[Dn].splice(n,1)}function Hi(t){let e=t[Re];return on(e)?e[Re]:e}var z={lFrame:zg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function aD(){return z.lFrame.elementDepthCount}function cD(){z.lFrame.elementDepthCount++}function lD(){z.lFrame.elementDepthCount--}function jg(){return z.bindingsEnabled}function uD(){return z.skipHydrationRootTNode!==null}function dD(t){return z.skipHydrationRootTNode===t}function fD(){z.skipHydrationRootTNode=null}function Q(){return z.lFrame.lView}function Ge(){return z.lFrame.tView}function ar(t){return z.lFrame.contextLView=t,t[je]}function cr(t){return z.lFrame.contextLView=null,t}function dt(){let t=Vg();for(;t!==null&&t.type===64;)t=t.parent;return t}function Vg(){return z.lFrame.currentTNode}function hD(){let t=z.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ji(t,e){let n=z.lFrame;n.currentTNode=t,n.isParent=e}function Bg(){return z.lFrame.isParent}function pD(){z.lFrame.isParent=!1}function Ug(){let t=z.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function gD(){return z.lFrame.bindingIndex}function mD(t){return z.lFrame.bindingIndex=t}function eo(){return z.lFrame.bindingIndex++}function Qu(t){let e=z.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function yD(){return z.lFrame.inI18n}function vD(t,e){let n=z.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ul(e)}function wD(){return z.lFrame.currentDirectiveIndex}function Ul(t){z.lFrame.currentDirectiveIndex=t}function CD(t){let e=z.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function DD(){return z.lFrame.currentQueryIndex}function Ku(t){z.lFrame.currentQueryIndex=t}function bD(t){let e=t[L];return e.type===2?e.declTNode:e.type===1?t[xt]:null}function $g(t,e,n){if(n&G.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(n&G.Host);)if(i=bD(o),i===null||(o=o[ti],i.type&10))break;if(i===null)return!1;e=i,t=o}let r=z.lFrame=Hg();return r.currentTNode=e,r.lView=t,!0}function Xu(t){let e=Hg(),n=t[L];z.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Hg(){let t=z.lFrame,e=t===null?null:t.child;return e===null?zg(t):e}function zg(t){let 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 t!==null&&(t.child=e),e}function Gg(){let t=z.lFrame;return z.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Wg=Gg;function Ju(){let t=Gg();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 _D(t){return(z.lFrame.contextLView=oD(t,z.lFrame.contextLView))[je]}function sn(){return z.lFrame.selectedIndex}function Jn(t){z.lFrame.selectedIndex=t}function ed(){let t=z.lFrame;return qu(t.tView,t.selectedIndex)}function ED(){return z.lFrame.currentNamespace}var qg=!0;function td(){return qg}function nd(t){qg=t}function MD(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=Pg(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function rd(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[c]<0&&(t[Hr]+=65536),(a>14>16&&(t[F]&3)===e&&(t[F]+=16384,Tp(a,o)):Tp(a,o)}var Wr=-1,er=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function SD(t){return t instanceof er}function TD(t){return(t.flags&8)!==0}function xD(t){return(t.flags&16)!==0}function Yg(t){return t!==Wr}function Gs(t){return t&32767}function AD(t){return t>>16}function Ws(t,e){let n=AD(t),r=e;for(;n>0;)r=r[ti],n--;return r}var $l=!0;function qs(t){let e=$l;return $l=t,e}var PD=256,Qg=PD-1,Kg=5,OD=0,Vt={};function ND(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Fi)&&(r=n[Fi]),r==null&&(r=n[Fi]=OD++);let i=r&Qg,o=1<>Kg)]|=o}function Zs(t,e){let n=Xg(t,e);if(n!==-1)return n;let r=e[L];r.firstCreatePass&&(t.injectorIndex=e.length,Cl(r.data,t),Cl(e,null),Cl(r.blueprint,null));let i=id(t,e),o=t.injectorIndex;if(Yg(i)){let s=Gs(i),a=Ws(i,e),c=a[L].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|c[s+l]}return e[o+8]=i,o}function Cl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Xg(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function id(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=rm(i),r===null)return Wr;if(n++,i=i[ti],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Wr}function Hl(t,e,n){ND(t,e,n)}function Jg(t,e,n){if(n&G.Optional||t!==void 0)return t;Vu(e,"NodeInjector")}function em(t,e,n,r){if(n&G.Optional&&r===void 0&&(r=null),!(n&(G.Self|G.Host))){let i=t[Kr],o=Ze(void 0);try{return i?i.get(e,r,n&G.Optional):ug(e,r,n&G.Optional)}finally{Ze(o)}}return Jg(r,e,n)}function tm(t,e,n,r=G.Default,i){if(t!==null){if(e[F]&2048&&!(r&G.Self)){let s=LD(t,e,n,r,Vt);if(s!==Vt)return s}let o=nm(t,e,n,r,Vt);if(o!==Vt)return o}return em(e,n,r,i)}function nm(t,e,n,r,i){let o=FD(n);if(typeof o=="function"){if(!$g(e,t,r))return r&G.Host?Jg(i,n,r):em(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&G.Optional))Vu(n);else return s}finally{Wg()}}else if(typeof o=="number"){let s=null,a=Xg(t,e),c=Wr,l=r&G.Host?e[It][xt]:null;for((a===-1||r&G.SkipSelf)&&(c=a===-1?id(t,e):e[a+8],c===Wr||!Ap(r,!1)?a=-1:(s=e[L],a=Gs(c),e=Ws(c,e)));a!==-1;){let u=e[L];if(xp(o,a,u.data)){let d=RD(a,e,n,s,r,l);if(d!==Vt)return d}c=e[a+8],c!==Wr&&Ap(r,e[L].data[a+8]===l)&&xp(o,a,e)?(s=u,a=Gs(c),e=Ws(c,e)):a=-1}}return i}function RD(t,e,n,r,i,o){let s=e[L],a=s.data[t+8],c=r==null?ua(a)&&$l:r!=s&&(a.type&3)!==0,l=i&G.Host&&o===a,u=ks(a,s,n,c,l);return u!==null?tr(e,s,u,a):Vt}function ks(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,c=t.directiveStart,l=t.directiveEnd,u=o>>20,d=r?a:a+u,h=i?a+u:l;for(let p=d;p=c&&m.type===n)return p}if(i){let p=s[c];if(p&&bn(p)&&p.type===n)return c}return null}function tr(t,e,n,r){let i=t[n],o=e.data;if(SD(i)){let s=i;s.resolving&&s0(o0(o[n]));let a=qs(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?Ze(s.injectImpl):null,u=$g(t,r,G.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&MD(n,o[n],e)}finally{l!==null&&Ze(l),qs(a),s.resolving=!1,Wg()}}return i}function FD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Fi)?t[Fi]:void 0;return typeof e=="number"?e>=0?e&Qg:kD:e}function xp(t,e,n){let r=1<>Kg)]&r)}function Ap(t,e){return!(t&G.Self)&&!(t&G.Host&&e)}var Zn=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return tm(this._tNode,this._lView,e,sa(r),n)}};function kD(){return new Zn(dt(),Q())}function to(t){return ia(()=>{let e=t.prototype.constructor,n=e[Vs]||zl(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[Vs]||zl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function zl(t){return ig(t)?()=>{let e=zl(He(t));return e&&e()}:Yn(t)}function LD(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=nm(o,s,n,r|G.Self,Vt);if(a!==Vt)return a;let c=o.parent;if(!c){let l=s[Sg];if(l){let u=l.get(n,Vt,r);if(u!==Vt)return u}c=rm(s),s=s[ti]}o=c}return i}function rm(t){let e=t[L],n=e.type;return n===2?e.declTNode:n===1?t[xt]:null}function Pp(t,e=null,n=null,r){let i=im(t,e,n,r);return i.resolveInjectorInitializers(),i}function im(t,e=null,n=null,r,i=new Set){let o=[n||ze,L0(t)];return r=r||(typeof t=="object"?void 0:Ye(t)),new ji(o,e||zu(),r||null,i)}var an=(()=>{let e=class e{static create(r,i){if(Array.isArray(r))return Pp({name:""},i,r,"");{let o=r.name??"";return Pp({name:o},r.parent,r.providers,o)}}};e.THROW_IF_NOT_FOUND=ki,e.NULL=new $s,e.\u0275prov=M({token:e,providedIn:"any",factory:()=>x(fg)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var jD="ngOriginalError";function Dl(t){return t[jD]}var St=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Dl(e);for(;n&&Dl(n);)n=Dl(n);return n||null}},om=new I("",{providedIn:"root",factory:()=>g(St).handleError.bind(void 0)}),Xe=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=VD,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Gl=class extends Xe{constructor(e){super(),this._lView=e}onDestroy(e){return Lg(this._lView,e),()=>sD(this._lView,e)}};function VD(){return new Gl(Q())}var Wl=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=g(St,{optional:!0}),this.destroyRef=g(Xe),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new y(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let n=this.listeners?.indexOf(e);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(e){if(this.destroyed)throw new y(953,!1);if(this.listeners===null)return;let n=Z(null);try{for(let r of this.listeners)try{r(e)}catch(i){this.errorHandler?.handleError(i)}}finally{Z(n)}}};function da(t){return new Wl}function Op(t,e){return rg(t,e)}function BD(t){return rg(ng,t)}var ie=(Op.required=BD,Op);function UD(){return ni(dt(),Q())}function ni(t,e){return new he(ut(t,e))}var he=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=UD;let t=e;return t})();function $D(t){return t instanceof he?t.nativeElement:t}var ql=class extends Ue{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,Ig()&&(this.destroyRef=g(Xe,{optional:!0})??void 0)}emit(e){let n=Z(null);try{super.next(e)}finally{Z(n)}}subscribe(e,n,r){let i=e,o=n||(()=>null),s=r;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=bl(o),i&&(i=bl(i)),s&&(s=bl(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ve&&e.add(a),a}};function bl(t){return e=>{setTimeout(t,void 0,e)}}var me=ql;function HD(){return this._results[Symbol.iterator]()}var Zl=class t{get changes(){return this._changes??=new me}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=HD)}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){this.dirty=!1;let r=v0(e);(this._changesDetected=!y0(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function sm(t){return(t.flags&128)===128}var am=new Map,zD=0;function GD(){return zD++}function WD(t){am.set(t[la],t)}function qD(t){am.delete(t[la])}var Np="__ngContext__";function nr(t,e){qn(e)?(t[Np]=e[la],WD(e)):t[Np]=e}function cm(t){return um(t[Ui])}function lm(t){return um(t[Et])}function um(t){for(;t!==null&&!on(t);)t=t[Et];return t}var Yl;function dm(t){Yl=t}function fm(){if(Yl!==void 0)return Yl;if(typeof document<"u")return document;throw new y(210,!1)}var fa=new I("",{providedIn:"root",factory:()=>ZD}),ZD="ng",od=new I(""),Ce=new I("",{providedIn:"platform",factory:()=>"unknown"});var sd=new I(""),ad=new I("",{providedIn:"root",factory:()=>fm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),cd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},hm=new I("",{providedIn:"root",factory:()=>cd});function YD(){let t=new no;return g(Ce)==="browser"&&(t.store=QD(fm(),g(fa))),t}var no=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,i){return this.store[r]!==void 0?this.store[r]:i}set(r,i){this.store[r]=i}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,i){this.onSerializeCallbacks[r]=i}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/null;function ld(t,e,n=!1){return JD(t,e,n)}var pm=!1,eb=new I("",{providedIn:"root",factory:()=>pm});var Ts;function tb(){if(Ts===void 0&&(Ts=null,Cn.trustedTypes))try{Ts=Cn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ts}function ha(t){return tb()?.createHTML(t)||t}var Jt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${tg})`}},Ql=class extends Jt{getTypeName(){return"HTML"}},Kl=class extends Jt{getTypeName(){return"Style"}},Xl=class extends Jt{getTypeName(){return"Script"}},Jl=class extends Jt{getTypeName(){return"URL"}},eu=class extends Jt{getTypeName(){return"ResourceURL"}};function Pt(t){return t instanceof Jt?t.changingThisBreaksApplicationSecurity:t}function lr(t,e){let n=nb(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${tg})`)}return n===e}function nb(t){return t instanceof Jt&&t.getTypeName()||null}function gm(t){return new Ql(t)}function mm(t){return new Kl(t)}function ym(t){return new Xl(t)}function vm(t){return new Jl(t)}function wm(t){return new eu(t)}function rb(t){let e=new nu(t);return ib()?new tu(e):e}var tu=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let n=new window.DOMParser().parseFromString(ha(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch{return null}}},nu=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=ha(e),n}};function ib(){try{return!!new window.DOMParser().parseFromString(ha(""),"text/html")}catch{return!1}}var ob=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pa(t){return t=String(t),t.match(ob)?t:"unsafe:"+t}function cn(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function ro(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var Cm=cn("area,br,col,hr,img,wbr"),Dm=cn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bm=cn("rp,rt"),sb=ro(bm,Dm),ab=ro(Dm,cn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),cb=ro(bm,cn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Rp=ro(Cm,ab,cb,sb),_m=cn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lb=cn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ub=cn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),db=ro(_m,lb,ub),fb=cn("script,style,template"),ru=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,r=!0,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){i.push(n),n=gb(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=pb(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(e){let n=Fp(e).toLowerCase();if(!Rp.hasOwnProperty(n))return this.sanitizedSomething=!0,!fb.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=e.attributes;for(let i=0;i"),!0}endElement(e){let n=Fp(e).toLowerCase();Rp.hasOwnProperty(n)&&!Cm.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(kp(e))}};function hb(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function pb(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Em(e);return e}function gb(t){let e=t.firstChild;if(e&&hb(t,e))throw Em(e);return e}function Fp(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Em(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var mb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yb=/([^\#-~ |!])/g;function kp(t){return t.replace(/&/g,"&").replace(mb,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(yb,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var xs;function Mm(t,e){let n=null;try{xs=xs||rb(t);let r=e?String(e):"";n=xs.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=xs.getInertBodyElement(r)}while(r!==o);let a=new ru().sanitizeChildren(Lp(n)||n);return ha(a)}finally{if(n){let r=Lp(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Lp(t){return"content"in t&&vb(t)?t.content:null}function vb(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ot=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ot||{});function Mn(t){let e=wb();return e?e.sanitize(Ot.URL,t)||"":lr(t,"URL")?Pt(t):pa(qr(t))}function wb(){let t=Q();return t&&t[Mt].sanitizer}function Im(t){return t instanceof Function?t():t}var en=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(en||{}),Cb;function ud(t,e){return Cb(t,e)}function zr(t,e,n,r,i){if(r!=null){let o,s=!1;on(r)?o=r:qn(r)&&(s=!0,r=r[rn]);let a=Ut(r);t===0&&n!==null?i==null?Am(e,n,a):Ys(e,n,a,i||null,!0):t===1&&n!==null?Ys(e,n,a,i||null,!0):t===2?Lb(e,a,s):t===3&&e.destroyNode(a),o!=null&&Vb(e,t,o,n,i)}}function Db(t,e){return t.createText(e)}function bb(t,e,n){t.setValue(e,n)}function Sm(t,e,n){return t.createElement(e,n)}function _b(t,e){Tm(t,e),e[rn]=null,e[xt]=null}function Eb(t,e,n,r,i,o){r[rn]=i,r[xt]=e,ma(t,r,n,1,i,o)}function Tm(t,e){e[Mt].changeDetectionScheduler?.notify(1),ma(t,e,e[Ee],2,null,null)}function Mb(t){let e=t[Ui];if(!e)return _l(t[L],t);for(;e;){let n=null;if(qn(e))n=e[Ui];else{let r=e[Ve];r&&(n=r)}if(!n){for(;e&&!e[Et]&&e!==t;)qn(e)&&_l(e[L],e),e=e[Re];e===null&&(e=t),qn(e)&&_l(e[L],e),n=e&&e[Et]}e=n}}function Ib(t,e,n,r){let i=Ve+r,o=n.length;r>0&&(n[i-1][Et]=e),r0&&(t[n-1][Et]=r[Et]);let o=Us(t,Ve+e);_b(r[L],r);let s=o[Xt];s!==null&&s.detachView(o[L]),r[Re]=null,r[Et]=null,r[F]&=-129}return r}function ga(t,e){if(!(e[F]&256)){let n=e[Ee];n.destroyNode&&ma(t,e,n,3,null,null),Mb(e)}}function _l(t,e){if(e[F]&256)return;let n=Z(null);try{e[F]&=-129,e[F]|=256,e[Kn]&&qc(e[Kn]),xb(t,e),Tb(t,e),e[L].type===1&&e[Ee].destroy();let r=e[Xi];if(r!==null&&on(e[Re])){r!==e[Re]&&xm(r,e);let i=e[Xt];i!==null&&i.detachView(t)}qD(e)}finally{Z(n)}}function Tb(t,e){let n=t.cleanup,r=e[Bi];if(n!==null)for(let o=0;o=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(e[Bi]=null);let i=e[Dn];if(i!==null){e[Dn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===Bt.None||o===Bt.Emulated)return null}return ut(r,n)}}function Ys(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Am(t,e,n){t.appendChild(e,n)}function jp(t,e,n,r,i){r!==null?Ys(t,e,n,r,i):Am(t,e,n)}function Ob(t,e,n,r){t.removeChild(e,n,r)}function dd(t,e){return t.parentNode(e)}function Nb(t,e){return t.nextSibling(e)}function Rb(t,e,n){return kb(t,e,n)}function Fb(t,e,n){return t.type&40?ut(t,n):null}var kb=Fb,Vp;function fd(t,e,n,r){let i=Ab(t,r,e),o=e[Ee],s=r.parent||e[xt],a=Rb(s,r,e);if(i!=null)if(Array.isArray(n))for(let c=0;cKe&&Rm(t,e,Ke,!1),jt(s?2:0,i),n(r,i)}finally{Jn(o),jt(s?3:1,i)}}function jm(t,e,n){if(xg(e)){let r=Z(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function Zb(t,e,n,r){let i=Zm(e);i.push(n),t.firstCreatePass&&Ym(t).push(r,i.length-1)}function Yb(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return uD()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Bp(t,e,n,r,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;r??={};let a,c=P.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(i!==null){if(!i.hasOwnProperty(o))continue;l=i[o]}t===0?Up(r,n,l,a,c):Up(r,n,l,a)}return r}function Up(t,e,n,r,i){let o;t.hasOwnProperty(n)?(o=t[n]).push(e,r):o=t[n]=[e,r],i!==void 0&&o.push(i)}function Qb(t,e,n){let r=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function t_(t,e,n,r){let i=n.directiveStart,o=n.directiveEnd;ua(n)&&c_(e,n,t.data[i+n.componentOffset]),t.firstCreatePass||Zs(n,e),nr(r,e);let s=n.initialInputs;for(let a=i;a{$i(t.lView)},consumerOnSignalRead(){this.lView[Kn]=this}}),ty=100;function ny(t,e=!0,n=0){let r=t[Mt],i=r.rendererFactory,o=!1;o||i.begin?.();try{D_(t,n)}catch(s){throw e&&Qm(t,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function D_(t,e){au(t,e);let n=0;for(;Yu(t);){if(n===ty)throw new y(103,!1);n++,au(t,1)}}function b_(t,e,n,r){let i=e[F];if((i&256)===256)return;let o=!1;!o&&e[Mt].inlineEffectRunner?.flush(),Xu(e);let s=null,a=null;!o&&__(t)&&(a=y_(e),s=Ko(a));try{kg(e),mD(t.bindingStartIndex),n!==null&&Lm(t,e,n,2,r);let c=(i&3)===3;if(!o)if(c){let d=t.preOrderCheckHooks;d!==null&&Rs(e,d,null)}else{let d=t.preOrderHooks;d!==null&&Fs(e,d,0,null),wl(e,0)}if(E_(e),ry(e,0),t.contentQueries!==null&&qm(t,e),!o)if(c){let d=t.contentCheckHooks;d!==null&&Rs(e,d)}else{let d=t.contentHooks;d!==null&&Fs(e,d,1),wl(e,1)}$b(t,e);let l=t.components;l!==null&&oy(e,l,0);let u=t.viewQuery;if(u!==null&&su(2,u,r),!o)if(c){let d=t.viewCheckHooks;d!==null&&Rs(e,d)}else{let d=t.viewHooks;d!==null&&Fs(e,d,2),wl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ns]){for(let d of e[Ns])d();e[Ns]=null}o||(e[F]&=-73)}catch(c){throw $i(e),c}finally{a!==null&&(Xo(a,s),w_(a)),Ju()}}function __(t){return t.type!==2}function ry(t,e){for(let n=cm(t);n!==null;n=lm(n))for(let r=Ve;r-1&&(zi(e,r),Us(n,r))}this._attachedToViewContainer=!1}ga(this._lView[L],this._lView)}onDestroy(e){Lg(this._lView,e)}markForCheck(){yd(this._cdRefInjectingView||this._lView)}detach(){this._lView[F]&=-129}reattach(){Bl(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,ny(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Tm(this._lView[L],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=e,Bl(this._lView)}},Wi=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=T_;let t=e;return t})(),I_=Wi,S_=class extends I_{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let i=Ca(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new rr(i)}};function T_(){return vd(dt(),Q())}function vd(t,e){return t.type&4?new S_(e,t,ni(t,e)):null}var IL=new RegExp(`^(\\d+)*(${XD}|${KD})*(.*)`);var x_=()=>null;function qi(t,e){return x_(t,e)}var Jr=class{},cu=class{},Ks=class{};function A_(t){let e=Error(`No component factory found for ${Ye(t)}.`);return e[P_]=t,e}var P_="ngComponent";var lu=class{resolveComponentFactory(e){throw A_(e)}},ba=(()=>{let e=class e{};e.NULL=new lu;let t=e;return t})(),ir=class{},ln=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>O_();let t=e;return t})();function O_(){let t=Q(),e=dt(),n=En(e.index,t);return(qn(n)?n:t)[Ee]}var N_=(()=>{let e=class e{};e.\u0275prov=M({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),El={};var $p=new Set;function Nt(t){$p.has(t)||($p.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Hp(...t){}function R_(){let t=typeof Cn.requestAnimationFrame=="function",e=Cn[t?"requestAnimationFrame":"setTimeout"],n=Cn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var fe=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new me(!1),this.onMicrotaskEmpty=new me(!1),this.onStable=new me(!1),this.onError=new me(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,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=R_().nativeRequestAnimationFrame,L_(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new y(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,F_,Hp,Hp);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)}},F_={};function wd(t){if(t._nesting==0&&!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 k_(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Cn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,uu(t),t.isCheckStableRunning=!0,wd(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),uu(t))}function L_(t){let e=()=>{k_(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{if(j_(a))return n.invokeTask(i,o,s,a);try{return zp(t),n.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Gp(t)}},onInvoke:(n,r,i,o,s,a,c)=>{try{return zp(t),n.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Gp(t)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,uu(t),wd(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function uu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function zp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Gp(t){t._nesting--,wd(t)}var du=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new me,this.onMicrotaskEmpty=new me,this.onStable=new me,this.onError=new me}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)}};function j_(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var sy=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of r)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function fu(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&Om(t,n,o.join(" "))}}function G_(t,e,n){let r=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=q_;let t=e;return t})();function q_(){let t=dt();return cy(t,Q())}var Z_=ri,ay=class extends Z_{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return ni(this._hostTNode,this._hostLView)}get injector(){return new Zn(this._hostTNode,this._hostLView)}get parentInjector(){let e=id(this._hostTNode,this._hostLView);if(Yg(e)){let n=Ws(e,this._hostLView),r=Gs(e),i=n[L].data[r+8];return new Zn(i,n)}else return new Zn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=qp(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(e,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=qi(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Gi(this._hostTNode,s)),a}createComponent(e,n,r,i,o){let s=e&&!Z0(e),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let c=s?e:new Zi(Qn(e)),l=r||this.parentInjector;if(!o&&c.ngModule==null){let v=(s?l:this.parentInjector).get(Qe,null);v&&(o=v)}let u=Qn(c.componentType??{}),d=qi(this._lContainer,u?.id??null),h=d?.firstChild??null,p=c.create(l,i,h,o);return this.insertImpl(p.hostView,a,Gi(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let i=e._lView;if(rD(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[Re],l=new ay(c,c[xt],c[Re]);l.detach(l.indexOf(e))}}let o=this._adjustIndex(n),s=this._lContainer;return Da(s,i,o,r),e.attachToViewContainerRef(),dg(Ml(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=qp(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=zi(this._lContainer,n);r&&(Us(Ml(this._lContainer),n),ga(r[L],r))}detach(e){let n=this._adjustIndex(e,-1),r=zi(this._lContainer,n);return r&&Us(Ml(this._lContainer),n)!=null?new rr(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function qp(t){return t[Hs]}function Ml(t){return t[Hs]||(t[Hs]=[])}function cy(t,e){let n,r=e[t.index];return on(r)?n=r:(n=Wm(r,e,null,t),e[t.index]=n,wa(e,n)),Q_(n,e,t,r),new ay(n,t,e)}function Y_(t,e){let n=t[Ee],r=n.createComment(""),i=ut(e,t),o=dd(n,i);return Ys(n,o,r,Nb(n,i),!1),r}var Q_=J_,K_=()=>!1;function X_(t,e,n){return K_(t,e,n)}function J_(t,e,n,r){if(t[Xn])return;let i;n.type&8?i=Ut(r):i=Y_(e,n),t[Xn]=i}var gu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},mu=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let l=o[a+1],u=e[-c];for(let d=Ve;de.trim())}function aE(t,e,n){t.queries===null&&(t.queries=new vu),t.queries.track(new wu(e,n))}function dy(t,e){return t.queries.getByIndex(e)}function cE(t,e){let n=t[L],r=dy(n,e);return r.crossesNgTemplate?Cu(n,t,e,[]):ly(n,t,r,e)}function _a(t,e){Nt("NgSignals");let n=Uh(t),r=n[at];return e?.equal&&(r.equal=e.equal),n.set=i=>ts(r,i),n.update=i=>$h(r,i),n.asReadonly=lE.bind(n),n}function lE(){let t=this[at];if(t.readonlyFn===void 0){let e=()=>this();e[at]=t,t.readonlyFn=e}return t.readonlyFn}function Cd(t,e){let n,r=Zc(()=>{n._dirtyCounter();let i=pE(n,t);if(e&&i===void 0)throw new y(-951,!1);return i});return n=r[at],n._dirtyCounter=_a(0),n._flatValue=void 0,r}function uE(){return Cd(!0,!1)}function dE(){return Cd(!0,!0)}function fE(){return Cd(!1,!1)}function hE(t,e){let n=t[at];n._lView=Q(),n._queryIndex=e,n._queryList=uy(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function pE(t,e){let n=t._lView,r=t._queryIndex;if(n===void 0||r===void 0||n[F]&4)return e?void 0:ze;let i=uy(n,r),o=cE(n,r);return i.reset(o,$D),e?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function Zp(t,e){return uE()}function gE(t,e){return dE()}var fy=(Zp.required=gE,Zp);function Ea(t,e){return fE()}function mE(t){return Object.getPrototypeOf(t.prototype).constructor}function un(t){let e=mE(t.type),n=!0,r=[t];for(;e;){let i;if(bn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new y(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=As(t.inputs),s.inputTransforms=As(t.inputTransforms),s.declaredInputs=As(t.declaredInputs),s.outputs=As(t.outputs);let a=i.hostBindings;a&&DE(t,a);let c=i.viewQuery,l=i.contentQueries;if(c&&wE(t,c),l&&CE(t,l),yE(t,i),KC(t.outputs,i.outputs),bn(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Li(i.hostAttrs,n=Li(n,i.hostAttrs))}}function As(t){return t===Zr?{}:t===ze?[]:t}function wE(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function CE(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function DE(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function Dd(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}t.inputTransforms=n}var _n=class{},Yi=class{};var Du=class extends _n{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Xs(this);let i=wg(e);this._bootstrapComponents=Im(i.bootstrap),this._r3Injector=im(e,n,[{provide:_n,useValue:this},{provide:ba,useValue:this.componentFactoryResolver},...r],Ye(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},bu=class extends Yi{constructor(e){super(),this.moduleType=e}create(e){return new Du(this.moduleType,e,[])}};var Js=class extends _n{constructor(e){super(),this.componentFactoryResolver=new Xs(this),this.instance=null;let n=new ji([...e.providers,{provide:_n,useValue:this},{provide:ba,useValue:this.componentFactoryResolver}],e.parent||zu(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function bd(t,e,n=null){return new Js({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var In=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new De(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function hy(t,e,n){return t[e]=n}function $t(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function py(t,e,n,r){let i=$t(t,e,n);return $t(t,e+1,r)||i}function bE(t){return(t.flags&32)===32}function _E(t,e,n,r,i,o,s,a,c){let l=e.consts,u=va(e,t,4,s||null,zs(l,a));Hm(e,n,u,zs(l,c)),rd(e,u);let d=u.tView=pd(2,u,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function Tt(t,e,n,r,i,o,s,a){let c=Q(),l=Ge(),u=t+Ke,d=l.firstCreatePass?_E(u,l,c,e,n,r,i,o,s):l.data[u];Ji(d,!1);let h=EE(l,c,d,t);td()&&fd(l,c,h,d),nr(h,c);let p=Wm(h,c,h,d);return c[u]=p,wa(c,p),X_(p,d,c),Wu(d)&&Vm(l,c,d),s!=null&&Bm(c,d,a),Tt}var EE=ME;function ME(t,e,n,r){return nd(!0),e[Ee].createComment("")}function Rt(t,e,n,r){let i=Q(),o=eo();if($t(i,o,e)){let s=Ge(),a=ed();l_(a,i,t,e,n,r)}return Rt}function gy(t,e,n,r){return $t(t,eo(),n)?e+qr(n)+r:ft}function IE(t,e,n,r,i,o){let s=gD(),a=py(t,s,n,i);return Qu(2),a?e+qr(n)+r+qr(i)+o:ft}function Ps(t,e){return t<<17|e<<2}function or(t){return t>>17&32767}function SE(t){return(t&2)==2}function TE(t,e){return t&131071|e<<17}function _u(t){return t|2}function ei(t){return(t&131068)>>2}function Il(t,e){return t&-131069|e<<2}function xE(t){return(t&1)===1}function Eu(t){return t|1}function AE(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=or(s),c=ei(s);t[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Ki(d,u)>0)&&(l=!0)}else u=n;if(i)if(c!==0){let h=or(t[a+1]);t[r+1]=Ps(h,a),h!==0&&(t[h+1]=Il(t[h+1],r)),t[a+1]=TE(t[a+1],r)}else t[r+1]=Ps(a,0),a!==0&&(t[a+1]=Il(t[a+1],r)),a=r;else t[r+1]=Ps(c,0),a===0?a=r:t[c+1]=Il(t[c+1],r),c=r;l&&(t[r+1]=_u(t[r+1])),Yp(t,u,r,!0),Yp(t,u,r,!1),PE(e,u,t,r,o),s=Ps(a,c),o?e.classBindings=s:e.styleBindings=s}function PE(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ki(o,e)>=0&&(n[r+1]=Eu(n[r+1]))}function Yp(t,e,n,r){let i=t[n+1],o=e===null,s=r?or(i):ei(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];OE(c,e)&&(a=!0,t[s+1]=r?Eu(l):_u(l)),s=r?or(l):ei(l)}a&&(t[n+1]=r?_u(i):Eu(i))}function OE(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ki(t,e)>=0:!1}var _t={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function NE(t){return t.substring(_t.key,_t.keyEnd)}function RE(t){return FE(t),my(t,yy(t,0,_t.textEnd))}function my(t,e){let n=_t.textEnd;return n===e?-1:(e=_t.keyEnd=kE(t,_t.key=e,n),yy(t,e,n))}function FE(t){_t.key=0,_t.keyEnd=0,_t.value=0,_t.valueEnd=0,_t.textEnd=t.length}function yy(t,e,n){for(;e32;)e++;return e}function k(t,e,n){let r=Q(),i=eo();if($t(r,i,e)){let o=Ge(),s=ed();$m(o,s,r,t,e,r[Ee],n,!1)}return k}function Mu(t,e,n,r,i){let o=e.inputs,s=i?"class":"style";gd(t,n,o[s],s,r)}function io(t,e,n){return vy(t,e,n,!1),io}function Gt(t,e){return vy(t,e,null,!0),Gt}function We(t){jE(zE,LE,t,!0)}function LE(t,e){for(let n=RE(e);n>=0;n=my(e,n))Uu(t,NE(e),!0)}function vy(t,e,n,r){let i=Q(),o=Ge(),s=Qu(2);if(o.firstUpdatePass&&Cy(o,t,s,r),e!==ft&&$t(i,s,e)){let a=o.data[sn()];Dy(o,a,i,i[Ee],t,i[s+1]=WE(e,n),r,s)}}function jE(t,e,n,r){let i=Ge(),o=Qu(2);i.firstUpdatePass&&Cy(i,null,o,r);let s=Q();if(n!==ft&&$t(s,o,n)){let a=i.data[sn()];if(by(a,r)&&!wy(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ol(c,n||"")),Mu(i,a,s,n,r)}else GE(i,a,s,s[Ee],s[o+1],s[o+1]=HE(t,e,n),r,o)}}function wy(t,e){return e>=t.expandoStartIndex}function Cy(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[sn()],s=wy(t,n);by(o,r)&&e===null&&!s&&(e=!1),e=VE(i,o,e,r),AE(i,o,e,n,s,r)}}function VE(t,e,n,r){let i=CD(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=Sl(null,t,e,n,r),n=Qi(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=Sl(i,t,e,n,r),o===null){let c=BE(t,e,r);c!==void 0&&Array.isArray(c)&&(c=Sl(null,t,e,c[1],r),c=Qi(c,e.attrs,r),UE(t,e,r,c))}else o=$E(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function BE(t,e,n){let r=n?e.classBindings:e.styleBindings;if(ei(r)!==0)return t[or(r)]}function UE(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[or(i)]=r}function $E(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=n[i+1];h===ft&&(h=d?ze:void 0);let p=d?yl(h,r):u===r?h:void 0;if(l&&!ea(p)&&(p=yl(c,r)),ea(p)&&(a=p,s))return a;let m=t[i+1];i=s?or(m):ei(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=yl(c,r))}return a}function ea(t){return t!==void 0}function WE(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ye(Pt(t)))),t}function by(t,e){return(t.flags&(e?8:16))!==0}var Iu=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),i=Math.max(e,n),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(e,n){this.attach(n,this.detach(e))}};function Tl(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function qE(t,e,n){let r,i,o=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;o<=s&&o<=a;){let c=t.at(o),l=e[o],u=Tl(o,c,o,l,n);if(u!==0){u<0&&t.updateValue(o,l),o++;continue}let d=t.at(s),h=e[a],p=Tl(s,d,a,h,n);if(p!==0){p<0&&t.updateValue(s,h),s--,a--;continue}let m=n(o,c),v=n(s,d),b=n(o,l);if(Object.is(b,v)){let _=n(a,h);Object.is(_,m)?(t.swap(o,s),t.updateValue(s,h),a--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(r??=new ta,i??=Xp(t,o,s,n),Su(t,r,o,b))t.updateValue(o,l),o++,s++;else if(i.has(b))r.set(m,t.detach(o)),s--;else{let _=t.create(o,e[o]);t.attach(o,_),o++,s++}}for(;o<=a;)Kp(t,r,n,o,e[o]),o++}else if(e!=null){let a=e[Symbol.iterator](),c=a.next();for(;!c.done&&o<=s;){let l=t.at(o),u=c.value,d=Tl(o,l,o,u,n);if(d!==0)d<0&&t.updateValue(o,u),o++,c=a.next();else{r??=new ta,i??=Xp(t,o,s,n);let h=n(o,u);if(Su(t,r,o,h))t.updateValue(o,u),o++,s++,c=a.next();else if(!i.has(h))t.attach(o,t.create(o,u)),o++,s++,c=a.next();else{let p=n(o,l);r.set(p,t.detach(o)),s--}}}for(;!c.done;)Kp(t,r,n,t.length,c.value),c=a.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(a=>{t.destroy(a)})}function Su(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Kp(t,e,n,r,i){if(Su(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Xp(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var ta=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,r]of this.kvMap)if(e(r,n),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),e(r,n)}}};function Sn(t,e,n){Nt("NgControlFlow");let r=Q(),i=eo(),o=Pu(r,Ke+t),s=0;if($t(r,i,e)){let a=Z(null);try{if(Jm(o,s),e!==-1){let c=Ou(r[L],Ke+e),l=qi(o,c.tView.ssrId),u=Ca(r,c,n,{dehydratedView:l});Da(o,u,s,Gi(c,l))}}finally{Z(a)}}else{let a=Xm(o,s);a!==void 0&&(a[je]=n)}}var Tu=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Ve}};function Ma(t,e){return e}var xu=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function ht(t,e,n,r,i,o,s,a,c,l,u,d,h){Nt("NgControlFlow");let p=c!==void 0,m=Q(),v=a?s.bind(m[It][je]):s,b=new xu(p,v);m[Ke+t]=b,Tt(t+1,e,n,r,i,o),p&&Tt(t+2,c,l,u,d,h)}var Au=class extends Iu{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ve}at(e){return this.getLView(e)[je].$implicit}attach(e,n){let r=n[Vi];this.needsIndexUpdate||=e!==this.length,Da(this.lContainer,n,e,Gi(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,ZE(this.lContainer,e)}create(e,n){let r=qi(this.lContainer,this.templateTNode.tView.ssrId);return Ca(this.hostLView,this.templateTNode,new Tu(this.lContainer,n,e),{dehydratedView:r})}destroy(e){ga(e[L],e)}updateValue(e,n){this.getLView(e)[je].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(nd(!0),Sm(r,i,ED()));function ur(){return Q()}var na="en-US";var XE=na;function JE(t){typeof t=="string"&&(XE=t.toLowerCase().replace(/_/g,"-"))}function Ae(t,e,n,r){let i=Q(),o=Ge(),s=dt();return tM(o,i,i[Ee],s,t,e,r),Ae}function eM(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function tM(t,e,n,r,i,o,s){let a=Wu(r),l=t.firstCreatePass&&Ym(t),u=e[je],d=Zm(e),h=!0;if(r.type&3||s){let v=ut(r,e),b=s?s(v):v,_=d.length,Y=s?j=>s(Ut(j[r.index])):r.index,K=null;if(!s&&a&&(K=eM(t,e,i,r.index)),K!==null){let j=K.__ngLastListenerFn__||K;j.__ngNextListenerFn__=o,K.__ngLastListenerFn__=o,h=!1}else{o=eg(r,e,u,o,!1);let j=n.listen(b,i,o);d.push(o,j),l&&l.push(i,Y,_,_+1)}}else o=eg(r,e,u,o,!1);let p=r.outputs,m;if(h&&p!==null&&(m=p[i])){let v=m.length;if(v)for(let b=0;b-1?En(t.index,e):e;yd(a);let c=Jp(e,n,r,s),l=o.__ngNextListenerFn__;for(;l;)c=Jp(e,n,l,s)&&c,l=l.__ngNextListenerFn__;return i&&c===!1&&s.preventDefault(),c}}function Me(t=1){return _D(t)}function oo(t,e,n){return _y(t,"",e,"",n),oo}function _y(t,e,n,r,i){let o=Q(),s=gy(o,e,n,r);if(s!==ft){let a=Ge(),c=ed();$m(a,c,o,t,s,o[Ee],i,!1)}return _y}function so(t,e,n,r){hE(t,oE(e,n,r))}function Ia(t=1){Ku(DD()+t)}function nM(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function f(t,e=""){let n=Q(),r=Ge(),i=t+Ke,o=r.firstCreatePass?va(r,i,1,e,null):r.data[i],s=rM(r,n,o,e,t);n[i]=s,td()&&fd(r,n,s,o),Ji(o,!1)}var rM=(t,e,n,r,i)=>(nd(!0),Db(e[Ee],r));function ao(t){return Pe("",t,""),ao}function Pe(t,e,n){let r=Q(),i=gy(r,t,e,n);return i!==ft&&Km(r,sn(),i),Pe}function _d(t,e,n,r,i){let o=Q(),s=IE(o,t,e,n,r,i);return s!==ft&&Km(o,sn(),s),_d}function iM(t,e,n){let r=Ge();if(r.firstCreatePass){let i=bn(t);Nu(n,r.data,r.blueprint,i,!0),Nu(e,r.data,r.blueprint,i,!1)}}function Nu(t,e,n,r,i){if(t=He(t),Array.isArray(t))for(let o=0;o>20;if(Qr(t)||!t.multi){let p=new er(l,i,ee),m=Al(c,e,i?u:u+h,d);m===-1?(Hl(Zs(a,s),o,c),xl(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{let p=Al(c,e,u+h,d),m=Al(c,e,u,u+h),v=p>=0&&n[p],b=m>=0&&n[m];if(i&&!b||!i&&!v){Hl(Zs(a,s),o,c);let _=aM(i?sM:oM,n.length,i,r,l);!i&&b&&(n[m].providerFactory=_),xl(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=Ey(n[i?m:p],l,!i&&r);xl(o,t,p>-1?p:m,_)}!i&&r&&b&&n[m].componentProviders++}}}function xl(t,e,n,r){let i=Qr(e),o=U0(e);if(i||o){let c=(o?He(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Ey(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Al(t,e,n,r){for(let i=n;i{n.providersResolver=(r,i)=>iM(r,i?i(t):t,e)}}var cM=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let i=bg(!1,r.type),o=i.length>0?bd([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(x(Qe))});let t=e;return t})();function ue(t){Nt("NgStandalone"),t.getStandaloneInjector=e=>e.get(cM).getOrCreateStandaloneInjector(t)}function My(t,e){let n=t[e];return n===ft?void 0:n}function lM(t,e,n,r,i,o){let s=e+n;return $t(t,s,i)?hy(t,s+1,o?r.call(o,i):r(i)):My(t,s+1)}function uM(t,e,n,r,i,o,s){let a=e+n;return py(t,a,i,o)?hy(t,a+2,s?r.call(s,i,o):r(i,o)):My(t,a+2)}function W(t,e){let n=Ge(),r,i=t+Ke;n.firstCreatePass?(r=dM(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=Yn(r.type,!0)),s,a=Ze(ee);try{let c=qs(!1),l=o();return qs(c),nM(n,Q(),i,l),l}finally{Ze(a)}}function dM(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function Be(t,e,n){let r=t+Ke,i=Q(),o=Fg(i,r);return Iy(i,r)?lM(i,Ug(),e,o.transform,n,o):o.transform(n)}function se(t,e,n,r){let i=t+Ke,o=Q(),s=Fg(o,i);return Iy(o,i)?uM(o,Ug(),e,s.transform,n,r,s):s.transform(n,r)}function Iy(t,e){return t[L].data[e].pure}var Sa=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Sy=new I("");function dr(t){return!!t&&typeof t.then=="function"}function Ty(t){return!!t&&typeof t.subscribe=="function"}var xy=new I(""),Ay=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=g(xy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let o of this.appInits){let s=o();if(dr(s))r.push(s);else if(Ty(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),r.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ta=new I("");function fM(){Bh(()=>{throw new y(600,!1)})}function hM(t){return t.isBoundToModule}function pM(t,e,n){try{let r=n();return dr(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var fr=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(om),this.afterRenderEffectManager=g(sy),this.externalTestViews=new Set,this.beforeRender=new Ue,this.afterTick=new Ue,this.componentTypes=[],this.components=[],this.isStable=g(In).hasPendingTasks.pipe(T(r=>!r)),this._injector=g(Qe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){let o=r instanceof Ks;if(!this._injector.get(Ay).done){let p=!o&&vg(r),m=!1;throw new y(405,m)}let a;o?a=r:a=this._injector.get(ba).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=hM(a)?void 0:this._injector.get(_n),l=i||a.selector,u=a.create(an.NULL,[],l,c),d=u.location.nativeElement,h=u.injector.get(Sy,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Pl(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new y(101,!1);let i=Z(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,Z(i)}}detectChangesInAttachedViews(r){let i=0,o=this.afterRenderEffectManager;for(;;){if(i===ty)throw new y(103,!1);if(r){let s=i===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)gM(a,s,c)}if(i++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Fu(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Fu(s))))break}}attachView(r){let i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){let i=r;Pl(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let i=this._injector.get(Ta,[]);[...this._bootstrapListeners,...i].forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Pl(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Pl(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function gM(t,e,n){!e&&!Fu(t)||mM(t,n,e)}function Fu(t){return Yu(t)}function mM(t,e,n){let r;n?(r=0,t[F]|=1024):t[F]&64?r=0:r=1,ny(t,e,r)}var ku=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},Ed=(()=>{let e=class e{compileModuleSync(r){return new bu(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let i=this.compileModuleSync(r),o=wg(r),s=Im(o.declarations).reduce((a,c)=>{let l=Qn(c);return l&&a.push(new Zi(l)),a},[]);return new ku(i,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var yM=(()=>{let e=class e{constructor(){this.zone=g(fe),this.applicationRef=g(fr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vM(t){return[{provide:fe,useFactory:t},{provide:Yr,multi:!0,useFactory:()=>{let e=g(yM,{optional:!0});return()=>e.initialize()}},{provide:Yr,multi:!0,useFactory:()=>{let e=g(bM);return()=>{e.initialize()}}},{provide:om,useFactory:wM}]}function wM(){let t=g(fe),e=g(St);return n=>t.runOutsideAngular(()=>e.handleError(n))}function CM(t){let e=vM(()=>new fe(DM(t)));return tn([[],e])}function DM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var bM=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=g(fe),this.pendingTasks=g(In)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _M(){return typeof $localize<"u"&&$localize.locale||na}var Md=new I("",{providedIn:"root",factory:()=>g(Md,G.Optional|G.SkipSelf)||_M()});var Py=new I("");var js=null;function EM(t=[],e){return an.create({name:e,providers:[{provide:aa,useValue:"platform"},{provide:Py,useValue:new Set([()=>js=null])},...t]})}function MM(t=[]){if(js)return js;let e=EM(t);return js=e,fM(),IM(e),e}function IM(t){t.get(od,null)?.forEach(n=>n())}var gt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=SM;let t=e;return t})();function SM(t){return TM(dt(),Q(),(t&16)===16)}function TM(t,e,n){if(ua(t)&&!n){let r=En(t.index,e);return new rr(r,r)}else if(t.type&47){let r=e[It];return new rr(r,e)}return null}function Oy(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=MM(r),o=[CM(),...n||[]],a=new Js({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(fe);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(St,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:p=>{l.handleError(p)}})});let d=()=>a.destroy(),h=i.get(Py);return h.add(d),a.onDestroy(()=>{u.unsubscribe(),h.delete(d)}),pM(l,c,()=>{let p=a.get(Ay);return p.runInitializers(),p.donePromise.then(()=>{let m=a.get(Md,na);JE(m||na);let v=a.get(fr);return e!==void 0&&v.bootstrap(e),v})})})}catch(e){return Promise.reject(e)}}var xM=(()=>{let e=class e{constructor(){this.appRef=g(fr),this.taskService=g(In),this.pendingRenderTaskId=null,this.shouldRefreshViews=!1}notify(r=0){this.shouldRefreshViews||=r===0,this.pendingRenderTaskId===null&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){return qo(this,null,function*(){let r=new Promise(o=>setTimeout(o)),i=typeof Cn.requestAnimationFrame=="function"?new Promise(o=>requestAnimationFrame(()=>o())):null;yield Promise.race([r,i]),this.tick()})}tick(){try{this.appRef.destroyed||this.appRef._tick(this.shouldRefreshViews)}finally{this.shouldRefreshViews=!1;let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ny(){return tn([{provide:Jr,useExisting:xM},{provide:fe,useClass:du}])}function hr(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Id(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Ry(t,e){Nt("NgSignals");let n=Zc(t);return e?.equal&&(n[at].equal=e.equal),n}var AM=new I("",{providedIn:"root",factory:()=>g(PM)}),PM=(()=>{let e=class e{};e.\u0275prov=M({token:e,providedIn:"root",factory:()=>new Lu});let t=e;return t})(),Lu=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(In),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(e){let n=e.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,n]of this.queues)e===null?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(let n of e)e.delete(n),this.queuedEffectCount--,n.run()}},ju=class{constructor(e,n,r,i,o,s){this.scheduler=e,this.effectFn=n,this.creationZone=r,this.injector=o,this.watcher=Hh(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(St,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Tn(t,e){Nt("NgSignals"),!e?.injector&&ca(Tn);let n=e?.injector??g(an),r=e?.manualCleanup!==!0?n.get(Xe):null,i=new ju(n.get(AM),t,typeof Zone>"u"?null:Zone.current,r,n,e?.allowSignalWrites??!1),o=n.get(gt,null,{optional:!0});return!o||!(o._lView[F]&8)?i.watcher.notify():(o._lView[Ns]??=[]).push(i.watcher.notify),i}var Ly=null;function dn(){return Ly}function jy(t){Ly??=t}var xa=class{};var de=new I(""),Vy=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(RM),providedIn:"platform"});let t=e;return t})();var RM=(()=>{let e=class e extends Vy{constructor(){super(),this._doc=g(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return dn().getBaseHref(this._doc)}onPopState(r){let i=dn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=dn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function By(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function Fy(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function pr(t){return t&&t[0]!=="?"?"?"+t:t}var Aa=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(Uy),providedIn:"root"});let t=e;return t})(),FM=new I(""),Uy=(()=>{let e=class e extends Aa{constructor(r,i){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return By(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+pr(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,s){let a=this.prepareExternalUrl(o+pr(s));this._platformLocation.pushState(r,i,a)}replaceState(r,i,o,s){let a=this.prepareExternalUrl(o+pr(s));this._platformLocation.replaceState(r,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(i){return new(i||e)(x(Vy),x(FM,8))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var co=(()=>{let e=class e{constructor(r){this._subject=new me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let i=this._locationStrategy.getBaseHref();this._basePath=jM(Fy(ky(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,i=""){return this.path()==this.normalize(r+pr(i))}normalize(r){return e.stripTrailingSlash(LM(this._basePath,ky(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,i="",o=null){this._locationStrategy.pushState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+pr(i)),o)}replaceState(r,i="",o=null){this._locationStrategy.replaceState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+pr(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",i){this._urlChangeListeners.forEach(o=>o(r,i))}subscribe(r,i,o){return this._subject.subscribe({next:r,error:i,complete:o})}};e.normalizeQueryParams=pr,e.joinWithSlash=By,e.stripTrailingSlash=Fy,e.\u0275fac=function(i){return new(i||e)(x(Aa))},e.\u0275prov=M({token:e,factory:()=>kM(),providedIn:"root"});let t=e;return t})();function kM(){return new co(x(Aa))}function LM(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function ky(t){return t.replace(/\/index.html$/,"")}function jM(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function Pa(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}function VM(t,e){return new y(2100,!1)}var $y=(()=>{let e=class e{transform(r){if(r==null)return null;if(typeof r!="string")throw VM(e,r);return r.toUpperCase()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"uppercase",type:e,pure:!0,standalone:!0});let t=e;return t})();var Td="browser",BM="server";function oi(t){return t===Td}function mt(t){return t===BM}var ii=class{};var Hy=t=>t.src,UM=new I("",{providedIn:"root",factory:()=>Hy});var $M=new I("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),HM=(()=>{let e=class e{constructor(){this.preloadedImages=g($M),this.document=g(de)}createPreloadLinkTag(r,i,o,s){if(this.preloadedImages.has(i))return;this.preloadedImages.add(i);let a=r.createElement("link");r.setAttribute(a,"as","image"),r.setAttribute(a,"href",i),r.setAttribute(a,"rel","preload"),r.setAttribute(a,"fetchpriority","high"),s&&r.setAttribute(a,"imageSizes",s),o&&r.setAttribute(a,"imageSrcset",o),r.appendChild(this.document.head,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zM=/^((\s*\d+w\s*(,|$)){1,})$/;var GM=[1,2],WM=640;var qM=1920,ZM=1080;var yt=(()=>{let e=class e{constructor(){this.imageLoader=g(UM),this.config=YM(g(hm)),this.renderer=g(ln),this.imgElement=g(he).nativeElement,this.injector=g(an),this.isServer=mt(g(Ce)),this.preloadLinkCreator=g(HM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Nt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let r=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),r,this.sizes)}ngOnChanges(r){if(r.ngSrc&&!r.ngSrc.isFirstChange()){let i=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&i&&o&&i!==o&&this.injector.get(fe).runOutsideAngular(()=>{this.lcpObserver?.updateImage(i,o)})}}callImageLoader(r){let i=r;return this.loaderParams&&(i.loaderParams=this.loaderParams),this.imageLoader(i)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let r={src:this.ngSrc};this._renderedSrc=this.callImageLoader(r)}return this._renderedSrc}getRewrittenSrcset(){let r=zM.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let s=r?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:r}=this.config,i=r;return this.sizes?.trim()==="100vw"&&(i=r.filter(s=>s>=WM)),i.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(r=!1){r&&(this._renderedSrc=null);let i=this.getRewrittenSrc();this.setHostAttribute("src",i);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return GM.map(i=>`${this.callImageLoader({src:this.ngSrc,width:this.width*i})} ${i}x`).join(", ")}shouldGenerateAutomaticSrcset(){let r=!1;return this.sizes||(r=this.width>qM||this.height>ZM),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Hy&&!r}generatePlaceholder(r){let{placeholderResolution:i}=this.config;return r===!0?`url(${this.callImageLoader({src:this.ngSrc,width:i,isPlaceholder:!0})})`:typeof r=="string"&&r.startsWith("data:")?`url(${r})`:null}shouldBlurPlaceholder(r){return!r||!r.hasOwnProperty("blur")?!0:!!r.blur}removePlaceholderOnLoad(r){let i=()=>{let a=this.injector.get(gt);o(),s(),this.placeholder=!1,a.markForCheck()},o=this.renderer.listen(r,"load",i),s=this.renderer.listen(r,"error",i)}ngOnDestroy(){}setHostAttribute(r,i){this.renderer.setAttribute(this.imgElement,r,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(i,o){i&2&&io("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[P.HasDecoratorInputTransform,"ngSrc","ngSrc",QM],ngSrcset:"ngSrcset",sizes:"sizes",width:[P.HasDecoratorInputTransform,"width","width",Id],height:[P.HasDecoratorInputTransform,"height","height",Id],loading:"loading",priority:[P.HasDecoratorInputTransform,"priority","priority",hr],loaderParams:"loaderParams",disableOptimizedSrcset:[P.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",hr],fill:[P.HasDecoratorInputTransform,"fill","fill",hr],placeholder:[P.HasDecoratorInputTransform,"placeholder","placeholder",KM],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Dd,At]});let t=e;return t})();function YM(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((n,r)=>n-r)),Object.assign({},cd,t,e)}function QM(t){return typeof t=="string"?t:Pt(t)}function KM(t){return typeof t=="string"&&t.startsWith("data:")?t:hr(t)}var uo=class{},Na=class{},gr=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Ad=class{encodeKey(e){return zy(e)}encodeValue(e){return zy(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function JM(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var eI=/%(\d[a-f0-9])/gi,tI={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zy(t){return encodeURIComponent(t).replace(eI,(e,n)=>tI[n]??e)}function Oa(t){return`${t}`}var xn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Ad,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=JM(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],i=Array.isArray(r)?r.map(Oa):[Oa(r)];this.map.set(n,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let i=e[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(Oa(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],i=r.indexOf(Oa(e.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Pd=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function nI(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Gy(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Wy(t){return typeof Blob<"u"&&t instanceof Blob}function qy(t){return typeof FormData<"u"&&t instanceof FormData}function rI(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var lo=class t{constructor(e,n,r,i){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(nI(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new gr,this.context??=new Pd,!this.params)this.params=new xn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":ah.set(p,e.setHeaders[p]),l)),e.setParams&&(u=Object.keys(e.setParams).reduce((h,p)=>h.set(p,e.setParams[p]),u)),new t(n,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},si=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(si||{}),fo=class{constructor(e,n=ka.Ok,r="OK"){this.headers=e.headers||new gr,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Od=class t extends fo{constructor(e={}){super(e),this.type=si.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ra=class t extends fo{constructor(e={}){super(e),this.type=si.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Fa=class extends fo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},ka=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(ka||{});function xd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Nd=(()=>{let e=class e{constructor(r){this.handler=r}request(r,i,o={}){let s;if(r instanceof lo)s=r;else{let l;o.headers instanceof gr?l=o.headers:l=new gr(o.headers);let u;o.params&&(o.params instanceof xn?u=o.params:u=new xn({fromObject:o.params})),s=new lo(r,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=O(s).pipe(yn(l=>this.handler.handle(l)));if(r instanceof lo||o.observe==="events")return a;let c=a.pipe(be(l=>l instanceof Ra));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(T(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(T(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(T(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(T(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(r,i={}){return this.request("DELETE",r,i)}get(r,i={}){return this.request("GET",r,i)}head(r,i={}){return this.request("HEAD",r,i)}jsonp(r,i){return this.request("JSONP",r,{params:new xn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,i={}){return this.request("OPTIONS",r,i)}patch(r,i,o={}){return this.request("PATCH",r,xd(o,i))}post(r,i,o={}){return this.request("POST",r,xd(o,i))}put(r,i,o={}){return this.request("PUT",r,xd(o,i))}};e.\u0275fac=function(i){return new(i||e)(x(uo))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();function iI(t,e){return e(t)}function oI(t,e,n){return(r,i)=>nn(n,()=>e(r,o=>t(o,i)))}var Ky=new I(""),sI=new I(""),aI=new I("");var Zy=(()=>{let e=class e extends uo{constructor(r,i){super(),this.backend=r,this.injector=i,this.chain=null,this.pendingTasks=g(In);let o=g(aI,{optional:!0});this.backend=o??r}handle(r){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Ky),...this.injector.get(sI,[])]));this.chain=o.reduceRight((s,a)=>oI(s,a,this.injector),iI)}let i=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe(Wn(()=>this.pendingTasks.remove(i)))}};e.\u0275fac=function(i){return new(i||e)(x(Na),x(Qe))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();var cI=/^\)\]\}',?\n/;function lI(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Yy=(()=>{let e=class e{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new y(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ce(i.\u0275loadImpl()):O(null)).pipe(Ne(()=>new B(s=>{let a=i.build();if(a.open(r.method,r.urlWithParams),r.withCredentials&&(a.withCredentials=!0),r.headers.forEach((b,_)=>a.setRequestHeader(b,_.join(","))),r.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let b=r.detectContentTypeHeader();b!==null&&a.setRequestHeader("Content-Type",b)}if(r.responseType){let b=r.responseType.toLowerCase();a.responseType=b!=="json"?b:"text"}let c=r.serializeBody(),l=null,u=()=>{if(l!==null)return l;let b=a.statusText||"OK",_=new gr(a.getAllResponseHeaders()),Y=lI(a)||r.url;return l=new Od({headers:_,status:a.status,statusText:b,url:Y}),l},d=()=>{let{headers:b,status:_,statusText:Y,url:K}=u(),j=null;_!==ka.NoContent&&(j=typeof a.response>"u"?a.responseText:a.response),_===0&&(_=j?ka.Ok:0);let Oe=_>=200&&_<300;if(r.responseType==="json"&&typeof j=="string"){let pe=j;j=j.replace(cI,"");try{j=j!==""?JSON.parse(j):null}catch(ge){j=pe,Oe&&(Oe=!1,j={error:ge,text:j})}}Oe?(s.next(new Ra({body:j,headers:b,status:_,statusText:Y,url:K||void 0})),s.complete()):s.error(new Fa({error:j,headers:b,status:_,statusText:Y,url:K||void 0}))},h=b=>{let{url:_}=u(),Y=new Fa({error:b,status:a.status||0,statusText:a.statusText||"Unknown Error",url:_||void 0});s.error(Y)},p=!1,m=b=>{p||(s.next(u()),p=!0);let _={type:si.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),r.responseType==="text"&&a.responseText&&(_.partialText=a.responseText),s.next(_)},v=b=>{let _={type:si.UploadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),s.next(_)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),r.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",v)),a.send(c),s.next({type:si.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),r.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(x(ii))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),Xy=new I(""),uI="XSRF-TOKEN",dI=new I("",{providedIn:"root",factory:()=>uI}),fI="X-XSRF-TOKEN",hI=new I("",{providedIn:"root",factory:()=>fI}),La=class{},pI=(()=>{let e=class e{constructor(r,i,o){this.doc=r,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=Pa(r,this.cookieName),this.lastCookieString=r),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(x(de),x(Ce),x(dI))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();function gI(t,e){let n=t.url.toLowerCase();if(!g(Xy)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=g(La).getToken(),i=g(hI);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),e(t)}function Jy(...t){let e=[Nd,Yy,Zy,{provide:uo,useExisting:Zy},{provide:Na,useExisting:Yy},{provide:Ky,useValue:gI,multi:!0},{provide:Xy,useValue:!0},{provide:La,useClass:pI}];for(let n of t)e.push(...n.\u0275providers);return tn(e)}var kd=class extends xa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ld=class t extends kd{static makeCurrent(){jy(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.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 n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=yI();return n==null?null:vI(n)}resetBaseElement(){ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Pa(document.cookie,e)}},ho=null;function yI(){return ho=ho||document.querySelector("base"),ho?ho.getAttribute("href"):null}function vI(t){return new URL(t,document.baseURI).pathname}var wI=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),jd=new I(""),nv=(()=>{let e=class e{constructor(r,i){this._zone=i,this._eventNameToPlugin=new Map,r.forEach(o=>{o.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,i,o){return this._findPluginFor(i).addEventListener(r,i,o)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(s=>s.supports(r)),!i)throw new y(5101,!1);return this._eventNameToPlugin.set(r,i),i}};e.\u0275fac=function(i){return new(i||e)(x(jd),x(fe))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),ja=class{constructor(e){this._doc=e}},Rd="ng-app-id",rv=(()=>{let e=class e{constructor(r,i,o,s={}){this.doc=r,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=mt(s),this.resetHostNodes()}addStyles(r){for(let i of r)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(r){for(let i of r)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(i=>i.remove()),r.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let i of this.getAllStyles())this.addStyleToHost(r,i)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let i of this.hostNodes)this.addStyleToHost(i,r)}onStyleRemoved(r){let i=this.styleRef;i.get(r)?.elements?.forEach(o=>o.remove()),i.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Rd}="${this.appId}"]`);if(r?.length){let i=new Map;return r.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(r,i){let o=this.styleRef;if(o.has(r)){let s=o.get(r);return s.usage+=i,s.usage}return o.set(r,{usage:i,elements:[]}),i}getStyleElement(r,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===r)return o.delete(i),s.removeAttribute(Rd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Rd,this.appId),r.appendChild(a),a}}addStyleToHost(r,i){let o=this.getStyleElement(r,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(x(de),x(fa),x(ad,8),x(Ce))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),Fd={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/"},Bd=/%COMP%/g,iv="%COMP%",CI=`_nghost-${iv}`,DI=`_ngcontent-${iv}`,bI=!0,_I=new I("",{providedIn:"root",factory:()=>bI});function EI(t){return DI.replace(Bd,t)}function MI(t){return CI.replace(Bd,t)}function ov(t,e){return e.map(n=>n.replace(Bd,t))}var Va=(()=>{let e=class e{constructor(r,i,o,s,a,c,l,u=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=mt(c),this.defaultRenderer=new po(r,a,l,this.platformIsServer)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Bt.ShadowDom&&(i=J(D({},i),{encapsulation:Bt.Emulated}));let o=this.getOrCreateRenderer(r,i);return o instanceof Ba?o.applyToHost(r):o instanceof go&&o.applyStyles(),o}getOrCreateRenderer(r,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case Bt.Emulated:s=new Ba(l,u,i,this.appId,d,a,c,h);break;case Bt.ShadowDom:return new Vd(l,u,r,i,a,c,this.nonce,h);default:s=new go(l,u,i,d,a,c,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(x(nv),x(rv),x(fa),x(_I),x(de),x(Ce),x(fe),x(ad))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),po=class{constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Fd[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(ev(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(ev(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new y(-5104,!1);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;let o=Fd[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=Fd[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&(en.DashCase|en.Important)?e.style.setProperty(n,r,i&en.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&en.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=dn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function ev(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Vd=class extends po{constructor(e,n,r,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=ov(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},go=class extends po{constructor(e,n,r,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=c?ov(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ba=class extends go{constructor(e,n,r,i,o,s,a,c){let l=i+"-"+r.id;super(e,n,r,o,s,a,c,l),this.contentAttr=EI(l),this.hostAttr=MI(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},II=(()=>{let e=class e extends ja{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,o){return r.addEventListener(i,o,!1),()=>this.removeEventListener(r,i,o)}removeEventListener(r,i,o){return r.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(x(de))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),tv=["alt","control","meta","shift"],SI={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},TI={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},xI=(()=>{let e=class e extends ja{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>dn().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let i=r.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),tv.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(r,i){let o=SI[r.key]||r.key,s="";return i.indexOf("code.")>-1&&(o=r.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),tv.forEach(a=>{if(a!==o){let c=TI[a];c(r)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(r,i,o){return s=>{e.matchEventFullKeyCode(s,r)&&o.runGuarded(()=>i(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(i){return new(i||e)(x(de))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();function sv(t,e){return Oy(D({rootComponent:t},AI(e)))}function AI(t){return{appProviders:[...FI,...t?.providers??[]],platformProviders:RI}}function PI(){Ld.makeCurrent()}function OI(){return new St}function NI(){return dm(document),document}var RI=[{provide:Ce,useValue:Td},{provide:od,useValue:PI,multi:!0},{provide:de,useFactory:NI,deps:[]}];var FI=[{provide:aa,useValue:"root"},{provide:St,useFactory:OI,deps:[]},{provide:jd,useClass:II,multi:!0,deps:[de,fe,Ce]},{provide:jd,useClass:xI,multi:!0,deps:[de]},Va,rv,nv,{provide:ir,useExisting:Va},{provide:ii,useClass:wI,deps:[]},[]];var av=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(i){return new(i||e)(x(de))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ud=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=x(kI),o},providedIn:"root"});let t=e;return t})(),kI=(()=>{let e=class e extends Ud{constructor(r){super(),this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case Ot.NONE:return i;case Ot.HTML:return lr(i,"HTML")?Pt(i):Mm(this._doc,String(i)).toString();case Ot.STYLE:return lr(i,"Style")?Pt(i):i;case Ot.SCRIPT:if(lr(i,"Script"))return Pt(i);throw new y(5200,!1);case Ot.URL:return lr(i,"URL")?Pt(i):pa(String(i));case Ot.RESOURCE_URL:if(lr(i,"ResourceURL"))return Pt(i);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(r){return gm(r)}bypassSecurityTrustStyle(r){return mm(r)}bypassSecurityTrustScript(r){return ym(r)}bypassSecurityTrustUrl(r){return vm(r)}bypassSecurityTrustResourceUrl(r){return wm(r)}};e.\u0275fac=function(i){return new(i||e)(x(de))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ai=(()=>{let e=class e{transform(r,i){return r===i?"yellow":"black"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"color",type:e,pure:!0,standalone:!0});let t=e;return t})();var Ua=(()=>{let e=class e{transform(r){return r?"show":"hide"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"hide",type:e,pure:!0,standalone:!0});let t=e;return t})();var vt=(()=>{let e=class e{transform(r,i="",o=!1){return r?i?`assets/images/${i}/${r}.${o?"webp":"svg"}`:`assets/images/${r}.svg`:""}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"asset",type:e,pure:!0,standalone:!0});let t=e;return t})();var ci=(()=>{let e=class e{transform(r){return`Navigate to ${r??""}`}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"anchorLabel",type:e,pure:!0,standalone:!0});let t=e;return t})();var $a=(()=>{let e=class e{constructor(){this.jsDaddyWebsite="https://jsdaddy.io/",this.openSourceVisitBtnPath="open-source/visit-btn"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-visit-btn"]],standalone:!0,features:[ue],decls:13,vars:8,consts:[["target","_self",3,"href"],[1,"color-btn","row","ai-c","jc-sb","bg-yellow","text"],["width","20","height","20","alt","Chevron button",3,"ngSrc"]],template:function(i,o){i&1&&(w(0,"a",0),W(1,"anchorLabel"),f(2,` `),w(3,"button",1),f(4,` `),w(5,"span"),f(6,"Visit WebSite"),C(),f(7,` `),U(8,"img",2),W(9,"asset"),f(10,` @@ -53,7 +53,7 @@ ${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` `),C(),f(48,` `),C(),f(49,` `),C(),f(50,` -`)),i&2&&(We(Be(1,10,o.showNav)),E(7),k("href",o.jsDaddyWebsite,Mn),Rt("aria-label",Be(8,12,"JsDaddy corporate site")),E(3),k("ngSrc",se(11,14,"logo",o.openSourceHeaderPath)),E(6),pt(o.headerItems),E(4),k("ngSrc",se(21,17,"burger",o.openSourceHeaderPath)),E(6),k("ngSrc",se(27,20,"logo-white",o.openSourceHeaderPath)),E(3),k("ngSrc",se(30,23,"close",o.openSourceHeaderPath)),E(4),We(Be(34,26,o.showNav)),E(8),pt(o.headerItems))},dependencies:[vt,ai,Ba,Ua,yt,ci],styles:["[_nghost-%COMP%]{display:block;height:68px}.header[_ngcontent-%COMP%]{height:68px;position:fixed;z-index:2;top:0;left:0;right:0}.header[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%]{width:310px}.header[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{padding-left:10px}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .yellow[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:var(--black);color:var(--yellow)}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--black)}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#1919190d}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active{background:var(--black);color:var(--yellow)}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .center-buttons[_ngcontent-%COMP%]{border-radius:9px;padding:5px 23px;gap:10px;height:31px}.header[_ngcontent-%COMP%] .open-nav[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mob-open[_ngcontent-%COMP%]{display:none}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%]{display:none;overflow:hidden}.header[_ngcontent-%COMP%] .mrl-20[_ngcontent-%COMP%]{margin-left:20px}.header[_ngcontent-%COMP%] .mr-5[_ngcontent-%COMP%]{margin:0 5px}@media screen and (max-width: 1279px){.header[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%]{width:100px}}@media screen and (max-width: 699px){.header[_ngcontent-%COMP%] .open-nav[_ngcontent-%COMP%]{display:block;margin-left:auto}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%]{display:none}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%]{display:block;position:fixed;overflow:auto;z-index:2;height:100%;top:68px;left:0;right:0;width:100%;padding:15px 20px}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%]{padding:45px 60px 0 0}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;padding:5px 0 5px 15px;margin:10px;border-radius:9px}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .yellow[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--yellow);background:var(--ligth-grey)}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--full-white);background:none}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, .header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active{color:var(--yellow);background:var(--ligth-grey)}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .btn-bottom[_ngcontent-%COMP%]{width:90vw;position:fixed;bottom:20px}.show[_ngcontent-%COMP%]{display:block}.show.header[_ngcontent-%COMP%]{display:flex;background:var(--black)}.show.header[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%], .show.header[_ngcontent-%COMP%] .open-nav[_ngcontent-%COMP%]{display:none}.show.header[_ngcontent-%COMP%] .mob-open[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between}.show.header[_ngcontent-%COMP%] .mob-open[_ngcontent-%COMP%] .logo-white[_ngcontent-%COMP%]{margin-left:20px}.hide.header[_ngcontent-%COMP%]{display:flex}.hide.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%], .hide.header[_ngcontent-%COMP%] .mob-open[_ngcontent-%COMP%]{display:none}}@media screen and (max-height: 400px){.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%]{height:300px;padding:45px 60px 0 0}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .btn-bottom[_ngcontent-%COMP%]{position:sticky;margin-left:10px}}"]});let t=e;return t})();var $="primary",Ao=Symbol("RouteTitle"),Wd=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function pi(t){return new Wd(t)}function VI(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.lengthr[o]===i)}else return t===e}function yv(t){return t.length>0?t[t.length-1]:null}function Nn(t){return sl(t)?t:dr(t)?ce(Promise.resolve(t)):O(t)}var UI={exact:wv,subset:Cv},vv={exact:$I,subset:HI,ignored:()=>!0};function dv(t,e,n){return UI[n.paths](t.root,e.root,n.matrixParams)&&vv[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function $I(t,e){return Wt(t,e)}function wv(t,e,n){if(!yr(t.segments,e.segments)||!za(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!wv(t.children[r],e.children[r],n))return!1;return!0}function HI(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>mv(t[n],e[n]))}function Cv(t,e,n){return Dv(t,e,e.segments,n)}function Dv(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);return!(!yr(i,n)||e.hasChildren()||!za(i,n,r))}else if(t.segments.length===n.length){if(!yr(t.segments,n)||!za(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!Cv(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!yr(t.segments,i)||!za(t.segments,i,r)||!t.children[$]?!1:Dv(t.children[$],e,o,r)}}function za(t,e,n){return e.every((r,i)=>vv[n](t[i].parameters,r.parameters))}var An=class{constructor(e=new ne([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=pi(this.queryParams),this._queryParamMap}toString(){return WI.serialize(this)}},ne=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ga(this)}},mr=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=pi(this.parameters),this._parameterMap}toString(){return _v(this)}};function zI(t,e){return yr(t,e)&&t.every((n,r)=>Wt(n.parameters,e[r].parameters))}function yr(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function GI(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===$&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==$&&(n=n.concat(e(i,r)))}),n}var Cf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>new qa,providedIn:"root"});let t=e;return t})(),qa=class{parse(e){let n=new Yd(e);return new An(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${mo(e.root,!0)}`,r=YI(e.queryParams),i=typeof e.fragment=="string"?`#${qI(e.fragment)}`:"";return`${n}${r}${i}`}},WI=new qa;function Ga(t){return t.segments.map(e=>_v(e)).join("/")}function mo(t,e){if(!t.hasChildren())return Ga(t);if(e){let n=t.children[$]?mo(t.children[$],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&r.push(`${i}:${mo(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=GI(t,(r,i)=>i===$?[mo(t.children[$],!1)]:[`${i}:${mo(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${Ga(t)}/${n[0]}`:`${Ga(t)}/(${n.join("//")})`}}function bv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $a(t){return bv(t).replace(/%3B/gi,";")}function qI(t){return encodeURI(t)}function Zd(t){return bv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wa(t){return decodeURIComponent(t)}function fv(t){return Wa(t.replace(/\+/g,"%20"))}function _v(t){return`${Zd(t.path)}${ZI(t.parameters)}`}function ZI(t){return Object.entries(t).map(([e,n])=>`;${Zd(e)}=${Zd(n)}`).join("")}function YI(t){let e=Object.entries(t).map(([n,r])=>Array.isArray(r)?r.map(i=>`${$a(n)}=${$a(i)}`).join("&"):`${$a(n)}=${$a(r)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var QI=/^[^\/()?;#]+/;function $d(t){let e=t.match(QI);return e?e[0]:""}var KI=/^[^\/()?;=#]+/;function XI(t){let e=t.match(KI);return e?e[0]:""}var JI=/^[^=?&#]+/;function eS(t){let e=t.match(JI);return e?e[0]:""}var tS=/^[^&#]+/;function nS(t){let e=t.match(tS);return e?e[0]:""}var Yd=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[$]=new ne(e,n)),r}parseSegment(){let e=$d(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(e),new mr(Wa(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=XI(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=$d(this.remaining);i&&(r=i,this.capture(r))}e[Wa(n)]=Wa(r)}parseQueryParam(e){let n=eS(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=nS(this.remaining);s&&(r=s,this.capture(r))}let i=fv(n),o=fv(r);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=$d(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[$]:new ne([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new y(4011,!1)}};function Ev(t){return t.segments.length>0?new ne([],{[$]:t}):t}function Mv(t){let e={};for(let[r,i]of Object.entries(t.children)){let o=Mv(i);if(r===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let n=new ne(t.segments,e);return rS(n)}function rS(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new ne(t.segments.concat(e.segments),e.children)}return t}function gi(t){return t instanceof An}function iS(t,e,n=null,r=null){let i=Iv(t);return Sv(i,e,n,r)}function Iv(t){let e;function n(o){let s={};for(let c of o.children){let l=n(c);s[c.outlet]=l}let a=new ne(o.url,s);return o===t&&(e=a),a}let r=n(t.root),i=Ev(r);return e??i}function Sv(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Hd(i,i,i,n,r);let o=oS(e);if(o.toRoot())return Hd(i,i,new ne([],{}),n,r);let s=sS(o,i,t),a=s.processChildren?wo(s.segmentGroup,s.index,o.commands):xv(s.segmentGroup,s.index,o.commands);return Hd(i,s.segmentGroup,a,n,r)}function Za(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function bo(t){return typeof t=="object"&&t!=null&&t.outlets}function Hd(t,e,n,r,i){let o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;t===e?s=n:s=Tv(t,e,n);let a=Ev(Mv(s));return new An(a,o,i)}function Tv(t,e,n){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===e?r[i]=n:r[i]=Tv(o,e,n)}),new ne(t.segments,r)}var Ya=class{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&Za(r[0]))throw new y(4003,!1);let i=r.find(bo);if(i&&i!==yv(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function oS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ya(!0,0,t);let e=0,n=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ya(n,e,r)}var fi=class{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function sS(t,e,n){if(t.isAbsolute)return new fi(e,!0,0);if(!n)return new fi(e,!1,NaN);if(n.parent===null)return new fi(n,!0,0);let r=Za(t.commands[0])?0:1,i=n.segments.length-1+r;return aS(n,i,t.numberOfDoubleDots)}function aS(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new y(4005,!1);i=r.segments.length}return new fi(r,!1,i-o)}function cS(t){return bo(t[0])?t[0].outlets:{[$]:t}}function xv(t,e,n){if(t??=new ne([],{}),t.segments.length===0&&t.hasChildren())return wo(t,e,n);let r=lS(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=wo(t.children[$],e,n);return new ne(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=xv(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new ne(t.segments,i)}}function lS(t,e,n){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=t.segments[i],a=n[r];if(bo(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!pv(c,l,s))return o;r+=2}else{if(!pv(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Qd(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=Qd(new ne([],{}),0,r))}),e}function hv(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function pv(t,e,n){return t==n.path&&Wt(e,n.parameters)}var Co="imperative",ke=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(ke||{}),wt=class{constructor(e,n){this.id=e,this.url=n}},_o=class extends wt{constructor(e,n,r="imperative",i=null){super(e,n),this.type=ke.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},vr=class extends wt{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r,this.type=ke.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},rt=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(rt||{}),Kd=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Kd||{}),Pn=class extends wt{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=ke.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},wr=class extends wt{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=ke.NavigationSkipped}},Eo=class extends wt{constructor(e,n,r,i){super(e,n),this.error=r,this.target=i,this.type=ke.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qa=class extends wt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ke.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xd=class extends wt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ke.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jd=class extends wt{constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=ke.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ef=class extends wt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ke.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tf=class extends wt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ke.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nf=class{constructor(e){this.route=e,this.type=ke.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},rf=class{constructor(e){this.route=e,this.type=ke.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},of=class{constructor(e){this.snapshot=e,this.type=ke.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sf=class{constructor(e){this.snapshot=e,this.type=ke.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},af=class{constructor(e){this.snapshot=e,this.type=ke.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cf=class{constructor(e){this.snapshot=e,this.type=ke.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Mo=class{},Io=class{constructor(e){this.url=e}};var lf=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new nc,this.attachRef=null}},nc=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(r,i){let o=this.getOrCreateContext(r);o.outlet=i,this.contexts.set(r,o)}onChildOutletDestroyed(r){let i=this.getContext(r);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let i=this.getContext(r);return i||(i=new lf,this.contexts.set(r,i)),i}getContext(r){return this.contexts.get(r)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ka=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=uf(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=uf(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=df(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return df(e,this._root).map(n=>n.value)}};function uf(t,e){if(t===e.value)return e;for(let n of e.children){let r=uf(t,n);if(r)return r}return null}function df(t,e){if(t===e.value)return[e];for(let n of e.children){let r=df(t,n);if(r.length)return r.unshift(e),r}return[]}var nt=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function di(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var Xa=class extends Ka{constructor(e,n){super(e),this.snapshot=n,bf(this,e)}toString(){return this.snapshot.toString()}};function Av(t){let e=dS(t),n=new De([new mr("",{})]),r=new De({}),i=new De({}),o=new De({}),s=new De(""),a=new On(n,r,o,s,i,$,t,e.root);return a.snapshot=e.root,new Xa(new nt(a,[]),e)}function dS(t){let e={},n={},r={},i="",o=new So([],e,r,i,n,$,t,null,{});return new Ja("",new nt(o,[]))}var On=class{constructor(e,n,r,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(l=>l[Ao]))??O(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(e=>pi(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(e=>pi(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Df(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),i?.data),t._resolvedData)}:r={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},i&&Ov(i)&&(r.resolve[Ao]=i.title),r}var So=class{get title(){return this.data?.[Ao]}constructor(e,n,r,i,o,s,a,c,l){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=pi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=pi(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},Ja=class extends Ka{constructor(e,n){super(n),this.url=e,bf(this,n)}toString(){return Pv(this._root)}};function bf(t,e){e.value._routerState=t,e.children.forEach(n=>bf(t,n))}function Pv(t){let e=t.children.length>0?` { ${t.children.map(Pv).join(", ")} } `:"";return`${t.value}${e}`}function zd(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Wt(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),Wt(e.params,n.params)||t.paramsSubject.next(n.params),BI(e.url,n.url)||t.urlSubject.next(n.url),Wt(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function ff(t,e){let n=Wt(t.params,e.params)&&zI(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||ff(t.parent,e.parent))}function Ov(t){return typeof t.title=="string"||t.title===null}var fS=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new me,this.deactivateEvents=new me,this.attachEvents=new me,this.detachEvents=new me,this.parentContexts=g(nc),this.location=g(ri),this.changeDetector=g(gt),this.environmentInjector=g(Qe),this.inputBinder=g(_f,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:i,previousValue:o}=r.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,i){this.activated=r,this._activatedRoute=i,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,i){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=r;let o=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new hf(r,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[At]});let t=e;return t})(),hf=class{constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r,this.__ngOutletInjector=!0}get(e,n){return e===On?this.route:e===nc?this.childContexts:this.parent.get(e,n)}},_f=new I("");function hS(t,e,n){let r=To(t,e._root,n?n._root:void 0);return new Xa(r,e)}function To(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=pS(t,e,n);return new nt(r,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>To(t,a)),s}}let r=gS(e.value),i=e.children.map(o=>To(t,o));return new nt(r,i)}}function pS(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return To(t,r,i);return To(t,r)})}function gS(t){return new On(new De(t.url),new De(t.params),new De(t.queryParams),new De(t.fragment),new De(t.data),t.outlet,t.component,t)}var Nv="ngNavigationCancelingError";function Rv(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=gi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Fv(!1,rt.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function Fv(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[Nv]=!0,n.cancellationCode=e,n}function mS(t){return kv(t)&&gi(t.url)}function kv(t){return!!t&&t[Nv]}var yS=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["ng-component"]],standalone:!0,features:[ue],decls:1,vars:0,template:function(i,o){i&1&&U(0,"router-outlet")},dependencies:[fS],encapsulation:2});let t=e;return t})();function vS(t,e){return t.providers&&!t._injector&&(t._injector=bd(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Ef(t){let e=t.children&&t.children.map(Ef),n=e?J(D({},t),{children:e}):D({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==$&&(n.component=yS),n}function qt(t){return t.outlet||$}function wS(t,e){let n=t.filter(r=>qt(r)===e);return n.push(...t.filter(r=>qt(r)!==e)),n}function Po(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var CS=(t,e,n,r)=>T(i=>(new pf(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),pf=class{constructor(e,n,r,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),zd(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=di(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=di(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=di(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let i=di(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new cf(o.value.snapshot))}),e.children.length&&this.forwardEvent(new sf(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(zd(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),zd(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Po(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,r)}},ec=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},hi=class{constructor(e,n){this.component=e,this.route=n}};function DS(t,e,n){let r=t._root,i=e?e._root:null;return yo(r,i,n,[r.value])}function bS(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function yi(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!og(t)?t:e.get(t):r}function yo(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=di(e);return t.children.forEach(s=>{_S(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Do(a,n.getContext(s),i)),i}function _S(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=ES(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new ec(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?yo(t,e,a?a.children:null,r,i):yo(t,e,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new hi(a.outlet.component,s))}else s&&Do(e,a,i),i.canActivateChecks.push(new ec(r)),o.component?yo(t,null,a?a.children:null,r,i):yo(t,null,n,r,i);return i}function ES(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!yr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!yr(t.url,e.url)||!Wt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ff(t,e)||!Wt(t.queryParams,e.queryParams);case"paramsChange":default:return!ff(t,e)}}function Do(t,e,n){let r=di(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?e?Do(s,e.children.getContext(o),n):Do(s,null,n):Do(s,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new hi(e.outlet.component,i)):n.canDeactivateChecks.push(new hi(null,i)):n.canDeactivateChecks.push(new hi(null,i))}function Oo(t){return typeof t=="function"}function MS(t){return typeof t=="boolean"}function IS(t){return t&&Oo(t.canLoad)}function SS(t){return t&&Oo(t.canActivate)}function TS(t){return t&&Oo(t.canActivateChild)}function xS(t){return t&&Oo(t.canDeactivate)}function AS(t){return t&&Oo(t.canMatch)}function Lv(t){return t instanceof Kt||t?.name==="EmptyError"}var Ha=Symbol("INITIAL_VALUE");function mi(){return Ne(t=>_s(t.map(e=>e.pipe($e(1),ml(Ha)))).pipe(T(e=>{for(let n of e)if(n!==!0){if(n===Ha)return Ha;if(n===!1||n instanceof An)return n}return!0}),be(e=>e!==Ha),$e(1)))}function PS(t,e){return we(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?O(J(D({},n),{guardsResult:!0})):OS(s,r,i,t).pipe(we(a=>a&&MS(a)?NS(r,o,t,e):O(a)),T(a=>J(D({},n),{guardsResult:a})))})}function OS(t,e,n,r){return ce(t).pipe(we(i=>jS(i.component,i.route,n,e,r)),Lt(i=>i!==!0,!0))}function NS(t,e,n,r){return ce(e).pipe(yn(i=>mn(FS(i.route.parent,r),RS(i.route,r),LS(t,i.path,n),kS(t,i.route,n))),Lt(i=>i!==!0,!0))}function RS(t,e){return t!==null&&e&&e(new af(t)),O(!0)}function FS(t,e){return t!==null&&e&&e(new of(t)),O(!0)}function kS(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return O(!0);let i=r.map(o=>Es(()=>{let s=Po(e)??n,a=yi(o,s),c=SS(a)?a.canActivate(e,t):nn(s,()=>a(e,t));return Nn(c).pipe(Lt())}));return O(i).pipe(mi())}function LS(t,e,n){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>bS(s)).filter(s=>s!==null).map(s=>Es(()=>{let a=s.guards.map(c=>{let l=Po(s.node)??n,u=yi(c,l),d=TS(u)?u.canActivateChild(r,t):nn(l,()=>u(r,t));return Nn(d).pipe(Lt())});return O(a).pipe(mi())}));return O(o).pipe(mi())}function jS(t,e,n,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let s=o.map(a=>{let c=Po(e)??i,l=yi(a,c),u=xS(l)?l.canDeactivate(t,e,n,r):nn(c,()=>l(t,e,n,r));return Nn(u).pipe(Lt())});return O(s).pipe(mi())}function VS(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return O(!0);let o=i.map(s=>{let a=yi(s,t),c=IS(a)?a.canLoad(e,n):nn(t,()=>a(e,n));return Nn(c)});return O(o).pipe(mi(),jv(r))}function jv(t){return tl(re(e=>{if(gi(e))throw Rv(t,e)}),T(e=>e===!0))}function BS(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return O(!0);let o=i.map(s=>{let a=yi(s,t),c=AS(a)?a.canMatch(e,n):nn(t,()=>a(e,n));return Nn(c)});return O(o).pipe(mi(),jv(r))}var xo=class{constructor(e){this.segmentGroup=e||null}},tc=class extends Error{constructor(e){super(),this.urlTree=e}};function ui(t){return ct(new xo(t))}function US(t){return ct(new y(4e3,!1))}function $S(t){return ct(Fv(!1,rt.GuardRejected))}var gf=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return O(r);if(i.numberOfChildren>1||!i.children[$])return US(e.redirectTo);i=i.children[$]}}applyRedirectCommands(e,n,r){let i=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n.startsWith("/"))throw new tc(i);return i}applyRedirectCreateUrlTree(e,n,r,i){let o=this.createSegmentGroup(e,n.root,r,i);return new An(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(e,n,r,i){let o=this.createSegments(e,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,r,i)}),new ne(o,s)}createSegments(e,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(e,n){let r=0;for(let i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}},mf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function HS(t,e,n,r,i){let o=Mf(t,e,n);return o.matched?(r=vS(e,r),BS(r,e,n,i).pipe(T(s=>s===!0?o:D({},mf)))):O(o)}function Mf(t,e,n){if(e.path==="**")return zS(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?D({},mf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||VI)(n,t,e);if(!i)return D({},mf);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function zS(t){return{matched:!0,parameters:t.length>0?yv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function gv(t,e,n,r){return n.length>0&&qS(t,n,r)?{segmentGroup:new ne(e,WS(r,new ne(n,t.children))),slicedSegments:[]}:n.length===0&&ZS(t,n,r)?{segmentGroup:new ne(t.segments,GS(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new ne(t.segments,t.children),slicedSegments:n}}function GS(t,e,n,r){let i={};for(let o of n)if(rc(t,e,o)&&!r[qt(o)]){let s=new ne([],{});i[qt(o)]=s}return D(D({},r),i)}function WS(t,e){let n={};n[$]=e;for(let r of t)if(r.path===""&&qt(r)!==$){let i=new ne([],{});n[qt(r)]=i}return n}function qS(t,e,n){return n.some(r=>rc(t,e,r)&&qt(r)!==$)}function ZS(t,e,n){return n.some(r=>rc(t,e,r))}function rc(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function YS(t,e,n,r){return qt(t)!==r&&(r===$||!rc(e,n,t))?!1:Mf(e,t,n).matched}function QS(t,e,n){return e.length===0&&!t.children[n]}var yf=class{};function KS(t,e,n,r,i,o,s="emptyOnly"){return new vf(t,e,n,r,i,s,o).recognize()}var XS=31,vf=class{constructor(e,n,r,i,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new gf(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new y(4002,`'${e.segmentGroup}'`)}recognize(){let e=gv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(T(n=>{let r=new So([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},$,this.rootComponentType,null,{}),i=new nt(r,n),o=new Ja("",i),s=iS(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,$).pipe(tt(r=>{if(r instanceof tc)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof xo?this.noMatchError(r):r}))}inheritParamsAndData(e,n){let r=e.value,i=Df(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(e,n,r,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r):this.processSegment(e,n,r,r.segments,i,!0).pipe(T(o=>o instanceof nt?[o]:[]))}processChildren(e,n,r){let i=[];for(let o of Object.keys(r.children))o==="primary"?i.unshift(o):i.push(o);return ce(i).pipe(yn(o=>{let s=r.children[o],a=wS(n,o);return this.processSegmentGroup(e,a,s,o)}),gl((o,s)=>(o.push(...s),o)),vn(null),pl(),we(o=>{if(o===null)return ui(r);let s=Vv(o);return JS(s),O(s)}))}processSegment(e,n,r,i,o,s){return ce(n).pipe(yn(a=>this.processSegmentAgainstRoute(a._injector??e,n,a,r,i,o,s).pipe(tt(c=>{if(c instanceof xo)return O(null);throw c}))),Lt(a=>!!a),tt(a=>{if(Lv(a))return QS(r,i,o)?O(new yf):ui(r);throw a}))}processSegmentAgainstRoute(e,n,r,i,o,s,a){return YS(r,i,o,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s):ui(i):ui(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:u}=Mf(n,i,o);if(!a)return ui(n);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>XS&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,l);return this.applyRedirects.lineralizeSegments(i,d).pipe(we(h=>this.processSegment(e,r,n,h.concat(u),s,!1)))}matchSegmentAgainstRoute(e,n,r,i,o){let s=HS(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),s.pipe(Ne(a=>a.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(Ne(({routes:c})=>{let l=r._loadedInjector??e,{consumedSegments:u,remainingSegments:d,parameters:h}=a,p=new So(u,h,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,tT(r),qt(r),r.component??r._loadedComponent??null,r,nT(r)),{segmentGroup:m,slicedSegments:v}=gv(n,u,d,c);if(v.length===0&&m.hasChildren())return this.processChildren(l,c,m).pipe(T(_=>_===null?null:new nt(p,_)));if(c.length===0&&v.length===0)return O(new nt(p,[]));let b=qt(r)===o;return this.processSegment(l,c,m,v,b?$:o,!0).pipe(T(_=>new nt(p,_ instanceof nt?[_]:[])))}))):ui(n)))}getChildConfig(e,n,r){return n.children?O({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?O({routes:n._loadedRoutes,injector:n._loadedInjector}):VS(e,n,r,this.urlSerializer).pipe(we(i=>i?this.configLoader.loadChildren(e,n).pipe(re(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):$S(n))):O({routes:[],injector:e})}};function JS(t){t.sort((e,n)=>e.value.outlet===$?-1:n.value.outlet===$?1:e.value.outlet.localeCompare(n.value.outlet))}function eT(t){let e=t.value.routeConfig;return e&&e.path===""}function Vv(t){let e=[],n=new Set;for(let r of t){if(!eT(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=Vv(r.children);e.push(new nt(r.value,i))}return e.filter(r=>!n.has(r))}function tT(t){return t.data||{}}function nT(t){return t.resolve||{}}function rT(t,e,n,r,i,o){return we(s=>KS(t,e,n,r,s.extractedUrl,i,o).pipe(T(({state:a,tree:c})=>J(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function iT(t,e){return we(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return O(n);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of Bv(c))s.add(l);let a=0;return ce(s).pipe(yn(c=>o.has(c)?oT(c,r,t,e):(c.data=Df(c,c.parent,t).resolve,O(void 0))),re(()=>a++),Ur(1),we(c=>a===s.size?O(n):xe))})}function Bv(t){let e=t.children.map(n=>Bv(n)).flat();return[t,...e]}function oT(t,e,n,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Ov(i)&&(o[Ao]=i.title),sT(o,t,e,r).pipe(T(s=>(t._resolvedData=s,t.data=Df(t,t.parent,n).resolve,null)))}function sT(t,e,n,r){let i=qd(t);if(i.length===0)return O({});let o={};return ce(i).pipe(we(s=>aT(t[s],e,n,r).pipe(Lt(),re(a=>{o[s]=a}))),Ur(1),Ni(o),tt(s=>Lv(s)?xe:ct(s)))}function aT(t,e,n,r){let i=Po(e)??r,o=yi(t,i),s=o.resolve?o.resolve(e,n):nn(i,()=>o(e,n));return Nn(s)}function Gd(t){return Ne(e=>{let n=t(e);return n?ce(n).pipe(T(()=>e)):O(e)})}var Uv=(()=>{let e=class e{buildTitle(r){let i,o=r.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(r){return r.data[Ao]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(cT),providedIn:"root"});let t=e;return t})(),cT=(()=>{let e=class e extends Uv{constructor(r){super(),this.title=r}updateTitle(r){let i=this.buildTitle(r);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(x(av))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),If=new I("",{providedIn:"root",factory:()=>({})}),Sf=new I(""),lT=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Ed)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return O(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=Nn(r.loadComponent()).pipe(T($v),re(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Wn(()=>{this.componentLoaders.delete(r)})),o=new Nr(i,()=>new Ue).pipe(Or());return this.componentLoaders.set(r,o),o}loadChildren(r,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=uT(i,this.compiler,r,this.onLoadEndListener).pipe(Wn(()=>{this.childrenLoaders.delete(i)})),a=new Nr(s,()=>new Ue).pipe(Or());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function uT(t,e,n,r){return Nn(t.loadChildren()).pipe(T($v),we(i=>i instanceof Yi||Array.isArray(i)?O(i):ce(e.compileModuleAsync(i))),T(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(Sf,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ef),injector:o}}))}function dT(t){return t&&typeof t=="object"&&"default"in t}function $v(t){return dT(t)?t.default:t}var Tf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(fT),providedIn:"root"});let t=e;return t})(),fT=(()=>{let e=class e{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,i){return r}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),hT=new I("");var pT=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ue,this.transitionAbortSubject=new Ue,this.configLoader=g(lT),this.environmentInjector=g(Qe),this.urlSerializer=g(Cf),this.rootContexts=g(nc),this.location=g(co),this.inputBindingEnabled=g(_f,{optional:!0})!==null,this.titleStrategy=g(Uv),this.options=g(If,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Tf),this.createViewTransition=g(hT,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let r=o=>this.events.next(new nf(o)),i=o=>this.events.next(new rf(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let i=++this.navigationId;this.transitions?.next(J(D(D({},this.transitions.value),r),{id:i}))}setupNavigations(r,i,o){return this.transitions=new De({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Co,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(be(s=>s.id!==0),T(s=>J(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ne(s=>{let a=!1,c=!1;return O(s).pipe(Ne(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",rt.SupersededByNewNavigation),xe;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?J(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!u&&d!=="reload"){let h="";return this.events.next(new wr(l.id,this.urlSerializer.serialize(l.rawUrl),h,Kd.IgnoredSameUrlNavigation)),l.resolve(null),xe}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return O(l).pipe(Ne(h=>{let p=this.transitions?.getValue();return this.events.next(new _o(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),p!==this.transitions?.getValue()?xe:Promise.resolve(h)}),rT(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),re(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=J(D({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let p=new Qa(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(p)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:h,extractedUrl:p,source:m,restoredState:v,extras:b}=l,_=new _o(h,this.urlSerializer.serialize(p),m,v);this.events.next(_);let Y=Av(this.rootComponentType).snapshot;return this.currentTransition=s=J(D({},l),{targetSnapshot:Y,urlAfterRedirects:p,extras:J(D({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,O(s)}else{let h="";return this.events.next(new wr(l.id,this.urlSerializer.serialize(l.extractedUrl),h,Kd.IgnoredByUrlHandlingStrategy)),l.resolve(null),xe}}),re(l=>{let u=new Xd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),T(l=>(this.currentTransition=s=J(D({},l),{guards:DS(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),PS(this.environmentInjector,l=>this.events.next(l)),re(l=>{if(s.guardsResult=l.guardsResult,gi(l.guardsResult))throw Rv(this.urlSerializer,l.guardsResult);let u=new Jd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(u)}),be(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",rt.GuardRejected),!1)),Gd(l=>{if(l.guards.canActivateChecks.length)return O(l).pipe(re(u=>{let d=new ef(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),Ne(u=>{let d=!1;return O(u).pipe(iT(this.paramsInheritanceStrategy,this.environmentInjector),re({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",rt.NoDataFromResolver)}}))}),re(u=>{let d=new tf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),Gd(l=>{let u=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(re(p=>{d.component=p}),T(()=>{})));for(let p of d.children)h.push(...u(p));return h};return _s(u(l.targetSnapshot.root)).pipe(vn(null),$e(1))}),Gd(()=>this.afterPreactivation()),Ne(()=>{let{currentSnapshot:l,targetSnapshot:u}=s,d=this.createViewTransition?.(this.environmentInjector,l.root,u.root);return d?ce(d).pipe(T(()=>s)):O(s)}),T(l=>{let u=hS(r.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=J(D({},l),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),re(()=>{this.events.next(new Mo)}),CS(this.rootContexts,r.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),$e(1),re({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new vr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),Ri(this.transitionAbortSubject.pipe(re(l=>{throw l}))),Wn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",rt.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),tt(l=>{if(c=!0,kv(l))this.events.next(new Pn(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),mS(l)?this.events.next(new Io(l.url)):s.resolve(!1);else{this.events.next(new Eo(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(r.errorHandler(l))}catch(u){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(u)}}return xe}))}))}cancelNavigationTransition(r,i,o){let s=new Pn(r.id,this.urlSerializer.serialize(r.extractedUrl),i,o);this.events.next(s),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function gT(t){return t!==Co}var mT=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(yT),providedIn:"root"});let t=e;return t})(),wf=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},yT=(()=>{let e=class e extends wf{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=to(e)))(o||e)}})(),e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(vT),providedIn:"root"});let t=e;return t})(),vT=(()=>{let e=class e extends Hv{constructor(){super(...arguments),this.location=g(co),this.urlSerializer=g(Cf),this.options=g(If,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Tf),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new An,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Av(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(i=>{i.type==="popstate"&&r(i.url,i.state)})}handleRouterEvent(r,i){if(r instanceof _o)this.stateMemento=this.createStateMemento();else if(r instanceof wr)this.rawUrlTree=i.initialUrl;else if(r instanceof Qa){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else r instanceof Mo?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):r instanceof Pn&&(r.code===rt.GuardRejected||r.code===rt.NoDataFromResolver)?this.restoreHistory(i):r instanceof Eo?this.restoreHistory(i,!0):r instanceof vr&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,i){let o=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=D(D({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=D(D({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(r,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,i){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:i}:{navigationId:r}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=to(e)))(o||e)}})(),e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),vo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(vo||{});function wT(t,e){t.events.pipe(be(n=>n instanceof vr||n instanceof Pn||n instanceof Eo||n instanceof wr),T(n=>n instanceof vr||n instanceof wr?vo.COMPLETE:(n instanceof Pn?n.code===rt.Redirect||n.code===rt.SupersededByNewNavigation:!1)?vo.REDIRECTING:vo.FAILED),be(n=>n!==vo.REDIRECTING),$e(1)).subscribe(()=>{e()})}function CT(t){throw t}var DT={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},vi=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=g(Ia),this.stateManager=g(Hv),this.options=g(If,{optional:!0})||{},this.pendingTasks=g(In),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(pT),this.urlSerializer=g(Cf),this.location=g(co),this.urlHandlingStrategy=g(Tf),this._events=new Ue,this.errorHandler=this.options.errorHandler||CT,this.navigated=!1,this.routeReuseStrategy=g(mT),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(Sf,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(_f,{optional:!0}),this.eventsSubscription=new ve,this.isNgZoneEnabled=g(fe)instanceof fe&&fe.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Pn&&i.code!==rt.Redirect&&i.code!==rt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof vr)this.navigated=!0;else if(i instanceof Io){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||gT(o.source)};this.scheduleNavigation(a,Co,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}ET(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Co,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",i)},0)})}navigateToSyncWithBrowser(r,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=D({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(r);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(Ef),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let p=o?o.snapshot:this.routerState.snapshot.root;h=Iv(p)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),h=this.currentUrlTree.root}return Sv(h,r,d,u??null)}navigateByUrl(r,i={skipLocationChange:!1}){let o=gi(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Co,null,i)}navigate(r,i={skipLocationChange:!1}){return _T(r),this.navigateByUrl(this.createUrlTree(r,i),i)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,i){let o;if(i===!0?o=D({},DT):i===!1?o=D({},bT):o=i,gi(r))return dv(this.currentUrlTree,r,o);let s=this.parseUrl(r);return dv(this.currentUrlTree,s,o)}removeEmptyProps(r){return Object.entries(r).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(r,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((h,p)=>{c=h,l=p});let d=this.pendingTasks.add();return wT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _T(t){for(let e=0;en.\u0275providers)])}function IT(t){return t.routerState.root}function ST(){let t=g(an);return e=>{let n=t.get(fr);if(e!==n.components[0])return;let r=t.get(vi),i=t.get(TT);t.get(xT)===1&&r.initialNavigation(),t.get(AT,null,G.Optional)?.setUpPreloading(),t.get(MT,null,G.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var TT=new I("",{factory:()=>new Ue}),xT=new I("",{providedIn:"root",factory:()=>1});var AT=new I("");function Rn(t){t||(aa(Rn),t=g(Xe));let e=new B(n=>t.onDestroy(n.next.bind(n)));return n=>n.pipe(Ri(e))}function No(t,e){let n=!e?.manualCleanup;n&&!e?.injector&&aa(No);let r=n?e?.injector?.get(Xe)??g(Xe):null,i;e?.requireSync?i=ba({kind:0}):i=ba({kind:1,value:e?.initialValue});let o=t.subscribe({next:s=>i.set({kind:1,value:s}),error:s=>{if(e?.rejectErrors)throw s;i.set({kind:2,error:s})}});return r?.onDestroy(o.unsubscribe.bind(o)),Ry(()=>{let s=i();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new y(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}var PT=["accordion"],OT=["accordionBlock"],Gv=(t,e)=>e.id;function NT(t,e){if(t&1){let n=ur();f(0,` +`)),i&2&&(We(Be(1,10,o.showNav)),E(7),k("href",o.jsDaddyWebsite,Mn),Rt("aria-label",Be(8,12,"JsDaddy corporate site")),E(3),k("ngSrc",se(11,14,"logo",o.openSourceHeaderPath)),E(6),pt(o.headerItems),E(4),k("ngSrc",se(21,17,"burger",o.openSourceHeaderPath)),E(6),k("ngSrc",se(27,20,"logo-white",o.openSourceHeaderPath)),E(3),k("ngSrc",se(30,23,"close",o.openSourceHeaderPath)),E(4),We(Be(34,26,o.showNav)),E(8),pt(o.headerItems))},dependencies:[vt,ai,Ua,$a,yt,ci],styles:["[_nghost-%COMP%]{display:block;height:68px}.header[_ngcontent-%COMP%]{height:68px;position:fixed;z-index:2;top:0;left:0;right:0}.header[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%]{width:310px}.header[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{padding-left:10px}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .yellow[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:var(--black);color:var(--yellow)}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--black)}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#1919190d}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active{background:var(--black);color:var(--yellow)}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%] .center-buttons[_ngcontent-%COMP%]{border-radius:9px;padding:5px 23px;gap:10px;height:31px}.header[_ngcontent-%COMP%] .open-nav[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mob-open[_ngcontent-%COMP%]{display:none}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%]{display:none;overflow:hidden}.header[_ngcontent-%COMP%] .mrl-20[_ngcontent-%COMP%]{margin-left:20px}.header[_ngcontent-%COMP%] .mr-5[_ngcontent-%COMP%]{margin:0 5px}@media screen and (max-width: 1279px){.header[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%]{width:100px}}@media screen and (max-width: 699px){.header[_ngcontent-%COMP%] .open-nav[_ngcontent-%COMP%]{display:block;margin-left:auto}.header[_ngcontent-%COMP%] .center-side[_ngcontent-%COMP%]{display:none}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%]{display:block;position:fixed;overflow:auto;z-index:2;height:100%;top:68px;left:0;right:0;width:100%;padding:15px 20px}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%]{padding:45px 60px 0 0}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;padding:5px 0 5px 15px;margin:10px;border-radius:9px}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .yellow[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--yellow);background:var(--ligth-grey)}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--full-white);background:none}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, .header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .black[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active{color:var(--yellow);background:var(--ligth-grey)}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .btn-bottom[_ngcontent-%COMP%]{width:90vw;position:fixed;bottom:20px}.show[_ngcontent-%COMP%]{display:block}.show.header[_ngcontent-%COMP%]{display:flex;background:var(--black)}.show.header[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%], .show.header[_ngcontent-%COMP%] .open-nav[_ngcontent-%COMP%]{display:none}.show.header[_ngcontent-%COMP%] .mob-open[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between}.show.header[_ngcontent-%COMP%] .mob-open[_ngcontent-%COMP%] .logo-white[_ngcontent-%COMP%]{margin-left:20px}.hide.header[_ngcontent-%COMP%]{display:flex}.hide.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%], .hide.header[_ngcontent-%COMP%] .mob-open[_ngcontent-%COMP%]{display:none}}@media screen and (max-height: 400px){.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%]{height:300px;padding:45px 60px 0 0}.header[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-buttons[_ngcontent-%COMP%] .btn-bottom[_ngcontent-%COMP%]{position:sticky;margin-left:10px}}"]});let t=e;return t})();var $="primary",Ao=Symbol("RouteTitle"),Wd=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function pi(t){return new Wd(t)}function VI(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.lengthr[o]===i)}else return t===e}function yv(t){return t.length>0?t[t.length-1]:null}function Nn(t){return sl(t)?t:dr(t)?ce(Promise.resolve(t)):O(t)}var UI={exact:wv,subset:Cv},vv={exact:$I,subset:HI,ignored:()=>!0};function dv(t,e,n){return UI[n.paths](t.root,e.root,n.matrixParams)&&vv[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function $I(t,e){return Wt(t,e)}function wv(t,e,n){if(!yr(t.segments,e.segments)||!Ga(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!wv(t.children[r],e.children[r],n))return!1;return!0}function HI(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>mv(t[n],e[n]))}function Cv(t,e,n){return Dv(t,e,e.segments,n)}function Dv(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);return!(!yr(i,n)||e.hasChildren()||!Ga(i,n,r))}else if(t.segments.length===n.length){if(!yr(t.segments,n)||!Ga(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!Cv(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!yr(t.segments,i)||!Ga(t.segments,i,r)||!t.children[$]?!1:Dv(t.children[$],e,o,r)}}function Ga(t,e,n){return e.every((r,i)=>vv[n](t[i].parameters,r.parameters))}var An=class{constructor(e=new ne([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=pi(this.queryParams),this._queryParamMap}toString(){return WI.serialize(this)}},ne=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wa(this)}},mr=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=pi(this.parameters),this._parameterMap}toString(){return _v(this)}};function zI(t,e){return yr(t,e)&&t.every((n,r)=>Wt(n.parameters,e[r].parameters))}function yr(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function GI(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===$&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==$&&(n=n.concat(e(i,r)))}),n}var Cf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>new Za,providedIn:"root"});let t=e;return t})(),Za=class{parse(e){let n=new Yd(e);return new An(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${mo(e.root,!0)}`,r=YI(e.queryParams),i=typeof e.fragment=="string"?`#${qI(e.fragment)}`:"";return`${n}${r}${i}`}},WI=new Za;function Wa(t){return t.segments.map(e=>_v(e)).join("/")}function mo(t,e){if(!t.hasChildren())return Wa(t);if(e){let n=t.children[$]?mo(t.children[$],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&r.push(`${i}:${mo(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=GI(t,(r,i)=>i===$?[mo(t.children[$],!1)]:[`${i}:${mo(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${Wa(t)}/${n[0]}`:`${Wa(t)}/(${n.join("//")})`}}function bv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ha(t){return bv(t).replace(/%3B/gi,";")}function qI(t){return encodeURI(t)}function Zd(t){return bv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qa(t){return decodeURIComponent(t)}function fv(t){return qa(t.replace(/\+/g,"%20"))}function _v(t){return`${Zd(t.path)}${ZI(t.parameters)}`}function ZI(t){return Object.entries(t).map(([e,n])=>`;${Zd(e)}=${Zd(n)}`).join("")}function YI(t){let e=Object.entries(t).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Ha(n)}=${Ha(i)}`).join("&"):`${Ha(n)}=${Ha(r)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var QI=/^[^\/()?;#]+/;function $d(t){let e=t.match(QI);return e?e[0]:""}var KI=/^[^\/()?;=#]+/;function XI(t){let e=t.match(KI);return e?e[0]:""}var JI=/^[^=?&#]+/;function eS(t){let e=t.match(JI);return e?e[0]:""}var tS=/^[^&#]+/;function nS(t){let e=t.match(tS);return e?e[0]:""}var Yd=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[$]=new ne(e,n)),r}parseSegment(){let e=$d(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(e),new mr(qa(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=XI(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=$d(this.remaining);i&&(r=i,this.capture(r))}e[qa(n)]=qa(r)}parseQueryParam(e){let n=eS(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=nS(this.remaining);s&&(r=s,this.capture(r))}let i=fv(n),o=fv(r);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=$d(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[$]:new ne([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new y(4011,!1)}};function Ev(t){return t.segments.length>0?new ne([],{[$]:t}):t}function Mv(t){let e={};for(let[r,i]of Object.entries(t.children)){let o=Mv(i);if(r===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let n=new ne(t.segments,e);return rS(n)}function rS(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new ne(t.segments.concat(e.segments),e.children)}return t}function gi(t){return t instanceof An}function iS(t,e,n=null,r=null){let i=Iv(t);return Sv(i,e,n,r)}function Iv(t){let e;function n(o){let s={};for(let c of o.children){let l=n(c);s[c.outlet]=l}let a=new ne(o.url,s);return o===t&&(e=a),a}let r=n(t.root),i=Ev(r);return e??i}function Sv(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Hd(i,i,i,n,r);let o=oS(e);if(o.toRoot())return Hd(i,i,new ne([],{}),n,r);let s=sS(o,i,t),a=s.processChildren?wo(s.segmentGroup,s.index,o.commands):xv(s.segmentGroup,s.index,o.commands);return Hd(i,s.segmentGroup,a,n,r)}function Ya(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function bo(t){return typeof t=="object"&&t!=null&&t.outlets}function Hd(t,e,n,r,i){let o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;t===e?s=n:s=Tv(t,e,n);let a=Ev(Mv(s));return new An(a,o,i)}function Tv(t,e,n){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===e?r[i]=n:r[i]=Tv(o,e,n)}),new ne(t.segments,r)}var Qa=class{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&Ya(r[0]))throw new y(4003,!1);let i=r.find(bo);if(i&&i!==yv(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function oS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Qa(!0,0,t);let e=0,n=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Qa(n,e,r)}var fi=class{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function sS(t,e,n){if(t.isAbsolute)return new fi(e,!0,0);if(!n)return new fi(e,!1,NaN);if(n.parent===null)return new fi(n,!0,0);let r=Ya(t.commands[0])?0:1,i=n.segments.length-1+r;return aS(n,i,t.numberOfDoubleDots)}function aS(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new y(4005,!1);i=r.segments.length}return new fi(r,!1,i-o)}function cS(t){return bo(t[0])?t[0].outlets:{[$]:t}}function xv(t,e,n){if(t??=new ne([],{}),t.segments.length===0&&t.hasChildren())return wo(t,e,n);let r=lS(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=wo(t.children[$],e,n);return new ne(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=xv(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new ne(t.segments,i)}}function lS(t,e,n){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=t.segments[i],a=n[r];if(bo(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!pv(c,l,s))return o;r+=2}else{if(!pv(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Qd(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=Qd(new ne([],{}),0,r))}),e}function hv(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function pv(t,e,n){return t==n.path&&Wt(e,n.parameters)}var Co="imperative",ke=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(ke||{}),wt=class{constructor(e,n){this.id=e,this.url=n}},_o=class extends wt{constructor(e,n,r="imperative",i=null){super(e,n),this.type=ke.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},vr=class extends wt{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r,this.type=ke.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},rt=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(rt||{}),Kd=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Kd||{}),Pn=class extends wt{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=ke.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},wr=class extends wt{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=ke.NavigationSkipped}},Eo=class extends wt{constructor(e,n,r,i){super(e,n),this.error=r,this.target=i,this.type=ke.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ka=class extends wt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ke.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xd=class extends wt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ke.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jd=class extends wt{constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=ke.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ef=class extends wt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ke.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tf=class extends wt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ke.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nf=class{constructor(e){this.route=e,this.type=ke.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},rf=class{constructor(e){this.route=e,this.type=ke.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},of=class{constructor(e){this.snapshot=e,this.type=ke.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sf=class{constructor(e){this.snapshot=e,this.type=ke.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},af=class{constructor(e){this.snapshot=e,this.type=ke.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cf=class{constructor(e){this.snapshot=e,this.type=ke.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Mo=class{},Io=class{constructor(e){this.url=e}};var lf=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new rc,this.attachRef=null}},rc=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(r,i){let o=this.getOrCreateContext(r);o.outlet=i,this.contexts.set(r,o)}onChildOutletDestroyed(r){let i=this.getContext(r);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let i=this.getContext(r);return i||(i=new lf,this.contexts.set(r,i)),i}getContext(r){return this.contexts.get(r)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xa=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=uf(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=uf(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=df(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return df(e,this._root).map(n=>n.value)}};function uf(t,e){if(t===e.value)return e;for(let n of e.children){let r=uf(t,n);if(r)return r}return null}function df(t,e){if(t===e.value)return[e];for(let n of e.children){let r=df(t,n);if(r.length)return r.unshift(e),r}return[]}var nt=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function di(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var Ja=class extends Xa{constructor(e,n){super(e),this.snapshot=n,bf(this,e)}toString(){return this.snapshot.toString()}};function Av(t){let e=dS(t),n=new De([new mr("",{})]),r=new De({}),i=new De({}),o=new De({}),s=new De(""),a=new On(n,r,o,s,i,$,t,e.root);return a.snapshot=e.root,new Ja(new nt(a,[]),e)}function dS(t){let e={},n={},r={},i="",o=new So([],e,r,i,n,$,t,null,{});return new ec("",new nt(o,[]))}var On=class{constructor(e,n,r,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(l=>l[Ao]))??O(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(e=>pi(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(e=>pi(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Df(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),i?.data),t._resolvedData)}:r={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},i&&Ov(i)&&(r.resolve[Ao]=i.title),r}var So=class{get title(){return this.data?.[Ao]}constructor(e,n,r,i,o,s,a,c,l){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=pi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=pi(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},ec=class extends Xa{constructor(e,n){super(n),this.url=e,bf(this,n)}toString(){return Pv(this._root)}};function bf(t,e){e.value._routerState=t,e.children.forEach(n=>bf(t,n))}function Pv(t){let e=t.children.length>0?` { ${t.children.map(Pv).join(", ")} } `:"";return`${t.value}${e}`}function zd(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Wt(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),Wt(e.params,n.params)||t.paramsSubject.next(n.params),BI(e.url,n.url)||t.urlSubject.next(n.url),Wt(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function ff(t,e){let n=Wt(t.params,e.params)&&zI(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||ff(t.parent,e.parent))}function Ov(t){return typeof t.title=="string"||t.title===null}var fS=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new me,this.deactivateEvents=new me,this.attachEvents=new me,this.detachEvents=new me,this.parentContexts=g(rc),this.location=g(ri),this.changeDetector=g(gt),this.environmentInjector=g(Qe),this.inputBinder=g(_f,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:i,previousValue:o}=r.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,i){this.activated=r,this._activatedRoute=i,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,i){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=r;let o=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new hf(r,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[At]});let t=e;return t})(),hf=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r}get(e,n){return e===On?this.route:e===rc?this.childContexts:this.parent.get(e,n)}},_f=new I("");function hS(t,e,n){let r=To(t,e._root,n?n._root:void 0);return new Ja(r,e)}function To(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=pS(t,e,n);return new nt(r,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>To(t,a)),s}}let r=gS(e.value),i=e.children.map(o=>To(t,o));return new nt(r,i)}}function pS(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return To(t,r,i);return To(t,r)})}function gS(t){return new On(new De(t.url),new De(t.params),new De(t.queryParams),new De(t.fragment),new De(t.data),t.outlet,t.component,t)}var Nv="ngNavigationCancelingError";function Rv(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=gi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Fv(!1,rt.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function Fv(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[Nv]=!0,n.cancellationCode=e,n}function mS(t){return kv(t)&&gi(t.url)}function kv(t){return!!t&&t[Nv]}var yS=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["ng-component"]],standalone:!0,features:[ue],decls:1,vars:0,template:function(i,o){i&1&&U(0,"router-outlet")},dependencies:[fS],encapsulation:2});let t=e;return t})();function vS(t,e){return t.providers&&!t._injector&&(t._injector=bd(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Ef(t){let e=t.children&&t.children.map(Ef),n=e?J(D({},t),{children:e}):D({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==$&&(n.component=yS),n}function qt(t){return t.outlet||$}function wS(t,e){let n=t.filter(r=>qt(r)===e);return n.push(...t.filter(r=>qt(r)!==e)),n}function Po(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var CS=(t,e,n,r)=>T(i=>(new pf(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),pf=class{constructor(e,n,r,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),zd(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=di(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=di(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=di(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let i=di(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new cf(o.value.snapshot))}),e.children.length&&this.forwardEvent(new sf(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(zd(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),zd(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Po(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,r)}},tc=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},hi=class{constructor(e,n){this.component=e,this.route=n}};function DS(t,e,n){let r=t._root,i=e?e._root:null;return yo(r,i,n,[r.value])}function bS(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function yi(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!og(t)?t:e.get(t):r}function yo(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=di(e);return t.children.forEach(s=>{_S(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Do(a,n.getContext(s),i)),i}function _S(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=ES(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new tc(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?yo(t,e,a?a.children:null,r,i):yo(t,e,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new hi(a.outlet.component,s))}else s&&Do(e,a,i),i.canActivateChecks.push(new tc(r)),o.component?yo(t,null,a?a.children:null,r,i):yo(t,null,n,r,i);return i}function ES(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!yr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!yr(t.url,e.url)||!Wt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ff(t,e)||!Wt(t.queryParams,e.queryParams);case"paramsChange":default:return!ff(t,e)}}function Do(t,e,n){let r=di(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?e?Do(s,e.children.getContext(o),n):Do(s,null,n):Do(s,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new hi(e.outlet.component,i)):n.canDeactivateChecks.push(new hi(null,i)):n.canDeactivateChecks.push(new hi(null,i))}function Oo(t){return typeof t=="function"}function MS(t){return typeof t=="boolean"}function IS(t){return t&&Oo(t.canLoad)}function SS(t){return t&&Oo(t.canActivate)}function TS(t){return t&&Oo(t.canActivateChild)}function xS(t){return t&&Oo(t.canDeactivate)}function AS(t){return t&&Oo(t.canMatch)}function Lv(t){return t instanceof Kt||t?.name==="EmptyError"}var za=Symbol("INITIAL_VALUE");function mi(){return Ne(t=>Es(t.map(e=>e.pipe($e(1),ml(za)))).pipe(T(e=>{for(let n of e)if(n!==!0){if(n===za)return za;if(n===!1||n instanceof An)return n}return!0}),be(e=>e!==za),$e(1)))}function PS(t,e){return we(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?O(J(D({},n),{guardsResult:!0})):OS(s,r,i,t).pipe(we(a=>a&&MS(a)?NS(r,o,t,e):O(a)),T(a=>J(D({},n),{guardsResult:a})))})}function OS(t,e,n,r){return ce(t).pipe(we(i=>jS(i.component,i.route,n,e,r)),Lt(i=>i!==!0,!0))}function NS(t,e,n,r){return ce(e).pipe(yn(i=>mn(FS(i.route.parent,r),RS(i.route,r),LS(t,i.path,n),kS(t,i.route,n))),Lt(i=>i!==!0,!0))}function RS(t,e){return t!==null&&e&&e(new af(t)),O(!0)}function FS(t,e){return t!==null&&e&&e(new of(t)),O(!0)}function kS(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return O(!0);let i=r.map(o=>Ms(()=>{let s=Po(e)??n,a=yi(o,s),c=SS(a)?a.canActivate(e,t):nn(s,()=>a(e,t));return Nn(c).pipe(Lt())}));return O(i).pipe(mi())}function LS(t,e,n){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>bS(s)).filter(s=>s!==null).map(s=>Ms(()=>{let a=s.guards.map(c=>{let l=Po(s.node)??n,u=yi(c,l),d=TS(u)?u.canActivateChild(r,t):nn(l,()=>u(r,t));return Nn(d).pipe(Lt())});return O(a).pipe(mi())}));return O(o).pipe(mi())}function jS(t,e,n,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let s=o.map(a=>{let c=Po(e)??i,l=yi(a,c),u=xS(l)?l.canDeactivate(t,e,n,r):nn(c,()=>l(t,e,n,r));return Nn(u).pipe(Lt())});return O(s).pipe(mi())}function VS(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return O(!0);let o=i.map(s=>{let a=yi(s,t),c=IS(a)?a.canLoad(e,n):nn(t,()=>a(e,n));return Nn(c)});return O(o).pipe(mi(),jv(r))}function jv(t){return tl(re(e=>{if(gi(e))throw Rv(t,e)}),T(e=>e===!0))}function BS(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return O(!0);let o=i.map(s=>{let a=yi(s,t),c=AS(a)?a.canMatch(e,n):nn(t,()=>a(e,n));return Nn(c)});return O(o).pipe(mi(),jv(r))}var xo=class{constructor(e){this.segmentGroup=e||null}},nc=class extends Error{constructor(e){super(),this.urlTree=e}};function ui(t){return ct(new xo(t))}function US(t){return ct(new y(4e3,!1))}function $S(t){return ct(Fv(!1,rt.GuardRejected))}var gf=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return O(r);if(i.numberOfChildren>1||!i.children[$])return US(e.redirectTo);i=i.children[$]}}applyRedirectCommands(e,n,r){let i=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n.startsWith("/"))throw new nc(i);return i}applyRedirectCreateUrlTree(e,n,r,i){let o=this.createSegmentGroup(e,n.root,r,i);return new An(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(e,n,r,i){let o=this.createSegments(e,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,r,i)}),new ne(o,s)}createSegments(e,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(e,n){let r=0;for(let i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}},mf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function HS(t,e,n,r,i){let o=Mf(t,e,n);return o.matched?(r=vS(e,r),BS(r,e,n,i).pipe(T(s=>s===!0?o:D({},mf)))):O(o)}function Mf(t,e,n){if(e.path==="**")return zS(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?D({},mf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||VI)(n,t,e);if(!i)return D({},mf);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function zS(t){return{matched:!0,parameters:t.length>0?yv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function gv(t,e,n,r){return n.length>0&&qS(t,n,r)?{segmentGroup:new ne(e,WS(r,new ne(n,t.children))),slicedSegments:[]}:n.length===0&&ZS(t,n,r)?{segmentGroup:new ne(t.segments,GS(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new ne(t.segments,t.children),slicedSegments:n}}function GS(t,e,n,r){let i={};for(let o of n)if(ic(t,e,o)&&!r[qt(o)]){let s=new ne([],{});i[qt(o)]=s}return D(D({},r),i)}function WS(t,e){let n={};n[$]=e;for(let r of t)if(r.path===""&&qt(r)!==$){let i=new ne([],{});n[qt(r)]=i}return n}function qS(t,e,n){return n.some(r=>ic(t,e,r)&&qt(r)!==$)}function ZS(t,e,n){return n.some(r=>ic(t,e,r))}function ic(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function YS(t,e,n,r){return qt(t)!==r&&(r===$||!ic(e,n,t))?!1:Mf(e,t,n).matched}function QS(t,e,n){return e.length===0&&!t.children[n]}var yf=class{};function KS(t,e,n,r,i,o,s="emptyOnly"){return new vf(t,e,n,r,i,s,o).recognize()}var XS=31,vf=class{constructor(e,n,r,i,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new gf(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new y(4002,`'${e.segmentGroup}'`)}recognize(){let e=gv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(T(n=>{let r=new So([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},$,this.rootComponentType,null,{}),i=new nt(r,n),o=new ec("",i),s=iS(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,$).pipe(tt(r=>{if(r instanceof nc)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof xo?this.noMatchError(r):r}))}inheritParamsAndData(e,n){let r=e.value,i=Df(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(e,n,r,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r):this.processSegment(e,n,r,r.segments,i,!0).pipe(T(o=>o instanceof nt?[o]:[]))}processChildren(e,n,r){let i=[];for(let o of Object.keys(r.children))o==="primary"?i.unshift(o):i.push(o);return ce(i).pipe(yn(o=>{let s=r.children[o],a=wS(n,o);return this.processSegmentGroup(e,a,s,o)}),gl((o,s)=>(o.push(...s),o)),vn(null),pl(),we(o=>{if(o===null)return ui(r);let s=Vv(o);return JS(s),O(s)}))}processSegment(e,n,r,i,o,s){return ce(n).pipe(yn(a=>this.processSegmentAgainstRoute(a._injector??e,n,a,r,i,o,s).pipe(tt(c=>{if(c instanceof xo)return O(null);throw c}))),Lt(a=>!!a),tt(a=>{if(Lv(a))return QS(r,i,o)?O(new yf):ui(r);throw a}))}processSegmentAgainstRoute(e,n,r,i,o,s,a){return YS(r,i,o,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s):ui(i):ui(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:u}=Mf(n,i,o);if(!a)return ui(n);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>XS&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,l);return this.applyRedirects.lineralizeSegments(i,d).pipe(we(h=>this.processSegment(e,r,n,h.concat(u),s,!1)))}matchSegmentAgainstRoute(e,n,r,i,o){let s=HS(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),s.pipe(Ne(a=>a.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(Ne(({routes:c})=>{let l=r._loadedInjector??e,{consumedSegments:u,remainingSegments:d,parameters:h}=a,p=new So(u,h,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,tT(r),qt(r),r.component??r._loadedComponent??null,r,nT(r)),{segmentGroup:m,slicedSegments:v}=gv(n,u,d,c);if(v.length===0&&m.hasChildren())return this.processChildren(l,c,m).pipe(T(_=>_===null?null:new nt(p,_)));if(c.length===0&&v.length===0)return O(new nt(p,[]));let b=qt(r)===o;return this.processSegment(l,c,m,v,b?$:o,!0).pipe(T(_=>new nt(p,_ instanceof nt?[_]:[])))}))):ui(n)))}getChildConfig(e,n,r){return n.children?O({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?O({routes:n._loadedRoutes,injector:n._loadedInjector}):VS(e,n,r,this.urlSerializer).pipe(we(i=>i?this.configLoader.loadChildren(e,n).pipe(re(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):$S(n))):O({routes:[],injector:e})}};function JS(t){t.sort((e,n)=>e.value.outlet===$?-1:n.value.outlet===$?1:e.value.outlet.localeCompare(n.value.outlet))}function eT(t){let e=t.value.routeConfig;return e&&e.path===""}function Vv(t){let e=[],n=new Set;for(let r of t){if(!eT(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=Vv(r.children);e.push(new nt(r.value,i))}return e.filter(r=>!n.has(r))}function tT(t){return t.data||{}}function nT(t){return t.resolve||{}}function rT(t,e,n,r,i,o){return we(s=>KS(t,e,n,r,s.extractedUrl,i,o).pipe(T(({state:a,tree:c})=>J(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function iT(t,e){return we(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return O(n);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of Bv(c))s.add(l);let a=0;return ce(s).pipe(yn(c=>o.has(c)?oT(c,r,t,e):(c.data=Df(c,c.parent,t).resolve,O(void 0))),re(()=>a++),Ur(1),we(c=>a===s.size?O(n):xe))})}function Bv(t){let e=t.children.map(n=>Bv(n)).flat();return[t,...e]}function oT(t,e,n,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Ov(i)&&(o[Ao]=i.title),sT(o,t,e,r).pipe(T(s=>(t._resolvedData=s,t.data=Df(t,t.parent,n).resolve,null)))}function sT(t,e,n,r){let i=qd(t);if(i.length===0)return O({});let o={};return ce(i).pipe(we(s=>aT(t[s],e,n,r).pipe(Lt(),re(a=>{o[s]=a}))),Ur(1),Ni(o),tt(s=>Lv(s)?xe:ct(s)))}function aT(t,e,n,r){let i=Po(e)??r,o=yi(t,i),s=o.resolve?o.resolve(e,n):nn(i,()=>o(e,n));return Nn(s)}function Gd(t){return Ne(e=>{let n=t(e);return n?ce(n).pipe(T(()=>e)):O(e)})}var Uv=(()=>{let e=class e{buildTitle(r){let i,o=r.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(r){return r.data[Ao]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(cT),providedIn:"root"});let t=e;return t})(),cT=(()=>{let e=class e extends Uv{constructor(r){super(),this.title=r}updateTitle(r){let i=this.buildTitle(r);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(x(av))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),If=new I("",{providedIn:"root",factory:()=>({})}),Sf=new I(""),lT=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Ed)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return O(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=Nn(r.loadComponent()).pipe(T($v),re(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Wn(()=>{this.componentLoaders.delete(r)})),o=new Nr(i,()=>new Ue).pipe(Or());return this.componentLoaders.set(r,o),o}loadChildren(r,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=uT(i,this.compiler,r,this.onLoadEndListener).pipe(Wn(()=>{this.childrenLoaders.delete(i)})),a=new Nr(s,()=>new Ue).pipe(Or());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function uT(t,e,n,r){return Nn(t.loadChildren()).pipe(T($v),we(i=>i instanceof Yi||Array.isArray(i)?O(i):ce(e.compileModuleAsync(i))),T(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(Sf,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ef),injector:o}}))}function dT(t){return t&&typeof t=="object"&&"default"in t}function $v(t){return dT(t)?t.default:t}var Tf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(fT),providedIn:"root"});let t=e;return t})(),fT=(()=>{let e=class e{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,i){return r}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),hT=new I("");var pT=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ue,this.transitionAbortSubject=new Ue,this.configLoader=g(lT),this.environmentInjector=g(Qe),this.urlSerializer=g(Cf),this.rootContexts=g(rc),this.location=g(co),this.inputBindingEnabled=g(_f,{optional:!0})!==null,this.titleStrategy=g(Uv),this.options=g(If,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Tf),this.createViewTransition=g(hT,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let r=o=>this.events.next(new nf(o)),i=o=>this.events.next(new rf(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let i=++this.navigationId;this.transitions?.next(J(D(D({},this.transitions.value),r),{id:i}))}setupNavigations(r,i,o){return this.transitions=new De({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Co,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(be(s=>s.id!==0),T(s=>J(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ne(s=>{let a=!1,c=!1;return O(s).pipe(Ne(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",rt.SupersededByNewNavigation),xe;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?J(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!u&&d!=="reload"){let h="";return this.events.next(new wr(l.id,this.urlSerializer.serialize(l.rawUrl),h,Kd.IgnoredSameUrlNavigation)),l.resolve(null),xe}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return O(l).pipe(Ne(h=>{let p=this.transitions?.getValue();return this.events.next(new _o(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),p!==this.transitions?.getValue()?xe:Promise.resolve(h)}),rT(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),re(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=J(D({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let p=new Ka(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(p)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:h,extractedUrl:p,source:m,restoredState:v,extras:b}=l,_=new _o(h,this.urlSerializer.serialize(p),m,v);this.events.next(_);let Y=Av(this.rootComponentType).snapshot;return this.currentTransition=s=J(D({},l),{targetSnapshot:Y,urlAfterRedirects:p,extras:J(D({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,O(s)}else{let h="";return this.events.next(new wr(l.id,this.urlSerializer.serialize(l.extractedUrl),h,Kd.IgnoredByUrlHandlingStrategy)),l.resolve(null),xe}}),re(l=>{let u=new Xd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),T(l=>(this.currentTransition=s=J(D({},l),{guards:DS(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),PS(this.environmentInjector,l=>this.events.next(l)),re(l=>{if(s.guardsResult=l.guardsResult,gi(l.guardsResult))throw Rv(this.urlSerializer,l.guardsResult);let u=new Jd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(u)}),be(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",rt.GuardRejected),!1)),Gd(l=>{if(l.guards.canActivateChecks.length)return O(l).pipe(re(u=>{let d=new ef(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),Ne(u=>{let d=!1;return O(u).pipe(iT(this.paramsInheritanceStrategy,this.environmentInjector),re({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",rt.NoDataFromResolver)}}))}),re(u=>{let d=new tf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),Gd(l=>{let u=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(re(p=>{d.component=p}),T(()=>{})));for(let p of d.children)h.push(...u(p));return h};return Es(u(l.targetSnapshot.root)).pipe(vn(null),$e(1))}),Gd(()=>this.afterPreactivation()),Ne(()=>{let{currentSnapshot:l,targetSnapshot:u}=s,d=this.createViewTransition?.(this.environmentInjector,l.root,u.root);return d?ce(d).pipe(T(()=>s)):O(s)}),T(l=>{let u=hS(r.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=J(D({},l),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),re(()=>{this.events.next(new Mo)}),CS(this.rootContexts,r.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),$e(1),re({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new vr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),Ri(this.transitionAbortSubject.pipe(re(l=>{throw l}))),Wn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",rt.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),tt(l=>{if(c=!0,kv(l))this.events.next(new Pn(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),mS(l)?this.events.next(new Io(l.url)):s.resolve(!1);else{this.events.next(new Eo(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(r.errorHandler(l))}catch(u){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(u)}}return xe}))}))}cancelNavigationTransition(r,i,o){let s=new Pn(r.id,this.urlSerializer.serialize(r.extractedUrl),i,o);this.events.next(s),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function gT(t){return t!==Co}var mT=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(yT),providedIn:"root"});let t=e;return t})(),wf=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},yT=(()=>{let e=class e extends wf{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=to(e)))(o||e)}})(),e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:()=>g(vT),providedIn:"root"});let t=e;return t})(),vT=(()=>{let e=class e extends Hv{constructor(){super(...arguments),this.location=g(co),this.urlSerializer=g(Cf),this.options=g(If,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Tf),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new An,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Av(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(i=>{i.type==="popstate"&&r(i.url,i.state)})}handleRouterEvent(r,i){if(r instanceof _o)this.stateMemento=this.createStateMemento();else if(r instanceof wr)this.rawUrlTree=i.initialUrl;else if(r instanceof Ka){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else r instanceof Mo?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):r instanceof Pn&&(r.code===rt.GuardRejected||r.code===rt.NoDataFromResolver)?this.restoreHistory(i):r instanceof Eo?this.restoreHistory(i,!0):r instanceof vr&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,i){let o=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=D(D({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=D(D({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(r,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,i){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:i}:{navigationId:r}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=to(e)))(o||e)}})(),e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),vo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(vo||{});function wT(t,e){t.events.pipe(be(n=>n instanceof vr||n instanceof Pn||n instanceof Eo||n instanceof wr),T(n=>n instanceof vr||n instanceof wr?vo.COMPLETE:(n instanceof Pn?n.code===rt.Redirect||n.code===rt.SupersededByNewNavigation:!1)?vo.REDIRECTING:vo.FAILED),be(n=>n!==vo.REDIRECTING),$e(1)).subscribe(()=>{e()})}function CT(t){throw t}var DT={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},vi=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=g(Sa),this.stateManager=g(Hv),this.options=g(If,{optional:!0})||{},this.pendingTasks=g(In),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(pT),this.urlSerializer=g(Cf),this.location=g(co),this.urlHandlingStrategy=g(Tf),this._events=new Ue,this.errorHandler=this.options.errorHandler||CT,this.navigated=!1,this.routeReuseStrategy=g(mT),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(Sf,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(_f,{optional:!0}),this.eventsSubscription=new ve,this.isNgZoneEnabled=g(fe)instanceof fe&&fe.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Pn&&i.code!==rt.Redirect&&i.code!==rt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof vr)this.navigated=!0;else if(i instanceof Io){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||gT(o.source)};this.scheduleNavigation(a,Co,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}ET(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Co,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",i)},0)})}navigateToSyncWithBrowser(r,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=D({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(r);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(Ef),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let p=o?o.snapshot:this.routerState.snapshot.root;h=Iv(p)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),h=this.currentUrlTree.root}return Sv(h,r,d,u??null)}navigateByUrl(r,i={skipLocationChange:!1}){let o=gi(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Co,null,i)}navigate(r,i={skipLocationChange:!1}){return _T(r),this.navigateByUrl(this.createUrlTree(r,i),i)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,i){let o;if(i===!0?o=D({},DT):i===!1?o=D({},bT):o=i,gi(r))return dv(this.currentUrlTree,r,o);let s=this.parseUrl(r);return dv(this.currentUrlTree,s,o)}removeEmptyProps(r){return Object.entries(r).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(r,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((h,p)=>{c=h,l=p});let d=this.pendingTasks.add();return wT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _T(t){for(let e=0;en.\u0275providers)])}function IT(t){return t.routerState.root}function ST(){let t=g(an);return e=>{let n=t.get(fr);if(e!==n.components[0])return;let r=t.get(vi),i=t.get(TT);t.get(xT)===1&&r.initialNavigation(),t.get(AT,null,G.Optional)?.setUpPreloading(),t.get(MT,null,G.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var TT=new I("",{factory:()=>new Ue}),xT=new I("",{providedIn:"root",factory:()=>1});var AT=new I("");function Rn(t){t||(ca(Rn),t=g(Xe));let e=new B(n=>t.onDestroy(n.next.bind(n)));return n=>n.pipe(Ri(e))}function No(t,e){let n=!e?.manualCleanup;n&&!e?.injector&&ca(No);let r=n?e?.injector?.get(Xe)??g(Xe):null,i;e?.requireSync?i=_a({kind:0}):i=_a({kind:1,value:e?.initialValue});let o=t.subscribe({next:s=>i.set({kind:1,value:s}),error:s=>{if(e?.rejectErrors)throw s;i.set({kind:2,error:s})}});return r?.onDestroy(o.unsubscribe.bind(o)),Ry(()=>{let s=i();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new y(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}var PT=["accordion"],OT=["accordionBlock"],Gv=(t,e)=>e.id;function NT(t,e){if(t&1){let n=ur();f(0,` `),w(1,"p",19),W(2,"color"),Ae("click",function(){let i=ar(n).$implicit,o=Me(2);return cr(o.handleClick(i.id,i.scrollTo))}),f(3),C(),f(4,` `)}if(t&2){let n=e.$implicit,r=Me(2);E(),We(se(2,3,n.id,r.itemInAccordion)),E(2),Pe(` `,n.content,` @@ -75,7 +75,7 @@ ${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` `),C(),f(33,` `)}if(t&2){let n=e.$implicit,r=Me();E(8),k("ngSrc",se(9,5,n.defaultSvg,r.openSourceAccordionPath)),E(3),k("ngSrc",se(12,8,n.activeSvg,r.openSourceAccordionPath)),E(5),Pe(` `,n.header,` - `),E(4),k("ngSrc",se(21,11,n.whiteChevron,r.openSourceAccordionPath)),E(3),k("ngSrc",se(24,14,n.yellowChevron,r.openSourceAccordionPath)),E(7),pt(n.text)}}var Wv=(()=>{let e=class e{constructor(){this.lists=ie(),this.switchCardIndex=ua(),this.accordion=_a("accordion",{read:he}),this.accordionBlockElement=fy("accordionBlock",{read:he}),this.showAccordion=!1,this.itemInAccordion=1,this.openSourceAccordionPath="open-source/accordion",this.bodyStylesService=g(li),this.activatedRoute=g(On),this.router=g(vi),this.platformId=g(Ce),this.document=g(de),this.destroyRef=g(Xe)}ngAfterViewInit(){Gn(window,"click").pipe(be(()=>this.showAccordion&&event?.target!==this.accordionBlockElement()?.nativeElement),Rn(this.destroyRef)).subscribe(()=>this.showAccordionBlock()),this.openFirstAccordion(),this.activatedRoute.fragment.pipe(be(Boolean),Rn(this.destroyRef)).subscribe(r=>{this.itemInAccordion=Number(r)})}showAccordionBlock(){this.showAccordion=!this.showAccordion,this.bodyStylesService.setOverflowYBodyHtml(this.showAccordion)}switchAccordion(r){this.switchCardIndex.emit(r)}handleClick(r,i){this.showAccordion&&this.showAccordionBlock(),this.anchorScroll(r,i)}anchorScroll(r,i){if(mt(this.platformId)||(this.itemInAccordion=r,this.router.navigate(["/"],{fragment:r.toString()}),!i))return;let o=this.document.getElementById(i);o&&o.scrollIntoView({behavior:"smooth",block:"start"})}toggle(r){this.accordion()?.forEach((i,o)=>{r!==o?i?.nativeElement.classList.remove("active"):i?.nativeElement.classList.toggle("active")})}openFirstAccordion(){this.accordion()?.[0]?.nativeElement.classList.toggle("active")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-accordion"]],viewQuery:function(i,o){i&1&&(so(o.accordion,PT,5,he),so(o.accordionBlockElement,OT,5,he)),i&2&&Ma(2)},inputs:{lists:[P.SignalBased,"lists"]},outputs:{switchCardIndex:"switchCardIndex"},standalone:!0,features:[Fe([li]),ue],decls:28,vars:16,consts:[["accordionBlock",""],["accordion",""],[1,"navigation","row","jc-sb","ai-c","bg-black","pointer","full-white",3,"click"],["width","18","height","18","alt","Chevron white",1,"white-chevron",3,"ngSrc"],["width","18","height","18","alt","Chevron yellow",1,"yellow-chevron",3,"ngSrc"],[1,"navigation-text","fs-16","ls-25","uppercase"],[1,"drawer-container","column","bg-black"],[1,"drawer","bg-black"],[1,"visit-btn"],[1,"non-active","accordion-block"],[1,"accordion","row","ai-c","bg-black","fs-white-14","pointer","border-accordion-tb-def",3,"click"],[1,"left-side-accordion","row","ai-c","bg-light-grey-accordion"],["width","32","height","32","alt","Accordion white",1,"default-svg",3,"ngSrc"],["width","32","height","32","alt","Accordion yellow",1,"active-svg",3,"ngSrc"],[1,"accordion-btn","bg-black","full-white","pointer"],[1,"right-side-accordion"],["width","12","height","12","alt","Chevron white",1,"chevron-default",3,"ngSrc"],["width","12","height","12","alt","Chevron yellow",1,"chevron-active",3,"ngSrc"],[1,"panel","full-white","text","bg-black"],[1,"accordion-box","pointer",3,"click"]],template:function(i,o){if(i&1){let s=ur();w(0,"div",2),W(1,"hide"),Ae("click",function(c){return ar(s),o.showAccordionBlock(),cr(c.stopPropagation())}),f(2,` + `),E(4),k("ngSrc",se(21,11,n.whiteChevron,r.openSourceAccordionPath)),E(3),k("ngSrc",se(24,14,n.yellowChevron,r.openSourceAccordionPath)),E(7),pt(n.text)}}var Wv=(()=>{let e=class e{constructor(){this.lists=ie(),this.switchCardIndex=da(),this.accordion=Ea("accordion",{read:he}),this.accordionBlockElement=fy("accordionBlock",{read:he}),this.showAccordion=!1,this.itemInAccordion=1,this.openSourceAccordionPath="open-source/accordion",this.bodyStylesService=g(li),this.activatedRoute=g(On),this.router=g(vi),this.platformId=g(Ce),this.document=g(de),this.destroyRef=g(Xe)}ngAfterViewInit(){Gn(window,"click").pipe(be(()=>this.showAccordion&&event?.target!==this.accordionBlockElement()?.nativeElement),Rn(this.destroyRef)).subscribe(()=>this.showAccordionBlock()),this.openFirstAccordion(),this.activatedRoute.fragment.pipe(be(Boolean),Rn(this.destroyRef)).subscribe(r=>{this.itemInAccordion=Number(r)})}showAccordionBlock(){this.showAccordion=!this.showAccordion,this.bodyStylesService.setOverflowYBodyHtml(this.showAccordion)}switchAccordion(r){this.switchCardIndex.emit(r)}handleClick(r,i){this.showAccordion&&this.showAccordionBlock(),this.anchorScroll(r,i)}anchorScroll(r,i){if(mt(this.platformId)||(this.itemInAccordion=r,this.router.navigate(["/"],{fragment:r.toString()}),!i))return;let o=this.document.getElementById(i);o&&o.scrollIntoView({behavior:"smooth",block:"start"})}toggle(r){this.accordion()?.forEach((i,o)=>{r!==o?i?.nativeElement.classList.remove("active"):i?.nativeElement.classList.toggle("active")})}openFirstAccordion(){this.accordion()?.[0]?.nativeElement.classList.toggle("active")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-accordion"]],viewQuery:function(i,o){i&1&&(so(o.accordion,PT,5,he),so(o.accordionBlockElement,OT,5,he)),i&2&&Ia(2)},inputs:{lists:[P.SignalBased,"lists"]},outputs:{switchCardIndex:"switchCardIndex"},standalone:!0,features:[Fe([li]),ue],decls:28,vars:16,consts:[["accordionBlock",""],["accordion",""],[1,"navigation","row","jc-sb","ai-c","bg-black","pointer","full-white",3,"click"],["width","18","height","18","alt","Chevron white",1,"white-chevron",3,"ngSrc"],["width","18","height","18","alt","Chevron yellow",1,"yellow-chevron",3,"ngSrc"],[1,"navigation-text","fs-16","ls-25","uppercase"],[1,"drawer-container","column","bg-black"],[1,"drawer","bg-black"],[1,"visit-btn"],[1,"non-active","accordion-block"],[1,"accordion","row","ai-c","bg-black","fs-white-14","pointer","border-accordion-tb-def",3,"click"],[1,"left-side-accordion","row","ai-c","bg-light-grey-accordion"],["width","32","height","32","alt","Accordion white",1,"default-svg",3,"ngSrc"],["width","32","height","32","alt","Accordion yellow",1,"active-svg",3,"ngSrc"],[1,"accordion-btn","bg-black","full-white","pointer"],[1,"right-side-accordion"],["width","12","height","12","alt","Chevron white",1,"chevron-default",3,"ngSrc"],["width","12","height","12","alt","Chevron yellow",1,"chevron-active",3,"ngSrc"],[1,"panel","full-white","text","bg-black"],[1,"accordion-box","pointer",3,"click"]],template:function(i,o){if(i&1){let s=ur();w(0,"div",2),W(1,"hide"),Ae("click",function(c){return ar(s),o.showAccordionBlock(),cr(c.stopPropagation())}),f(2,` `),U(3,"img",3),W(4,"asset"),f(5,` `),U(6,"img",4),W(7,"asset"),f(8,` `),w(9,"span",5),f(10,"Navigation"),C(),f(11,` @@ -87,10 +87,10 @@ ${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` `),C(),f(25,` `),C(),f(26,` `),C(),f(27,` -`)}i&2&&(We(Be(1,6,o.showAccordion)),E(3),k("ngSrc",se(4,8,"white-chevron-down",o.openSourceAccordionPath)),E(3),k("ngSrc",se(7,11,"yellow-chevron-down",o.openSourceAccordionPath)),E(7),We(Be(15,14,o.showAccordion)),E(6),pt(o.lists()))},dependencies:[vt,Ba,Ua,ai,yt],styles:["[_nghost-%COMP%]{display:block;height:100%}.navigation[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%]{overflow:hidden;position:fixed;z-index:1;height:100%;top:68px;width:310px;padding-top:22px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]{width:262px;height:50px;margin:10px 24px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%]{margin-left:auto;margin-right:20px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%]{border-radius:50%;margin:9px 15px 9px 10px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover{color:var(--yellow);border-width:2px 0;border-style:solid;border-color:var(--yellow);border-radius:10px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .right-side-accordion[_ngcontent-%COMP%]{margin-left:auto;margin-right:20px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .right-side-accordion[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .right-side-accordion[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%]{transition:all 1s;transform:rotate(180deg);display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .left-side-accordion[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .left-side-accordion[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{overflow:hidden;max-height:0;padding:0 24px;transition:all .3s ease-in-out;box-sizing:border-box}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{visibility:hidden;padding:10px 0 0 60px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]{border-width:2px 0 0 0;border-style:solid;border-bottom-left-radius:1%;border-bottom-right-radius:1%;border-color:var(--yellow)}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover{border-width:2px 0 0 0}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-btn[_ngcontent-%COMP%]{color:var(--yellow)}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%]{border-radius:50%;margin:9px 15px 9px 10px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{max-height:max-content}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{height:21px;visibility:visible;padding:10px 0 0 60px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .black[_ngcontent-%COMP%]{color:var(--full-white)}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]:last-child{border-width:0 0 2px 0;border-style:solid;border-color:var(--yellow);border-radius:0 0 10px 10px;padding:10px 0 35px 60px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .visit-btn[_ngcontent-%COMP%]{width:262px;padding:40px 24px 0;position:absolute;bottom:125px}@media screen and (max-width: 1279px){.navigation[_ngcontent-%COMP%]{display:flex;height:55px;width:100%;z-index:1;position:fixed;top:68px}.navigation[_ngcontent-%COMP%] .navigation-text[_ngcontent-%COMP%]{padding-right:20px;color:var(--full-white)}.navigation[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-left:20px}.drawer-container[_ngcontent-%COMP%]{top:122px;width:375px;display:none;overflow:auto}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%]{height:740px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%]{width:100%}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]{width:87%}.drawer-container[_ngcontent-%COMP%] .visit-btn[_ngcontent-%COMP%]{display:none}.show.navigation[_ngcontent-%COMP%] .navigation-text[_ngcontent-%COMP%]{color:var(--yellow)}.show.navigation[_ngcontent-%COMP%] .white-chevron[_ngcontent-%COMP%]{display:none}.show.navigation[_ngcontent-%COMP%] .yellow-chevron[_ngcontent-%COMP%]{display:block}.show.drawer-container[_ngcontent-%COMP%]{display:block;overflow:auto}.hide.drawer-container[_ngcontent-%COMP%]{display:none}.hide.navigation[_ngcontent-%COMP%] .navigation-text[_ngcontent-%COMP%]{color:var(--full-white)}.hide.navigation[_ngcontent-%COMP%] .white-chevron[_ngcontent-%COMP%]{display:block}.hide.navigation[_ngcontent-%COMP%] .yellow-chevron[_ngcontent-%COMP%]{display:none}.hide.navigation[_ngcontent-%COMP%]:hover .navigation-text[_ngcontent-%COMP%]{color:var(--yellow)}.hide.navigation[_ngcontent-%COMP%]:hover .white-chevron[_ngcontent-%COMP%]{display:none}.hide.navigation[_ngcontent-%COMP%]:hover .yellow-chevron[_ngcontent-%COMP%]{display:block;margin-left:20px;transform:rotate(180deg)}}@media screen and (max-width: 699px){.drawer-container[_ngcontent-%COMP%]{width:100%}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%]{height:650px;padding:0 25px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%]{width:100%}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{width:calc(84% - 2px)}.drawer-container[_ngcontent-%COMP%] .visit-btn[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 500px){.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{width:calc(84% - 8px)}}@media screen and (max-width: 360px){.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{width:calc(84% - 9px)}}"]});let t=e;return t})();var FT=["chip",""],qv=(()=>{let e=class e{constructor(){this.chip=ie.required(),this.chipBgColor=ie("rgba(0,0,0,0.05)"),this.isActive=ie(!1),this.pointer=ie(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-chip","chip",""]],inputs:{chip:[P.SignalBased,"chip"],chipBgColor:[P.SignalBased,"chipBgColor"],isActive:[P.SignalBased,"isActive"],pointer:[P.SignalBased,"pointer"]},standalone:!0,features:[ue],attrs:FT,decls:3,vars:7,template:function(i,o){i&1&&(w(0,"div"),f(1),C(),f(2,` +`)}i&2&&(We(Be(1,6,o.showAccordion)),E(3),k("ngSrc",se(4,8,"white-chevron-down",o.openSourceAccordionPath)),E(3),k("ngSrc",se(7,11,"yellow-chevron-down",o.openSourceAccordionPath)),E(7),We(Be(15,14,o.showAccordion)),E(6),pt(o.lists()))},dependencies:[vt,Ua,$a,ai,yt],styles:["[_nghost-%COMP%]{display:block;height:100%}.navigation[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%]{overflow:hidden;position:fixed;z-index:1;height:100%;top:68px;width:310px;padding-top:22px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]{width:262px;height:50px;margin:10px 24px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%]{margin-left:auto;margin-right:20px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%]{border-radius:50%;margin:9px 15px 9px 10px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover{color:var(--yellow);border-width:2px 0;border-style:solid;border-color:var(--yellow);border-radius:10px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .right-side-accordion[_ngcontent-%COMP%]{margin-left:auto;margin-right:20px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .right-side-accordion[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .right-side-accordion[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%]{transition:all 1s;transform:rotate(180deg);display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .left-side-accordion[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover .left-side-accordion[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{overflow:hidden;max-height:0;padding:0 24px;transition:all .3s ease-in-out;box-sizing:border-box}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{visibility:hidden;padding:10px 0 0 60px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]{border-width:2px 0 0 0;border-style:solid;border-bottom-left-radius:1%;border-bottom-right-radius:1%;border-color:var(--yellow)}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]:hover{border-width:2px 0 0 0}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-btn[_ngcontent-%COMP%]{color:var(--yellow)}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .right-side-accordion[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%]{border-radius:50%;margin:9px 15px 9px 10px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:none}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .left-side-accordion[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%]{display:block}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{max-height:max-content}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{height:21px;visibility:visible;padding:10px 0 0 60px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .black[_ngcontent-%COMP%]{color:var(--full-white)}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .active.accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]:last-child{border-width:0 0 2px 0;border-style:solid;border-color:var(--yellow);border-radius:0 0 10px 10px;padding:10px 0 35px 60px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .visit-btn[_ngcontent-%COMP%]{width:262px;padding:40px 24px 0;position:absolute;bottom:125px}@media screen and (max-width: 1279px){.navigation[_ngcontent-%COMP%]{display:flex;height:55px;width:100%;z-index:1;position:fixed;top:68px}.navigation[_ngcontent-%COMP%] .navigation-text[_ngcontent-%COMP%]{padding-right:20px;color:var(--full-white)}.navigation[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-left:20px}.drawer-container[_ngcontent-%COMP%]{top:122px;width:375px;display:none;overflow:auto}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%]{height:740px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%]{width:100%}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]{width:87%}.drawer-container[_ngcontent-%COMP%] .visit-btn[_ngcontent-%COMP%]{display:none}.show.navigation[_ngcontent-%COMP%] .navigation-text[_ngcontent-%COMP%]{color:var(--yellow)}.show.navigation[_ngcontent-%COMP%] .white-chevron[_ngcontent-%COMP%]{display:none}.show.navigation[_ngcontent-%COMP%] .yellow-chevron[_ngcontent-%COMP%]{display:block}.show.drawer-container[_ngcontent-%COMP%]{display:block;overflow:auto}.hide.drawer-container[_ngcontent-%COMP%]{display:none}.hide.navigation[_ngcontent-%COMP%] .navigation-text[_ngcontent-%COMP%]{color:var(--full-white)}.hide.navigation[_ngcontent-%COMP%] .white-chevron[_ngcontent-%COMP%]{display:block}.hide.navigation[_ngcontent-%COMP%] .yellow-chevron[_ngcontent-%COMP%]{display:none}.hide.navigation[_ngcontent-%COMP%]:hover .navigation-text[_ngcontent-%COMP%]{color:var(--yellow)}.hide.navigation[_ngcontent-%COMP%]:hover .white-chevron[_ngcontent-%COMP%]{display:none}.hide.navigation[_ngcontent-%COMP%]:hover .yellow-chevron[_ngcontent-%COMP%]{display:block;margin-left:20px;transform:rotate(180deg)}}@media screen and (max-width: 699px){.drawer-container[_ngcontent-%COMP%]{width:100%}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%]{height:650px;padding:0 25px}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%]{width:100%}.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{width:calc(84% - 2px)}.drawer-container[_ngcontent-%COMP%] .visit-btn[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 500px){.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{width:calc(84% - 8px)}}@media screen and (max-width: 360px){.drawer-container[_ngcontent-%COMP%] .drawer[_ngcontent-%COMP%] .accordion-block[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .accordion-box[_ngcontent-%COMP%]{width:calc(84% - 9px)}}"]});let t=e;return t})();var FT=["chip",""],qv=(()=>{let e=class e{constructor(){this.chip=ie.required(),this.chipBgColor=ie("rgba(0,0,0,0.05)"),this.isActive=ie(!1),this.pointer=ie(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-chip","chip",""]],inputs:{chip:[P.SignalBased,"chip"],chipBgColor:[P.SignalBased,"chipBgColor"],isActive:[P.SignalBased,"isActive"],pointer:[P.SignalBased,"pointer"]},standalone:!0,features:[ue],attrs:FT,decls:3,vars:7,template:function(i,o){i&1&&(w(0,"div"),f(1),C(),f(2,` `)),i&2&&(We(o.isActive()?"is-active":""),io("background",o.chipBgColor())("cursor",o.pointer()?"pointer":""),E(),Pe(` `,o.chip(),` -`))},styles:["div[_ngcontent-%COMP%]{width:max-content;padding:5px 15px;border-radius:25px}div.is-active[_ngcontent-%COMP%]{background:var(--yellow)!important}"]});let t=e;return t})();var ic=new I("DOMAIN");var Ro=(()=>{let e=class e{constructor(){this.domain=g(ic),this.http=g(Nd),this.platformId=g(Ce),this.transferState=g(no)}getData(r,i,o){if(o){let a=this.transferState.hasKey(o),c=this.transferState.get(o,i);if(a)return O(c)}let s=oi(this.platformId)?this.domain[1]:this.domain[0];return this.http.get(r.startsWith("http")?r:`${s}/${r}`).pipe(re(a=>o&&this.transferState.set(o,a)),tt(()=>(o&&this.transferState.set(o,i),O(i))))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();var oc=(()=>{let e=class e{constructor(){this.http=g(Ro),this.platformId=g(Ce)}getAllStars(){return mt(this.platformId)?O(0):this.http.getData("https://api.github.com/users/JsDaddy/repos",[],"all-stars").pipe(Oi(),ul((r,{stargazers_count:i})=>r+i,0))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();var kT=["title",""],Zv=(()=>{let e=class e{constructor(){this.title=ie.required(),this.assetPathShared="shared",this.jsdaddyGithub="https://github.com/JsDaddy/",this.countOfStarsOnGithub=No(g(oc).getAllStars())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-github-buttons","title",""]],inputs:{title:[P.SignalBased,"title"]},standalone:!0,features:[ue],attrs:kT,decls:16,vars:10,consts:[["target","_blank",1,"github-info","pointer",3,"href"],[1,"all-stars","span"],["width","16","height","16","alt","Github",3,"ngSrc"],[1,"stars-count","span"]],template:function(i,o){i&1&&(w(0,"a",0),f(1,` +`))},styles:["div[_ngcontent-%COMP%]{width:max-content;padding:5px 15px;border-radius:25px}div.is-active[_ngcontent-%COMP%]{background:var(--yellow)!important}"]});let t=e;return t})();var oc=new I("DOMAIN");var Ro=(()=>{let e=class e{constructor(){this.domain=g(oc),this.http=g(Nd),this.platformId=g(Ce),this.transferState=g(no)}getData(r,i,o){if(o){let a=this.transferState.hasKey(o),c=this.transferState.get(o,i);if(a)return O(c)}let s=oi(this.platformId)?this.domain[1]:this.domain[0];return this.http.get(r.startsWith("http")?r:`${s}/${r}`).pipe(re(a=>o&&this.transferState.set(o,a)),tt(()=>(o&&this.transferState.set(o,i),O(i))))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();var sc=(()=>{let e=class e{constructor(){this.http=g(Ro),this.platformId=g(Ce)}getAllStars(){return mt(this.platformId)?O(0):this.http.getData("https://api.github.com/users/JsDaddy/repos",[],"all-stars").pipe(Oi(),ul((r,{stargazers_count:i})=>r+i,0))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();var kT=["title",""],Zv=(()=>{let e=class e{constructor(){this.title=ie.required(),this.assetPathShared="shared",this.jsdaddyGithub="https://github.com/JsDaddy/",this.countOfStarsOnGithub=No(g(sc).getAllStars())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-github-buttons","title",""]],inputs:{title:[P.SignalBased,"title"]},standalone:!0,features:[ue],attrs:kT,decls:16,vars:10,consts:[["target","_blank",1,"github-info","pointer",3,"href"],[1,"all-stars","span"],["width","16","height","16","alt","Github",3,"ngSrc"],[1,"stars-count","span"]],template:function(i,o){i&1&&(w(0,"a",0),f(1,` `),w(2,"div",1),f(3,` `),U(4,"img",2),W(5,"asset"),f(6,` `),w(7,"span"),W(8,"anchorLabel"),f(9),C(),f(10,` @@ -108,11 +108,11 @@ ${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` `),C(),f(12,` `),w(13,"span",5),f(14),C(),f(15,` `),w(16,"div",6),f(17,` - `),ht(18,LT,3,1,null,null,Ea),C(),f(20,` + `),ht(18,LT,3,1,null,null,Ma),C(),f(20,` `),C(),f(21,` `)),i&2&&(E(5),ao(o.title()),E(9),Pe(` `,o.subtitle(),` - `),E(4),pt(o.chips()))},dependencies:[qv,Zv],styles:[".sub-header[_ngcontent-%COMP%]{padding:20px 20px 20px 30px}.sub-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .sub-header[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{padding-bottom:10px}.sub-header[_ngcontent-%COMP%] .chips[_ngcontent-%COMP%]{flex-wrap:wrap;gap:10px}.sub-header[_ngcontent-%COMP%] .chips[_ngcontent-%COMP%]:first-child{padding:0 5px 0 0}@media screen and (max-width: 699px){.sub-header[_ngcontent-%COMP%]{padding:35px 20px 20px}.sub-header[_ngcontent-%COMP%] .git-text[_ngcontent-%COMP%]{display:block}.sub-header[_ngcontent-%COMP%] .git-text[_ngcontent-%COMP%] .title-btn[_ngcontent-%COMP%]{position:relative;top:-35px;right:19px}.sub-header[_ngcontent-%COMP%] .sub-text[_ngcontent-%COMP%]{position:relative;top:30px}}"]});let t=e;return t})();var sc=new I("VersionToken");var Qv=(()=>{let e=class e{constructor(){this.copyrightText=`\xA9 JSdaddy, 2016-${new Date().getFullYear()}, All Rights Reserved`,this.versionValue=g(sc,{optional:!0}),this.version=`v${this.versionValue||"*.*.*"}`}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-footer"]],standalone:!0,features:[ue],decls:6,vars:2,consts:[[1,"all-rights","row","jc-c","ai-end"]],template:function(i,o){i&1&&(w(0,"div",0),f(1,` + `),E(4),pt(o.chips()))},dependencies:[qv,Zv],styles:[".sub-header[_ngcontent-%COMP%]{padding:20px 20px 20px 30px}.sub-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .sub-header[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{padding-bottom:10px}.sub-header[_ngcontent-%COMP%] .chips[_ngcontent-%COMP%]{flex-wrap:wrap;gap:10px}.sub-header[_ngcontent-%COMP%] .chips[_ngcontent-%COMP%]:first-child{padding:0 5px 0 0}@media screen and (max-width: 699px){.sub-header[_ngcontent-%COMP%]{padding:35px 20px 20px}.sub-header[_ngcontent-%COMP%] .git-text[_ngcontent-%COMP%]{display:block}.sub-header[_ngcontent-%COMP%] .git-text[_ngcontent-%COMP%] .title-btn[_ngcontent-%COMP%]{position:relative;top:-35px;right:19px}.sub-header[_ngcontent-%COMP%] .sub-text[_ngcontent-%COMP%]{position:relative;top:30px}}"]});let t=e;return t})();var ac=new I("VersionToken");var Qv=(()=>{let e=class e{constructor(){this.copyrightText=`\xA9 JSdaddy, 2016-${new Date().getFullYear()}, All Rights Reserved`,this.versionValue=g(ac,{optional:!0}),this.version=`v${this.versionValue||"*.*.*"}`}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-footer"]],standalone:!0,features:[ue],decls:6,vars:2,consts:[[1,"all-rights","row","jc-c","ai-end"]],template:function(i,o){i&1&&(w(0,"div",0),f(1,` `),w(2,"span"),f(3),C(),f(4,` `),C(),f(5,` `)),i&2&&(E(3),_d(" ",o.copyrightText," ",o.version," "))},styles:[".all-rights[_ngcontent-%COMP%]{height:calc(100dvh - 600px)}.all-rights[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-bottom:40px;color:#64748b}@media screen and (max-width: 1279px){.all-rights[_ngcontent-%COMP%]{height:calc(100dvh - 65vh)}}@media screen and (max-width: 699px){.all-rights[_ngcontent-%COMP%]{height:150px}}"]});let t=e;return t})();var Kv=[{header:"Configuration",id:1,defaultSvg:"options",activeSvg:"options-active",whiteChevron:"white-chevron-down",yellowChevron:"yellow-chevron-down",text:[{content:"Authentication process",id:1,scrollTo:"authentication"},{content:"Loader",id:2,scrollTo:"loader"}]}];var Xv=[{header:"Authentication process with default configuration",code:`
@@ -139,14 +139,14 @@ providers: [ }, }, ], -}) `,id:2,anchor:"loader",cardType:!1}];var Fo=new I("HIGHLIGHT_OPTIONS"),xf;function jT(){if(!xf)try{xf=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return xf}function VT(t){return jT()?.createHTML(t)||t}var BT=(()=>{let e=class e{constructor(r,i,o){this.doc=r,this.platformId=i,this._options=o,this._ready=new De(null),this.ready=this._ready.asObservable().pipe(be(s=>!!s),$e(1)),oi(i)&&(r.defaultView.hljs?this._ready.next(r.defaultView.hljs):(this._loadLibrary().pipe(Ne(s=>this._options&&this._options.lineNumbersLoader?(r.defaultView.hljs=s,this.loadLineNumbers().pipe(re(a=>{a.activateLineNumbers(),this._ready.next(s)}))):(this._ready.next(s),xe)),tt(s=>(console.error("[HLJS] ",s),xe))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return ct(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return ct(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return ct(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return ct(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe(Ne(r=>this._loadLanguages(r)))}return ct(()=>"Highlight.js library was not imported!")}_loadLanguages(r){let i=Object.entries(this._options.languages).map(([o,s])=>Af(s()).pipe(re(a=>r.registerLanguage(o,a))));return ll(...i).pipe(T(()=>r))}loadCoreLibrary(){return Af(this._options.coreLibraryLoader())}loadFullLibrary(){return Af(this._options.fullLibraryLoader())}loadLineNumbers(){return ce(this._options.lineNumbersLoader())}setTheme(r){oi(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=r:this.loadTheme(r))}loadTheme(r){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=r,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}};e.\u0275fac=function(i){return new(i||e)(x(de),x(Ce),x(Fo,8))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Af=t=>ce(t).pipe(be(e=>!!e?.default),T(e=>e.default)),UT=(()=>{let e=class e{get hljs(){return this._hljs}constructor(r,i){this._loader=r,this._hljs=null,r.ready.subscribe(o=>{this._hljs=o,i&&i.config&&(o.configure(i.config),o.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(r,{language:i,ignoreIllegals:o}){return this._loader.ready.pipe(T(s=>s.highlight(r,{language:i,ignoreIllegals:o})))}highlightAuto(r,i){return this._loader.ready.pipe(T(o=>o.highlightAuto(r,i)))}highlightElement(r){return this._loader.ready.pipe(T(i=>i.highlightElement(r)))}highlightAll(){return this._loader.ready.pipe(T(r=>r.highlightAll()))}configure(r){return this._loader.ready.pipe(T(i=>i.configure(r)))}registerLanguage(r,i){return this._loader.ready.pipe(re(o=>o.registerLanguage(r,i)))}unregisterLanguage(r){return this._loader.ready.pipe(re(i=>i.unregisterLanguage(r)))}registerAliases(r,{languageName:i}){return this._loader.ready.pipe(re(o=>o.registerAliases(r,{languageName:i})))}listLanguages(){return this._loader.ready.pipe(T(r=>r.listLanguages()))}getLanguage(r){return this._loader.ready.pipe(T(i=>i.getLanguage(r)))}safeMode(){return this._loader.ready.pipe(T(r=>r.safeMode()))}debugMode(){return this._loader.ready.pipe(T(r=>r.debugMode()))}lineNumbersBlock(r){return this._loader.ready.pipe(be(i=>!!i.lineNumbersBlock),re(i=>i.lineNumbersBlock(r)))}};e.\u0275fac=function(i){return new(i||e)(x(BT),x(Fo,8))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Jv=(()=>{let e=class e{constructor(r,i,o,s,a){this._hljs=i,this._sanitizer=o,this.platformId=s,this._options=a,this.highlighted=new me,this._nativeElement=r.nativeElement}ngOnChanges(r){oi(this.platformId)&&r?.code?.currentValue!==null&&r.code.currentValue!==r.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(r,i){this.setTextContent(r),this._hljs.highlightAuto(r,i).subscribe(o=>{this.setInnerHTML(o?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(o)})}addLineNumbers(){this.destroyLineNumbersObserver(),Pi.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&this._nativeElement.firstElementChild.tagName.toUpperCase()==="TABLE"&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(r){Pi.schedule(()=>this._nativeElement.textContent=r)}setInnerHTML(r){Pi.schedule(()=>this._nativeElement.innerHTML=VT(this._sanitizer.sanitize(Ot.HTML,r)||""))}};e.\u0275fac=function(i){return new(i||e)(ee(he),ee(UT),ee(Ud),ee(Ce),ee(Fo,8))},e.\u0275dir=_e({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(i,o){i&2&&Gt("hljs",!0)},inputs:{code:[P.None,"highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[At]});let t=e;return t})(),ew=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=Ht({});let t=e;return t})();var ac=new I("config"),Pf=new I("NEW_CONFIG"),Of=new I("INITIAL_CONFIG"),tw={img:"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibGRzLXNwaW5uZXIiIHdpZHRoPSIzOXB4IiAgaGVpZ2h0PSIzOXB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIiBzdHlsZT0iYmFja2dyb3VuZDogbm9uZTsiPjxnIHRyYW5zZm9ybT0icm90YXRlKDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjkxNjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuODMzMzMzMzMzMzMzMzMzNHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDYwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC43NXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC42NjY2NjY2NjY2NjY2NjY2cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41ODMzMzMzMzMzMzMzMzM0cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTUwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC40MTY2NjY2NjY2NjY2NjY3cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjEwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4zMzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjQwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4yNXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDI3MCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuMTY2NjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjA4MzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMzMwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSIwcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PC9zdmc+",loaderStyles:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",background:"rgba(255, 255, 255, 0.8)","z-index":"50",display:"flex","justify-content":"center","align-items":"center"},imgStyles:{width:"30px"},hostStyles:{position:"relative"},rotate:{iterations:1/0}};var cc=(()=>{let e=class e{constructor(){this._config=g(ac),this._el=g(he),this._renderer=g(ln),this.jsdaddyLoader=ie(!1),Tn(()=>{this.processValue(this.jsdaddyLoader())})}processValue(r){if(!r){this.loaderEl&&this._setStyles(this.loaderEl,{display:"none"});return}let{rotate:i,hostStyles:o,loaderStyles:s,imgStyles:a,img:c}=this._config;this.loaderEl=this._renderer.createElement("div");let l=this._renderer.createElement("img");l.animate([{transform:"rotate(360deg)"},{transform:"rotate(0deg)"}],i),this._renderer.appendChild(this._el.nativeElement,this.loaderEl),this._renderer.appendChild(this.loaderEl,l),this._setStyles(this._el.nativeElement,o),this._setStyles(this.loaderEl,s),this._setStyles(l,a),c&&this._renderer.setAttribute(l,"src",c)}_setStyles(r,i){i&&Object.keys(i).forEach(o=>{this._renderer.setStyle(r,o,i[o])})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["","jsdaddyLoader",""]],inputs:{jsdaddyLoader:[P.SignalBased,"jsdaddyLoader"]},standalone:!0});let t=e;return t})();function HT(t,e){let n=e?e.loaderStyles:null,r=e?e.imgStyles:null,i=e?e.rotate:null;return J(D(D({},t),e),{loaderStyles:D(D({},t.loaderStyles),n),imgStyles:D(D({},t.imgStyles),r),rotate:D(D({},t.rotate),i)})}function Nf(t){return[{provide:Pf,useValue:t},{provide:Of,useValue:tw},{provide:ac,useFactory:HT,deps:[Of,Pf]}]}function nw(t){return tn(Nf(t))}var Rf=(()=>{let e=class e{constructor(){this.activeCardId$$=new De(1),this.router=g(vi),this.minusTopHeight=300,this.minusTopMobileHeight=150,this.document=g(de),this.platformId=g(Ce),this.destroyRef=g(Xe),this.activeCard$=this.activeCardId$$.asObservable()}onScroll(r){Gn(document,"scroll").pipe(dl(100),Rn(this.destroyRef)).subscribe(()=>{let i=r.find(o=>this.isInViewport(o.nativeElement))?.nativeElement.id;this.activeCardId$$.value!==Number(i)&&i!==void 0&&(this.activeCardId$$.next(Number(i)),this.router.navigate(["/"],{fragment:i}))})}isInViewport(r){if(mt(this.platformId))return!1;let i=this.document.body.offsetHeight,o=r.offsetTop-this.minusTopHeight,s=o+r.offsetHeight,a=this.document.documentElement.scrollTop,c=a+this.document.documentElement.clientHeight;return i<450&&(o=r.offsetTop-this.minusTopMobileHeight),s>a&&o{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-loader-indicator-custom-loader"]],standalone:!0,features:[Fe([Nf({img:"assets/images/shared/rotate-logo.svg",loaderStyles:{background:"",position:"relative",bottom:"60px","z-index":"0"},imgStyles:{width:"100px"},rotate:{duration:5e3}})]),ue],decls:3,vars:1,consts:[[1,"full-white","span",3,"jsdaddyLoader"]],template:function(i,o){i&1&&(w(0,"div",0),f(1,` +}) `,id:2,anchor:"loader",cardType:!1}];var Fo=new I("HIGHLIGHT_OPTIONS"),xf;function jT(){if(!xf)try{xf=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return xf}function VT(t){return jT()?.createHTML(t)||t}var BT=(()=>{let e=class e{constructor(r,i,o){this.doc=r,this.platformId=i,this._options=o,this._ready=new De(null),this.ready=this._ready.asObservable().pipe(be(s=>!!s),$e(1)),oi(i)&&(r.defaultView.hljs?this._ready.next(r.defaultView.hljs):(this._loadLibrary().pipe(Ne(s=>this._options&&this._options.lineNumbersLoader?(r.defaultView.hljs=s,this.loadLineNumbers().pipe(re(a=>{a.activateLineNumbers(),this._ready.next(s)}))):(this._ready.next(s),xe)),tt(s=>(console.error("[HLJS] ",s),xe))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return ct(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return ct(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return ct(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return ct(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe(Ne(r=>this._loadLanguages(r)))}return ct(()=>"Highlight.js library was not imported!")}_loadLanguages(r){let i=Object.entries(this._options.languages).map(([o,s])=>Af(s()).pipe(re(a=>r.registerLanguage(o,a))));return ll(...i).pipe(T(()=>r))}loadCoreLibrary(){return Af(this._options.coreLibraryLoader())}loadFullLibrary(){return Af(this._options.fullLibraryLoader())}loadLineNumbers(){return ce(this._options.lineNumbersLoader())}setTheme(r){oi(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=r:this.loadTheme(r))}loadTheme(r){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=r,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}};e.\u0275fac=function(i){return new(i||e)(x(de),x(Ce),x(Fo,8))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Af=t=>ce(t).pipe(be(e=>!!e?.default),T(e=>e.default)),UT=(()=>{let e=class e{get hljs(){return this._hljs}constructor(r,i){this._loader=r,this._hljs=null,r.ready.subscribe(o=>{this._hljs=o,i&&i.config&&(o.configure(i.config),o.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(r,{language:i,ignoreIllegals:o}){return this._loader.ready.pipe(T(s=>s.highlight(r,{language:i,ignoreIllegals:o})))}highlightAuto(r,i){return this._loader.ready.pipe(T(o=>o.highlightAuto(r,i)))}highlightElement(r){return this._loader.ready.pipe(T(i=>i.highlightElement(r)))}highlightAll(){return this._loader.ready.pipe(T(r=>r.highlightAll()))}configure(r){return this._loader.ready.pipe(T(i=>i.configure(r)))}registerLanguage(r,i){return this._loader.ready.pipe(re(o=>o.registerLanguage(r,i)))}unregisterLanguage(r){return this._loader.ready.pipe(re(i=>i.unregisterLanguage(r)))}registerAliases(r,{languageName:i}){return this._loader.ready.pipe(re(o=>o.registerAliases(r,{languageName:i})))}listLanguages(){return this._loader.ready.pipe(T(r=>r.listLanguages()))}getLanguage(r){return this._loader.ready.pipe(T(i=>i.getLanguage(r)))}safeMode(){return this._loader.ready.pipe(T(r=>r.safeMode()))}debugMode(){return this._loader.ready.pipe(T(r=>r.debugMode()))}lineNumbersBlock(r){return this._loader.ready.pipe(be(i=>!!i.lineNumbersBlock),re(i=>i.lineNumbersBlock(r)))}};e.\u0275fac=function(i){return new(i||e)(x(BT),x(Fo,8))},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Jv=(()=>{let e=class e{constructor(r,i,o,s,a){this._hljs=i,this._sanitizer=o,this.platformId=s,this._options=a,this.highlighted=new me,this._nativeElement=r.nativeElement}ngOnChanges(r){oi(this.platformId)&&r?.code?.currentValue!==null&&r.code.currentValue!==r.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(r,i){this.setTextContent(r),this._hljs.highlightAuto(r,i).subscribe(o=>{this.setInnerHTML(o?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(o)})}addLineNumbers(){this.destroyLineNumbersObserver(),Pi.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&this._nativeElement.firstElementChild.tagName.toUpperCase()==="TABLE"&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(r){Pi.schedule(()=>this._nativeElement.textContent=r)}setInnerHTML(r){Pi.schedule(()=>this._nativeElement.innerHTML=VT(this._sanitizer.sanitize(Ot.HTML,r)||""))}};e.\u0275fac=function(i){return new(i||e)(ee(he),ee(UT),ee(Ud),ee(Ce),ee(Fo,8))},e.\u0275dir=_e({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(i,o){i&2&&Gt("hljs",!0)},inputs:{code:[P.None,"highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[At]});let t=e;return t})(),ew=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=Ht({});let t=e;return t})();var cc=new I("config"),Pf=new I("NEW_CONFIG"),Of=new I("INITIAL_CONFIG"),tw={img:"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibGRzLXNwaW5uZXIiIHdpZHRoPSIzOXB4IiAgaGVpZ2h0PSIzOXB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIiBzdHlsZT0iYmFja2dyb3VuZDogbm9uZTsiPjxnIHRyYW5zZm9ybT0icm90YXRlKDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjkxNjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuODMzMzMzMzMzMzMzMzMzNHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDYwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC43NXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC42NjY2NjY2NjY2NjY2NjY2cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41ODMzMzMzMzMzMzMzMzM0cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTUwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC40MTY2NjY2NjY2NjY2NjY3cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjEwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4zMzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjQwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4yNXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDI3MCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuMTY2NjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjA4MzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMzMwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSIwcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PC9zdmc+",loaderStyles:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",background:"rgba(255, 255, 255, 0.8)","z-index":"50",display:"flex","justify-content":"center","align-items":"center"},imgStyles:{width:"30px"},hostStyles:{position:"relative"},rotate:{iterations:1/0}};var lc=(()=>{let e=class e{constructor(){this._config=g(cc),this._el=g(he),this._renderer=g(ln),this.jsdaddyLoader=ie(!1),Tn(()=>{this.processValue(this.jsdaddyLoader())})}processValue(r){if(!r){this.loaderEl&&this._setStyles(this.loaderEl,{display:"none"});return}let{rotate:i,hostStyles:o,loaderStyles:s,imgStyles:a,img:c}=this._config;this.loaderEl=this._renderer.createElement("div");let l=this._renderer.createElement("img");l.animate([{transform:"rotate(360deg)"},{transform:"rotate(0deg)"}],i),this._renderer.appendChild(this._el.nativeElement,this.loaderEl),this._renderer.appendChild(this.loaderEl,l),this._setStyles(this._el.nativeElement,o),this._setStyles(this.loaderEl,s),this._setStyles(l,a),c&&this._renderer.setAttribute(l,"src",c)}_setStyles(r,i){i&&Object.keys(i).forEach(o=>{this._renderer.setStyle(r,o,i[o])})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["","jsdaddyLoader",""]],inputs:{jsdaddyLoader:[P.SignalBased,"jsdaddyLoader"]},standalone:!0});let t=e;return t})();function HT(t,e){let n=e?e.loaderStyles:null,r=e?e.imgStyles:null,i=e?e.rotate:null;return J(D(D({},t),e),{loaderStyles:D(D({},t.loaderStyles),n),imgStyles:D(D({},t.imgStyles),r),rotate:D(D({},t.rotate),i)})}function Nf(t){return[{provide:Pf,useValue:t},{provide:Of,useValue:tw},{provide:cc,useFactory:HT,deps:[Of,Pf]}]}function nw(t){return tn(Nf(t))}var Rf=(()=>{let e=class e{constructor(){this.activeCardId$$=new De(1),this.router=g(vi),this.minusTopHeight=300,this.minusTopMobileHeight=150,this.document=g(de),this.platformId=g(Ce),this.destroyRef=g(Xe),this.activeCard$=this.activeCardId$$.asObservable()}onScroll(r){Gn(document,"scroll").pipe(dl(100),Rn(this.destroyRef)).subscribe(()=>{let i=r.find(o=>this.isInViewport(o.nativeElement))?.nativeElement.id;this.activeCardId$$.value!==Number(i)&&i!==void 0&&(this.activeCardId$$.next(Number(i)),this.router.navigate(["/"],{fragment:i}))})}isInViewport(r){if(mt(this.platformId))return!1;let i=this.document.body.offsetHeight,o=r.offsetTop-this.minusTopHeight,s=o+r.offsetHeight,a=this.document.documentElement.scrollTop,c=a+this.document.documentElement.clientHeight;return i<450&&(o=r.offsetTop-this.minusTopMobileHeight),s>a&&o{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-loader-indicator-custom-loader"]],standalone:!0,features:[Fe([Nf({img:"assets/images/shared/rotate-logo.svg",loaderStyles:{background:"",position:"relative",bottom:"60px","z-index":"0"},imgStyles:{width:"100px"},rotate:{duration:5e3}})]),ue],decls:3,vars:1,consts:[[1,"full-white","span",3,"jsdaddyLoader"]],template:function(i,o){i&1&&(w(0,"div",0),f(1,` Lorem ipsum dolor sit amet consectetur adipisicing elit. In, vero impedit neque deleniti doloribus sed at est placeat exercitationem. Soluta qui doloribus deleniti velit? Asperiores adipisci impedit ad maxime tempore. Lorem ipsum dolor sit amet consectetur adipisicing elit. In, vero impedit neque deleniti doloribus sed at est placeat exercitationem. Soluta qui doloribus deleniti velit? Asperiores adipisci impedit ad maxime tempore. `),C(),f(2,` -`)),i&2&&k("jsdaddyLoader",!0)},dependencies:[cc]});let t=e;return t})();var uw=(()=>{let e=class e{constructor(r,i){this._renderer=r,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(r,i){this._renderer.setProperty(this._elementRef.nativeElement,r,i)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};e.\u0275fac=function(i){return new(i||e)(ee(ln),ee(he))},e.\u0275dir=_e({type:e});let t=e;return t})(),zT=(()=>{let e=class e extends uw{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=to(e)))(o||e)}})(),e.\u0275dir=_e({type:e,features:[un]});let t=e;return t})(),jo=new I("");var GT={provide:jo,useExisting:sr(()=>vc),multi:!0};function WT(){let t=dn()?dn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var qT=new I(""),vc=(()=>{let e=class e extends uw{constructor(r,i,o){super(r,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!WT())}writeValue(r){let i=r??"";this.setProperty("value",i)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};e.\u0275fac=function(i){return new(i||e)(ee(ln),ee(he),ee(qT,8))},e.\u0275dir=_e({type:e,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(i,o){i&1&&Ae("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Fe([GT]),un]});let t=e;return t})();function Fn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function dw(t){return t!=null&&typeof t.length=="number"}var Vf=new I(""),Bf=new I(""),ZT=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ci=class{static min(e){return YT(e)}static max(e){return QT(e)}static required(e){return KT(e)}static requiredTrue(e){return XT(e)}static email(e){return JT(e)}static minLength(e){return ex(e)}static maxLength(e){return tx(e)}static pattern(e){return nx(e)}static nullValidator(e){return fw(e)}static compose(e){return vw(e)}static composeAsync(e){return Cw(e)}};function YT(t){return e=>{if(Fn(e.value)||Fn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(Fn(e.value)||Fn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function KT(t){return Fn(t.value)?{required:!0}:null}function XT(t){return t.value===!0?null:{required:!0}}function JT(t){return Fn(t.value)||ZT.test(t.value)?null:{email:!0}}function ex(t){return e=>Fn(e.value)||!dw(e.value)?null:e.value.lengthdw(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function nx(t){if(!t)return fw;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Fn(r.value))return null;let i=r.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function fw(t){return null}function hw(t){return t!=null}function pw(t){return dr(t)?ce(t):t}function gw(t){let e={};return t.forEach(n=>{e=n!=null?D(D({},e),n):e}),Object.keys(e).length===0?null:e}function mw(t,e){return e.map(n=>n(t))}function rx(t){return!t.validate}function yw(t){return t.map(e=>rx(e)?e:n=>e.validate(n))}function vw(t){if(!t)return null;let e=t.filter(hw);return e.length==0?null:function(n){return gw(mw(n,e))}}function ww(t){return t!=null?vw(yw(t)):null}function Cw(t){if(!t)return null;let e=t.filter(hw);return e.length==0?null:function(n){let r=mw(n,e).map(pw);return cl(r).pipe(T(gw))}}function Dw(t){return t!=null?Cw(yw(t)):null}function iw(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function bw(t){return t._rawValidators}function _w(t){return t._rawAsyncValidators}function Ff(t){return t?Array.isArray(t)?t:[t]:[]}function dc(t,e){return Array.isArray(t)?t.includes(e):t===e}function ow(t,e){let n=Ff(e);return Ff(t).forEach(i=>{dc(n,i)||n.push(i)}),n}function sw(t,e){return Ff(e).filter(n=>!dc(t,n))}var fc=class{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=ww(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Dw(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=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Di=class extends fc{get formDirective(){return null}get path(){return null}},Cr=class extends fc{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},hc=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},ix={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},bB=J(D({},ix),{"[class.ng-submitted]":"isSubmitted"}),wc=(()=>{let e=class e extends hc{constructor(r){super(r)}};e.\u0275fac=function(i){return new(i||e)(ee(Cr,2))},e.\u0275dir=_e({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Gt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[un]});let t=e;return t})(),Ew=(()=>{let e=class e extends hc{constructor(r){super(r)}};e.\u0275fac=function(i){return new(i||e)(ee(Di,10))},e.\u0275dir=_e({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Gt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[un]});let t=e;return t})();var ko="VALID",lc="INVALID",wi="PENDING",Lo="DISABLED";function Uf(t){return(Cc(t)?t.validators:t)||null}function ox(t){return Array.isArray(t)?ww(t):t||null}function $f(t,e){return(Cc(e)?e.asyncValidators:t)||null}function sx(t){return Array.isArray(t)?Dw(t):t||null}function Cc(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Mw(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new y(1e3,"");if(!r[n])throw new y(1001,"")}function Iw(t,e,n){t._forEachChild((r,i)=>{if(n[i]===void 0)throw new y(1002,"")})}var bi=class{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._assignValidators(e),this._assignAsyncValidators(n)}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===ko}get invalid(){return this.status===lc}get pending(){return this.status==wi}get disabled(){return this.status===Lo}get enabled(){return this.status!==Lo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ow(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ow(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(sw(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(sw(e,this._rawAsyncValidators))}hasValidator(e){return dc(this._rawValidators,e)}hasAsyncValidator(e){return dc(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=wi,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=Lo,this.errors=null,this._forEachChild(r=>{r.disable(J(D({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(J(D({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=ko,this._forEachChild(r=>{r.enable(J(D({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(J(D({},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===ko||this.status===wi)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(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()?Lo:ko}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=wi,this._hasOwnPendingAsyncValidator=!0;let n=pw(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(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(e,n){let 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 me,this.statusChanges=new me}_calculateStatus(){return this._allControlsDisabled()?Lo:this.errors?lc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wi)?wi:this._anyControlsHaveStatus(lc)?lc:ko}_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){Cc(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=ox(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=sx(this._rawAsyncValidators)}},pc=class extends bi{constructor(e,n,r){super(Uf(n),$f(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={}){Iw(this,!0,e),Object.keys(e).forEach(r=>{Mw(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let 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?e[i]:null,{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()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let 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(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(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(let 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}};var kf=class extends pc{};var Hf=new I("CallSetDisabledState",{providedIn:"root",factory:()=>zf}),zf="always";function ax(t,e){return[...e.path,t]}function Lf(t,e,n=zf){Gf(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),lx(t,e),dx(t,e),ux(t,e),cx(t,e)}function gc(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),yc(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function mc(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function cx(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Gf(t,e){let n=bw(t);e.validator!==null?t.setValidators(iw(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=_w(t);e.asyncValidator!==null?t.setAsyncValidators(iw(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();mc(e._rawValidators,i),mc(e._rawAsyncValidators,i)}function yc(t,e){let n=!1;if(t!==null){if(e.validator!==null){let i=bw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=_w(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(n=!0,t.setAsyncValidators(o))}}}let r=()=>{};return mc(e._rawValidators,r),mc(e._rawAsyncValidators,r),n}function lx(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Sw(t,e)})}function ux(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Sw(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Sw(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function dx(t,e){let n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function fx(t,e){t==null,Gf(t,e)}function hx(t,e){return yc(t,e)}function Tw(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function px(t){return Object.getPrototypeOf(t.constructor)===zT}function gx(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function xw(t,e){if(!e)return null;Array.isArray(e);let n,r,i;return e.forEach(o=>{o.constructor===vc?n=o:px(o)?r=o:i=o}),i||r||n||null}function mx(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function aw(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function cw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var uc=class extends bi{constructor(e=null,n,r){super(Uf(n),$f(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}),Cc(n)&&(n.nonNullable||n.initialValueIsDefault)&&(cw(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),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){aw(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){aw(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){cw(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}};var yx=t=>t instanceof uc;var Aw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var Wf=new I(""),vx={provide:Cr,useExisting:sr(()=>qf)},qf=(()=>{let e=class e extends Cr{set isDisabled(r){}constructor(r,i,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new me,this._ngModelWarningSent=!1,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=xw(this,o)}ngOnChanges(r){if(this._isControlChanged(r)){let i=r.form.previousValue;i&&gc(i,this,!1),Lf(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Tw(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&gc(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return r.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(ee(Vf,10),ee(Bf,10),ee(jo,10),ee(Wf,8),ee(Hf,8))},e.\u0275dir=_e({type:e,selectors:[["","formControl",""]],inputs:{form:[P.None,"formControl","form"],isDisabled:[P.None,"disabled","isDisabled"],model:[P.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Fe([vx]),un,At]});let t=e;return t})(),wx={provide:Di,useExisting:sr(()=>Zf)},Zf=(()=>{let e=class e extends Di{constructor(r,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new me,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(yc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){let i=this.form.get(r.path);return Lf(i,r,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),i}getControl(r){return this.form.get(r.path)}removeControl(r){gc(r.control||null,r,!1),mx(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,i){this.form.get(r.path).setValue(i)}onSubmit(r){return this.submitted=!0,gx(this.form,this.directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_updateDomValue(){this.directives.forEach(r=>{let i=r.control,o=this.form.get(r.path);i!==o&&(gc(i||null,r),yx(o)&&(Lf(o,r,this.callSetDisabledState),r.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let i=this.form.get(r.path);fx(i,r),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){let i=this.form.get(r.path);i&&hx(i,r)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Gf(this.form,this),this._oldForm&&yc(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(ee(Vf,10),ee(Bf,10),ee(Hf,8))},e.\u0275dir=_e({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&Ae("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[P.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fe([wx]),un,At]});let t=e;return t})();var Cx={provide:Cr,useExisting:sr(()=>Yf)},Yf=(()=>{let e=class e extends Cr{set isDisabled(r){}constructor(r,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new me,this._ngModelWarningSent=!1,this._parent=r,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=xw(this,s)}ngOnChanges(r){this._added||this._setUpControl(),Tw(r,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}get path(){return ax(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(ee(Di,13),ee(Vf,10),ee(Bf,10),ee(jo,10),ee(Wf,8))},e.\u0275dir=_e({type:e,selectors:[["","formControlName",""]],inputs:{name:[P.None,"formControlName","name"],isDisabled:[P.None,"disabled","isDisabled"],model:[P.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Fe([Cx]),un,At]});let t=e;return t})();var Dx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=Ht({});let t=e;return t})(),jf=class extends bi{constructor(e,n,r){super(Uf(n),$f(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),n&&(this.controls.splice(i,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){Iw(this,!1,e),e.forEach((r,i)=>{Mw(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(e.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(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.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((n,r)=>r._syncPendingControls()?!0:n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function lw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var Dc=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let r=new e;return r.useNonNullable=!0,r}group(r,i=null){let o=this._reduceControls(r),s={};return lw(i)?s=i:i!==null&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new pc(o,s)}record(r,i=null){let o=this._reduceControls(r);return new kf(o,i)}control(r,i,o){let s={};return this.useNonNullable?(lw(i)?s=i:(s.validators=i,s.asyncValidators=o),new uc(r,J(D({},s),{nonNullable:!0}))):new uc(r,i,o)}array(r,i,o){let s=r.map(a=>this._createControl(a));return new jf(s,i,o)}_reduceControls(r){let i={};return Object.keys(r).forEach(o=>{i[o]=this._createControl(r[o])}),i}_createControl(r){if(r instanceof uc)return r;if(r instanceof bi)return r;if(Array.isArray(r)){let i=r[0],o=r.length>1?r[1]:null,s=r.length>2?r[2]:null;return this.control(i,o,s)}else return this.control(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var bc=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:Wf,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:Hf,useValue:r.callSetDisabledState??zf}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=Ht({imports:[Dx]});let t=e;return t})();var Ow=(()=>{let e=class e{transform(r,i){if(!r)return"";if(r.dirty||r.touched){let o=r.errors;if(i&&o)return"not-valid";if(i&&!o&&(r.dirty||r.touched))return"valid";if(o?.required)return"Required";if(o?.email)return"Wrong E-mail";if(o?.minlength)return"Wrong length"}return""}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"input",type:e,pure:!1,standalone:!0});let t=e;return t})();var Nw=(()=>{let e=class e{constructor(){this.jsdaddyAutofocus=ie(),this.elRef=g(he),Tn(()=>{this.jsdaddyAutofocus()&&this.elRef.nativeElement.focus()})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["","jsdaddyAutofocus",""]],inputs:{jsdaddyAutofocus:[P.SignalBased,"jsdaddyAutofocus"]},standalone:!0});let t=e;return t})();var bx=["placeholder",""];function _x(t,e){if(t&1){let n=ur();f(0,` +`)),i&2&&k("jsdaddyLoader",!0)},dependencies:[lc]});let t=e;return t})();var uw=(()=>{let e=class e{constructor(r,i){this._renderer=r,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(r,i){this._renderer.setProperty(this._elementRef.nativeElement,r,i)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};e.\u0275fac=function(i){return new(i||e)(ee(ln),ee(he))},e.\u0275dir=_e({type:e});let t=e;return t})(),zT=(()=>{let e=class e extends uw{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=to(e)))(o||e)}})(),e.\u0275dir=_e({type:e,features:[un]});let t=e;return t})(),jo=new I("");var GT={provide:jo,useExisting:sr(()=>wc),multi:!0};function WT(){let t=dn()?dn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var qT=new I(""),wc=(()=>{let e=class e extends uw{constructor(r,i,o){super(r,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!WT())}writeValue(r){let i=r??"";this.setProperty("value",i)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};e.\u0275fac=function(i){return new(i||e)(ee(ln),ee(he),ee(qT,8))},e.\u0275dir=_e({type:e,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(i,o){i&1&&Ae("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Fe([GT]),un]});let t=e;return t})();function Fn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function dw(t){return t!=null&&typeof t.length=="number"}var Vf=new I(""),Bf=new I(""),ZT=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ci=class{static min(e){return YT(e)}static max(e){return QT(e)}static required(e){return KT(e)}static requiredTrue(e){return XT(e)}static email(e){return JT(e)}static minLength(e){return ex(e)}static maxLength(e){return tx(e)}static pattern(e){return nx(e)}static nullValidator(e){return fw(e)}static compose(e){return vw(e)}static composeAsync(e){return Cw(e)}};function YT(t){return e=>{if(Fn(e.value)||Fn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(Fn(e.value)||Fn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function KT(t){return Fn(t.value)?{required:!0}:null}function XT(t){return t.value===!0?null:{required:!0}}function JT(t){return Fn(t.value)||ZT.test(t.value)?null:{email:!0}}function ex(t){return e=>Fn(e.value)||!dw(e.value)?null:e.value.lengthdw(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function nx(t){if(!t)return fw;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Fn(r.value))return null;let i=r.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function fw(t){return null}function hw(t){return t!=null}function pw(t){return dr(t)?ce(t):t}function gw(t){let e={};return t.forEach(n=>{e=n!=null?D(D({},e),n):e}),Object.keys(e).length===0?null:e}function mw(t,e){return e.map(n=>n(t))}function rx(t){return!t.validate}function yw(t){return t.map(e=>rx(e)?e:n=>e.validate(n))}function vw(t){if(!t)return null;let e=t.filter(hw);return e.length==0?null:function(n){return gw(mw(n,e))}}function ww(t){return t!=null?vw(yw(t)):null}function Cw(t){if(!t)return null;let e=t.filter(hw);return e.length==0?null:function(n){let r=mw(n,e).map(pw);return cl(r).pipe(T(gw))}}function Dw(t){return t!=null?Cw(yw(t)):null}function iw(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function bw(t){return t._rawValidators}function _w(t){return t._rawAsyncValidators}function Ff(t){return t?Array.isArray(t)?t:[t]:[]}function fc(t,e){return Array.isArray(t)?t.includes(e):t===e}function ow(t,e){let n=Ff(e);return Ff(t).forEach(i=>{fc(n,i)||n.push(i)}),n}function sw(t,e){return Ff(e).filter(n=>!fc(t,n))}var hc=class{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=ww(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Dw(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=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Di=class extends hc{get formDirective(){return null}get path(){return null}},Cr=class extends hc{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},pc=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},ix={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},bB=J(D({},ix),{"[class.ng-submitted]":"isSubmitted"}),Cc=(()=>{let e=class e extends pc{constructor(r){super(r)}};e.\u0275fac=function(i){return new(i||e)(ee(Cr,2))},e.\u0275dir=_e({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Gt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[un]});let t=e;return t})(),Ew=(()=>{let e=class e extends pc{constructor(r){super(r)}};e.\u0275fac=function(i){return new(i||e)(ee(Di,10))},e.\u0275dir=_e({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Gt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[un]});let t=e;return t})();var ko="VALID",uc="INVALID",wi="PENDING",Lo="DISABLED";function Uf(t){return(Dc(t)?t.validators:t)||null}function ox(t){return Array.isArray(t)?ww(t):t||null}function $f(t,e){return(Dc(e)?e.asyncValidators:t)||null}function sx(t){return Array.isArray(t)?Dw(t):t||null}function Dc(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Mw(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new y(1e3,"");if(!r[n])throw new y(1001,"")}function Iw(t,e,n){t._forEachChild((r,i)=>{if(n[i]===void 0)throw new y(1002,"")})}var bi=class{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._assignValidators(e),this._assignAsyncValidators(n)}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===ko}get invalid(){return this.status===uc}get pending(){return this.status==wi}get disabled(){return this.status===Lo}get enabled(){return this.status!==Lo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ow(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ow(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(sw(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(sw(e,this._rawAsyncValidators))}hasValidator(e){return fc(this._rawValidators,e)}hasAsyncValidator(e){return fc(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=wi,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=Lo,this.errors=null,this._forEachChild(r=>{r.disable(J(D({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(J(D({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=ko,this._forEachChild(r=>{r.enable(J(D({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(J(D({},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===ko||this.status===wi)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(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()?Lo:ko}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=wi,this._hasOwnPendingAsyncValidator=!0;let n=pw(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(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(e,n){let 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 me,this.statusChanges=new me}_calculateStatus(){return this._allControlsDisabled()?Lo:this.errors?uc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wi)?wi:this._anyControlsHaveStatus(uc)?uc:ko}_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){Dc(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=ox(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=sx(this._rawAsyncValidators)}},gc=class extends bi{constructor(e,n,r){super(Uf(n),$f(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={}){Iw(this,!0,e),Object.keys(e).forEach(r=>{Mw(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let 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?e[i]:null,{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()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let 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(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(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(let 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}};var kf=class extends gc{};var Hf=new I("CallSetDisabledState",{providedIn:"root",factory:()=>zf}),zf="always";function ax(t,e){return[...e.path,t]}function Lf(t,e,n=zf){Gf(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),lx(t,e),dx(t,e),ux(t,e),cx(t,e)}function mc(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),vc(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function yc(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function cx(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Gf(t,e){let n=bw(t);e.validator!==null?t.setValidators(iw(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=_w(t);e.asyncValidator!==null?t.setAsyncValidators(iw(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();yc(e._rawValidators,i),yc(e._rawAsyncValidators,i)}function vc(t,e){let n=!1;if(t!==null){if(e.validator!==null){let i=bw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=_w(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(n=!0,t.setAsyncValidators(o))}}}let r=()=>{};return yc(e._rawValidators,r),yc(e._rawAsyncValidators,r),n}function lx(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Sw(t,e)})}function ux(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Sw(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Sw(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function dx(t,e){let n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function fx(t,e){t==null,Gf(t,e)}function hx(t,e){return vc(t,e)}function Tw(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function px(t){return Object.getPrototypeOf(t.constructor)===zT}function gx(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function xw(t,e){if(!e)return null;Array.isArray(e);let n,r,i;return e.forEach(o=>{o.constructor===wc?n=o:px(o)?r=o:i=o}),i||r||n||null}function mx(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function aw(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function cw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var dc=class extends bi{constructor(e=null,n,r){super(Uf(n),$f(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}),Dc(n)&&(n.nonNullable||n.initialValueIsDefault)&&(cw(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),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){aw(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){aw(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){cw(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}};var yx=t=>t instanceof dc;var Aw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var Wf=new I(""),vx={provide:Cr,useExisting:sr(()=>qf)},qf=(()=>{let e=class e extends Cr{set isDisabled(r){}constructor(r,i,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new me,this._ngModelWarningSent=!1,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=xw(this,o)}ngOnChanges(r){if(this._isControlChanged(r)){let i=r.form.previousValue;i&&mc(i,this,!1),Lf(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Tw(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&mc(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return r.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(ee(Vf,10),ee(Bf,10),ee(jo,10),ee(Wf,8),ee(Hf,8))},e.\u0275dir=_e({type:e,selectors:[["","formControl",""]],inputs:{form:[P.None,"formControl","form"],isDisabled:[P.None,"disabled","isDisabled"],model:[P.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Fe([vx]),un,At]});let t=e;return t})(),wx={provide:Di,useExisting:sr(()=>Zf)},Zf=(()=>{let e=class e extends Di{constructor(r,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new me,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(vc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){let i=this.form.get(r.path);return Lf(i,r,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),i}getControl(r){return this.form.get(r.path)}removeControl(r){mc(r.control||null,r,!1),mx(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,i){this.form.get(r.path).setValue(i)}onSubmit(r){return this.submitted=!0,gx(this.form,this.directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_updateDomValue(){this.directives.forEach(r=>{let i=r.control,o=this.form.get(r.path);i!==o&&(mc(i||null,r),yx(o)&&(Lf(o,r,this.callSetDisabledState),r.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let i=this.form.get(r.path);fx(i,r),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){let i=this.form.get(r.path);i&&hx(i,r)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Gf(this.form,this),this._oldForm&&vc(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(ee(Vf,10),ee(Bf,10),ee(Hf,8))},e.\u0275dir=_e({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&Ae("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[P.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fe([wx]),un,At]});let t=e;return t})();var Cx={provide:Cr,useExisting:sr(()=>Yf)},Yf=(()=>{let e=class e extends Cr{set isDisabled(r){}constructor(r,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new me,this._ngModelWarningSent=!1,this._parent=r,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=xw(this,s)}ngOnChanges(r){this._added||this._setUpControl(),Tw(r,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}get path(){return ax(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(ee(Di,13),ee(Vf,10),ee(Bf,10),ee(jo,10),ee(Wf,8))},e.\u0275dir=_e({type:e,selectors:[["","formControlName",""]],inputs:{name:[P.None,"formControlName","name"],isDisabled:[P.None,"disabled","isDisabled"],model:[P.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Fe([Cx]),un,At]});let t=e;return t})();var Dx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=Ht({});let t=e;return t})(),jf=class extends bi{constructor(e,n,r){super(Uf(n),$f(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),n&&(this.controls.splice(i,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){Iw(this,!1,e),e.forEach((r,i)=>{Mw(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(e.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(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.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((n,r)=>r._syncPendingControls()?!0:n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function lw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var bc=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let r=new e;return r.useNonNullable=!0,r}group(r,i=null){let o=this._reduceControls(r),s={};return lw(i)?s=i:i!==null&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new gc(o,s)}record(r,i=null){let o=this._reduceControls(r);return new kf(o,i)}control(r,i,o){let s={};return this.useNonNullable?(lw(i)?s=i:(s.validators=i,s.asyncValidators=o),new dc(r,J(D({},s),{nonNullable:!0}))):new dc(r,i,o)}array(r,i,o){let s=r.map(a=>this._createControl(a));return new jf(s,i,o)}_reduceControls(r){let i={};return Object.keys(r).forEach(o=>{i[o]=this._createControl(r[o])}),i}_createControl(r){if(r instanceof dc)return r;if(r instanceof bi)return r;if(Array.isArray(r)){let i=r[0],o=r.length>1?r[1]:null,s=r.length>2?r[2]:null;return this.control(i,o,s)}else return this.control(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var _c=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:Wf,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:Hf,useValue:r.callSetDisabledState??zf}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=zt({type:e}),e.\u0275inj=Ht({imports:[Dx]});let t=e;return t})();var Ow=(()=>{let e=class e{transform(r,i){if(!r)return"";if(r.dirty||r.touched){let o=r.errors;if(i&&o)return"not-valid";if(i&&!o&&(r.dirty||r.touched))return"valid";if(o?.required)return"Required";if(o?.email)return"Wrong E-mail";if(o?.minlength)return"Wrong length"}return""}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=lt({name:"input",type:e,pure:!1,standalone:!0});let t=e;return t})();var Nw=(()=>{let e=class e{constructor(){this.jsdaddyAutofocus=ie(),this.elRef=g(he),Tn(()=>{this.jsdaddyAutofocus()&&this.elRef.nativeElement.focus()})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=_e({type:e,selectors:[["","jsdaddyAutofocus",""]],inputs:{jsdaddyAutofocus:[P.SignalBased,"jsdaddyAutofocus"]},standalone:!0});let t=e;return t})();var bx=["placeholder",""];function _x(t,e){if(t&1){let n=ur();f(0,` `),w(1,"input",2),Ae("keyup.enter",function(){ar(n);let i=Me();return cr(i.onLabelClick())}),C(),f(2,` `)}if(t&2){let n=Me();E(),Gt("dark",n.isDark()),oo("id",n.uniqueId),k("formControl",n.control)("jsdaddyAutofocus",n.autoFocus())("placeholder",n.placeholder())}}function Ex(t,e){if(t&1){let n=ur();f(0,` `),w(1,"textarea",3),Ae("keyup.enter",function(){ar(n);let i=Me();return cr(i.onLabelClick())}),C(),f(2,` @@ -155,20 +155,20 @@ providers: [ `)}function Ix(t,e){if(t&1&&(f(0,` `),U(1,"img",4),W(2,"asset"),f(3,` `)),t&2){let n=Me(2);E(),k("ngSrc",se(2,1,"done-yellow",n.additionalPath))}}function Sx(t,e){if(t&1&&(f(0,` - `),Tt(1,Ix,4,4)),t&2){let n=Me();E(),Sn(1,n.control.touched?1:-1)}}var Rw=(()=>{let e=class e{constructor(){this.placeholder=ie.required(),this.label=ie(null),this.isTextarea=ie(!1),this.validators=ie([]),this.isDark=ie(!1),this.autoFocus=ie(!0),this.labelClick=ua(),this.fb=g(Dc),this.additionalPath="shared",this.control=this.fb.control(null),this.cdr=g(gt),this.destroyRef=g(Xe),this.uniqueId=crypto.randomUUID?.()??Date.now(),this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this.control.valueChanges.pipe(Rn(this.destroyRef)).subscribe(r=>{this.onChange&&this.onChange(r),this.cdr.detectChanges()})}writeValue(r){r===null&&this.control.reset(),this.control.setValidators(this.validators()),this.control.setValue(r)}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}onLabelClick(){this.control.invalid||this.labelClick.emit()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-input","placeholder",""]],inputs:{placeholder:[P.SignalBased,"placeholder"],label:[P.SignalBased,"label"],isTextarea:[P.SignalBased,"isTextarea"],validators:[P.SignalBased,"validators"],isDark:[P.SignalBased,"isDark"],autoFocus:[P.SignalBased,"autoFocus"]},outputs:{labelClick:"labelClick"},standalone:!0,features:[Fe([{provide:jo,useExisting:e,multi:!0}]),ue],attrs:bx,decls:13,vars:14,consts:[[1,"input-wrapper"],[3,"click","for"],["type","text","name","input",1,"span",3,"keyup.enter","formControl","jsdaddyAutofocus","id","placeholder"],["type","text","name","input",1,"span",3,"keyup.enter","formControl","id","jsdaddyAutofocus","placeholder"],["alt","Done","width","15","height","11",3,"ngSrc"]],template:function(i,o){if(i&1&&(w(0,"div",0),W(1,"input"),f(2,` + `),Tt(1,Ix,4,4)),t&2){let n=Me();E(),Sn(1,n.control.touched?1:-1)}}var Rw=(()=>{let e=class e{constructor(){this.placeholder=ie.required(),this.label=ie(null),this.isTextarea=ie(!1),this.validators=ie([]),this.isDark=ie(!1),this.autoFocus=ie(!0),this.labelClick=da(),this.fb=g(bc),this.additionalPath="shared",this.control=this.fb.control(null),this.cdr=g(gt),this.destroyRef=g(Xe),this.uniqueId=crypto.randomUUID?.()??Date.now(),this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this.control.valueChanges.pipe(Rn(this.destroyRef)).subscribe(r=>{this.onChange&&this.onChange(r),this.cdr.detectChanges()})}writeValue(r){r===null&&this.control.reset(),this.control.setValidators(this.validators()),this.control.setValue(r)}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}onLabelClick(){this.control.invalid||this.labelClick.emit()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-input","placeholder",""]],inputs:{placeholder:[P.SignalBased,"placeholder"],label:[P.SignalBased,"label"],isTextarea:[P.SignalBased,"isTextarea"],validators:[P.SignalBased,"validators"],isDark:[P.SignalBased,"isDark"],autoFocus:[P.SignalBased,"autoFocus"]},outputs:{labelClick:"labelClick"},standalone:!0,features:[Fe([{provide:jo,useExisting:e,multi:!0}]),ue],attrs:bx,decls:13,vars:14,consts:[[1,"input-wrapper"],[3,"click","for"],["type","text","name","input",1,"span",3,"keyup.enter","formControl","jsdaddyAutofocus","id","placeholder"],["type","text","name","input",1,"span",3,"keyup.enter","formControl","id","jsdaddyAutofocus","placeholder"],["alt","Done","width","15","height","11",3,"ngSrc"]],template:function(i,o){if(i&1&&(w(0,"div",0),W(1,"input"),f(2,` `),Tt(3,_x,3,6)(4,Ex,3,6),w(5,"label",1),Ae("click",function(){return o.onLabelClick()}),f(6,` `),Tt(7,Mx,1,1),W(8,"input"),W(9,"uppercase"),Tt(10,Sx,2,1),C(),f(11,` `),C(),f(12,` -`)),i&2){let s;We(se(1,7,o.control,!0)),Gt("dark",o.isDark()),E(3),Sn(3,o.isTextarea()?4:3),E(2),oo("for",o.uniqueId),E(2),Sn(7,(s=Be(8,10,o.control)||Be(9,12,o.label()))?7:10,s)}},dependencies:[bc,vc,wc,qf,$y,vt,Ow,Nw,yt],styles:[".input-wrapper[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;display:inline-flex;align-items:center;border-bottom:2px solid var(--full-white);border-radius:10px}.input-wrapper.dark[_ngcontent-%COMP%]{border-color:var(--black)}.input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{height:157px;resize:none}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{box-sizing:border-box;width:67%;padding:14px 15px;outline:none;border:none;color:var(--full-white);font-family:Varela,sans-serif;font-weight:400;font-size:14px;line-height:21px;background-color:transparent}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:active, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:active{transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:#fff!important;caret-color:#fff}.input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%], .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]{color:var(--black)}.input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:active, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:active{transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:var(--black)!important;caret-color:var(--black)}.input-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin:0 16px 0 auto;cursor:pointer;font-weight:300;font-size:12px;line-height:13px}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ffffff40}.input-wrapper[_ngcontent-%COMP%] .dark[_ngcontent-%COMP%]::placeholder{color:var(--black);opacity:.25}.input-wrapper.not-valid[_ngcontent-%COMP%]{color:var(--red);border-bottom:2px solid var(--red)}.input-wrapper.valid[_ngcontent-%COMP%]{border-bottom:2px solid var(--yellow)}"],changeDetection:0});let t=e;return t})();function Tx(t,e){if(t&1&&(f(0,` +`)),i&2){let s;We(se(1,7,o.control,!0)),Gt("dark",o.isDark()),E(3),Sn(3,o.isTextarea()?4:3),E(2),oo("for",o.uniqueId),E(2),Sn(7,(s=Be(8,10,o.control)||Be(9,12,o.label()))?7:10,s)}},dependencies:[_c,wc,Cc,qf,$y,vt,Ow,Nw,yt],styles:[".input-wrapper[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;display:inline-flex;align-items:center;border-bottom:2px solid var(--full-white);border-radius:10px}.input-wrapper.dark[_ngcontent-%COMP%]{border-color:var(--black)}.input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{height:157px;resize:none}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{box-sizing:border-box;width:67%;padding:14px 15px;outline:none;border:none;color:var(--full-white);font-family:Varela,sans-serif;font-weight:400;font-size:14px;line-height:21px;background-color:transparent}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:active, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:active{transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:#fff!important;caret-color:#fff}.input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%], .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]{color:var(--black)}.input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:active, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:active{transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:var(--black)!important;caret-color:var(--black)}.input-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin:0 16px 0 auto;cursor:pointer;font-weight:300;font-size:12px;line-height:13px}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ffffff40}.input-wrapper[_ngcontent-%COMP%] .dark[_ngcontent-%COMP%]::placeholder{color:var(--black);opacity:.25}.input-wrapper.not-valid[_ngcontent-%COMP%]{color:var(--red);border-bottom:2px solid var(--red)}.input-wrapper.valid[_ngcontent-%COMP%]{border-bottom:2px solid var(--yellow)}"],changeDetection:0});let t=e;return t})();function Tx(t,e){if(t&1&&(f(0,` `),w(1,"div"),f(2,` `),U(3,"jsdaddy-input",2),f(4,` `),C(),f(5,` - `)),t&2){let n=e.$implicit;E(3),k("autoFocus",!1)("formControlName",n.formControlName)("placeholder",n.placeholder)("validators",n.validators)}}var Fw=(()=>{let e=class e{constructor(){this.isLoading=!1,this.loginValidators=[Ci.required],this.passwordValidators=[Ci.required,Ci.minLength(5)],this.cdr=g(gt),this.fb=g(Dc),this.form=this.fb.group({login:[null,this.loginValidators],password:[null,this.passwordValidators]}),this.formItems=[{formControlName:"login",validators:this.loginValidators,placeholder:"Login"},{formControlName:"password",validators:this.passwordValidators,placeholder:"Password"}]}login(){this.isLoading=!0,O({}).pipe(hl(3e3)).subscribe(()=>{this.form.reset(),this.isLoading=!1,this.cdr.detectChanges()})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-form"]],standalone:!0,features:[ue],decls:8,vars:3,consts:[[1,"column",3,"ngSubmit","formGroup","jsdaddyLoader"],[1,"row","ai-c","span","pointer","bg-yellow","auth-btn",3,"disabled"],[3,"autoFocus","formControlName","placeholder","validators"]],template:function(i,o){i&1&&(w(0,"form",0),Ae("ngSubmit",function(){return o.login()}),f(1,` - `),ht(2,Tx,6,4,null,null,Ea),w(4,"button",1),f(5,` + `)),t&2){let n=e.$implicit;E(3),k("autoFocus",!1)("formControlName",n.formControlName)("placeholder",n.placeholder)("validators",n.validators)}}var Fw=(()=>{let e=class e{constructor(){this.isLoading=!1,this.loginValidators=[Ci.required],this.passwordValidators=[Ci.required,Ci.minLength(5)],this.cdr=g(gt),this.fb=g(bc),this.form=this.fb.group({login:[null,this.loginValidators],password:[null,this.passwordValidators]}),this.formItems=[{formControlName:"login",validators:this.loginValidators,placeholder:"Login"},{formControlName:"password",validators:this.passwordValidators,placeholder:"Password"}]}login(){this.isLoading=!0,O({}).pipe(hl(3e3)).subscribe(()=>{this.form.reset(),this.isLoading=!1,this.cdr.detectChanges()})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-form"]],standalone:!0,features:[ue],decls:8,vars:3,consts:[[1,"column",3,"ngSubmit","formGroup","jsdaddyLoader"],[1,"row","ai-c","span","pointer","bg-yellow","auth-btn",3,"disabled"],[3,"autoFocus","formControlName","placeholder","validators"]],template:function(i,o){i&1&&(w(0,"form",0),Ae("ngSubmit",function(){return o.login()}),f(1,` + `),ht(2,Tx,6,4,null,null,Ma),w(4,"button",1),f(5,` Login `),C(),f(6,` `),C(),f(7,` -`)),i&2&&(k("formGroup",o.form)("jsdaddyLoader",o.isLoading),E(2),pt(o.formItems),E(2),k("disabled",o.form.invalid))},dependencies:[bc,Aw,wc,Ew,Zf,Yf,cc,Rw],styles:[".auth-btn[_ngcontent-%COMP%]{margin-top:30px;padding:5px 23px;gap:10px;width:84px;height:31px;border-radius:4px}.auth-btn[_ngcontent-%COMP%]:disabled{background:var(--full-white);cursor:no-drop}"],changeDetection:0});let t=e;return t})();var xx=["cards"],Ax=(t,e)=>e.id;function Px(t,e){if(t&1&&(f(0,` +`)),i&2&&(k("formGroup",o.form)("jsdaddyLoader",o.isLoading),E(2),pt(o.formItems),E(2),k("disabled",o.form.invalid))},dependencies:[_c,Aw,Cc,Ew,Zf,Yf,lc,Rw],styles:[".auth-btn[_ngcontent-%COMP%]{margin-top:30px;padding:5px 23px;gap:10px;width:84px;height:31px;border-radius:4px}.auth-btn[_ngcontent-%COMP%]:disabled{background:var(--full-white);cursor:no-drop}"],changeDetection:0});let t=e;return t})();var xx=["cards"],Ax=(t,e)=>e.id;function Px(t,e){if(t&1&&(f(0,` `),w(1,"pre",11),f(2," "),U(3,"code",16),f(4,` `),U(5,"img",17),W(6,"asset"),f(7,` `),C(),f(8,` @@ -200,9 +200,9 @@ providers: [ `),C(),f(46,` `)),t&2){let n=e.$implicit,r=Me();E(),We(se(3,11,r.activeCardId(),n.id)),k("id",n.id),E(5),Pe(` `,n.header,` - `),E(2),k("id",n.anchor),E(6),k("ngSrc",se(15,14,"hand-box",r.openSourceCardsPath)),E(12),Sn(26,n.customCodeProvider?26:-1),E(3),k("highlight",n.code),E(2),k("ngSrc",se(32,17,"input-vector",r.openSourceCardsPath)),E(10),Sn(41,n.cardType?41:-1),E(),Sn(42,n.cardType?-1:42)}}var kw=(()=>{let e=class e{constructor(){this.cardDocs=ie(),this.cards=_a("cards",{read:he}),this.openSourceCardsPath="open-source/cards",this.scrollService=g(Rf),this.activeCardId=No(this.scrollService.activeCard$),Tn(()=>{this.scrollService.onScroll(this.cards())})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-cards"]],viewQuery:function(i,o){i&1&&so(o.cards,xx,5,he),i&2&&Ma()},inputs:{cardDocs:[P.SignalBased,"cardDocs"]},standalone:!0,features:[Fe([Rf]),ue],decls:5,vars:0,consts:[["cards",""],[1,"content","column","bg-full-white"],[1,"card",3,"id"],[1,"mr-title","title","row","uppercase","ls-25","something"],[1,"cards-block","row",3,"id"],[1,"light-card","bg-full-white","pd-15"],[1,"light-title","row","ai-c"],["width","20","height","20","alt","Hand with box",3,"ngSrc"],[1,"span"],[1,"source","uppercase","ls-25","full-white","span"],[1,"white-input"],[1,"row"],["type","text",1,"input-view","bg-white",3,"highlight"],["height","18","width","13","alt","Input vector",1,"input-img","ais-c",3,"ngSrc"],[1,"dark-card","bg-black"],[1,"dark-input","column","pd-15"],[1,"custom-code","bg-white",3,"highlight"],["height","18","width","13","alt","Input vector",1,"custom-pre",3,"ngSrc"]],template:function(i,o){i&1&&(w(0,"section",1),f(1,` + `),E(2),k("id",n.anchor),E(6),k("ngSrc",se(15,14,"hand-box",r.openSourceCardsPath)),E(12),Sn(26,n.customCodeProvider?26:-1),E(3),k("highlight",n.code),E(2),k("ngSrc",se(32,17,"input-vector",r.openSourceCardsPath)),E(10),Sn(41,n.cardType?41:-1),E(),Sn(42,n.cardType?-1:42)}}var kw=(()=>{let e=class e{constructor(){this.cardDocs=ie(),this.cards=Ea("cards",{read:he}),this.openSourceCardsPath="open-source/cards",this.scrollService=g(Rf),this.activeCardId=No(this.scrollService.activeCard$),Tn(()=>{this.scrollService.onScroll(this.cards())})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-cards"]],viewQuery:function(i,o){i&1&&so(o.cards,xx,5,he),i&2&&Ia()},inputs:{cardDocs:[P.SignalBased,"cardDocs"]},standalone:!0,features:[Fe([Rf]),ue],decls:5,vars:0,consts:[["cards",""],[1,"content","column","bg-full-white"],[1,"card",3,"id"],[1,"mr-title","title","row","uppercase","ls-25","something"],[1,"cards-block","row",3,"id"],[1,"light-card","bg-full-white","pd-15"],[1,"light-title","row","ai-c"],["width","20","height","20","alt","Hand with box",3,"ngSrc"],[1,"span"],[1,"source","uppercase","ls-25","full-white","span"],[1,"white-input"],[1,"row"],["type","text",1,"input-view","bg-white",3,"highlight"],["height","18","width","13","alt","Input vector",1,"input-img","ais-c",3,"ngSrc"],[1,"dark-card","bg-black"],[1,"dark-input","column","pd-15"],[1,"custom-code","bg-white",3,"highlight"],["height","18","width","13","alt","Input vector",1,"custom-pre",3,"ngSrc"]],template:function(i,o){i&1&&(w(0,"section",1),f(1,` `),ht(2,Rx,47,20,null,null,Ax),C(),f(4,` -`)),i&2&&(E(2),pt(o.cardDocs()))},dependencies:[yt,ew,Jv,ai,vt,rw,Fw],styles:['@font-face{font-family:Prompt;src:url("./media/Prompt-SemiBold-VUSHKGAQ.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-SemiBoldItalic-SIMHWXUY.ttf") format("truetype");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Bold-4D642BP2.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Bold-4D642BP2.ttf") format("truetype");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Medium-GQXLJAD2.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-MediumItalic-IU2HGMXN.ttf") format("truetype");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Regular-6LNPHFDP.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Italic-KLHMBM3K.ttf") format("truetype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Black-OPLVQROF.ttf") format("truetype");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-BlackItalic-4ALVZBAB.ttf") format("truetype");font-weight:900;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ExtraBold-Z5WGH35N.ttf") format("truetype");font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ExtraBoldItalic-75IKQHFQ.ttf") format("truetype");font-weight:800;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ExtraLight-FEQZTTI4.ttf") format("truetype");font-weight:200;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ExtraLightItalic-C6GEJJKR.ttf") format("truetype");font-weight:200;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Italic-KLHMBM3K.ttf") format("truetype");font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Light-V26X2TRP.ttf") format("truetype");font-weight:200;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-LightItalic-WMQGOBOQ.ttf") format("truetype");font-weight:200;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Thin-NIAPM4IS.ttf") format("truetype");font-weight:100;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ThinItalic-47CWU4XE.ttf") format("truetype");font-weight:100;font-style:italic;font-display:swap}@font-face{font-family:Varela;src:url("./media/Varela-Regular-NY5VAJFI.ttf") format("truetype");font-weight:400;font-display:swap}*[_ngcontent-%COMP%]:focus, *[_ngcontent-%COMP%]:active{-webkit-tap-highlight-color:transparent}[_ngcontent-%COMP%]:root{--yellowHover: #f4c529;--black: #191919;--yellow: #ffd64d;--orange: #ff710a;--white: #f8f8f8;--full-white: #fff;--green: #1ab77e;--red: #e35353;--orangeYellow: linear-gradient(269.31deg, var(--orange) 19.29%, var(--yellow) 71.73%);--ligth-grey: rgba(255, 255, 255, .05)}.border-accordion-tb-def[_ngcontent-%COMP%]{border-width:2px 0;border-style:solid;border-color:var(--ligth-grey);border-radius:10px}.bg-light-grey-accordion[_ngcontent-%COMP%]{background-color:var(--ligth-grey)}button[_ngcontent-%COMP%]{background:none;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Prompt,sans-serif;height:100%}p[_ngcontent-%COMP%]{margin:0;padding:0}a[_ngcontent-%COMP%]{text-decoration:none}ul[_ngcontent-%COMP%], ol[_ngcontent-%COMP%]{margin:0;padding:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{margin:0;padding:0}h1[_ngcontent-%COMP%], .h1-text[_ngcontent-%COMP%]{font-size:56px;line-height:56px;font-weight:600;color:var(--black)}h2[_ngcontent-%COMP%], .h2-text[_ngcontent-%COMP%]{font-size:40px;line-height:40px;font-weight:500;color:var(--black)}h3[_ngcontent-%COMP%], .h3-text[_ngcontent-%COMP%]{font-size:25px;line-height:27px;font-weight:500;color:var(--black)}h4[_ngcontent-%COMP%], .h4-text[_ngcontent-%COMP%]{font-size:22px;line-height:27px;font-weight:500;color:var(--black)}h5[_ngcontent-%COMP%], .text[_ngcontent-%COMP%]{font-size:16px;line-height:24px;font-weight:400;color:var(--black);font-family:Varela,sans-serif}.title[_ngcontent-%COMP%]{font-size:10px;line-height:14px;font-weight:400;color:var(--black);font-family:Varela,sans-serif}.span[_ngcontent-%COMP%]{font-size:14px;line-height:21px;font-weight:400;color:var(--black);font-family:Varela,sans-serif}.links[_ngcontent-%COMP%]{font-size:14px;line-height:27px;font-weight:500;color:var(--black);letter-spacing:.05em}.ls-25[_ngcontent-%COMP%]{letter-spacing:.25em}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bg-yellow[_ngcontent-%COMP%]{background-color:var(--yellow)}.bg-black[_ngcontent-%COMP%]{background-color:var(--black)}.bg-white-opacity[_ngcontent-%COMP%]{background-color:#fffc;-webkit-backdrop-filter:blur(23px);backdrop-filter:blur(23px)}.bg-orange[_ngcontent-%COMP%]{background-color:var(--orange)}.bg-white[_ngcontent-%COMP%]{background-color:var(--white)}.bg-full-white[_ngcontent-%COMP%]{background-color:var(--full-white)}.bg-orange-yellow[_ngcontent-%COMP%]{background:var(--orangeYellow)}.orange-yellow[_ngcontent-%COMP%]{background:var(--orangeYellow);-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:transparent}.yellow[_ngcontent-%COMP%]{color:var(--yellow)}.black[_ngcontent-%COMP%]{color:var(--black)}.orange[_ngcontent-%COMP%]{color:var(--orange)}.white[_ngcontent-%COMP%]{color:var(--white)}.full-white[_ngcontent-%COMP%]{color:var(--full-white)}.c-pointer[_ngcontent-%COMP%]{cursor:pointer}.f-s-38[_ngcontent-%COMP%]{font-size:38px}.f-s-14[_ngcontent-%COMP%]{font-size:14px}.h-100vh[_ngcontent-%COMP%]{height:100dvh}.inline-flex[_ngcontent-%COMP%]{display:inline-flex}.row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.jc-sb[_ngcontent-%COMP%]{justify-content:space-between}.jc-c[_ngcontent-%COMP%]{justify-content:center}.jc-fe[_ngcontent-%COMP%]{justify-content:flex-end}.ai-c[_ngcontent-%COMP%]{align-items:center}.pos-rel[_ngcontent-%COMP%]{position:relative}.ai-end[_ngcontent-%COMP%]{align-items:flex-end}.ai-start[_ngcontent-%COMP%]{align-items:flex-start}.ais-end[_ngcontent-%COMP%]{align-self:flex-end}.ais-start[_ngcontent-%COMP%]{align-self:flex-start}.ais-c[_ngcontent-%COMP%]{align-self:center}.remove-right-wrapper-padding[_ngcontent-%COMP%]{margin-right:-84px}.remove-left-wrapper-padding[_ngcontent-%COMP%]{margin-left:-84px}@media (min-width: 1279px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}.remove-right-desktop-wrapper-padding[_ngcontent-%COMP%]{margin-right:-84px}.remove-left-desktop-wrapper-padding[_ngcontent-%COMP%]{margin-left:-84px}}@media screen and (min-width: 699px) and (max-width: 1279px){.remove-tablet-wrapper-padding[_ngcontent-%COMP%]{width:100vw!important;transform:translate(-50%);margin-left:50%}.remove-right-tablet-wrapper-padding[_ngcontent-%COMP%]{margin-right:-42px}.remove-left-tablet-wrapper-padding[_ngcontent-%COMP%]{margin-left:-42px}.hide-tablet[_ngcontent-%COMP%]{display:none!important}}@media (max-width: 699px){.remove-mobile-wrapper-padding[_ngcontent-%COMP%]{width:100vw!important;transform:translate(-50%);margin-left:50%}.remove-right-mobile-wrapper-padding[_ngcontent-%COMP%]{margin-right:-21px}.remove-left-mobile-wrapper-padding[_ngcontent-%COMP%]{margin-left:-21px}.hide-mobile[_ngcontent-%COMP%]{display:none!important}}code[_ngcontent-%COMP%]{background:#f7f7f7!important}[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px;background-image:linear-gradient(to bottom,#86868673,#86868617)}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:transparent}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-image:linear-gradient(0deg,#f79046 .28%,#f7904600),url("./media/scroll-shadow-PCTBKIB2.svg");background-repeat:no-repeat;background-size:cover;background-position:center;border:1px solid transparent}body[_ngcontent-%COMP%]{overflow-y:auto;overflow-x:hidden}.content[_ngcontent-%COMP%]{gap:16px;padding:16px;border-top:1px solid rgba(25,25,25,.05);box-sizing:border-box}.content[_ngcontent-%COMP%] .yellow.card[_ngcontent-%COMP%]{background:#ffd64d0d;border:1px solid var(--yellow)}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{padding:10px;gap:10px;background:#19191905;border-radius:15px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .mr-title[_ngcontent-%COMP%]{margin:10px 0 10px 26px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%]{scroll-margin-top:185px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%]{flex:55%;border-radius:10px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .light-title[_ngcontent-%COMP%]{margin-bottom:20px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .light-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:10px;font-size:16px;color:#19191940}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{font-size:10px;color:#19191973;margin-bottom:10px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%]{display:block}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .input-view[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-code[_ngcontent-%COMP%]{height:fit-content;cursor:text;padding-left:15px;border-radius:10px;border:none;width:100%;overflow:hidden}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .input-img[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-pre[_ngcontent-%COMP%]{position:relative;right:20px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .input-view[_ngcontent-%COMP%]{white-space:pre-line}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-code[_ngcontent-%COMP%]{white-space:break-spaces}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-pre[_ngcontent-%COMP%]{top:10px;align-self:flex-start}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .dark-card[_ngcontent-%COMP%]{flex:45%;border-radius:10px;margin-left:30px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .dark-card[_ngcontent-%COMP%] .dark-input[_ngcontent-%COMP%] .h-input[_ngcontent-%COMP%]{height:51px;padding-left:10px}.pd-15[_ngcontent-%COMP%]{padding:15px}.mrl-50[_ngcontent-%COMP%]{margin-left:50px}@media screen and (max-width: 699px){.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%]{flex-direction:column}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .dark-card[_ngcontent-%COMP%]{flex:100%;margin:0 27px 0 13px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%]{flex:100%;margin-bottom:10px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-code[_ngcontent-%COMP%]{overflow:auto}}']});let t=e;return t})();var Lw=(()=>{let e=class e{constructor(){this.card=Xv,this.lists=Kv,this.githubMaskLink="https://jsdaddy.github.io/ngx-loader-indicator/",this.title="Ngx-Loader Indicator",this.subtitle="Awesome loader for angular applications. No wrappers only you elements",this.chips=["Website","Angular","Typescript","Carousel","Spinner"]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-root"]],standalone:!0,features:[Fe([{provide:sc,useValue:"1.4.1"}]),ue],decls:22,vars:6,consts:[[1,"content-wrapper","column"],[3,"activeLink"],[1,"mask-wrap","row"],[1,"drawer-container","column"],[3,"lists"],[1,"right-section","column"],[3,"title","subtitle","chips"],[3,"cardDocs"]],template:function(i,o){i&1&&(w(0,"div",0),f(1,` +`)),i&2&&(E(2),pt(o.cardDocs()))},dependencies:[yt,ew,Jv,ai,vt,rw,Fw],styles:['@font-face{font-family:Prompt;src:url("./media/Prompt-SemiBold-VUSHKGAQ.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-SemiBoldItalic-SIMHWXUY.ttf") format("truetype");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Bold-4D642BP2.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Bold-4D642BP2.ttf") format("truetype");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Medium-GQXLJAD2.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-MediumItalic-IU2HGMXN.ttf") format("truetype");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Regular-6LNPHFDP.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Italic-KLHMBM3K.ttf") format("truetype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Black-OPLVQROF.ttf") format("truetype");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-BlackItalic-4ALVZBAB.ttf") format("truetype");font-weight:900;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ExtraBold-Z5WGH35N.ttf") format("truetype");font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ExtraBoldItalic-75IKQHFQ.ttf") format("truetype");font-weight:800;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ExtraLight-FEQZTTI4.ttf") format("truetype");font-weight:200;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ExtraLightItalic-C6GEJJKR.ttf") format("truetype");font-weight:200;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Italic-KLHMBM3K.ttf") format("truetype");font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Light-V26X2TRP.ttf") format("truetype");font-weight:200;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-LightItalic-WMQGOBOQ.ttf") format("truetype");font-weight:200;font-style:italic;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-Thin-NIAPM4IS.ttf") format("truetype");font-weight:100;font-style:normal;font-display:swap}@font-face{font-family:Prompt;src:url("./media/Prompt-ThinItalic-47CWU4XE.ttf") format("truetype");font-weight:100;font-style:italic;font-display:swap}@font-face{font-family:Varela;src:url("./media/Varela-Regular-NY5VAJFI.ttf") format("truetype");font-weight:400;font-display:swap}*[_ngcontent-%COMP%]:focus, *[_ngcontent-%COMP%]:active{-webkit-tap-highlight-color:transparent}[_ngcontent-%COMP%]:root{--yellowHover: #f4c529;--black: #191919;--yellow: #ffd64d;--orange: #ff710a;--white: #f8f8f8;--full-white: #fff;--green: #1ab77e;--red: #e35353;--orangeYellow: linear-gradient(269.31deg, var(--orange) 19.29%, var(--yellow) 71.73%);--ligth-grey: rgba(255, 255, 255, .05)}.border-accordion-tb-def[_ngcontent-%COMP%]{border-width:2px 0;border-style:solid;border-color:var(--ligth-grey);border-radius:10px}.bg-light-grey-accordion[_ngcontent-%COMP%]{background-color:var(--ligth-grey)}button[_ngcontent-%COMP%]{background:none;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Prompt,sans-serif;height:100%}p[_ngcontent-%COMP%]{margin:0;padding:0}a[_ngcontent-%COMP%]{text-decoration:none}ul[_ngcontent-%COMP%], ol[_ngcontent-%COMP%]{margin:0;padding:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{margin:0;padding:0}h1[_ngcontent-%COMP%], .h1-text[_ngcontent-%COMP%]{font-size:56px;line-height:56px;font-weight:600;color:var(--black)}h2[_ngcontent-%COMP%], .h2-text[_ngcontent-%COMP%]{font-size:40px;line-height:40px;font-weight:500;color:var(--black)}h3[_ngcontent-%COMP%], .h3-text[_ngcontent-%COMP%]{font-size:25px;line-height:27px;font-weight:500;color:var(--black)}h4[_ngcontent-%COMP%], .h4-text[_ngcontent-%COMP%]{font-size:22px;line-height:27px;font-weight:500;color:var(--black)}h5[_ngcontent-%COMP%], .text[_ngcontent-%COMP%]{font-size:16px;line-height:24px;font-weight:400;color:var(--black);font-family:Varela,sans-serif}.title[_ngcontent-%COMP%]{font-size:10px;line-height:14px;font-weight:400;color:var(--black);font-family:Varela,sans-serif}.span[_ngcontent-%COMP%]{font-size:14px;line-height:21px;font-weight:400;color:var(--black);font-family:Varela,sans-serif}.links[_ngcontent-%COMP%]{font-size:14px;line-height:27px;font-weight:500;color:var(--black);letter-spacing:.05em}.ls-25[_ngcontent-%COMP%]{letter-spacing:.25em}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bg-yellow[_ngcontent-%COMP%]{background-color:var(--yellow)}.bg-black[_ngcontent-%COMP%]{background-color:var(--black)}.bg-white-opacity[_ngcontent-%COMP%]{background-color:#fffc;-webkit-backdrop-filter:blur(23px);backdrop-filter:blur(23px)}.bg-orange[_ngcontent-%COMP%]{background-color:var(--orange)}.bg-white[_ngcontent-%COMP%]{background-color:var(--white)}.bg-full-white[_ngcontent-%COMP%]{background-color:var(--full-white)}.bg-orange-yellow[_ngcontent-%COMP%]{background:var(--orangeYellow)}.orange-yellow[_ngcontent-%COMP%]{background:var(--orangeYellow);-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:transparent}.yellow[_ngcontent-%COMP%]{color:var(--yellow)}.black[_ngcontent-%COMP%]{color:var(--black)}.orange[_ngcontent-%COMP%]{color:var(--orange)}.white[_ngcontent-%COMP%]{color:var(--white)}.full-white[_ngcontent-%COMP%]{color:var(--full-white)}.c-pointer[_ngcontent-%COMP%]{cursor:pointer}.f-s-38[_ngcontent-%COMP%]{font-size:38px}.f-s-14[_ngcontent-%COMP%]{font-size:14px}.h-100vh[_ngcontent-%COMP%]{height:100dvh}.inline-flex[_ngcontent-%COMP%]{display:inline-flex}.row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.jc-sb[_ngcontent-%COMP%]{justify-content:space-between}.jc-c[_ngcontent-%COMP%]{justify-content:center}.jc-fe[_ngcontent-%COMP%]{justify-content:flex-end}.ai-c[_ngcontent-%COMP%]{align-items:center}.pos-rel[_ngcontent-%COMP%]{position:relative}.ai-end[_ngcontent-%COMP%]{align-items:flex-end}.ai-start[_ngcontent-%COMP%]{align-items:flex-start}.ais-end[_ngcontent-%COMP%]{align-self:flex-end}.ais-start[_ngcontent-%COMP%]{align-self:flex-start}.ais-c[_ngcontent-%COMP%]{align-self:center}.remove-right-wrapper-padding[_ngcontent-%COMP%]{margin-right:-84px}.remove-left-wrapper-padding[_ngcontent-%COMP%]{margin-left:-84px}@media (min-width: 1279px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}.remove-right-desktop-wrapper-padding[_ngcontent-%COMP%]{margin-right:-84px}.remove-left-desktop-wrapper-padding[_ngcontent-%COMP%]{margin-left:-84px}}@media screen and (min-width: 699px) and (max-width: 1279px){.remove-tablet-wrapper-padding[_ngcontent-%COMP%]{width:100vw!important;transform:translate(-50%);margin-left:50%}.remove-right-tablet-wrapper-padding[_ngcontent-%COMP%]{margin-right:-42px}.remove-left-tablet-wrapper-padding[_ngcontent-%COMP%]{margin-left:-42px}.hide-tablet[_ngcontent-%COMP%]{display:none!important}}@media (max-width: 699px){.remove-mobile-wrapper-padding[_ngcontent-%COMP%]{width:100vw!important;transform:translate(-50%);margin-left:50%}.remove-right-mobile-wrapper-padding[_ngcontent-%COMP%]{margin-right:-21px}.remove-left-mobile-wrapper-padding[_ngcontent-%COMP%]{margin-left:-21px}.hide-mobile[_ngcontent-%COMP%]{display:none!important}}code[_ngcontent-%COMP%]{background:#f7f7f7!important}[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px;background-image:linear-gradient(to bottom,#86868673,#86868617)}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:transparent}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-image:linear-gradient(0deg,#f79046 .28%,#f7904600),url("./media/scroll-shadow-PCTBKIB2.svg");background-repeat:no-repeat;background-size:cover;background-position:center;border:1px solid transparent}body[_ngcontent-%COMP%]{overflow-y:auto;overflow-x:hidden}.content[_ngcontent-%COMP%]{gap:16px;padding:16px;border-top:1px solid rgba(25,25,25,.05);box-sizing:border-box}.content[_ngcontent-%COMP%] .yellow.card[_ngcontent-%COMP%]{background:#ffd64d0d;border:1px solid var(--yellow)}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{padding:10px;gap:10px;background:#19191905;border-radius:15px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .mr-title[_ngcontent-%COMP%]{margin:10px 0 10px 26px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%]{scroll-margin-top:185px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%]{flex:55%;border-radius:10px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .light-title[_ngcontent-%COMP%]{margin-bottom:20px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .light-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:10px;font-size:16px;color:#19191940}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{font-size:10px;color:#19191973;margin-bottom:10px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%]{display:block}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .input-view[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-code[_ngcontent-%COMP%]{height:fit-content;cursor:text;padding-left:15px;border-radius:10px;border:none;width:100%;overflow:hidden}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .input-img[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-pre[_ngcontent-%COMP%]{position:relative;right:20px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .input-view[_ngcontent-%COMP%]{white-space:pre-line}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-code[_ngcontent-%COMP%]{white-space:break-spaces}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-pre[_ngcontent-%COMP%]{top:10px;align-self:flex-start}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .dark-card[_ngcontent-%COMP%]{flex:45%;border-radius:10px;margin-left:30px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .dark-card[_ngcontent-%COMP%] .dark-input[_ngcontent-%COMP%] .h-input[_ngcontent-%COMP%]{height:51px;padding-left:10px}.pd-15[_ngcontent-%COMP%]{padding:15px}.mrl-50[_ngcontent-%COMP%]{margin-left:50px}@media screen and (max-width: 699px){.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%]{flex-direction:column}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .dark-card[_ngcontent-%COMP%]{flex:100%;margin:0 27px 0 13px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%]{flex:100%;margin-bottom:10px}.content[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .cards-block[_ngcontent-%COMP%] .light-card[_ngcontent-%COMP%] .white-input[_ngcontent-%COMP%] .custom-code[_ngcontent-%COMP%]{overflow:auto}}']});let t=e;return t})();var Lw=(()=>{let e=class e{constructor(){this.card=Xv,this.lists=Kv,this.githubMaskLink="https://jsdaddy.github.io/ngx-loader-indicator/",this.title="Ngx-Loader Indicator",this.subtitle="Awesome loader for angular applications. No wrappers only you elements",this.chips=["Website","Angular","Typescript","Carousel","Spinner"]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["jsdaddy-open-source-root"]],standalone:!0,features:[Fe([{provide:ac,useValue:"1.5.0"}]),ue],decls:22,vars:6,consts:[[1,"content-wrapper","column"],[3,"activeLink"],[1,"mask-wrap","row"],[1,"drawer-container","column"],[3,"lists"],[1,"right-section","column"],[3,"title","subtitle","chips"],[3,"cardDocs"]],template:function(i,o){i&1&&(w(0,"div",0),f(1,` `),U(2,"jsdaddy-open-source-header",1),f(3,` `),w(4,"section",2),f(5,` `),w(6,"div",3),f(7,` @@ -215,4 +215,4 @@ providers: [ `),C(),f(19,` `),C(),f(20,` `),C(),f(21,` -`)),i&2&&(E(2),k("activeLink",o.githubMaskLink),E(6),k("lists",o.lists),E(5),k("title",o.title)("subtitle",o.subtitle)("chips",o.chips),E(2),k("cardDocs",o.card))},dependencies:[uv,Wv,Yv,Qv,kw],styles:[".content-wrapper[_ngcontent-%COMP%] .mask-wrap[_ngcontent-%COMP%]{height:calc(100% - 64px);overflow:auto}.content-wrapper[_ngcontent-%COMP%] .mask-wrap[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%]{width:100%;padding-left:310px}@media screen and (max-width: 1279px){.content-wrapper[_ngcontent-%COMP%] .mask-wrap[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%]{padding:0;margin-top:55px}}"]});let t=e;return t})();var q=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(q||{}),Zt="*";function jw(t,e=null){return{type:q.Sequence,steps:t,options:e}}function Qf(t){return{type:q.Style,styles:t,offset:null}}var kn=class{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(){queueMicrotask(()=>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){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Vo=class{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,o=this.players.length;o==0?queueMicrotask(()=>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){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},_c="!";function Vw(t){return new y(3e3,!1)}function Fx(){return new y(3100,!1)}function kx(){return new y(3101,!1)}function Lx(t){return new y(3001,!1)}function jx(t){return new y(3003,!1)}function Vx(t){return new y(3004,!1)}function Bx(t,e){return new y(3005,!1)}function Ux(){return new y(3006,!1)}function $x(){return new y(3007,!1)}function Hx(t,e){return new y(3008,!1)}function zx(t){return new y(3002,!1)}function Gx(t,e,n,r,i){return new y(3010,!1)}function Wx(){return new y(3011,!1)}function qx(){return new y(3012,!1)}function Zx(){return new y(3200,!1)}function Yx(){return new y(3202,!1)}function Qx(){return new y(3013,!1)}function Kx(t){return new y(3014,!1)}function Xx(t){return new y(3015,!1)}function Jx(t){return new y(3016,!1)}function eA(t,e){return new y(3404,!1)}function tA(t){return new y(3502,!1)}function nA(t){return new y(3503,!1)}function rA(){return new y(3300,!1)}function iA(t){return new y(3504,!1)}function oA(t){return new y(3301,!1)}function sA(t,e){return new y(3302,!1)}function aA(t){return new y(3303,!1)}function cA(t,e){return new y(3400,!1)}function lA(t){return new y(3401,!1)}function uA(t){return new y(3402,!1)}function dA(t,e){return new y(3505,!1)}function Ln(t){switch(t.length){case 0:return new kn;case 1:return t[0];default:return new Vo(t)}}function Jw(t,e,n=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(c=>{let l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((h,p)=>{let m=p,v=h;if(p!=="offset")switch(m=t.normalizePropertyName(m,i),v){case _c:v=n.get(p);break;case Zt:v=r.get(p);break;default:v=t.normalizeStyleValue(p,m,v,i);break}d.set(m,v)}),u||o.push(d),a=d,s=l}),i.length)throw tA(i);return o}function wh(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&Kf(n,"start",t)));break;case"done":t.onDone(()=>r(n&&Kf(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&Kf(n,"destroy",t)));break}}function Kf(t,e,n){let r=n.totalTime,i=!!n.disabled,o=Ch(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function Ch(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function ot(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function Bw(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var fA=typeof document>"u"?null:document.documentElement;function Dh(t){let e=t.parentNode||t.host||null;return e===fA?null:e}function hA(t){return t.substring(1,6)=="ebkit"}var Dr=null,Uw=!1;function pA(t){Dr||(Dr=gA()||{},Uw=Dr.style?"WebkitAppearance"in Dr.style:!1);let e=!0;return Dr.style&&!hA(t)&&(e=t in Dr.style,!e&&Uw&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Dr.style)),e}function gA(){return typeof document<"u"?document.body:null}function eC(t,e){for(;e;){if(e===t)return!0;e=Dh(e)}return!1}function tC(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var bh=(()=>{let e=class e{validateStyleProperty(r){return pA(r)}matchesElement(r,i){return!1}containsElement(r,i){return eC(r,i)}getParentElement(r){return Dh(r)}query(r,i,o){return tC(r,i,o)}computeStyle(r,i,o){return o||""}animate(r,i,o,s,a,c=[],l){return new kn(o,s)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),Ih=class Ih{};Ih.NOOP=new bh;var Er=Ih,Mr=class{};var mA=1e3,nC="{{",yA="}}",rC="ng-enter",rh="ng-leave",Ec="ng-trigger",xc=".ng-trigger",$w="ng-animating",ih=".ng-animating";function fn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:oh(parseFloat(e[1]),e[2])}function oh(t,e){switch(e){case"s":return t*mA;default:return t}}function Ac(t,e,n){return t.hasOwnProperty("duration")?t:vA(t,e,n)}function vA(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(Vw(t)),{duration:0,delay:0,easing:""};i=oh(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=oh(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else i=t;if(!n){let a=!1,c=e.length;i<0&&(e.push(Fx()),a=!0),o<0&&(e.push(kx()),a=!0),a&&e.splice(c,0,Vw(t))}return{duration:i,delay:o,easing:s}}function wA(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function Yt(t,e,n){e.forEach((r,i)=>{let o=_h(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r})}function _r(t,e){e.forEach((n,r)=>{let i=_h(r);t.style[i]=""})}function Bo(t){return Array.isArray(t)?t.length==1?t[0]:jw(t):t}function CA(t,e,n){let r=e.params||{},i=iC(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(Lx(o))})}var sh=new RegExp(`${nC}\\s*(.+?)\\s*${yA}`,"g");function iC(t){let e=[];if(typeof t=="string"){let n;for(;n=sh.exec(t);)e.push(n[1]);sh.lastIndex=0}return e}function $o(t,e,n){let r=`${t}`,i=r.replace(sh,(o,s)=>{let a=e[s];return a==null&&(n.push(jx(s)),a=""),a.toString()});return i==r?t:i}var DA=/-+([a-z0-9])/g;function _h(t){return t.replace(DA,(...e)=>e[1].toUpperCase())}function bA(t,e){return t===0||e===0}function _A(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,Eh(t,a)))}}return e}function it(t,e,n){switch(e.type){case q.Trigger:return t.visitTrigger(e,n);case q.State:return t.visitState(e,n);case q.Transition:return t.visitTransition(e,n);case q.Sequence:return t.visitSequence(e,n);case q.Group:return t.visitGroup(e,n);case q.Animate:return t.visitAnimate(e,n);case q.Keyframes:return t.visitKeyframes(e,n);case q.Style:return t.visitStyle(e,n);case q.Reference:return t.visitReference(e,n);case q.AnimateChild:return t.visitAnimateChild(e,n);case q.AnimateRef:return t.visitAnimateRef(e,n);case q.Query:return t.visitQuery(e,n);case q.Stagger:return t.visitStagger(e,n);default:throw Vx(e.type)}}function Eh(t,e){return window.getComputedStyle(t)[e]}var EA=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"]),Pc=class extends Mr{normalizePropertyName(e,n){return _h(e)}normalizeStyleValue(e,n,r,i){let o="",s=r.toString().trim();if(EA.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Bx(e,r))}return s+o}};var Oc="*";function MA(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>IA(r,n,e)):n.push(t),n}function IA(t,e,n){if(t[0]==":"){let c=SA(t,n);if(typeof c=="function"){e.push(c);return}t=c}let r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(Xx(t)),e;let i=r[1],o=r[2],s=r[3];e.push(Hw(i,s));let a=i==Oc&&s==Oc;o[0]=="<"&&!a&&e.push(Hw(s,i))}function SA(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) *"}}var Mc=new Set(["true","1"]),Ic=new Set(["false","0"]);function Hw(t,e){let n=Mc.has(t)||Ic.has(t),r=Mc.has(e)||Ic.has(e);return(i,o)=>{let s=t==Oc||t==i,a=e==Oc||e==o;return!s&&n&&typeof i=="boolean"&&(s=i?Mc.has(t):Ic.has(t)),!a&&r&&typeof o=="boolean"&&(a=o?Mc.has(e):Ic.has(e)),s&&a}}var oC=":self",TA=new RegExp(`s*${oC}s*,?`,"g");function sC(t,e,n,r){return new ah(t).build(e,n,r)}var zw="",ah=class{constructor(e){this._driver=e}build(e,n,r){let i=new ch(n);return this._resetContextStyleTimingState(i),it(this,Bo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=zw,e.collectedStyles=new Map,e.collectedStyles.set(zw,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&n.errors.push(Ux()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==q.State){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,o.push(this.visitState(c,n))}),c.name=l}else if(a.type==q.Transition){let c=this.visitTransition(a,n);r+=c.queryCount,i+=c.depCount,s.push(c)}else n.errors.push($x())}),{type:q.Trigger,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{iC(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size&&n.errors.push(Hx(e.name,[...o.values()]))}return{type:q.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=it(this,Bo(e.animation),n),i=MA(e.expr,n.errors);return{type:q.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:br(e.options)}}visitSequence(e,n){return{type:q.Sequence,steps:e.steps.map(r=>it(this,r,n)),options:br(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,o=e.steps.map(s=>{n.currentTime=r;let a=it(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:q.Group,steps:o,options:br(e.options)}}visitAnimate(e,n){let r=OA(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:Qf({});if(o.type==q.Keyframes)i=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;let l={};r.easing&&(l.easing=r.easing),s=Qf(l)}n.currentTime+=r.duration+r.delay;let c=this.visitStyle(s,n);c.isEmptyStep=a,i=c}return n.currentAnimateTimings=null,{type:q.Animate,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Zt?r.push(a):n.errors.push(zx(a)):r.push(new Map(Object.entries(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 c of a.values())if(c.toString().indexOf(nC)>=0){o=!0;break}}}),{type:q.Style,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=n.collectedStyles.get(n.currentQuerySelector),u=l.get(c),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(Gx(c,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&l.set(c,{startTime:o,endTime:i}),n.options&&CA(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:q.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(Wx()),r;let i=1,o=0,s=[],a=!1,c=!1,l=0,u=e.steps.map(_=>{let Y=this._makeStyleAst(_,n),K=Y.offset!=null?Y.offset:PA(Y.styles),j=0;return K!=null&&(o++,j=Y.offset=K),c=c||j<0||j>1,a=a||j0&&o{let K=h>0?Y==p?1:h*Y:s[Y],j=K*b;n.currentTime=m+v.delay+j,v.duration=j,this._validateStyleAst(_,n),_.offset=K,r.styles.push(_)}),r}visitReference(e,n){return{type:q.Reference,animation:it(this,Bo(e.animation),n),options:br(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:q.AnimateChild,options:br(e.options)}}visitAnimateRef(e,n){return{type:q.AnimateRef,animation:this.visitReference(e.animation,n),options:br(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[o,s]=xA(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,ot(n.collectedStyles,n.currentQuerySelector,new Map);let a=it(this,Bo(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:q.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:br(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(Qx());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ac(e.timings,n.errors,!0);return{type:q.Stagger,animation:it(this,Bo(e.animation),n),timings:r,options:null}}};function xA(t){let e=!!t.split(/\s*,\s*/).find(n=>n==oC);return e&&(t=t.replace(TA,"")),t=t.replace(/@\*/g,xc).replace(/@\w+/g,n=>xc+"-"+n.slice(1)).replace(/:animating/g,ih),[t,e]}function AA(t){return t?D({},t):null}var ch=class{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 PA(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function OA(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Ac(t,e).duration;return Xf(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Xf(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=Ac(n,e);return Xf(i.duration,i.delay,i.easing)}function br(t){return t?(t=D({},t),t.params&&(t.params=AA(t.params))):t={},t}function Xf(t,e,n){return{duration:t,delay:e,easing:n}}function Mh(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}}var Ho=class{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()}},NA=1,RA=":enter",FA=new RegExp(RA,"g"),kA=":leave",LA=new RegExp(kA,"g");function aC(t,e,n,r,i,o=new Map,s=new Map,a,c,l=[]){return new lh().buildKeyframes(t,e,n,r,i,o,s,a,c,l)}var lh=class{buildKeyframes(e,n,r,i,o,s,a,c,l,u=[]){l=l||new Ho;let d=new uh(e,n,l,i,o,u,[]);d.options=c;let h=c.delay?fn(c.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,c),it(this,r,d);let p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let v=p.length-1;v>=0;v--){let b=p[v];if(b.element===n){m=b;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,c)}return p.length?p.map(m=>m.buildKeyframes()):[Mh(n,[],[],[],0,h,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let 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){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:fn($o(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime,s=r.duration!=null?fn(r.duration):null,a=r.delay!=null?fn(r.delay):null;return s!==0&&e.forEach(c=>{let l=n.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),it(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==q.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Nc);let s=fn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>it(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,o=e.options&&e.options.delay?fn(e.options.delay):0;e.steps.forEach(s=>{let a=n.createSubContext(e.options);o&&a.delayNextStep(o),it(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){let r=e.strValue,i=n.params?$o(r,n.params,n.errors):r;return Ac(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=e.style;o.type==q.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let 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){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*o),a.setStyles(c.styles,c.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?fn(i.delay):0;o&&(n.previousNode.type===q.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Nc);let s=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(e.options,l);o&&d.delayNextStep(o),l===n.element&&(c=d.currentTimeline),it(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),c=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=r.currentStaggerTime;break}let u=n.currentTimeline;c&&u.delayNextStep(c);let d=u.currentTime;it(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},Nc={},uh=class t{constructor(e,n,r,i,o,s,a,c){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=Nc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Rc(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=fn(r.duration)),r.delay!=null&&(i.delay=fn(r.delay));let 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]=$o(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,o=new t(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=Nc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new dh(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.replace(FA,"."+this._enterClassName),e=e.replace(LA,"."+this._leaveClassName);let c=r!=1,l=this._driver.query(this.element,e,c);r!==0&&(l=r<0?l.slice(l.length+r,l.length):l.slice(0,r)),a.push(...l)}return!o&&a.length==0&&s.push(Kx(n)),a}},Rc=class t{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(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+=NA,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||Zt),this._currentKeyframe.set(n,Zt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},s=jA(e,this._globalTimelineStyles);for(let[a,c]of s){let l=$o(c,o,r);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Zt),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(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(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let l=new Map([...this._backFill,...a]);l.forEach((u,d)=>{u===_c?e.add(d):u===Zt&&n.add(d)}),r||l.set("offset",c/this.duration),i.push(l)});let o=[...e.values()],s=[...n.values()];if(r){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return Mh(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},dh=class extends Rc{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){let o=[],s=r+n,a=n/s,c=new Map(e[0]);c.set("offset",0),o.push(c);let l=new Map(e[0]);l.set("offset",Gw(a)),o.push(l);let u=e.length-1;for(let d=1;d<=u;d++){let h=new Map(e[d]),p=h.get("offset"),m=n+p*r;h.set("offset",Gw(m/s)),o.push(h)}r=s,n=0,i="",e=o}return Mh(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function Gw(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function jA(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r??=e.keys();for(let o of r)n.set(o,Zt)}else for(let[o,s]of i)n.set(o,s)}),n}function Ww(t,e,n,r,i,o,s,a,c,l,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:h}}var Jf={},Fc=class{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return VA(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,s,a,c,l,u){let d=[],h=this.ast.options&&this.ast.options.params||Jf,p=a&&a.params||Jf,m=this.buildStyles(r,p,d),v=c&&c.params||Jf,b=this.buildStyles(i,v,d),_=new Set,Y=new Map,K=new Map,j=i==="void",Oe={params:cC(v,h),delay:this.ast.options?.delay},pe=u?[]:aC(e,n,this.ast.animation,o,s,m,b,Oe,l,d),ge=0;return pe.forEach(Ie=>{ge=Math.max(Ie.duration+Ie.delay,ge)}),d.length?Ww(n,this._triggerName,r,i,j,m,b,[],[],Y,K,ge,d):(pe.forEach(Ie=>{let Qt=Ie.element,hn=ot(Y,Qt,new Set);Ie.preStyleProps.forEach(jn=>hn.add(jn));let Sh=ot(K,Qt,new Set);Ie.postStyleProps.forEach(jn=>Sh.add(jn)),Qt!==n&&_.add(Qt)}),Ww(n,this._triggerName,r,i,j,m,b,pe,[..._.values()],Y,K,ge))}};function VA(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}function cC(t,e){let n=D({},e);return Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var fh=class{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=cC(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=$o(s,i,n));let c=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,c,s,n),r.set(a,s)})}),r}};function BA(t,e,n){return new hh(t,e,n)}var hh=class{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new fh(i.style,o,r))}),qw(this.states,"true","1"),qw(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new Fc(e,i,this.states))}),this.fallbackTransition=UA(e,this.states,this._normalizer)}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 UA(t,e,n){let r=[(s,a)=>!0],i={type:q.Sequence,steps:[],options:null},o={type:q.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new Fc(t,o,e)}function qw(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var $A=new Ho,ph=class{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){let r=[],i=[],o=sC(this._driver,n,r,i);if(r.length)throw nA(r);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,r){let i=e.element,o=Jw(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=aC(this._driver,n,o,rC,rh,new Map,new Map,r,$A,i),s.forEach(u=>{let d=ot(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(rA()),s=[]),i.length)throw iA(i);a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,Zt))})});let c=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),l=Ln(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw oA(e);return n}listen(e,n,r,i){let o=Ch(n,"","","");return wh(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(e,n,s);return}let 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);break}}},Zw="ng-animate-queued",HA=".ng-animate-queued",eh="ng-animate-disabled",zA=".ng-animate-disabled",GA="ng-star-inserted",WA=".ng-star-inserted",qA=[],lC={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ZA={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ft="__ng_removed",zo=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=QA(i),r){let o=e,{value:s}=o,a=$c(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Uo="void",th=new zo(Uo),gh=class{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,Ct(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw sA(r,n);if(r==null||r.length==0)throw aA(n);if(!KA(r))throw cA(r,n);let o=ot(this._elementListeners,e,[]),s={name:n,phase:r,callback:i};o.push(s);let a=ot(this._engine.statesByElement,e,new Map);return a.has(n)||(Ct(e,Ec),Ct(e,Ec+"-"+n),a.set(n,th)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw lA(e);return n}trigger(e,n,r,i=!0){let o=this._getTrigger(n),s=new Go(this.id,n,e),a=this._engine.statesByElement.get(e);a||(Ct(e,Ec),Ct(e,Ec+"-"+n),this._engine.statesByElement.set(e,a=new Map));let c=a.get(n),l=new zo(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(n,l),c||(c=th),!(l.value===Uo)&&c.value===l.value){if(!eP(c.params,l.params)){let v=[],b=o.matchStyles(c.value,c.params,v),_=o.matchStyles(l.value,l.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{_r(e,b),Yt(e,_)})}return}let h=ot(this._engine.playersByElement,e,[]);h.forEach(v=>{v.namespaceId==this.id&&v.triggerName==n&&v.queued&&v.destroy()});let p=o.matchTransition(c.value,l.value,e,l.params),m=!1;if(!p){if(!i)return;p=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:p,fromState:c,toState:l,player:s,isFallbackTransition:m}),m||(Ct(e,Zw),s.onStart(()=>{_i(e,Zw)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);let b=this._engine.playersByElement.get(e);if(b){let _=b.indexOf(s);_>=0&&b.splice(_,1)}}),this.players.push(s),h.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);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,xc,!0);r.forEach(i=>{if(i[Ft])return;let 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){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let u=this.trigger(e,l,Uo,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&&Ln(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,l=r.get(s)||th,u=new zo(Uo),d=new Go(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let 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{let o=e[Ft];(!o||o===lC)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Ct(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let c=Ch(o,r.triggerName,r.fromState.value,r.toState.value);c._data=e,wh(r.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?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)}},mh=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r,i){this.bodyNode=e,this.driver=n,this._normalizer=r,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new gh(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){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let c=i.get(a);if(c){let l=r.indexOf(c);r.splice(l+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){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(e,n,r,i){if(Sc(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!Sc(n))return;let o=n[Ft];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let 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),Ct(e,eh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),_i(e,eh))}removeNode(e,n,r){if(Sc(n)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[Ft]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return Sc(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,xc,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,ih,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ln(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[Ft];if(n&&n.setForRemoval){if(e[Ft]=lC,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(eh)&&this.markElementAsDisabled(e,!1),this.driver.query(e,zA,!0).forEach(r=>{this.markElementAsDisabled(r,!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){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?Ln(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw uA(e)}_flushAnimations(e,n){let r=new Ho,i=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(S=>{u.add(S);let A=this.driver.query(S,HA,!0);for(let R=0;R{let R=rC+v++;m.set(A,R),S.forEach(X=>Ct(X,R))});let b=[],_=new Set,Y=new Set;for(let S=0;S_.add(X)):Y.add(A))}let K=new Map,j=Kw(h,Array.from(_));j.forEach((S,A)=>{let R=rh+v++;K.set(A,R),S.forEach(X=>Ct(X,R))}),e.push(()=>{p.forEach((S,A)=>{let R=m.get(A);S.forEach(X=>_i(X,R))}),j.forEach((S,A)=>{let R=K.get(A);S.forEach(X=>_i(X,R))}),b.forEach(S=>{this.processLeaveNode(S)})});let Oe=[],pe=[];for(let S=this._namespaceList.length-1;S>=0;S--)this._namespaceList[S].drainQueuedTransitions(n).forEach(R=>{let X=R.player,Se=R.element;if(Oe.push(X),this.collectedEnterElements.length){let Le=Se[Ft];if(Le&&Le.setForMove){if(Le.previousTriggersValues&&Le.previousTriggersValues.has(R.triggerName)){let Vn=Le.previousTriggersValues.get(R.triggerName),st=this.statesByElement.get(R.element);if(st&&st.has(R.triggerName)){let Wo=st.get(R.triggerName);Wo.value=Vn,st.set(R.triggerName,Wo)}}X.destroy();return}}let kt=!d||!this.driver.containsElement(d,Se),Je=K.get(Se),pn=m.get(Se),ye=this._buildInstruction(R,r,pn,Je,kt);if(ye.errors&&ye.errors.length){pe.push(ye);return}if(kt){X.onStart(()=>_r(Se,ye.fromStyles)),X.onDestroy(()=>Yt(Se,ye.toStyles)),i.push(X);return}if(R.isFallbackTransition){X.onStart(()=>_r(Se,ye.fromStyles)),X.onDestroy(()=>Yt(Se,ye.toStyles)),i.push(X);return}let Ah=[];ye.timelines.forEach(Le=>{Le.stretchStartingKeyframe=!0,this.disabledNodes.has(Le.element)||Ah.push(Le)}),ye.timelines=Ah,r.append(Se,ye.timelines);let pC={instruction:ye,player:X,element:Se};s.push(pC),ye.queriedElements.forEach(Le=>ot(a,Le,[]).push(X)),ye.preStyleProps.forEach((Le,Vn)=>{if(Le.size){let st=c.get(Vn);st||c.set(Vn,st=new Set),Le.forEach((Wo,Uc)=>st.add(Uc))}}),ye.postStyleProps.forEach((Le,Vn)=>{let st=l.get(Vn);st||l.set(Vn,st=new Set),Le.forEach((Wo,Uc)=>st.add(Uc))})});if(pe.length){let S=[];pe.forEach(A=>{S.push(dA(A.triggerName,A.errors))}),Oe.forEach(A=>A.destroy()),this.reportError(S)}let ge=new Map,Ie=new Map;s.forEach(S=>{let A=S.element;r.has(A)&&(Ie.set(A,A),this._beforeAnimationBuild(S.player.namespaceId,S.instruction,ge))}),i.forEach(S=>{let A=S.element;this._getPreviousPlayers(A,!1,S.namespaceId,S.triggerName,null).forEach(X=>{ot(ge,A,[]).push(X),X.destroy()})});let Qt=b.filter(S=>Xw(S,c,l)),hn=new Map;Qw(hn,this.driver,Y,l,Zt).forEach(S=>{Xw(S,c,l)&&Qt.push(S)});let jn=new Map;p.forEach((S,A)=>{Qw(jn,this.driver,new Set(S),c,_c)}),Qt.forEach(S=>{let A=hn.get(S),R=jn.get(S);hn.set(S,new Map([...A?.entries()??[],...R?.entries()??[]]))});let Bc=[],Th=[],xh={};s.forEach(S=>{let{element:A,player:R,instruction:X}=S;if(r.has(A)){if(u.has(A)){R.onDestroy(()=>Yt(A,X.toStyles)),R.disabled=!0,R.overrideTotalTime(X.totalTime),i.push(R);return}let Se=xh;if(Ie.size>1){let Je=A,pn=[];for(;Je=Je.parentNode;){let ye=Ie.get(Je);if(ye){Se=ye;break}pn.push(Je)}pn.forEach(ye=>Ie.set(ye,Se))}let kt=this._buildAnimation(R.namespaceId,X,ge,o,jn,hn);if(R.setRealPlayer(kt),Se===xh)Bc.push(R);else{let Je=this.playersByElement.get(Se);Je&&Je.length&&(R.parentPlayer=Ln(Je)),i.push(R)}}else _r(A,X.fromStyles),R.onDestroy(()=>Yt(A,X.toStyles)),Th.push(R),u.has(A)&&i.push(R)}),Th.forEach(S=>{let A=o.get(S.element);if(A&&A.length){let R=Ln(A);S.setRealPlayer(R)}}),i.forEach(S=>{S.parentPlayer?S.syncPlayerEvents(S.parentPlayer):S.destroy()});for(let S=0;S!kt.destroyed);Se.length?XA(this,A,Se):this.processLeaveNode(A)}return b.length=0,Bc.forEach(S=>{this.players.push(S),S.onDone(()=>{S.destroy();let A=this.players.indexOf(S);this.players.splice(A,1)}),S.play()}),Bc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let s=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==Uo;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){let i=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:i;for(let c of n.timelines){let l=c.element,u=l!==o,d=ot(r,l,[]);this._getPreviousPlayers(l,u,s,a,n.toState).forEach(p=>{let m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}_r(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,s){let a=n.triggerName,c=n.element,l=[],u=new Set,d=new Set,h=n.timelines.map(m=>{let v=m.element;u.add(v);let b=v[Ft];if(b&&b.removedBeforeQueried)return new kn(m.duration,m.delay);let _=v!==c,Y=JA((r.get(v)||qA).map(ge=>ge.getRealPlayer())).filter(ge=>{let Ie=ge;return Ie.element?Ie.element===v:!1}),K=o.get(v),j=s.get(v),Oe=Jw(this._normalizer,m.keyframes,K,j),pe=this._buildPlayer(m,Oe,Y);if(m.subTimeline&&i&&d.add(v),_){let ge=new Go(e,a,v);ge.setRealPlayer(pe),l.push(ge)}return pe});l.forEach(m=>{ot(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>YA(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>Ct(m,$w));let p=Ln(h);return p.onDestroy(()=>{u.forEach(m=>_i(m,$w)),Yt(c,n.toStyles)}),d.forEach(m=>{ot(i,m,[]).push(p)}),p}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new kn(e.duration,e.delay)}},Go=class{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new kn,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>wh(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){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){ot(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?!1: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){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function YA(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function QA(t){return t??null}function Sc(t){return t&&t.nodeType===1}function KA(t){return t=="start"||t=="done"}function Yw(t,e){let n=t.style.display;return t.style.display=e??"none",n}function Qw(t,e,n,r,i){let o=[];n.forEach(c=>o.push(Yw(c)));let s=[];r.forEach((c,l)=>{let u=new Map;c.forEach(d=>{let h=e.computeStyle(l,d,i);u.set(d,h),(!h||h.length==0)&&(l[Ft]=ZA,s.push(l))}),t.set(l,u)});let a=0;return n.forEach(c=>Yw(c,o[a++])),s}function Kw(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,i=new Set(e),o=new Map;function s(a){if(!a)return r;let c=o.get(a);if(c)return c;let l=a.parentNode;return n.has(l)?c=l:i.has(l)?c=r:c=s(l),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==r&&n.get(c).push(a)}),n}function Ct(t,e){t.classList?.add(e)}function _i(t,e){t.classList?.remove(e)}function XA(t,e,n){Ln(n).onDone(()=>t.processLeaveNode(e))}function JA(t){let e=[];return uC(t,e),e}function uC(t,e){for(let n=0;ni.add(o)):e.set(t,r),n.delete(t),!0}var Mi=class{constructor(e,n,r,i){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new mh(e.body,n,r,i),this._timelineEngine=new ph(e.body,n,r),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,n,r,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let c=[],l=[],u=sC(this._driver,o,c,l);if(c.length)throw eA(i,c);l.length&&void 0,a=BA(i,u,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){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[o,s]=Bw(r),a=i;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if(r.charAt(0)=="@"){let[s,a]=Bw(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,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function tP(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=nh(e[0]),e.length>1&&(r=nh(e[e.length-1]))):e instanceof Map&&(n=nh(e)),n||r?new yh(t,n,r):null}var Ei=class Ei{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=Ei.initialStylesByElement.get(e);i||Ei.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Yt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Yt(this._element,this._initialStyles),this._endStyles&&(Yt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ei.initialStylesByElement.delete(this._element),this._startStyles&&(_r(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_r(this._element,this._endStyles),this._endStyles=null),Yt(this._element,this._initialStyles),this._state=3)}};Ei.initialStylesByElement=new WeakMap;var yh=Ei;function nh(t){let e=null;return t.forEach((n,r)=>{nP(r)&&(e=e||new Map,e.set(r,n))}),e}function nP(t){return t==="display"||t==="position"}var kc=class{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;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let 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){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:Eh(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Lc=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return eC(e,n)}getParentElement(e){return Dh(e)}query(e,n,r){return tC(e,n,r)}computeStyle(e,n,r){return Eh(e,n)}animate(e,n,r,i,o,s=[]){let a=i==0?"both":"forwards",c={duration:r,delay:i,fill:a};o&&(c.easing=o);let l=new Map,u=s.filter(p=>p instanceof kc);bA(r,i)&&u.forEach(p=>{p.currentSnapshot.forEach((m,v)=>l.set(v,m))});let d=wA(n).map(p=>new Map(p));d=_A(e,d,l);let h=tP(e,d);return new kc(e,d,c,h)}};var Tc="@",dC="@.disabled",jc=class{constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}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)}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)==Tc&&n==dC?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)}},vh=class extends jc{constructor(e,n,r,i,o){super(n,r,i,o),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==Tc?n.charAt(1)=="."&&n==dC?(r=r===void 0?!0:!!r,this.disableAnimations(e,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)==Tc){let i=rP(e),o=n.slice(1),s="";return o.charAt(0)!=Tc&&([o,s]=iP(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,r,a)})}return this.delegate.listen(e,n,r)}};function rP(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function iP(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Vc=class{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,o)=>{let s=o?.parentNode(i);s&&o.removeChild(s,i)}}createRenderer(e,n){let r="",i=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let l=this._rendererCache,u=l.get(i);if(!u){let d=()=>l.delete(i);u=new jc(r,i,this.engine,d),l.set(i,u)}return u}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(o,s,e,l.name,l)};return n.data.animation.forEach(a),new vh(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&en(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var sP=(()=>{let e=class e extends Mi{constructor(r,i,o){super(r,i,o,g(Jr,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(x(de),x(Er),x(Mr))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();function aP(){return new Pc}function cP(t,e,n){return new Vc(t,e,n)}var fC=[{provide:Mr,useFactory:aP},{provide:Mi,useClass:sP},{provide:ir,useFactory:cP,deps:[ja,Mi,fe]}],lP=[{provide:Er,useFactory:()=>new Lc},{provide:sd,useValue:"BrowserAnimations"},...fC],NU=[{provide:Er,useClass:bh},{provide:sd,useValue:"NoopAnimations"},...fC];function hC(){return Nt("NgEagerAnimations"),[...lP]}sv(Lw,{providers:[Ny(),hC(),zv([]),oc,Jy(),{provide:ic,useValue:[Ro]},Ro,nw(),{provide:Fo,useValue:{fullLibraryLoader:()=>import("./es-TV7G7V4C.js")}}]}).catch(t=>console.error(t)); +`)),i&2&&(E(2),k("activeLink",o.githubMaskLink),E(6),k("lists",o.lists),E(5),k("title",o.title)("subtitle",o.subtitle)("chips",o.chips),E(2),k("cardDocs",o.card))},dependencies:[uv,Wv,Yv,Qv,kw],styles:[".content-wrapper[_ngcontent-%COMP%] .mask-wrap[_ngcontent-%COMP%]{height:calc(100% - 64px);overflow:auto}.content-wrapper[_ngcontent-%COMP%] .mask-wrap[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%]{width:100%;padding-left:310px}@media screen and (max-width: 1279px){.content-wrapper[_ngcontent-%COMP%] .mask-wrap[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%]{padding:0;margin-top:55px}}"]});let t=e;return t})();var q=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(q||{}),Zt="*";function jw(t,e=null){return{type:q.Sequence,steps:t,options:e}}function Qf(t){return{type:q.Style,styles:t,offset:null}}var kn=class{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(){queueMicrotask(()=>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){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Vo=class{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,o=this.players.length;o==0?queueMicrotask(()=>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){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ec="!";function Vw(t){return new y(3e3,!1)}function Fx(){return new y(3100,!1)}function kx(){return new y(3101,!1)}function Lx(t){return new y(3001,!1)}function jx(t){return new y(3003,!1)}function Vx(t){return new y(3004,!1)}function Bx(t,e){return new y(3005,!1)}function Ux(){return new y(3006,!1)}function $x(){return new y(3007,!1)}function Hx(t,e){return new y(3008,!1)}function zx(t){return new y(3002,!1)}function Gx(t,e,n,r,i){return new y(3010,!1)}function Wx(){return new y(3011,!1)}function qx(){return new y(3012,!1)}function Zx(){return new y(3200,!1)}function Yx(){return new y(3202,!1)}function Qx(){return new y(3013,!1)}function Kx(t){return new y(3014,!1)}function Xx(t){return new y(3015,!1)}function Jx(t){return new y(3016,!1)}function eA(t,e){return new y(3404,!1)}function tA(t){return new y(3502,!1)}function nA(t){return new y(3503,!1)}function rA(){return new y(3300,!1)}function iA(t){return new y(3504,!1)}function oA(t){return new y(3301,!1)}function sA(t,e){return new y(3302,!1)}function aA(t){return new y(3303,!1)}function cA(t,e){return new y(3400,!1)}function lA(t){return new y(3401,!1)}function uA(t){return new y(3402,!1)}function dA(t,e){return new y(3505,!1)}function Ln(t){switch(t.length){case 0:return new kn;case 1:return t[0];default:return new Vo(t)}}function Jw(t,e,n=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(c=>{let l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((h,p)=>{let m=p,v=h;if(p!=="offset")switch(m=t.normalizePropertyName(m,i),v){case Ec:v=n.get(p);break;case Zt:v=r.get(p);break;default:v=t.normalizeStyleValue(p,m,v,i);break}d.set(m,v)}),u||o.push(d),a=d,s=l}),i.length)throw tA(i);return o}function wh(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&Kf(n,"start",t)));break;case"done":t.onDone(()=>r(n&&Kf(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&Kf(n,"destroy",t)));break}}function Kf(t,e,n){let r=n.totalTime,i=!!n.disabled,o=Ch(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function Ch(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function ot(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function Bw(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var fA=typeof document>"u"?null:document.documentElement;function Dh(t){let e=t.parentNode||t.host||null;return e===fA?null:e}function hA(t){return t.substring(1,6)=="ebkit"}var Dr=null,Uw=!1;function pA(t){Dr||(Dr=gA()||{},Uw=Dr.style?"WebkitAppearance"in Dr.style:!1);let e=!0;return Dr.style&&!hA(t)&&(e=t in Dr.style,!e&&Uw&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Dr.style)),e}function gA(){return typeof document<"u"?document.body:null}function eC(t,e){for(;e;){if(e===t)return!0;e=Dh(e)}return!1}function tC(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var bh=(()=>{let e=class e{validateStyleProperty(r){return pA(r)}matchesElement(r,i){return!1}containsElement(r,i){return eC(r,i)}getParentElement(r){return Dh(r)}query(r,i,o){return tC(r,i,o)}computeStyle(r,i,o){return o||""}animate(r,i,o,s,a,c=[],l){return new kn(o,s)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})(),Ih=class Ih{};Ih.NOOP=new bh;var Er=Ih,Mr=class{};var mA=1e3,nC="{{",yA="}}",rC="ng-enter",rh="ng-leave",Mc="ng-trigger",Ac=".ng-trigger",$w="ng-animating",ih=".ng-animating";function fn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:oh(parseFloat(e[1]),e[2])}function oh(t,e){switch(e){case"s":return t*mA;default:return t}}function Pc(t,e,n){return t.hasOwnProperty("duration")?t:vA(t,e,n)}function vA(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(Vw(t)),{duration:0,delay:0,easing:""};i=oh(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=oh(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else i=t;if(!n){let a=!1,c=e.length;i<0&&(e.push(Fx()),a=!0),o<0&&(e.push(kx()),a=!0),a&&e.splice(c,0,Vw(t))}return{duration:i,delay:o,easing:s}}function wA(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function Yt(t,e,n){e.forEach((r,i)=>{let o=_h(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r})}function _r(t,e){e.forEach((n,r)=>{let i=_h(r);t.style[i]=""})}function Bo(t){return Array.isArray(t)?t.length==1?t[0]:jw(t):t}function CA(t,e,n){let r=e.params||{},i=iC(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(Lx(o))})}var sh=new RegExp(`${nC}\\s*(.+?)\\s*${yA}`,"g");function iC(t){let e=[];if(typeof t=="string"){let n;for(;n=sh.exec(t);)e.push(n[1]);sh.lastIndex=0}return e}function $o(t,e,n){let r=`${t}`,i=r.replace(sh,(o,s)=>{let a=e[s];return a==null&&(n.push(jx(s)),a=""),a.toString()});return i==r?t:i}var DA=/-+([a-z0-9])/g;function _h(t){return t.replace(DA,(...e)=>e[1].toUpperCase())}function bA(t,e){return t===0||e===0}function _A(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,Eh(t,a)))}}return e}function it(t,e,n){switch(e.type){case q.Trigger:return t.visitTrigger(e,n);case q.State:return t.visitState(e,n);case q.Transition:return t.visitTransition(e,n);case q.Sequence:return t.visitSequence(e,n);case q.Group:return t.visitGroup(e,n);case q.Animate:return t.visitAnimate(e,n);case q.Keyframes:return t.visitKeyframes(e,n);case q.Style:return t.visitStyle(e,n);case q.Reference:return t.visitReference(e,n);case q.AnimateChild:return t.visitAnimateChild(e,n);case q.AnimateRef:return t.visitAnimateRef(e,n);case q.Query:return t.visitQuery(e,n);case q.Stagger:return t.visitStagger(e,n);default:throw Vx(e.type)}}function Eh(t,e){return window.getComputedStyle(t)[e]}var EA=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"]),Oc=class extends Mr{normalizePropertyName(e,n){return _h(e)}normalizeStyleValue(e,n,r,i){let o="",s=r.toString().trim();if(EA.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Bx(e,r))}return s+o}};var Nc="*";function MA(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>IA(r,n,e)):n.push(t),n}function IA(t,e,n){if(t[0]==":"){let c=SA(t,n);if(typeof c=="function"){e.push(c);return}t=c}let r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(Xx(t)),e;let i=r[1],o=r[2],s=r[3];e.push(Hw(i,s));let a=i==Nc&&s==Nc;o[0]=="<"&&!a&&e.push(Hw(s,i))}function SA(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) *"}}var Ic=new Set(["true","1"]),Sc=new Set(["false","0"]);function Hw(t,e){let n=Ic.has(t)||Sc.has(t),r=Ic.has(e)||Sc.has(e);return(i,o)=>{let s=t==Nc||t==i,a=e==Nc||e==o;return!s&&n&&typeof i=="boolean"&&(s=i?Ic.has(t):Sc.has(t)),!a&&r&&typeof o=="boolean"&&(a=o?Ic.has(e):Sc.has(e)),s&&a}}var oC=":self",TA=new RegExp(`s*${oC}s*,?`,"g");function sC(t,e,n,r){return new ah(t).build(e,n,r)}var zw="",ah=class{constructor(e){this._driver=e}build(e,n,r){let i=new ch(n);return this._resetContextStyleTimingState(i),it(this,Bo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=zw,e.collectedStyles=new Map,e.collectedStyles.set(zw,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&n.errors.push(Ux()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==q.State){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,o.push(this.visitState(c,n))}),c.name=l}else if(a.type==q.Transition){let c=this.visitTransition(a,n);r+=c.queryCount,i+=c.depCount,s.push(c)}else n.errors.push($x())}),{type:q.Trigger,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{iC(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size&&n.errors.push(Hx(e.name,[...o.values()]))}return{type:q.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=it(this,Bo(e.animation),n),i=MA(e.expr,n.errors);return{type:q.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:br(e.options)}}visitSequence(e,n){return{type:q.Sequence,steps:e.steps.map(r=>it(this,r,n)),options:br(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,o=e.steps.map(s=>{n.currentTime=r;let a=it(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:q.Group,steps:o,options:br(e.options)}}visitAnimate(e,n){let r=OA(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:Qf({});if(o.type==q.Keyframes)i=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;let l={};r.easing&&(l.easing=r.easing),s=Qf(l)}n.currentTime+=r.duration+r.delay;let c=this.visitStyle(s,n);c.isEmptyStep=a,i=c}return n.currentAnimateTimings=null,{type:q.Animate,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Zt?r.push(a):n.errors.push(zx(a)):r.push(new Map(Object.entries(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 c of a.values())if(c.toString().indexOf(nC)>=0){o=!0;break}}}),{type:q.Style,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=n.collectedStyles.get(n.currentQuerySelector),u=l.get(c),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(Gx(c,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&l.set(c,{startTime:o,endTime:i}),n.options&&CA(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:q.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(Wx()),r;let i=1,o=0,s=[],a=!1,c=!1,l=0,u=e.steps.map(_=>{let Y=this._makeStyleAst(_,n),K=Y.offset!=null?Y.offset:PA(Y.styles),j=0;return K!=null&&(o++,j=Y.offset=K),c=c||j<0||j>1,a=a||j0&&o{let K=h>0?Y==p?1:h*Y:s[Y],j=K*b;n.currentTime=m+v.delay+j,v.duration=j,this._validateStyleAst(_,n),_.offset=K,r.styles.push(_)}),r}visitReference(e,n){return{type:q.Reference,animation:it(this,Bo(e.animation),n),options:br(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:q.AnimateChild,options:br(e.options)}}visitAnimateRef(e,n){return{type:q.AnimateRef,animation:this.visitReference(e.animation,n),options:br(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[o,s]=xA(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,ot(n.collectedStyles,n.currentQuerySelector,new Map);let a=it(this,Bo(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:q.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:br(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(Qx());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Pc(e.timings,n.errors,!0);return{type:q.Stagger,animation:it(this,Bo(e.animation),n),timings:r,options:null}}};function xA(t){let e=!!t.split(/\s*,\s*/).find(n=>n==oC);return e&&(t=t.replace(TA,"")),t=t.replace(/@\*/g,Ac).replace(/@\w+/g,n=>Ac+"-"+n.slice(1)).replace(/:animating/g,ih),[t,e]}function AA(t){return t?D({},t):null}var ch=class{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 PA(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function OA(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Pc(t,e).duration;return Xf(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Xf(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=Pc(n,e);return Xf(i.duration,i.delay,i.easing)}function br(t){return t?(t=D({},t),t.params&&(t.params=AA(t.params))):t={},t}function Xf(t,e,n){return{duration:t,delay:e,easing:n}}function Mh(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}}var Ho=class{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()}},NA=1,RA=":enter",FA=new RegExp(RA,"g"),kA=":leave",LA=new RegExp(kA,"g");function aC(t,e,n,r,i,o=new Map,s=new Map,a,c,l=[]){return new lh().buildKeyframes(t,e,n,r,i,o,s,a,c,l)}var lh=class{buildKeyframes(e,n,r,i,o,s,a,c,l,u=[]){l=l||new Ho;let d=new uh(e,n,l,i,o,u,[]);d.options=c;let h=c.delay?fn(c.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,c),it(this,r,d);let p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let v=p.length-1;v>=0;v--){let b=p[v];if(b.element===n){m=b;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,c)}return p.length?p.map(m=>m.buildKeyframes()):[Mh(n,[],[],[],0,h,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let 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){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:fn($o(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime,s=r.duration!=null?fn(r.duration):null,a=r.delay!=null?fn(r.delay):null;return s!==0&&e.forEach(c=>{let l=n.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),it(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==q.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Rc);let s=fn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>it(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,o=e.options&&e.options.delay?fn(e.options.delay):0;e.steps.forEach(s=>{let a=n.createSubContext(e.options);o&&a.delayNextStep(o),it(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){let r=e.strValue,i=n.params?$o(r,n.params,n.errors):r;return Pc(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=e.style;o.type==q.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let 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){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*o),a.setStyles(c.styles,c.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?fn(i.delay):0;o&&(n.previousNode.type===q.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Rc);let s=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(e.options,l);o&&d.delayNextStep(o),l===n.element&&(c=d.currentTimeline),it(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),c=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=r.currentStaggerTime;break}let u=n.currentTimeline;c&&u.delayNextStep(c);let d=u.currentTime;it(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},Rc={},uh=class t{constructor(e,n,r,i,o,s,a,c){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=Rc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Fc(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=fn(r.duration)),r.delay!=null&&(i.delay=fn(r.delay));let 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]=$o(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,o=new t(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=Rc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new dh(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.replace(FA,"."+this._enterClassName),e=e.replace(LA,"."+this._leaveClassName);let c=r!=1,l=this._driver.query(this.element,e,c);r!==0&&(l=r<0?l.slice(l.length+r,l.length):l.slice(0,r)),a.push(...l)}return!o&&a.length==0&&s.push(Kx(n)),a}},Fc=class t{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(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+=NA,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||Zt),this._currentKeyframe.set(n,Zt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},s=jA(e,this._globalTimelineStyles);for(let[a,c]of s){let l=$o(c,o,r);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Zt),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(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(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let l=new Map([...this._backFill,...a]);l.forEach((u,d)=>{u===Ec?e.add(d):u===Zt&&n.add(d)}),r||l.set("offset",c/this.duration),i.push(l)});let o=[...e.values()],s=[...n.values()];if(r){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return Mh(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},dh=class extends Fc{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){let o=[],s=r+n,a=n/s,c=new Map(e[0]);c.set("offset",0),o.push(c);let l=new Map(e[0]);l.set("offset",Gw(a)),o.push(l);let u=e.length-1;for(let d=1;d<=u;d++){let h=new Map(e[d]),p=h.get("offset"),m=n+p*r;h.set("offset",Gw(m/s)),o.push(h)}r=s,n=0,i="",e=o}return Mh(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function Gw(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function jA(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r??=e.keys();for(let o of r)n.set(o,Zt)}else for(let[o,s]of i)n.set(o,s)}),n}function Ww(t,e,n,r,i,o,s,a,c,l,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:h}}var Jf={},kc=class{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return VA(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,s,a,c,l,u){let d=[],h=this.ast.options&&this.ast.options.params||Jf,p=a&&a.params||Jf,m=this.buildStyles(r,p,d),v=c&&c.params||Jf,b=this.buildStyles(i,v,d),_=new Set,Y=new Map,K=new Map,j=i==="void",Oe={params:cC(v,h),delay:this.ast.options?.delay},pe=u?[]:aC(e,n,this.ast.animation,o,s,m,b,Oe,l,d),ge=0;return pe.forEach(Ie=>{ge=Math.max(Ie.duration+Ie.delay,ge)}),d.length?Ww(n,this._triggerName,r,i,j,m,b,[],[],Y,K,ge,d):(pe.forEach(Ie=>{let Qt=Ie.element,hn=ot(Y,Qt,new Set);Ie.preStyleProps.forEach(jn=>hn.add(jn));let Sh=ot(K,Qt,new Set);Ie.postStyleProps.forEach(jn=>Sh.add(jn)),Qt!==n&&_.add(Qt)}),Ww(n,this._triggerName,r,i,j,m,b,pe,[..._.values()],Y,K,ge))}};function VA(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}function cC(t,e){let n=D({},e);return Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var fh=class{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=cC(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=$o(s,i,n));let c=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,c,s,n),r.set(a,s)})}),r}};function BA(t,e,n){return new hh(t,e,n)}var hh=class{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new fh(i.style,o,r))}),qw(this.states,"true","1"),qw(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new kc(e,i,this.states))}),this.fallbackTransition=UA(e,this.states,this._normalizer)}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 UA(t,e,n){let r=[(s,a)=>!0],i={type:q.Sequence,steps:[],options:null},o={type:q.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new kc(t,o,e)}function qw(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var $A=new Ho,ph=class{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){let r=[],i=[],o=sC(this._driver,n,r,i);if(r.length)throw nA(r);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,r){let i=e.element,o=Jw(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=aC(this._driver,n,o,rC,rh,new Map,new Map,r,$A,i),s.forEach(u=>{let d=ot(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(rA()),s=[]),i.length)throw iA(i);a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,Zt))})});let c=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),l=Ln(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw oA(e);return n}listen(e,n,r,i){let o=Ch(n,"","","");return wh(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(e,n,s);return}let 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);break}}},Zw="ng-animate-queued",HA=".ng-animate-queued",eh="ng-animate-disabled",zA=".ng-animate-disabled",GA="ng-star-inserted",WA=".ng-star-inserted",qA=[],lC={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ZA={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ft="__ng_removed",zo=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=QA(i),r){let o=e,{value:s}=o,a=Hc(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Uo="void",th=new zo(Uo),gh=class{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,Ct(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw sA(r,n);if(r==null||r.length==0)throw aA(n);if(!KA(r))throw cA(r,n);let o=ot(this._elementListeners,e,[]),s={name:n,phase:r,callback:i};o.push(s);let a=ot(this._engine.statesByElement,e,new Map);return a.has(n)||(Ct(e,Mc),Ct(e,Mc+"-"+n),a.set(n,th)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw lA(e);return n}trigger(e,n,r,i=!0){let o=this._getTrigger(n),s=new Go(this.id,n,e),a=this._engine.statesByElement.get(e);a||(Ct(e,Mc),Ct(e,Mc+"-"+n),this._engine.statesByElement.set(e,a=new Map));let c=a.get(n),l=new zo(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(n,l),c||(c=th),!(l.value===Uo)&&c.value===l.value){if(!eP(c.params,l.params)){let v=[],b=o.matchStyles(c.value,c.params,v),_=o.matchStyles(l.value,l.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{_r(e,b),Yt(e,_)})}return}let h=ot(this._engine.playersByElement,e,[]);h.forEach(v=>{v.namespaceId==this.id&&v.triggerName==n&&v.queued&&v.destroy()});let p=o.matchTransition(c.value,l.value,e,l.params),m=!1;if(!p){if(!i)return;p=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:p,fromState:c,toState:l,player:s,isFallbackTransition:m}),m||(Ct(e,Zw),s.onStart(()=>{_i(e,Zw)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);let b=this._engine.playersByElement.get(e);if(b){let _=b.indexOf(s);_>=0&&b.splice(_,1)}}),this.players.push(s),h.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);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,Ac,!0);r.forEach(i=>{if(i[Ft])return;let 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){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let u=this.trigger(e,l,Uo,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&&Ln(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,l=r.get(s)||th,u=new zo(Uo),d=new Go(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let 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{let o=e[Ft];(!o||o===lC)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Ct(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let c=Ch(o,r.triggerName,r.fromState.value,r.toState.value);c._data=e,wh(r.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?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)}},mh=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r,i){this.bodyNode=e,this.driver=n,this._normalizer=r,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new gh(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){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let c=i.get(a);if(c){let l=r.indexOf(c);r.splice(l+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){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(e,n,r,i){if(Tc(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!Tc(n))return;let o=n[Ft];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let 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),Ct(e,eh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),_i(e,eh))}removeNode(e,n,r){if(Tc(n)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[Ft]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return Tc(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,Ac,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,ih,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ln(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[Ft];if(n&&n.setForRemoval){if(e[Ft]=lC,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(eh)&&this.markElementAsDisabled(e,!1),this.driver.query(e,zA,!0).forEach(r=>{this.markElementAsDisabled(r,!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){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?Ln(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw uA(e)}_flushAnimations(e,n){let r=new Ho,i=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(S=>{u.add(S);let A=this.driver.query(S,HA,!0);for(let R=0;R{let R=rC+v++;m.set(A,R),S.forEach(X=>Ct(X,R))});let b=[],_=new Set,Y=new Set;for(let S=0;S_.add(X)):Y.add(A))}let K=new Map,j=Kw(h,Array.from(_));j.forEach((S,A)=>{let R=rh+v++;K.set(A,R),S.forEach(X=>Ct(X,R))}),e.push(()=>{p.forEach((S,A)=>{let R=m.get(A);S.forEach(X=>_i(X,R))}),j.forEach((S,A)=>{let R=K.get(A);S.forEach(X=>_i(X,R))}),b.forEach(S=>{this.processLeaveNode(S)})});let Oe=[],pe=[];for(let S=this._namespaceList.length-1;S>=0;S--)this._namespaceList[S].drainQueuedTransitions(n).forEach(R=>{let X=R.player,Se=R.element;if(Oe.push(X),this.collectedEnterElements.length){let Le=Se[Ft];if(Le&&Le.setForMove){if(Le.previousTriggersValues&&Le.previousTriggersValues.has(R.triggerName)){let Vn=Le.previousTriggersValues.get(R.triggerName),st=this.statesByElement.get(R.element);if(st&&st.has(R.triggerName)){let Wo=st.get(R.triggerName);Wo.value=Vn,st.set(R.triggerName,Wo)}}X.destroy();return}}let kt=!d||!this.driver.containsElement(d,Se),Je=K.get(Se),pn=m.get(Se),ye=this._buildInstruction(R,r,pn,Je,kt);if(ye.errors&&ye.errors.length){pe.push(ye);return}if(kt){X.onStart(()=>_r(Se,ye.fromStyles)),X.onDestroy(()=>Yt(Se,ye.toStyles)),i.push(X);return}if(R.isFallbackTransition){X.onStart(()=>_r(Se,ye.fromStyles)),X.onDestroy(()=>Yt(Se,ye.toStyles)),i.push(X);return}let Ah=[];ye.timelines.forEach(Le=>{Le.stretchStartingKeyframe=!0,this.disabledNodes.has(Le.element)||Ah.push(Le)}),ye.timelines=Ah,r.append(Se,ye.timelines);let pC={instruction:ye,player:X,element:Se};s.push(pC),ye.queriedElements.forEach(Le=>ot(a,Le,[]).push(X)),ye.preStyleProps.forEach((Le,Vn)=>{if(Le.size){let st=c.get(Vn);st||c.set(Vn,st=new Set),Le.forEach((Wo,$c)=>st.add($c))}}),ye.postStyleProps.forEach((Le,Vn)=>{let st=l.get(Vn);st||l.set(Vn,st=new Set),Le.forEach((Wo,$c)=>st.add($c))})});if(pe.length){let S=[];pe.forEach(A=>{S.push(dA(A.triggerName,A.errors))}),Oe.forEach(A=>A.destroy()),this.reportError(S)}let ge=new Map,Ie=new Map;s.forEach(S=>{let A=S.element;r.has(A)&&(Ie.set(A,A),this._beforeAnimationBuild(S.player.namespaceId,S.instruction,ge))}),i.forEach(S=>{let A=S.element;this._getPreviousPlayers(A,!1,S.namespaceId,S.triggerName,null).forEach(X=>{ot(ge,A,[]).push(X),X.destroy()})});let Qt=b.filter(S=>Xw(S,c,l)),hn=new Map;Qw(hn,this.driver,Y,l,Zt).forEach(S=>{Xw(S,c,l)&&Qt.push(S)});let jn=new Map;p.forEach((S,A)=>{Qw(jn,this.driver,new Set(S),c,Ec)}),Qt.forEach(S=>{let A=hn.get(S),R=jn.get(S);hn.set(S,new Map([...A?.entries()??[],...R?.entries()??[]]))});let Uc=[],Th=[],xh={};s.forEach(S=>{let{element:A,player:R,instruction:X}=S;if(r.has(A)){if(u.has(A)){R.onDestroy(()=>Yt(A,X.toStyles)),R.disabled=!0,R.overrideTotalTime(X.totalTime),i.push(R);return}let Se=xh;if(Ie.size>1){let Je=A,pn=[];for(;Je=Je.parentNode;){let ye=Ie.get(Je);if(ye){Se=ye;break}pn.push(Je)}pn.forEach(ye=>Ie.set(ye,Se))}let kt=this._buildAnimation(R.namespaceId,X,ge,o,jn,hn);if(R.setRealPlayer(kt),Se===xh)Uc.push(R);else{let Je=this.playersByElement.get(Se);Je&&Je.length&&(R.parentPlayer=Ln(Je)),i.push(R)}}else _r(A,X.fromStyles),R.onDestroy(()=>Yt(A,X.toStyles)),Th.push(R),u.has(A)&&i.push(R)}),Th.forEach(S=>{let A=o.get(S.element);if(A&&A.length){let R=Ln(A);S.setRealPlayer(R)}}),i.forEach(S=>{S.parentPlayer?S.syncPlayerEvents(S.parentPlayer):S.destroy()});for(let S=0;S!kt.destroyed);Se.length?XA(this,A,Se):this.processLeaveNode(A)}return b.length=0,Uc.forEach(S=>{this.players.push(S),S.onDone(()=>{S.destroy();let A=this.players.indexOf(S);this.players.splice(A,1)}),S.play()}),Uc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let s=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==Uo;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){let i=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:i;for(let c of n.timelines){let l=c.element,u=l!==o,d=ot(r,l,[]);this._getPreviousPlayers(l,u,s,a,n.toState).forEach(p=>{let m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}_r(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,s){let a=n.triggerName,c=n.element,l=[],u=new Set,d=new Set,h=n.timelines.map(m=>{let v=m.element;u.add(v);let b=v[Ft];if(b&&b.removedBeforeQueried)return new kn(m.duration,m.delay);let _=v!==c,Y=JA((r.get(v)||qA).map(ge=>ge.getRealPlayer())).filter(ge=>{let Ie=ge;return Ie.element?Ie.element===v:!1}),K=o.get(v),j=s.get(v),Oe=Jw(this._normalizer,m.keyframes,K,j),pe=this._buildPlayer(m,Oe,Y);if(m.subTimeline&&i&&d.add(v),_){let ge=new Go(e,a,v);ge.setRealPlayer(pe),l.push(ge)}return pe});l.forEach(m=>{ot(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>YA(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>Ct(m,$w));let p=Ln(h);return p.onDestroy(()=>{u.forEach(m=>_i(m,$w)),Yt(c,n.toStyles)}),d.forEach(m=>{ot(i,m,[]).push(p)}),p}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new kn(e.duration,e.delay)}},Go=class{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new kn,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>wh(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){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){ot(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?!1: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){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function YA(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function QA(t){return t??null}function Tc(t){return t&&t.nodeType===1}function KA(t){return t=="start"||t=="done"}function Yw(t,e){let n=t.style.display;return t.style.display=e??"none",n}function Qw(t,e,n,r,i){let o=[];n.forEach(c=>o.push(Yw(c)));let s=[];r.forEach((c,l)=>{let u=new Map;c.forEach(d=>{let h=e.computeStyle(l,d,i);u.set(d,h),(!h||h.length==0)&&(l[Ft]=ZA,s.push(l))}),t.set(l,u)});let a=0;return n.forEach(c=>Yw(c,o[a++])),s}function Kw(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,i=new Set(e),o=new Map;function s(a){if(!a)return r;let c=o.get(a);if(c)return c;let l=a.parentNode;return n.has(l)?c=l:i.has(l)?c=r:c=s(l),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==r&&n.get(c).push(a)}),n}function Ct(t,e){t.classList?.add(e)}function _i(t,e){t.classList?.remove(e)}function XA(t,e,n){Ln(n).onDone(()=>t.processLeaveNode(e))}function JA(t){let e=[];return uC(t,e),e}function uC(t,e){for(let n=0;ni.add(o)):e.set(t,r),n.delete(t),!0}var Mi=class{constructor(e,n,r,i){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new mh(e.body,n,r,i),this._timelineEngine=new ph(e.body,n,r),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,n,r,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let c=[],l=[],u=sC(this._driver,o,c,l);if(c.length)throw eA(i,c);l.length&&void 0,a=BA(i,u,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){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[o,s]=Bw(r),a=i;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if(r.charAt(0)=="@"){let[s,a]=Bw(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,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function tP(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=nh(e[0]),e.length>1&&(r=nh(e[e.length-1]))):e instanceof Map&&(n=nh(e)),n||r?new yh(t,n,r):null}var Ei=class Ei{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=Ei.initialStylesByElement.get(e);i||Ei.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Yt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Yt(this._element,this._initialStyles),this._endStyles&&(Yt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ei.initialStylesByElement.delete(this._element),this._startStyles&&(_r(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_r(this._element,this._endStyles),this._endStyles=null),Yt(this._element,this._initialStyles),this._state=3)}};Ei.initialStylesByElement=new WeakMap;var yh=Ei;function nh(t){let e=null;return t.forEach((n,r)=>{nP(r)&&(e=e||new Map,e.set(r,n))}),e}function nP(t){return t==="display"||t==="position"}var Lc=class{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;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let 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){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:Eh(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},jc=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return eC(e,n)}getParentElement(e){return Dh(e)}query(e,n,r){return tC(e,n,r)}computeStyle(e,n,r){return Eh(e,n)}animate(e,n,r,i,o,s=[]){let a=i==0?"both":"forwards",c={duration:r,delay:i,fill:a};o&&(c.easing=o);let l=new Map,u=s.filter(p=>p instanceof Lc);bA(r,i)&&u.forEach(p=>{p.currentSnapshot.forEach((m,v)=>l.set(v,m))});let d=wA(n).map(p=>new Map(p));d=_A(e,d,l);let h=tP(e,d);return new Lc(e,d,c,h)}};var xc="@",dC="@.disabled",Vc=class{constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}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)}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)==xc&&n==dC?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)}},vh=class extends Vc{constructor(e,n,r,i,o){super(n,r,i,o),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==xc?n.charAt(1)=="."&&n==dC?(r=r===void 0?!0:!!r,this.disableAnimations(e,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)==xc){let i=rP(e),o=n.slice(1),s="";return o.charAt(0)!=xc&&([o,s]=iP(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,r,a)})}return this.delegate.listen(e,n,r)}};function rP(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function iP(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Bc=class{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,o)=>{let s=o?.parentNode(i);s&&o.removeChild(s,i)}}createRenderer(e,n){let r="",i=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let l=this._rendererCache,u=l.get(i);if(!u){let d=()=>l.delete(i);u=new Vc(r,i,this.engine,d),l.set(i,u)}return u}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(o,s,e,l.name,l)};return n.data.animation.forEach(a),new vh(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&en(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var sP=(()=>{let e=class e extends Mi{constructor(r,i,o){super(r,i,o,g(Jr,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(x(de),x(Er),x(Mr))},e.\u0275prov=M({token:e,factory:e.\u0275fac});let t=e;return t})();function aP(){return new Oc}function cP(t,e,n){return new Bc(t,e,n)}var fC=[{provide:Mr,useFactory:aP},{provide:Mi,useClass:sP},{provide:ir,useFactory:cP,deps:[Va,Mi,fe]}],lP=[{provide:Er,useFactory:()=>new jc},{provide:sd,useValue:"BrowserAnimations"},...fC],NU=[{provide:Er,useClass:bh},{provide:sd,useValue:"NoopAnimations"},...fC];function hC(){return Nt("NgEagerAnimations"),[...lP]}sv(Lw,{providers:[Ny(),hC(),zv([]),sc,Jy(),{provide:oc,useValue:[Ro]},Ro,nw(),{provide:Fo,useValue:{fullLibraryLoader:()=>import("./es-TV7G7V4C.js")}}]}).catch(t=>console.error(t));