@everymatrix/prod-dm-date-picker 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunk-377VKGOQ.js +7 -0
- package/chunk-5EHPUX7B.js +1 -0
- package/component-lib.js +2708 -0
- package/index.html +12 -0
- package/main.js +2704 -0
- package/package-stage.json +7 -0
- package/package.json +7 -0
- package/polyfills.js +2 -0
- package/styles.css +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var kl=Object.create;var Ar=Object.defineProperty,Pl=Object.defineProperties,Ll=Object.getOwnPropertyDescriptor,jl=Object.getOwnPropertyDescriptors,Vl=Object.getOwnPropertyNames,nn=Object.getOwnPropertySymbols,Bl=Object.getPrototypeOf,Rr=Object.prototype.hasOwnProperty,os=Object.prototype.propertyIsEnumerable;var rs=(e,t,n)=>t in e?Ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||={})Rr.call(t,n)&&rs(e,n,t[n]);if(nn)for(var n of nn(t))os.call(t,n)&&rs(e,n,t[n]);return e},V=(e,t)=>Pl(e,jl(t));var Ly=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var jy=(e,t)=>{var n={};for(var r in e)Rr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&nn)for(var r of nn(e))t.indexOf(r)<0&&os.call(e,r)&&(n[r]=e[r]);return n};var Vy=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Hl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Vl(t))!Rr.call(e,o)&&o!==n&&Ar(e,o,{get:()=>t[o],enumerable:!(r=Ll(t,o))||r.enumerable});return e};var By=(e,t,n)=>(n=e!=null?kl(Bl(e)):{},Hl(t||!e||!e.__esModule?Ar(n,"default",{value:e,enumerable:!0}):n,e));function Lr(e,t){return Object.is(e,t)}var A=null,At=!1,jr=1,Q=Symbol("SIGNAL");function C(e){let t=A;return A=e,t}function is(){return A}function $l(){return At}var ke={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 on(e){if(At)throw new Error("");if(A===null)return;A.consumerOnSignalRead(e);let t=A.nextProducerIndex++;if(an(A),t<A.producerNode.length&&A.producerNode[t]!==e&&Rt(A)){let n=A.producerNode[t];sn(n,A.producerIndexOfThis[t])}A.producerNode[t]!==e&&(A.producerNode[t]=e,A.producerIndexOfThis[t]=Rt(A)?cs(e,A,t):0),A.producerLastReadVersion[t]=e.version}function Ul(){jr++}function Vr(e){if(!(Rt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===jr)){if(!e.producerMustRecompute(e)&&!Ft(e)){kr(e);return}e.producerRecomputeValue(e),kr(e)}}function ss(e){if(e.liveConsumerNode===void 0)return;let t=At;At=!0;try{for(let n of e.liveConsumerNode)n.dirty||us(n)}finally{At=t}}function as(){return A?.consumerAllowSignalWrites!==!1}function us(e){e.dirty=!0,ss(e),e.consumerMarkedDirty?.(e)}function kr(e){e.dirty=!1,e.lastCleanEpoch=jr}function nt(e){return e&&(e.nextProducerIndex=0),C(e)}function Ot(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Rt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)sn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ft(e){an(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Vr(n),r!==n.version))return!0}return!1}function rt(e){if(an(e),Rt(e))for(let t=0;t<e.producerNode.length;t++)sn(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function cs(e,t,n){if(ls(e),e.liveConsumerNode.length===0&&ds(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=cs(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function sn(e,t){if(ls(e),e.liveConsumerNode.length===1&&ds(e))for(let r=0;r<e.producerNode.length;r++)sn(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];an(o),o.producerIndexOfThis[r]=t}}function Rt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function an(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ls(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ds(e){return e.producerNode!==void 0}function fs(e){let t=Object.create(zl);t.computation=e;let n=()=>{if(Vr(t),on(t),t.value===rn)throw t.error;return t.value};return n[Q]=t,n}var Or=Symbol("UNSET"),Fr=Symbol("COMPUTING"),rn=Symbol("ERRORED"),zl=V(k({},ke),{value:Or,dirty:!0,error:null,equal:Lr,producerMustRecompute(e){return e.value===Or||e.value===Fr},producerRecomputeValue(e){if(e.value===Fr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Fr;let n=nt(e),r;try{r=e.computation()}catch(o){r=rn,e.error=o}finally{Ot(e,n)}if(t!==Or&&t!==rn&&r!==rn&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Gl(){throw new Error}var ps=Gl;function hs(){ps()}function gs(e){ps=e}var ql=null;function ms(e){let t=Object.create(Br);t.value=e;let n=()=>(on(t),t.value);return n[Q]=t,n}function un(e,t){as()||hs(),e.equal(e.value,t)||(e.value=t,Wl(e))}function ys(e,t){as()||hs(),un(e,t(e.value))}var Br=V(k({},ke),{equal:Lr,value:void 0});function Wl(e){e.version++,Ul(),ss(e),ql?.()}function vs(e,t,n){let r=Object.create(Zl);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(rt(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Pr)}let a=()=>{if(r.fn===null)return;if($l())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Ft(r))return;r.hasRun=!0;let u=nt(r);try{r.cleanupFn(),r.cleanupFn=Pr,r.fn(o)}finally{Ot(r,u)}};return r.ref={notify:()=>us(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Q]:r},r.ref}var Pr=()=>{},Zl=V(k({},ke),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Pr});function E(e){return typeof e=="function"}function cn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ln=cn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function kt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var B=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(E(r))try{r()}catch(i){t=i instanceof ln?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ds(i)}catch(s){t=t??[],s instanceof ln?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ln(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ds(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&kt(n,t)}remove(t){let{_finalizers:n}=this;n&&kt(n,t),t instanceof e&&t._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var Hr=B.EMPTY;function dn(e){return e instanceof B||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function Ds(e){E(e)?e():e.unsubscribe()}var se={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ot={setTimeout(e,t,...n){let{delegate:r}=ot;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ot;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function fn(e){ot.setTimeout(()=>{let{onUnhandledError:t}=se;if(t)t(e);else throw e})}function $r(){}var Es=Ur("C",void 0,void 0);function Is(e){return Ur("E",void 0,e)}function ws(e){return Ur("N",e,void 0)}function Ur(e,t,n){return{kind:e,value:t,error:n}}var Pe=null;function it(e){if(se.useDeprecatedSynchronousErrorHandling){let t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Pe;if(Pe=null,n)throw r}}else e()}function Cs(e){se.useDeprecatedSynchronousErrorHandling&&Pe&&(Pe.errorThrown=!0,Pe.error=e)}var Le=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,dn(t)&&t.add(this)):this.destination=Kl}static create(t,n,r){return new st(t,n,r)}next(t){this.isStopped?Gr(ws(t),this):this._next(t)}error(t){this.isStopped?Gr(Is(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Gr(Es,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ql=Function.prototype.bind;function zr(e,t){return Ql.call(e,t)}var qr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){pn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){pn(r)}else pn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){pn(n)}}},st=class extends Le{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&se.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&zr(t.next,i),error:t.error&&zr(t.error,i),complete:t.complete&&zr(t.complete,i)}):o=t}this.destination=new qr(o)}};function pn(e){se.useDeprecatedSynchronousErrorHandling?Cs(e):fn(e)}function Yl(e){throw e}function Gr(e,t){let{onStoppedNotification:n}=se;n&&ot.setTimeout(()=>n(e,t))}var Kl={closed:!0,next:$r,error:Yl,complete:$r};var at=typeof Symbol=="function"&&Symbol.observable||"@@observable";function hn(e){return e}function _s(e){return e.length===0?hn:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Xl(n)?n:new st(n,r,o);return it(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=bs(r),new r((o,i)=>{let s=new st({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[at](){return this}pipe(...n){return _s(n)(this)}toPromise(n){return n=bs(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function bs(e){var t;return(t=e??se.Promise)!==null&&t!==void 0?t:Promise}function Jl(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function Xl(e){return e&&e instanceof Le||Jl(e)&&dn(e)}function ed(e){return E(e?.lift)}function de(e){return t=>{if(ed(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function X(e,t,n,r,o){return new Wr(e,t,n,r,o)}var Wr=class extends Le{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Ms=cn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var fe=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new gn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ms}next(n){it(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){it(()=>{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(){it(()=>{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:o,observers:i}=this;return r||o?Hr:(this.currentObservers=null,i.push(n),new B(()=>{this.currentObservers=null,kt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new gn(t,n),e})(),gn=class extends fe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Hr}};var Pt=class extends fe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Zr={now(){return(Zr.delegate||Date).now()},delegate:void 0};var Qr=class extends fe{constructor(t=1/0,n=1/0,r=Zr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var Ts=new S(e=>e.complete());function Ss(e){return e&&E(e.schedule)}function Yr(e){return e[e.length-1]}function Ns(e){return E(Yr(e))?e.pop():void 0}function xs(e){return Ss(Yr(e))?e.pop():void 0}function As(e,t){return typeof Yr(e)=="number"?e.pop():t}function Os(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Rs(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function je(e){return this instanceof je?(this.v=e,this):new je(e)}function Fs(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(w){return new Promise(function(O,T){i.push([f,w,O,T])>1||u(f,w)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(w){p(i[0][3],w)}}function c(f){f.value instanceof je?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function ks(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Rs=="function"?Rs(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var mn=e=>e&&typeof e.length=="number"&&typeof e!="function";function yn(e){return E(e?.then)}function vn(e){return E(e[at])}function Dn(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function En(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function td(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var In=td();function wn(e){return E(e?.[In])}function Cn(e){return Fs(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield je(n.read());if(o)return yield je(void 0);yield yield je(r)}}finally{n.releaseLock()}})}function _n(e){return E(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(vn(e))return nd(e);if(mn(e))return rd(e);if(yn(e))return od(e);if(Dn(e))return Ps(e);if(wn(e))return id(e);if(_n(e))return sd(e)}throw En(e)}function nd(e){return new S(t=>{let n=e[at]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function rd(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function od(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,fn)})}function id(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ps(e){return new S(t=>{ad(e,t).catch(n=>t.error(n))})}function sd(e){return Ps(Cn(e))}function ad(e,t){var n,r,o,i;return Os(this,void 0,void 0,function*(){try{for(n=ks(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ee(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function bn(e,t=0){return de((n,r)=>{n.subscribe(X(r,o=>ee(r,e,()=>r.next(o),t),()=>ee(r,e,()=>r.complete(),t),o=>ee(r,e,()=>r.error(o),t)))})}function Mn(e,t=0){return de((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ls(e,t){return P(e).pipe(Mn(t),bn(t))}function js(e,t){return P(e).pipe(Mn(t),bn(t))}function Vs(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Bs(e,t){return new S(n=>{let r;return ee(n,t,()=>{r=e[In](),ee(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>E(r?.return)&&r.return()})}function Tn(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{ee(n,t,()=>{let r=e[Symbol.asyncIterator]();ee(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Hs(e,t){return Tn(Cn(e),t)}function $s(e,t){if(e!=null){if(vn(e))return Ls(e,t);if(mn(e))return Vs(e,t);if(yn(e))return js(e,t);if(Dn(e))return Tn(e,t);if(wn(e))return Bs(e,t);if(_n(e))return Hs(e,t)}throw En(e)}function Kr(e,t){return t?$s(e,t):P(e)}function Ve(e,t){return de((n,r)=>{let o=0;n.subscribe(X(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:ud}=Array;function cd(e,t){return ud(t)?e(...t):e(t)}function Us(e){return Ve(t=>cd(e,t))}var{isArray:ld}=Array,{getPrototypeOf:dd,prototype:fd,keys:pd}=Object;function zs(e){if(e.length===1){let t=e[0];if(ld(t))return{args:t,keys:null};if(hd(t)){let n=pd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function hd(e){return e&&typeof e=="object"&&dd(e)===fd}function Gs(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function qs(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=w=>c<r?h(w):u.push(w),h=w=>{i&&t.next(w),c++;let O=!1;P(n(w,l++)).subscribe(X(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{O=!0},void 0,()=>{if(O)try{for(c--;u.length&&c<r;){let T=u.shift();s?ee(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(X(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Jr(e,t,n=1/0){return E(t)?Jr((r,o)=>Ve((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),de((r,o)=>qs(r,o,e,n)))}function Ws(e=1/0){return Jr(hn,e)}function gd(...e){let t=Ns(e),{args:n,keys:r}=zs(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;P(n[l]).subscribe(X(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Gs(r,a):a),i.complete())}))}});return t?o.pipe(Us(t)):o}function md(...e){let t=xs(e),n=As(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Ws(n)(Kr(r,t)):Ts}function yd(e,t){return de((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(X(r,u=>{o?.unsubscribe();let c=0,l=i++;P(e(u,l)).subscribe(o=X(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var Dd="https://g.co/ng/security#xss",v=class extends Error{code;constructor(t,n){super(Ra(t,n)),this.code=t}};function Ra(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Oa=Symbol("InputSignalNode#UNSET"),Ed=V(k({},Br),{transformFn:void 0,applyValueToInputSignal(e,t){un(e,t)}});function Fa(e,t){let n=Object.create(Ed);n.value=e,n.transformFn=t?.transform;function r(){if(on(n),n.value===Oa)throw new v(-950,!1);return n.value}return r[Q]=n,r}function Jt(e){return{toString:e}.toString()}var Sn="__parameters__";function Id(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ka(e,t,n){return Jt(()=>{let r=Id(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Sn)?u[Sn]:Object.defineProperty(u,Sn,{value:[]})[Sn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var wd=globalThis;function M(e){for(let t in e)if(e[t]===M)return t;throw Error("Could not find renamed property on target object.")}function Cd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function $(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map($).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
|
|
4
|
+
`);return n===-1?t:t.substring(0,n)}function lo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var _d=M({__forward_ref__:M});function Pa(e){return e.__forward_ref__=Pa,e.toString=function(){return $(this())},e}function H(e){return La(e)?e():e}function La(e){return typeof e=="function"&&e.hasOwnProperty(_d)&&e.__forward_ref__===Pa}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fi(e){return{providers:e.providers||[],imports:e.imports||[]}}function pi(e){return Zs(e,ja)||Zs(e,Va)}function Zs(e,t){return e.hasOwnProperty(t)?e[t]:null}function bd(e){let t=e&&(e[ja]||e[Va]);return t||null}function Qs(e){return e&&(e.hasOwnProperty(Ys)||e.hasOwnProperty(Md))?e[Ys]:null}var ja=M({\u0275prov:M}),Ys=M({\u0275inj:M}),Va=M({ngInjectableDef:M}),Md=M({ngInjectorDef:M}),b=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=x({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ba(e){return e&&!!e.\u0275providers}var Td=M({\u0275cmp:M}),Sd=M({\u0275dir:M}),Nd=M({\u0275pipe:M}),xd=M({\u0275mod:M}),jn=M({\u0275fac:M}),Bt=M({__NG_ELEMENT_ID__:M}),Ks=M({__NG_ENV_ID__:M});function $t(e){return typeof e=="string"?e:e==null?"":String(e)}function Ad(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():$t(e)}function Rd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function hi(e,t){throw new v(-201,!1)}var D=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(D||{}),fo;function Ha(){return fo}function te(e){let t=fo;return fo=e,t}function $a(e,t,n){let r=pi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&D.Optional)return null;if(t!==void 0)return t;hi(e,"Injector")}var Od={},Ut=Od,po="__NG_DI_FLAG__",Vn="ngTempTokenPath",Fd="ngTokenPath",kd=/\n/gm,Pd="\u0275",Js="__source",dt;function Ld(){return dt}function Ie(e){let t=dt;return dt=e,t}function jd(e,t=D.Default){if(dt===void 0)throw new v(-203,!1);return dt===null?$a(e,void 0,t):dt.get(e,t&D.Optional?null:void 0,t)}function U(e,t=D.Default){return(Ha()||jd)(H(e),t)}function _(e,t=D.Default){return U(e,hr(t))}function hr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ho(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=D.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Vd(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(U(o,i))}else t.push(U(r))}return t}function Ua(e,t){return e[po]=t,e.prototype[po]=t,e}function Vd(e){return e[po]}function Bd(e,t,n,r){let o=e[Vn];throw t[Js]&&o.unshift(t[Js]),e.message=Hd(`
|
|
5
|
+
`+e.message,o,n,r),e[Fd]=o,e[Vn]=null,e}function Hd(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
|
+
`&&e.charAt(1)==Pd?e.slice(2):e;let o=$(t);if(Array.isArray(t))o=t.map($).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):$(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(kd,`
|
|
7
|
+
`)}`}var za=Ua(ka("Optional"),8);var Ga=Ua(ka("SkipSelf"),4);function pt(e,t){let n=e.hasOwnProperty(jn);return n?e[jn]:null}function $d(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Ud(e){return e.flat(Number.POSITIVE_INFINITY)}function gi(e,t){e.forEach(n=>Array.isArray(n)?gi(n,t):t(n))}function qa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Bn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function zd(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Gd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function gr(e,t,n){let r=Xt(e,t);return r>=0?e[r|1]=n:(r=~r,Gd(e,r,t,n)),r}function Xr(e,t){let n=Xt(e,t);if(n>=0)return e[n|1]}function Xt(e,t){return qd(e,t,1)}function qd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ht={},G=[],Hn=new b(""),Wa=new b("",-1),Za=new b(""),$n=class{get(t,n=Ut){if(n===Ut){let r=new Error(`NullInjectorError: No provider for ${$(t)}!`);throw r.name="NullInjectorError",r}return n}};function Wd(e,t){let n=e[xd]||null;if(!n&&t===!0)throw new Error(`Type ${$(e)} does not have '\u0275mod' property.`);return n}function gt(e){return e[Td]||null}function Qa(e){return e[Sd]||null}function Ya(e){return e[Nd]||null}function Zd(e){let t=gt(e)||Qa(e)||Ya(e);return t!==null&&t.standalone}function Qd(e){return{\u0275providers:e}}function Yd(...e){return{\u0275providers:Ka(!0,e),\u0275fromNgModule:!0}}function Ka(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return gi(t,s=>{let a=s;go(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ja(o,i),n}function Ja(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];mi(o,i=>{t(i,r)})}}function go(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=Qs(e),s=!i&>(e);if(!i&&!s){let u=e.ngModule;if(i=Qs(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)go(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{gi(i.imports,l=>{go(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Ja(c,t)}if(!a){let c=pt(o)||(()=>new o);t({provide:o,useFactory:c,deps:G},o),t({provide:Za,useValue:o,multi:!0},o),t({provide:Hn,useValue:()=>U(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;mi(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function mi(e,t){for(let n of e)Ba(n)&&(n=n.\u0275providers),Array.isArray(n)?mi(n,t):t(n)}var Kd=M({provide:String,useValue:M});function Xa(e){return e!==null&&typeof e=="object"&&Kd in e}function Jd(e){return!!(e&&e.useExisting)}function Xd(e){return!!(e&&e.useFactory)}function mt(e){return typeof e=="function"}function ef(e){return!!e.useClass}var eu=new b(""),Rn={},tf={},eo;function yi(){return eo===void 0&&(eo=new $n),eo}var be=class{},zt=class extends be{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,yo(t,s=>this.processProvider(s)),this.records.set(Wa,ut(void 0,this)),o.has("environment")&&this.records.set(be,ut(void 0,this));let i=this.records.get(eu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Za,G,D.Self))}destroy(){jt(this),this._destroyed=!0;let t=C(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(),C(t)}}onDestroy(t){return jt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){jt(this);let n=Ie(this),r=te(void 0),o;try{return t()}finally{Ie(n),te(r)}}get(t,n=Ut,r=D.Default){if(jt(this),t.hasOwnProperty(Ks))return t[Ks](this);r=hr(r);let o,i=Ie(this),s=te(void 0);try{if(!(r&D.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=af(t)&&pi(t);c&&this.injectableDefInScope(c)?u=ut(mo(t),Rn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&D.Self?yi():this.parent;return n=r&D.Optional&&n===Ut?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vn]=a[Vn]||[]).unshift($(t)),i)throw a;return Bd(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Ie(i)}}resolveInjectorInitializers(){let t=C(null),n=Ie(this),r=te(void 0),o;try{let i=this.get(Hn,G,D.Self);for(let s of i)s()}finally{Ie(n),te(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push($(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=H(t);let n=mt(t)?t:H(t&&t.provide),r=rf(t);if(!mt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ut(void 0,Rn,!0),o.factory=()=>ho(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=C(null);try{return n.value===Rn&&(n.value=tf,n.value=n.factory()),typeof n.value=="object"&&n.value&&sf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function mo(e){let t=pi(e),n=t!==null?t.factory:pt(e);if(n!==null)return n;if(e instanceof b)throw new v(204,!1);if(e instanceof Function)return nf(e);throw new v(204,!1)}function nf(e){if(e.length>0)throw new v(204,!1);let n=bd(e);return n!==null?()=>n.factory(e):()=>new e}function rf(e){if(Xa(e))return ut(void 0,e.useValue);{let t=tu(e);return ut(t,Rn)}}function tu(e,t,n){let r;if(mt(e)){let o=H(e);return pt(o)||mo(o)}else if(Xa(e))r=()=>H(e.useValue);else if(Xd(e))r=()=>e.useFactory(...ho(e.deps||[]));else if(Jd(e))r=()=>U(H(e.useExisting));else{let o=H(e&&(e.useClass||e.provide));if(of(e))r=()=>new o(...ho(e.deps));else return pt(o)||mo(o)}return r}function jt(e){if(e.destroyed)throw new v(205,!1)}function ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function of(e){return!!e.deps}function sf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function af(e){return typeof e=="function"||typeof e=="object"&&e instanceof b}function yo(e,t){for(let n of e)Array.isArray(n)?yo(n,t):n&&Ba(n)?yo(n.\u0275providers,t):t(n)}function nu(e,t){e instanceof zt&&jt(e);let n,r=Ie(e),o=te(void 0);try{return t()}finally{Ie(r),te(o)}}function ru(){return Ha()!==void 0||Ld()!=null}function ou(e){if(!ru())throw new v(-203,!1)}function uf(e){let t=wd.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function cf(e){return typeof e=="function"}var De=0,y=1,g=2,L=3,ue=4,W=5,Gt=6,Un=7,ce=8,yt=9,Me=10,N=11,qt=12,Xs=13,Mt=14,ne=15,He=16,ct=17,ve=18,mr=19,iu=20,Ce=21,On=22,$e=23,Y=24,re=25,su=1;var Ue=7,zn=8,vt=9,K=10,Gn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Gn||{});function _e(e){return Array.isArray(e)&&typeof e[su]=="object"}function Ee(e){return Array.isArray(e)&&e[su]===!0}function vi(e){return(e.flags&4)!==0}function yr(e){return e.componentOffset>-1}function vr(e){return(e.flags&1)===1}function Te(e){return!!e.template}function vo(e){return(e[g]&512)!==0}var Do=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function au(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var uu=(()=>{let e=()=>cu;return e.ngInherit=!0,e})();function cu(e){return e.type.prototype.ngOnChanges&&(e.setInput=df),lf}function lf(){let e=du(this),t=e?.current;if(t){let n=e.previous;if(n===ht)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function df(e,t,n,r,o){let i=this.declaredInputs[r],s=du(e)||ff(e,{previous:ht,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Do(c&&c.currentValue,n,u===ht),au(e,t,o,n)}var lu="__ngSimpleChanges__";function du(e){return e[lu]||null}function ff(e,t){return e[lu]=t}var ea=null;var pe=function(e,t,n){ea?.(e,t,n)},fu="svg",pf="math";function ge(e){for(;Array.isArray(e);)e=e[De];return e}function pu(e,t){return ge(t[e])}function oe(e,t){return ge(t[e.index])}function hu(e,t){return e.data[t]}function hf(e,t){return e[t]}function Re(e,t){let n=t[e];return _e(n)?n:n[De]}function gf(e){return(e[g]&4)===4}function Di(e){return(e[g]&128)===128}function mf(e){return Ee(e[L])}function Dt(e,t){return t==null?null:e[t]}function gu(e){e[ct]=0}function Ei(e){e[g]&1024||(e[g]|=1024,Di(e)&&en(e))}function yf(e,t){for(;e>0;)t=t[Mt],e--;return t}function Dr(e){return!!(e[g]&9216||e[Y]?.dirty)}function Eo(e){e[Me].changeDetectionScheduler?.notify(9),e[g]&64&&(e[g]|=1024),Dr(e)&&en(e)}function en(e){e[Me].changeDetectionScheduler?.notify(0);let t=ze(e);for(;t!==null&&!(t[g]&8192||(t[g]|=8192,!Di(t)));)t=ze(t)}function mu(e,t){if((e[g]&256)===256)throw new v(911,!1);e[Ce]===null&&(e[Ce]=[]),e[Ce].push(t)}function vf(e,t){if(e[Ce]===null)return;let n=e[Ce].indexOf(t);n!==-1&&e[Ce].splice(n,1)}function ze(e){let t=e[L];return Ee(t)?t[L]:t}var m={lFrame:bu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Io=!1;function Df(){return m.lFrame.elementDepthCount}function Ef(){m.lFrame.elementDepthCount++}function If(){m.lFrame.elementDepthCount--}function yu(){return m.bindingsEnabled}function vu(){return m.skipHydrationRootTNode!==null}function wf(e){return m.skipHydrationRootTNode===e}function Cf(){m.skipHydrationRootTNode=null}function I(){return m.lFrame.lView}function F(){return m.lFrame.tView}function wI(e){return m.lFrame.contextLView=e,e[ce]}function CI(e){return m.lFrame.contextLView=null,e}function j(){let e=Du();for(;e!==null&&e.type===64;)e=e.parent;return e}function Du(){return m.lFrame.currentTNode}function _f(){let e=m.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ke(e,t){let n=m.lFrame;n.currentTNode=e,n.isParent=t}function Ii(){return m.lFrame.isParent}function wi(){m.lFrame.isParent=!1}function bf(){return m.lFrame.contextLView}function Eu(){return Io}function qn(e){let t=Io;return Io=e,t}function Iu(){let e=m.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Mf(){return m.lFrame.bindingIndex}function Tf(e){return m.lFrame.bindingIndex=e}function Ci(){return m.lFrame.bindingIndex++}function _i(e){let t=m.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Sf(){return m.lFrame.inI18n}function Nf(e,t){let n=m.lFrame;n.bindingIndex=n.bindingRootIndex=e,wo(t)}function xf(){return m.lFrame.currentDirectiveIndex}function wo(e){m.lFrame.currentDirectiveIndex=e}function Af(e){let t=m.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function wu(){return m.lFrame.currentQueryIndex}function bi(e){m.lFrame.currentQueryIndex=e}function Rf(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[W]:null}function Cu(e,t,n){if(n&D.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&D.Host);)if(o=Rf(i),o===null||(i=i[Mt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=m.lFrame=_u();return r.currentTNode=t,r.lView=e,!0}function Mi(e){let t=_u(),n=e[y];m.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function _u(){let e=m.lFrame,t=e===null?null:e.child;return t===null?bu(e):t}function bu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Mu(){let e=m.lFrame;return m.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Tu=Mu;function Ti(){let e=Mu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Of(e){return(m.lFrame.contextLView=yf(e,m.lFrame.contextLView))[ce]}function Oe(){return m.lFrame.selectedIndex}function Ge(e){m.lFrame.selectedIndex=e}function Su(){let e=m.lFrame;return hu(e.tView,e.selectedIndex)}function _I(){m.lFrame.currentNamespace=fu}function Ff(){return m.lFrame.currentNamespace}var Nu=!0;function Er(){return Nu}function Ir(e){Nu=e}function kf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=cu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function wr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Fn(e,t,n){xu(e,t,3,n)}function kn(e,t,n,r){(e[g]&3)===n&&xu(e,t,n,r)}function to(e,t){let n=e[g];(n&3)===t&&(n&=16383,n+=1,e[g]=n)}function xu(e,t,n,r){let o=r!==void 0?e[ct]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[ct]+=65536),(a<i||i==-1)&&(Pf(e,n,t,u),e[ct]=(e[ct]&4294901760)+u+2),u++}function ta(e,t){pe(4,e,t);let n=C(null);try{t.call(e)}finally{C(n),pe(5,e,t)}}function Pf(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[g]>>14<e[ct]>>16&&(e[g]&3)===t&&(e[g]+=16384,ta(a,i)):ta(a,i)}var ft=-1,qe=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Lf(e){return e instanceof qe}function jf(e){return(e.flags&8)!==0}function Vf(e){return(e.flags&16)!==0}function Co(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Hf(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Bf(e){return e===3||e===4||e===6}function Hf(e){return e.charCodeAt(0)===64}function Wt(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?na(e,n,o,null,t[++r]):na(e,n,o,null,null))}}return e}function na(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var no={},_o=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=hr(r);let o=this.injector.get(t,no,r);return o!==no||n===no?o:this.parentInjector.get(t,n,r)}};function Au(e){return e!==ft}function Wn(e){return e&32767}function $f(e){return e>>16}function Zn(e,t){let n=$f(e),r=t;for(;n>0;)r=r[Mt],n--;return r}var bo=!0;function ra(e){let t=bo;return bo=e,t}var Uf=256,Ru=Uf-1,Ou=5,zf=0,he={};function Gf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bt)&&(r=n[Bt]),r==null&&(r=n[Bt]=zf++);let o=r&Ru,i=1<<o;t.data[e+(o>>Ou)]|=i}function Qn(e,t){let n=Fu(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,ro(r.data,e),ro(t,null),ro(r.blueprint,null));let o=Si(e,t),i=e.injectorIndex;if(Au(o)){let s=Wn(o),a=Zn(o,t),u=a[y].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function ro(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Si(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Vu(o),r===null)return ft;if(n++,o=o[Mt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ft}function Mo(e,t,n){Gf(e,t,n)}function ku(e,t,n){if(n&D.Optional||e!==void 0)return e;hi(t,"NodeInjector")}function Pu(e,t,n,r){if(n&D.Optional&&r===void 0&&(r=null),(n&(D.Self|D.Host))===0){let o=e[yt],i=te(void 0);try{return o?o.get(t,r,n&D.Optional):$a(t,r,n&D.Optional)}finally{te(i)}}return ku(r,t,n)}function Lu(e,t,n,r=D.Default,o){if(e!==null){if(t[g]&2048&&!(r&D.Self)){let s=Qf(e,t,n,r,he);if(s!==he)return s}let i=ju(e,t,n,r,he);if(i!==he)return i}return Pu(t,n,r,o)}function ju(e,t,n,r,o){let i=Wf(n);if(typeof i=="function"){if(!Cu(t,e,r))return r&D.Host?ku(o,n,r):Pu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&D.Optional))hi(n);else return s}finally{Tu()}}else if(typeof i=="number"){let s=null,a=Fu(e,t),u=ft,c=r&D.Host?t[ne][W]:null;for((a===-1||r&D.SkipSelf)&&(u=a===-1?Si(e,t):t[a+8],u===ft||!ia(r,!1)?a=-1:(s=t[y],a=Wn(u),t=Zn(u,t)));a!==-1;){let l=t[y];if(oa(i,a,l.data)){let d=qf(a,t,n,s,r,c);if(d!==he)return d}u=t[a+8],u!==ft&&ia(r,t[y].data[a+8]===c)&&oa(i,a,t)?(s=l,a=Wn(u),t=Zn(u,t)):a=-1}}return o}function qf(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],u=r==null?yr(a)&&bo:r!=s&&(a.type&3)!==0,c=o&D.Host&&i===a,l=Pn(a,s,n,u,c);return l!==null?We(t,s,l,a):he}function Pn(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Te(f)&&f.type===n)return u}return null}function We(e,t,n,r){let o=e[n],i=t.data;if(Lf(o)){let s=o;s.resolving&&Rd(Ad(i[n]));let a=ra(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?te(s.injectImpl):null,l=Cu(e,r,D.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&kf(n,i[n],t)}finally{c!==null&&te(c),ra(a),s.resolving=!1,Tu()}}return o}function Wf(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bt)?e[Bt]:void 0;return typeof t=="number"?t>=0?t&Ru:Zf:t}function oa(e,t,n){let r=1<<e;return!!(n[t+(e>>Ou)]&r)}function ia(e,t){return!(e&D.Self)&&!(e&D.Host&&t)}var Be=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Lu(this._tNode,this._lView,t,hr(r),n)}};function Zf(){return new Be(j(),I())}function bI(e){return Jt(()=>{let t=e.prototype.constructor,n=t[jn]||To(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[jn]||To(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function To(e){return La(e)?()=>{let t=To(H(e));return t&&t()}:pt(e)}function Qf(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=ju(i,s,n,r|D.Self,he);if(a!==he)return a;let u=i.parent;if(!u){let c=s[iu];if(c){let l=c.get(n,he,r);if(l!==he)return l}u=Vu(s),s=s[Mt]}i=u}return o}function Vu(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[W]:null}function sa(e,t=null,n=null,r){let o=Bu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Bu(e,t=null,n=null,r,o=new Set){let i=[n||G,Yd(e)];return r=r||(typeof e=="object"?void 0:$(e)),new zt(i,t||yi(),r||null,o)}var me=class e{static THROW_IF_NOT_FOUND=Ut;static NULL=new $n;static create(t,n){if(Array.isArray(t))return sa({name:""},n,t,"");{let r=t.name??"";return sa({name:r},t.parent,t.providers,r)}}static \u0275prov=x({token:e,providedIn:"any",factory:()=>U(Wa)});static __NG_ELEMENT_ID__=-1};var Yf=new b("");Yf.__NG_ELEMENT_ID__=e=>{let t=j();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&D.Optional)return null;throw new v(204,!1)};var Hu=!1,Cr=(()=>{class e{static __NG_ELEMENT_ID__=Kf;static __NG_ENV_ID__=n=>n}return e})(),Yn=class extends Cr{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return mu(this._lView,t),()=>vf(this._lView,t)}};function Kf(){return new Yn(I())}var Et=class{},$u=new b("",{providedIn:"root",factory:()=>!1});var Uu=new b(""),zu=new b(""),tn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Pt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();var So=class extends fe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,ru()&&(this.destroyRef=_(Cr,{optional:!0})??void 0,this.pendingTasks=_(tn,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},we=So;function Zt(...e){}function Gu(e){let t,n;function r(){e=Zt;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function aa(e){return queueMicrotask(()=>e()),()=>{e=Zt}}var Ni="isAngularZone",Kn=Ni+"_ID",Jf=0,q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new we(!1);onMicrotaskEmpty=new we(!1);onStable=new we(!1);onError=new we(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Hu}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,tp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ni)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Xf,Zt,Zt);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Xf={};function xi(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ep(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Gu(()=>{e.callbackScheduled=!1,No(e),e.isCheckStableRunning=!0,xi(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),No(e)}function tp(e){let t=()=>{ep(e)},n=Jf++;e._inner=e._inner.fork({name:"angular",properties:{[Ni]:!0,[Kn]:n,[Kn+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(np(u))return r.invokeTask(i,s,a,u);try{return ua(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ca(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return ua(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!rp(u)&&t(),ca(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,No(e),xi(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function No(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ua(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ca(e){e._nesting--,xi(e)}var Jn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new we;onMicrotaskEmpty=new we;onStable=new we;onError=new we;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function np(e){return qu(e,"__ignore_ng_zone__")}function rp(e){return qu(e,"__scheduler_tick__")}function qu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function op(e="zone.js",t){return e==="noop"?new Jn:e==="zone.js"?new q(t):e}var It=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ip=new b("",{providedIn:"root",factory:()=>{let e=_(q),t=_(It);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function la(e,t){return Fa(e,t)}function sp(e){return Fa(Oa,e)}var MI=(la.required=sp,la);function ap(){return Tt(j(),I())}function Tt(e,t){return new Fe(oe(e,t))}var Fe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=ap}return e})();function up(e){return e instanceof Fe?e.nativeElement:e}function cp(){return this._results[Symbol.iterator]()}var xo=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new fe}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Ud(t);(this._changesDetected=!$d(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.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=cp};function Wu(e){return(e.flags&128)===128}var Zu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Zu||{}),Qu=new Map,lp=0;function dp(){return lp++}function fp(e){Qu.set(e[mr],e)}function Ao(e){Qu.delete(e[mr])}var da="__ngContext__";function Se(e,t){_e(t)?(e[da]=t[mr],fp(t)):e[da]=t}function Yu(e){return Ju(e[qt])}function Ku(e){return Ju(e[ue])}function Ju(e){for(;e!==null&&!Ee(e);)e=e[ue];return e}var Ro;function TI(e){Ro=e}function pp(){if(Ro!==void 0)return Ro;if(typeof document<"u")return document;throw new v(210,!1)}var SI=new b("",{providedIn:"root",factory:()=>hp}),hp="ng",gp=new b(""),mp=new b("",{providedIn:"platform",factory:()=>"unknown"});var NI=new b(""),xI=new b("",{providedIn:"root",factory:()=>pp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var yp="h",vp="b";var Xu=!1,Dp=new b("",{providedIn:"root",factory:()=>Xu});var ec=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ec||{}),tc=new b(""),fa=new Set;function St(e){fa.has(e)||(fa.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ep=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ip=()=>null;function Ai(e,t,n=!1){return Ip(e,t,n)}var Qt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Qt||{});var Oo=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Dd})`}};function _r(e){return e instanceof Oo?e.changingThisBreaksApplicationSecurity:e}var wp=/^>|^->|<!--|-->|--!>|<!-$/g,Cp=/(<|>)/g,_p="\u200B$1\u200B";function bp(e){return e.replace(wp,t=>t.replace(Cp,_p))}function Mp(e){return e instanceof Function?e():e}var Ne=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ne||{}),Yt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Yt||{}),Tp;function Ri(e,t){return Tp(e,t)}function lt(e,t,n,r,o){if(r!=null){let i,s=!1;Ee(r)?i=r:_e(r)&&(s=!0,r=r[De]);let a=ge(r);e===0&&n!==null?o==null?ac(t,n,a):Xn(t,n,a,o||null,!0):e===1&&n!==null?Xn(t,n,a,o||null,!0):e===2?Hp(t,a,s):e===3&&t.destroyNode(a),i!=null&&Up(t,e,i,n,o)}}function Sp(e,t){return e.createText(t)}function Np(e,t,n){e.setValue(t,n)}function xp(e,t){return e.createComment(bp(t))}function nc(e,t,n){return e.createElement(t,n)}function Ap(e,t){rc(e,t),t[De]=null,t[W]=null}function Rp(e,t,n,r,o,i){r[De]=o,r[W]=t,Mr(e,r,n,1,o,i)}function rc(e,t){t[Me].changeDetectionScheduler?.notify(10),Mr(e,t,t[N],2,null,null)}function Op(e){let t=e[qt];if(!t)return oo(e[y],e);for(;t;){let n=null;if(_e(t))n=t[qt];else{let r=t[K];r&&(n=r)}if(!n){for(;t&&!t[ue]&&t!==e;)_e(t)&&oo(t[y],t),t=t[L];t===null&&(t=e),_e(t)&&oo(t[y],t),n=t&&t[ue]}t=n}}function Fp(e,t,n,r){let o=K+r,i=n.length;r>0&&(n[o-1][ue]=t),r<i-K?(t[ue]=n[o],qa(n,K+r,t)):(n.push(t),t[ue]=null),t[L]=n;let s=t[He];s!==null&&n!==s&&oc(s,t);let a=t[ve];a!==null&&a.insertView(e),Eo(t),t[g]|=128}function oc(e,t){let n=e[vt],r=t[L];if(_e(r))e[g]|=Gn.HasTransplantedViews;else{let o=r[L][ne];t[ne]!==o&&(e[g]|=Gn.HasTransplantedViews)}n===null?e[vt]=[t]:n.push(t)}function Oi(e,t){let n=e[vt],r=n.indexOf(t);n.splice(r,1)}function Fo(e,t){if(e.length<=K)return;let n=K+t,r=e[n];if(r){let o=r[He];o!==null&&o!==e&&Oi(o,r),t>0&&(e[n-1][ue]=r[ue]);let i=Bn(e,K+t);Ap(r[y],r);let s=i[ve];s!==null&&s.detachView(i[y]),r[L]=null,r[ue]=null,r[g]&=-129}return r}function ic(e,t){if(!(t[g]&256)){let n=t[N];n.destroyNode&&Mr(e,t,n,3,null,null),Op(t)}}function oo(e,t){if(t[g]&256)return;let n=C(null);try{t[g]&=-129,t[g]|=256,t[Y]&&rt(t[Y]),Pp(e,t),kp(e,t),t[y].type===1&&t[N].destroy();let r=t[He];if(r!==null&&Ee(t[L])){r!==t[L]&&Oi(r,t);let o=t[ve];o!==null&&o.detachView(e)}Ao(t)}finally{C(n)}}function kp(e,t){let n=e.cleanup,r=t[Un];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Un]=null);let o=t[Ce];if(o!==null){t[Ce]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[$e];if(i!==null){t[$e]=null;for(let s of i)s.destroy()}}function Pp(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof qe)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];pe(4,a,u);try{u.call(a)}finally{pe(5,a,u)}}else{pe(4,o,i);try{i.call(o)}finally{pe(5,o,i)}}}}}function sc(e,t,n){return Lp(e,t.parent,n)}function Lp(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[De];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Qt.None||i===Qt.Emulated)return null}return oe(r,n)}}function Xn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ac(e,t,n){e.appendChild(t,n)}function pa(e,t,n,r,o){r!==null?Xn(e,t,n,r,o):ac(e,t,n)}function uc(e,t){return e.parentNode(t)}function jp(e,t){return e.nextSibling(t)}function cc(e,t,n){return Bp(e,t,n)}function Vp(e,t,n){return e.type&40?oe(e,n):null}var Bp=Vp,ha;function br(e,t,n,r){let o=sc(e,r,t),i=t[N],s=r.parent||t[W],a=cc(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)pa(i,o,n[u],a,!1);else pa(i,o,n,a,!1);ha!==void 0&&ha(i,r,t,n,o)}function Vt(e,t){if(t!==null){let n=t.type;if(n&3)return oe(t,e);if(n&4)return ko(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Vt(e,r);{let o=e[t.index];return Ee(o)?ko(-1,o):ge(o)}}else{if(n&128)return Vt(e,t.next);if(n&32)return Ri(t,e)()||ge(e[t.index]);{let r=lc(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ze(e[ne]);return Vt(o,r)}else return Vt(e,t.next)}}}return null}function lc(e,t){if(t!==null){let r=e[ne][W],o=t.projection;return r.projection[o]}return null}function ko(e,t){let n=K+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return Vt(r,o)}return t[Ue]}function Hp(e,t,n){e.removeChild(null,t,n)}function Fi(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Se(ge(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)Fi(e,t,n.child,r,o,i,!1),lt(t,e,o,a,i);else if(u&32){let c=Ri(n,r),l;for(;l=c();)lt(t,e,o,l,i);lt(t,e,o,a,i)}else u&16?dc(e,t,r,n,o,i):lt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Mr(e,t,n,r,o,i){Fi(n,r,e.firstChild,t,o,i,!1)}function $p(e,t,n){let r=t[N],o=sc(e,n,t),i=n.parent||t[W],s=cc(i,n,t);dc(r,0,t,n,o,s)}function dc(e,t,n,r,o,i){let s=n[ne],u=s[W].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];lt(t,e,o,l,i)}else{let c=u,l=s[L];Wu(r)&&(c.flags|=128),Fi(e,t,c,l,o,i,!0)}}function Up(e,t,n,r,o){let i=n[Ue],s=ge(n);i!==s&<(t,e,r,i,o);for(let a=K;a<n.length;a++){let u=n[a];Mr(u[y],u,e,t,r,i)}}function zp(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Yt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Yt.Important),e.setStyle(n,r,o,i))}}function Gp(e,t,n){e.setAttribute(t,"style",n)}function fc(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function pc(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Co(e,t,r),o!==null&&fc(e,t,o),i!==null&&Gp(e,t,i)}function qp(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var hc="ng-template";function Wp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&qp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ki(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ki(e){return e.type===4&&e.value!==hc}function Zp(e,t,n){let r=e.type===4&&!n?hc:e.value;return t===r}function Qp(e,t,n){let r=4,o=e.attrs,i=o!==null?Jp(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!ae(r)&&!ae(u))return!1;if(s&&ae(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Zp(e,u,n)||u===""&&t.length===1){if(ae(r))return!1;s=!0}}else if(r&8){if(o===null||!Wp(e,o,u,n)){if(ae(r))return!1;s=!0}}else{let c=t[++a],l=Yp(u,o,ki(e),n);if(l===-1){if(ae(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ae(r))return!1;s=!0}}}}return ae(r)||s}function ae(e){return(e&1)===0}function Yp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Xp(t,e)}function gc(e,t,n=!1){for(let r=0;r<t.length;r++)if(Qp(e,t[r],n))return!0;return!1}function Kp(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Jp(e){for(let t=0;t<e.length;t++){let n=e[t];if(Bf(n))return t}return e.length}function Xp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function eh(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ga(e,t){return e?":not("+t.trim()+")":t}function th(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ae(s)&&(t+=ga(i,o),o=""),r=s,i=i||!ae(r);n++}return o!==""&&(t+=ga(i,o)),t}function nh(e){return e.map(th).join(",")}function rh(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ae(o))break;o=i}r++}return{attrs:t,classes:n}}var le={};function AI(e=1){mc(F(),I(),Oe()+e,!1)}function mc(e,t,n,r){if(!r)if((t[g]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Fn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&kn(t,i,0,n)}Ge(n)}function z(e,t=D.Default){let n=I();if(n===null)return U(e,t);let r=j();return Lu(r,n,H(e),t)}function RI(){let e="invalid";throw new Error(e)}function yc(e,t,n,r,o,i){let s=C(null);try{let a=null;(o&Ne.SignalBased)!==0&&(a=t[r][Q]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),(o&Ne.HasDecoratorInputTransform)!==0&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):au(t,a,r,i)}finally{C(s)}}function oh(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ge(~o);else{let i=o,s=n[++r],a=n[++r];Nf(s,i);let u=t[i];a(2,u)}}}finally{Ge(-1)}}function Tr(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[De]=o,d[g]=r|4|128|8|64|1024,(c!==null||e&&e[g]&2048)&&(d[g]|=2048),gu(d),d[L]=d[Mt]=e,d[ce]=n,d[Me]=s||e&&e[Me],d[N]=a||e&&e[N],d[yt]=u||e&&e[yt]||null,d[W]=i,d[mr]=dp(),d[Gt]=l,d[iu]=c,d[ne]=t.type==2?e[ne]:d,d}function Nt(e,t,n,r,o){let i=e.data[t];if(i===null)i=ih(e,t,n,r,o),Sf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=_f();i.injectorIndex=s===null?-1:s.injectorIndex}return Ke(i,!0),i}function ih(e,t,n,r,o){let i=Du(),s=Ii(),a=s?i:i&&i.parent,u=e.data[t]=dh(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function vc(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Dc(e,t,n,r,o){let i=Oe(),s=r&2;try{Ge(-1),s&&t.length>re&&mc(e,t,re,!1),pe(s?2:0,o),n(r,o)}finally{Ge(i),pe(s?3:1,o)}}function Pi(e,t,n){if(vi(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{C(r)}}}function Li(e,t,n){yu()&&(vh(e,t,n,oe(n,t)),(n.flags&64)===64&&wc(e,t,n))}function ji(e,t,n=oe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Ec(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Vi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Vi(e,t,n,r,o,i,s,a,u,c,l){let d=re+r,p=d+o,f=sh(d,p),h=typeof c=="function"?c():c;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function sh(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:le);return n}function ah(e,t,n,r){let i=r.get(Dp,Xu)||n===Qt.ShadowDom,s=e.selectRootElement(t,i);return uh(s),s}function uh(e){ch(e)}var ch=()=>null;function lh(e,t,n,r){let o=Mc(t);o.push(n),e.firstCreatePass&&Tc(e).push(r,o.length-1)}function dh(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return vu()&&(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:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ma(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ne.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?ya(r,n,c,a,u):ya(r,n,c,a)}return r}function ya(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function fh(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=ma(0,d.inputs,l,u,f),c=ma(1,d.outputs,l,c,h);let w=u!==null&&s!==null&&!ki(t)?Nh(u,l,s):null;a.push(w)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function ph(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function hh(e,t,n,r,o,i,s,a){let u=oe(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(Hi(e,n,l,r,o),yr(t)&&gh(n,t.index)):t.type&3?(r=ph(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function gh(e,t){let n=Re(t,e);n[g]&16||(n[g]|=64)}function Bi(e,t,n,r){if(yu()){let o=r===null?null:{"":-1},i=Eh(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Ic(e,t,n,s,o,a),o&&Ih(n,r,o)}n.mergedAttrs=Wt(n.mergedAttrs,n.attrs)}function Ic(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Mo(Qn(n,t),e,r[c].type);Ch(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=vc(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=Wt(n.mergedAttrs,l.hostAttrs),_h(e,n,t,u,l),wh(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}fh(e,n,i)}function mh(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;yh(s)!=a&&s.push(a),s.push(n,r,i)}}function yh(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vh(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;yr(n)&&bh(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Qn(n,t),Se(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=We(t,e,a,n);if(Se(c,t),s!==null&&Sh(t,a-o,c,u,n,s),Te(u)){let l=Re(n.index,t);l[ce]=We(t,e,a,n)}}}function wc(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=xf();try{Ge(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];wo(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Dh(u,c)}}finally{Ge(-1),wo(s)}}function Dh(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Eh(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(gc(t,s.selectors,!1))if(r||(r=[]),Te(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;Po(e,t,u)}else r.unshift(s),Po(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Po(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Ih(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}}function wh(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Te(t)&&(n[""]=e)}}function Ch(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _h(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=pt(o.type,!0)),s=new qe(i,Te(o),z);e.blueprint[r]=s,n[r]=s,mh(e,t,r,vc(e,n,o.hostVars,le),o)}function Cc(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function bh(e,t,n){let r=oe(t,e),o=Ec(n),i=e[Me].rendererFactory,s=Sr(e,Tr(e,o,null,Cc(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Mh(e,t,n,r,o,i){let s=oe(e,t);Th(t[N],s,i,e.value,n,r,o)}function Th(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?$t(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Sh(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];yc(r,n,u,c,l,d)}}function Nh(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function _c(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function bc(e,t){let n=e.contentQueries;if(n!==null){let r=C(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];bi(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function Sr(e,t){return e[qt]?e[Xs][ue]=t:e[qt]=t,e[Xs]=t,t}function Lo(e,t,n){bi(0);let r=C(null);try{t(e,n)}finally{C(r)}}function Mc(e){return e[Un]??=[]}function Tc(e){return e.cleanup??=[]}function Sc(e,t){let n=e[yt],r=n?n.get(It,null):null;r&&r.handleError(t)}function Hi(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];yc(l,c,r,a,u,o)}}function Nc(e,t,n){let r=pu(t,e);Np(e[N],r,n)}function xh(e,t){let n=Re(t,e),r=n[y];Ah(r,n);let o=n[De];o!==null&&n[Gt]===null&&(n[Gt]=Ai(o,n[yt])),$i(r,n,n[ce])}function Ah(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function $i(e,t,n){Mi(t);try{let r=e.viewQuery;r!==null&&Lo(1,r,n);let o=e.template;o!==null&&Dc(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ve]?.finishViewCreation(e),e.staticContentQueries&&bc(e,t),e.staticViewQueries&&Lo(2,e.viewQuery,n);let i=e.components;i!==null&&Rh(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[g]&=-5,Ti()}}function Rh(e,t){for(let n=0;n<t.length;n++)xh(e,t[n])}function xc(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[g]&4096?4096:16,u=Tr(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[He]=c;let l=e[ve];return l!==null&&(u[ve]=l.createEmbeddedView(i)),$i(i,u,n),u}finally{C(o)}}function jo(e,t){return!t||t.firstChild===null||Wu(e)}function Ac(e,t,n,r=!0){let o=t[y];if(Fp(o,t,e,n),r){let s=ko(n,e),a=t[N],u=uc(a,e[Ue]);u!==null&&Rp(o,e[W],a,t,u,s)}let i=t[Gt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function er(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ge(i)),Ee(i)&&Oh(i,r);let s=n.type;if(s&8)er(e,t,n.child,r);else if(s&32){let a=Ri(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=lc(t,n);if(Array.isArray(a))r.push(...a);else{let u=ze(t[ne]);er(u[y],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Oh(e,t){for(let n=K;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&er(r[y],r,o,t)}e[Ue]!==e[De]&&t.push(e[Ue])}var Rc=[];function Fh(e){return e[Y]??kh(e)}function kh(e){let t=Rc.pop()??Object.create(Lh);return t.lView=e,t}function Ph(e){e.lView[Y]!==e&&(e.lView=null,Rc.push(e))}var Lh=V(k({},ke),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{en(e.lView)},consumerOnSignalRead(){this.lView[Y]=this}});function jh(e){let t=e[Y]??Object.create(Vh);return t.lView=e,t}var Vh=V(k({},ke),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ze(e.lView);for(;t&&!Oc(t[y]);)t=ze(t);t&&Ei(t)},consumerOnSignalRead(){this.lView[Y]=this}});function Oc(e){return e.type!==2}function Fc(e){if(e[$e]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[$e])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[g]&8192)}}var Bh=100;function kc(e,t=!0,n=0){let o=e[Me].rendererFactory,i=!1;i||o.begin?.();try{Hh(e,n)}catch(s){throw t&&Sc(e,s),s}finally{i||o.end?.()}}function Hh(e,t){let n=Eu();try{qn(!0),Vo(e,t);let r=0;for(;Dr(e);){if(r===Bh)throw new v(103,!1);r++,Vo(e,1)}}finally{qn(n)}}function $h(e,t,n,r){let o=t[g];if((o&256)===256)return;let i=!1,s=!1;Mi(t);let a=!0,u=null,c=null;i||(Oc(e)?(c=Fh(t),u=nt(c)):is()===null?(a=!1,c=jh(t),u=nt(c)):t[Y]&&(rt(t[Y]),t[Y]=null));try{gu(t),Tf(e.bindingStartIndex),n!==null&&Dc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Fn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&kn(t,f,0,null),to(t,0)}if(s||Uh(t),Fc(t),Pc(t,0),e.contentQueries!==null&&bc(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Fn(t,f)}else{let f=e.contentHooks;f!==null&&kn(t,f,1),to(t,1)}oh(e,t);let d=e.components;d!==null&&jc(t,d,0);let p=e.viewQuery;if(p!==null&&Lo(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Fn(t,f)}else{let f=e.viewHooks;f!==null&&kn(t,f,2),to(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[On]){for(let f of t[On])f();t[On]=null}i||(t[g]&=-73)}catch(l){throw i||en(t),l}finally{c!==null&&(Ot(c,u),a&&Ph(c)),Ti()}}function Pc(e,t){for(let n=Yu(e);n!==null;n=Ku(n))for(let r=K;r<n.length;r++){let o=n[r];Lc(o,t)}}function Uh(e){for(let t=Yu(e);t!==null;t=Ku(t)){if(!(t[g]&Gn.HasTransplantedViews))continue;let n=t[vt];for(let r=0;r<n.length;r++){let o=n[r];Ei(o)}}}function zh(e,t,n){let r=Re(t,e);Lc(r,n)}function Lc(e,t){Di(e)&&Vo(e,t)}function Vo(e,t){let r=e[y],o=e[g],i=e[Y],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ft(i)),s||=!1,i&&(i.dirty=!1),e[g]&=-9217,s)$h(r,e,r.template,e[ce]);else if(o&8192){Fc(e),Pc(e,1);let a=r.components;a!==null&&jc(e,a,1)}}function jc(e,t,n){for(let r=0;r<t.length;r++)zh(e,t[r],n)}function Ui(e,t){let n=Eu()?64:1088;for(e[Me].changeDetectionScheduler?.notify(t);e;){e[g]|=n;let r=ze(e);if(vo(e)&&!r)return e;e=r}return null}var Ze=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[y];return er(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[ce]}get dirty(){return!!(this._lView[g]&9280)||!!this._lView[Y]?.dirty}set context(t){this._lView[ce]=t}get destroyed(){return(this._lView[g]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[L];if(Ee(t)){let n=t[zn],r=n?n.indexOf(this):-1;r>-1&&(Fo(t,r),Bn(n,r))}this._attachedToViewContainer=!1}ic(this._lView[y],this._lView)}onDestroy(t){mu(this._lView,t)}markForCheck(){Ui(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ei(this._cdRefInjectingView||this._lView)}detach(){this._lView[g]&=-129}reattach(){Eo(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,kc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=vo(this._lView),n=this._lView[He];n!==null&&!t&&Oi(n,this._lView),rc(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=vo(this._lView),r=this._lView[He];r!==null&&!n&&oc(r,this._lView),Eo(this._lView)}},Qe=(()=>{class e{static __NG_ELEMENT_ID__=Wh}return e})(),Gh=Qe,qh=class extends Gh{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=xc(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ze(o)}};function Wh(){return zi(j(),I())}function zi(e,t){return e.type&4?new qh(t,e,Tt(e,t)):null}var FI=new RegExp(`^(\\d+)*(${vp}|${yp})*(.*)`);var Zh=()=>null;function Bo(e,t){return Zh(e,t)}var Ho=class{},tr=class{},$o=class{resolveComponentFactory(t){throw Error(`No component factory found for ${$(t)}.`)}},wt=class{static NULL=new $o},nr=class{},Nr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Qh()}return e})();function Qh(){let e=I(),t=j(),n=Re(t.index,e);return(_e(n)?n:e)[N]}var Yh=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>null})}return e})();function rr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=lo(o,a);else if(i==2){let u=a,c=t[++s];r=lo(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var or=class extends wt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=gt(t);return new ir(n,this.ngModule)}};function va(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Ne.None;t?n.push({propName:s,templateName:r,isSignal:(a&Ne.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Kh(e){let t=e.toLowerCase();return t==="svg"?fu:t==="math"?pf:null}var ir=class extends tr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=va(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return va(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=nh(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=C(null);try{o=o||this.ngModule;let s=o instanceof be?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new _o(t,s):t,u=a.get(nr,null);if(u===null)throw new v(407,!1);let c=a.get(Yh,null),l=a.get(Et,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?ah(p,r,this.componentDef.encapsulation,a):nc(p,f,Kh(f)),w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let O=null;h!==null&&(O=Ai(h,a,!0));let T=Vi(0,null,null,1,0,null,null,null,null,null,null),J=Tr(null,T,null,w,null,null,d,p,a,null,O);Mi(J);let ye,ie,et=null;try{let Z=this.componentDef,tt,xr=null;Z.findHostDirectiveDefs?(tt=[],xr=new Map,Z.findHostDirectiveDefs(Z,tt,xr),tt.push(Z)):tt=[Z];let Fl=Jh(J,h);et=Xh(Fl,h,Z,tt,J,d,p),ie=hu(T,re),h&&ng(p,Z,h,r),n!==void 0&&rg(ie,this.ngContentSelectors,n),ye=tg(et,Z,tt,xr,J,[og]),$i(T,J,null)}catch(Z){throw et!==null&&Ao(et),Ao(J),Z}finally{Ti()}return new Uo(this.componentType,ye,Tt(ie,J),J,ie)}finally{C(i)}}},Uo=class extends Ho{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Ze(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Hi(i[y],i,o,t,n),this.previousInputValues.set(t,n);let s=Re(this._tNode.index,i);Ui(s,1)}}get injector(){return new Be(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Jh(e,t){let n=e[y],r=re;return e[r]=t,Nt(n,r,2,"#host",null)}function Xh(e,t,n,r,o,i,s){let a=o[y];eg(r,e,t,s);let u=null;t!==null&&(u=Ai(t,o[yt]));let c=i.rendererFactory.createRenderer(t,n),l=Tr(o,Ec(n),null,Cc(n),o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Po(a,e,r.length-1),Sr(o,l),o[e.index]=l}function eg(e,t,n,r){for(let o of e)t.mergedAttrs=Wt(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(rr(t,t.mergedAttrs,!0),n!==null&&pc(r,n,t))}function tg(e,t,n,r,o,i){let s=j(),a=o[y],u=oe(s,o);Ic(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=We(o,a,d,s);Se(p,o)}wc(a,o,s),u&&Se(u,o);let c=We(o,a,s.directiveStart+s.componentOffset,s);if(e[ce]=o[ce]=c,i!==null)for(let l of i)l(c,t);return Pi(a,s,o),c}function ng(e,t,n,r){if(r)Co(e,n,["ng-version","19.0.7"]);else{let{attrs:o,classes:i}=rh(t.selectors[0]);o&&Co(e,n,o),i&&i.length>0&&fc(e,n,i.join(" "))}}function rg(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}function og(){let e=j();wr(I()[y],e)}var Je=(()=>{class e{static __NG_ELEMENT_ID__=ig}return e})();function ig(){let e=j();return Bc(e,I())}var sg=Je,Vc=class extends sg{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Tt(this._hostTNode,this._hostLView)}get injector(){return new Be(this._hostTNode,this._hostLView)}get parentInjector(){let t=Si(this._hostTNode,this._hostLView);if(Au(t)){let n=Zn(t,this._hostLView),r=Wn(t),o=n[y].data[r+8];return new Be(o,n)}else return new Be(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Da(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-K}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Bo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,jo(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!cf(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new ir(gt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let w=(s?c:this.parentInjector).get(be,null);w&&(i=w)}let l=gt(u.componentType??{}),d=Bo(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,jo(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(mf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[L],c=new Vc(u,u[W],u[L]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ac(s,o,i,r),t.attachToViewContainerRef(),qa(io(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Da(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Fo(this._lContainer,n);r&&(Bn(io(this._lContainer),n),ic(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=Fo(this._lContainer,n);return r&&Bn(io(this._lContainer),n)!=null?new Ze(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Da(e){return e[zn]}function io(e){return e[zn]||(e[zn]=[])}function Bc(e,t){let n,r=t[e.index];return Ee(r)?n=r:(n=_c(r,t,null,e),t[e.index]=n,Sr(t,n)),ug(n,t,e,r),new Vc(n,e,t)}function ag(e,t){let n=e[N],r=n.createComment(""),o=oe(t,e),i=uc(n,o);return Xn(n,i,r,jp(n,o),!1),r}var ug=dg,cg=()=>!1;function lg(e,t,n){return cg(e,t,n)}function dg(e,t,n,r){if(e[Ue])return;let o;n.type&8?o=ge(r):o=ag(t,n),e[Ue]=o}var zo=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Go=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Gi(t,n).matches!==null&&this.queries[n].setDirty()}},sr=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Dg(t):this.predicate=t}},qo=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Wo=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,fg(n,i)),this.matchTNodeWithReadOption(t,n,Pn(n,t,i,!1,!1))}else r===Qe?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Pn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Fe||o===Je||o===Qe&&n.type&4)this.addMatch(n.index,-2);else{let i=Pn(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function fg(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function pg(e,t){return e.type&11?Tt(e,t):e.type&4?zi(e,t):null}function hg(e,t,n,r){return n===-1?pg(t,e):n===-2?gg(e,t,r):We(e,e[y],n,t)}function gg(e,t,n){if(n===Fe)return Tt(t,e);if(n===Qe)return zi(t,e);if(n===Je)return Bc(t,e)}function Hc(e,t,n,r){let o=t[ve].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(hg(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function Zo(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Hc(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=K;d<l.length;d++){let p=l[d];p[He]===p[L]&&Zo(p[y],p,c,r)}if(l[vt]!==null){let d=l[vt];for(let p=0;p<d.length;p++){let f=d[p];Zo(f[y],f,c,r)}}}}}return r}function mg(e,t){return e[ve].queries[t].queryList}function $c(e,t,n){let r=new xo((n&4)===4);return lh(e,t,r,r.destroy),(t[ve]??=new Go).queries.push(new zo(r))-1}function yg(e,t,n){let r=F();return r.firstCreatePass&&(Uc(r,new sr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),$c(r,I(),t)}function vg(e,t,n,r){let o=F();if(o.firstCreatePass){let i=j();Uc(o,new sr(t,n,r),i.index),Eg(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return $c(o,I(),n)}function Dg(e){return e.split(",").map(t=>t.trim())}function Uc(e,t,n){e.queries===null&&(e.queries=new qo),e.queries.track(new Wo(t,n))}function Eg(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Gi(e,t){return e.queries.getByIndex(t)}function Ig(e,t){let n=e[y],r=Gi(n,t);return r.crossesNgTemplate?Zo(n,e,t,[]):Hc(n,e,r,t)}function PI(e,t){St("NgSignals");let n=ms(e),r=n[Q];return t?.equal&&(r.equal=t.equal),n.set=o=>un(r,o),n.update=o=>ys(r,o),n.asReadonly=wg.bind(n),n}function wg(){let e=this[Q];if(e.readonlyFn===void 0){let t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}function Cg(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(Tg))}return i}return ar.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[c+p]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>Sg(i));t.push(u)}),bg(),Promise.all(t).then(()=>{})}var ar=new Map,_g=new Set;function bg(){let e=ar;return ar=new Map,e}function Mg(){return ar.size===0}function Tg(e){return typeof e=="string"?e:e.text()}function Sg(e){_g.delete(e)}var xe=class{},Qo=class{};var ur=class extends xe{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new or(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Wd(t);this._bootstrapComponents=Mp(i.bootstrap),this._r3Injector=Bu(t,n,[{provide:xe,useValue:this},{provide:wt,useValue:this.componentFactoryResolver},...r],$(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Yo=class extends Qo{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ur(this.moduleType,t,[])}};function Ng(e,t,n){return new ur(e,t,n,!1)}var Ko=class extends xe{injector;componentFactoryResolver=new or(this);instance=null;constructor(t){super();let n=new zt([...t.providers,{provide:xe,useValue:this},{provide:wt,useValue:this.componentFactoryResolver}],t.parent||yi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function xg(e,t,n=null){return new Ko({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Ag=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ka(!1,n.type),o=r.length>0?xg([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(U(be))})}return e})();function LI(e){return Jt(()=>{let t=zc(e),n=V(k({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Zu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Ag).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Qt.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&St("NgStandalone"),Gc(n);let r=e.dependencies;return n.directiveDefs=Ia(r,!1),n.pipeDefs=Ia(r,!0),n.id=Fg(n),n})}function Rg(e){return gt(e)||Qa(e)}function Og(e){return e!==null}function qi(e){return Jt(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ea(e,t){if(e==null)return ht;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ne.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ne.None?[r,a]:r,t[i]=s):n[i]=r}return n}function xt(e){return Jt(()=>{let t=zc(e);return Gc(t),t})}function zc(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ht,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ea(e.inputs,t),outputs:Ea(e.outputs),debugInfo:null}}function Gc(e){e.features?.forEach(t=>t(e))}function Ia(e,t){if(!e)return null;let n=t?Ya:Rg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Og)}function Fg(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function kg(e){return Object.getPrototypeOf(e.prototype).constructor}function Pg(e){let t=kg(e.type),n=!0,r=[e];for(;t;){let o;if(Te(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Nn(e.inputs),s.inputTransforms=Nn(e.inputTransforms),s.declaredInputs=Nn(e.declaredInputs),s.outputs=Nn(e.outputs);let a=o.hostBindings;a&&Hg(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Vg(e,u),c&&Bg(e,c),Lg(e,o),Cd(e.outputs,o.outputs),Te(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Pg&&(n=!1)}}t=Object.getPrototypeOf(t)}jg(r)}function Lg(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function jg(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Wt(o.hostAttrs,n=Wt(n,o.hostAttrs))}}function Nn(e){return e===ht?{}:e===G?[]:e}function Vg(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Bg(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Hg(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function $g(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function qc(e){return Wi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Ug(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Wi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Wc(e,t,n){return e[t]=n}function Ae(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Zc(e,t,n,r){let o=Ae(e,t,n);return Ae(e,t+1,r)||o}function zg(e){return(e.flags&32)===32}function Gg(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Nt(t,e,4,s||null,a||null);Bi(t,n,l,Dt(c,u)),wr(t,l);let d=l.tView=Vi(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Qc(e,t,n,r,o,i,s,a,u,c){let l=n+re,d=t.firstCreatePass?Gg(l,t,e,r,o,i,s,a,u):t.data[l];Ke(d,!1);let p=Wg(t,e,d,n);Er()&&br(t,e,p,d),Se(p,e);let f=_c(p,e,p,d);return e[l]=f,Sr(e,f),lg(f,d,e),vr(d)&&Li(t,e,d),u!=null&&ji(e,d,c),d}function qg(e,t,n,r,o,i,s,a){let u=I(),c=F(),l=Dt(c.consts,i);return Qc(u,c,e,t,n,r,o,l,s,a),qg}var Wg=Zg;function Zg(e,t,n,r){return Ir(!0),t[N].createComment("")}var Qg=new b(""),Yg=new b(""),jI=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,Zi||(Jg(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(U(q),U(Kg),U(Yg))};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),Kg=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Zi?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Jg(e){Zi=e}var Zi;function Qi(e){return!!e&&typeof e.then=="function"}function Yc(e){return!!e&&typeof e.subscribe=="function"}var Kc=new b("");function VI(e){return Qd([{provide:Kc,multi:!0,useValue:e}])}var Jc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=_(Kc,{optional:!0})??[];injector=_(me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=nu(this.injector,o);if(Qi(i))n.push(i);else if(Yc(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xc=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>new cr})}return e})(),cr=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Xg=new b("");function em(){gs(()=>{throw new v(600,!1)})}function tm(e){return e.isBoundToModule}var nm=10;function rm(e,t,n){try{let r=n();return Qi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function el(e,t){return Array.isArray(t)?t.reduce(el,e):k(k({},e),t)}var Ct=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=_(ip);afterRenderManager=_(Ep);zonelessEnabled=_($u);rootEffectScheduler=_(Xc);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new fe;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=_(tn).hasPendingTasks.pipe(Ve(n=>!n));constructor(){_(tc,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=_(be);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof tr;if(!this._injector.get(Jc).done){let p=!o&&Zd(n),f=!1;throw new v(405,f)}let s;o?s=n:s=this._injector.get(wt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=tm(s)?void 0:this._injector.get(xe),u=r||s.selector,c=s.create(me.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(Qg,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Ln(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(ec.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new v(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,C(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(nr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<nm;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)om(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Dr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ln(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Xg,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ln(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ln(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function om(e,t,n,r){if(!n&&!Dr(e))return;kc(e,t,n&&!r?0:1)}function im(e,t,n,r){let o=I(),i=Ci();if(Ae(o,i,t)){let s=F(),a=Su();Mh(a,o,e,t,n,r)}return im}function sm(e,t,n,r){return Ae(e,Ci(),n)?t+$t(n)+r:le}function am(e,t,n,r,o,i){let s=Mf(),a=Zc(e,s,n,o);return _i(2),a?t+$t(n)+r+$t(o)+i:le}function xn(e,t){return e<<17|t<<2}function Ye(e){return e>>17&32767}function um(e){return(e&2)==2}function cm(e,t){return e&131071|t<<17}function Jo(e){return e|2}function _t(e){return(e&131068)>>2}function so(e,t){return e&-131069|t<<2}function lm(e){return(e&1)===1}function Xo(e){return e|1}function dm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ye(s),u=_t(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Xt(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=Ye(e[a+1]);e[r+1]=xn(p,a),p!==0&&(e[p+1]=so(e[p+1],r)),e[a+1]=cm(e[a+1],r)}else e[r+1]=xn(a,0),a!==0&&(e[a+1]=so(e[a+1],r)),a=r;else e[r+1]=xn(u,0),a===0?a=r:e[u+1]=so(e[u+1],r),u=r;c&&(e[r+1]=Jo(e[r+1])),wa(e,l,r,!0),wa(e,l,r,!1),fm(t,l,e,r,i),s=xn(a,u),i?t.classBindings=s:t.styleBindings=s}function fm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Xt(i,t)>=0&&(n[r+1]=Xo(n[r+1]))}function wa(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ye(o):_t(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];pm(u,t)&&(a=!0,e[s+1]=r?Xo(c):Jo(c)),s=r?Ye(c):_t(c)}a&&(e[n+1]=r?Jo(o):Xo(o))}function pm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Xt(e,t)>=0:!1}var R={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function tl(e){return e.substring(R.key,R.keyEnd)}function hm(e){return e.substring(R.value,R.valueEnd)}function gm(e){return ol(e),nl(e,bt(e,0,R.textEnd))}function nl(e,t){let n=R.textEnd;return n===t?-1:(t=R.keyEnd=ym(e,R.key=t,n),bt(e,t,n))}function mm(e){return ol(e),rl(e,bt(e,0,R.textEnd))}function rl(e,t){let n=R.textEnd,r=R.key=bt(e,t,n);return n===r?-1:(r=R.keyEnd=vm(e,r,n),r=Ca(e,r,n,58),r=R.value=bt(e,r,n),r=R.valueEnd=Dm(e,r,n),Ca(e,r,n,59))}function ol(e){R.key=0,R.keyEnd=0,R.value=0,R.valueEnd=0,R.textEnd=e.length}function bt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ym(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function vm(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Ca(e,t,n,r){return t=bt(e,t,n),t<n&&t++,t}function Dm(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let u=e.charCodeAt(s++);if(u===59)return a;u===34||u===39?a=s=_a(e,u,s,n):t===s-4&&i===85&&o===82&&r===76&&u===40?a=s=_a(e,41,s,n):u>32&&(a=s),i=o,o=r,r=u&-33}return a}function _a(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Em(e,t,n){let r=I(),o=Ci();if(Ae(r,o,t)){let i=F(),s=Su();hh(i,s,r,e,t,r[N],n,!1)}return Em}function ei(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Hi(e,n,i[s],s,r)}function il(e,t,n){return sl(e,t,n,!1),il}function Im(e,t){return sl(e,t,null,!0),Im}function BI(e){al(ll,wm,e,!1)}function wm(e,t){for(let n=mm(t);n>=0;n=rl(t,n))ll(e,tl(t),hm(t))}function HI(e){al(Nm,Cm,e,!0)}function Cm(e,t){for(let n=gm(t);n>=0;n=nl(t,n))gr(e,tl(t),!0)}function sl(e,t,n,r){let o=I(),i=F(),s=_i(2);if(i.firstUpdatePass&&cl(i,e,s,r),t!==le&&Ae(o,s,t)){let a=i.data[Oe()];dl(i,a,o,o[N],e,o[s+1]=Am(t,n),r,s)}}function al(e,t,n,r){let o=F(),i=_i(2);o.firstUpdatePass&&cl(o,null,i,r);let s=I();if(n!==le&&Ae(s,i,n)){let a=o.data[Oe()];if(fl(a,r)&&!ul(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=lo(u,n||"")),ei(o,a,s,n,r)}else xm(o,a,s,s[N],s[i+1],s[i+1]=Sm(e,t,n),r,i)}}function ul(e,t){return t>=e.expandoStartIndex}function cl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Oe()],s=ul(e,n);fl(i,r)&&t===null&&!s&&(t=!1),t=_m(o,i,t,r),dm(o,i,t,n,s,r)}}function _m(e,t,n,r){let o=Af(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ao(null,e,t,n,r),n=Kt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ao(o,e,t,n,r),i===null){let u=bm(e,t,r);u!==void 0&&Array.isArray(u)&&(u=ao(null,e,t,u[1],r),u=Kt(u,t.attrs,r),Mm(e,t,r,u))}else i=Tm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function bm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(_t(r)!==0)return e[Ye(r)]}function Mm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ye(o)]=r}function Tm(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Kt(r,s,n)}return Kt(r,t.attrs,n)}function ao(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Kt(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Kt(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),gr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Sm(e,t,n){if(n==null||n==="")return G;let r=[],o=_r(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function ll(e,t,n){gr(e,t,_r(n))}function Nm(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&gr(e,r,n)}function xm(e,t,n,r,o,i,s,a){o===le&&(o=G);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,w;l===d?(u+=2,c+=2,p!==f&&(h=d,w=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,w=f),h!==null&&dl(e,t,n,r,h,w,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function dl(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=lm(c)?ba(u,t,n,o,_t(c),s):void 0;if(!lr(l)){lr(i)||um(c)&&(i=ba(u,null,n,o,a,s));let d=pu(Oe(),n);zp(r,s,d,o,i)}}function ba(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===le&&(p=d?G:void 0);let f=d?Xr(p,r):l===r?p:void 0;if(c&&!lr(f)&&(f=Xr(u,r)),lr(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ye(h):_t(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Xr(u,r))}return a}function lr(e){return e!==void 0}function Am(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=$(_r(e)))),e}function fl(e,t){return(e.flags&(t?8:16))!==0}function Rm(e,t,n,r,o,i){let s=t.consts,a=Dt(s,o),u=Nt(t,e,2,r,a);return Bi(t,n,u,Dt(s,i)),u.attrs!==null&&rr(u,u.attrs,!1),u.mergedAttrs!==null&&rr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function pl(e,t,n,r){let o=I(),i=F(),s=re+e,a=o[N],u=i.firstCreatePass?Rm(s,i,o,t,n,r):i.data[s],c=Fm(i,o,u,a,t,e);o[s]=c;let l=vr(u);return Ke(u,!0),pc(a,c,u),!zg(u)&&Er()&&br(i,o,c,u),Df()===0&&Se(c,o),Ef(),l&&(Li(i,o,u),Pi(i,u,o)),r!==null&&ji(o,u),pl}function hl(){let e=j();Ii()?wi():(e=e.parent,Ke(e,!1));let t=e;wf(t)&&Cf(),If();let n=F();return n.firstCreatePass&&(wr(n,e),vi(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&jf(t)&&ei(n,t,I(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Vf(t)&&ei(n,t,I(),t.stylesWithoutHost,!1),hl}function Om(e,t,n,r){return pl(e,t,n,r),hl(),Om}var Fm=(e,t,n,r,o,i)=>(Ir(!0),nc(r,o,Ff()));function km(e,t,n,r,o){let i=t.consts,s=Dt(i,r),a=Nt(t,e,8,"ng-container",s);s!==null&&rr(a,s,!0);let u=Dt(i,o);return Bi(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function gl(e,t,n){let r=I(),o=F(),i=e+re,s=o.firstCreatePass?km(i,o,r,t,n):o.data[i];Ke(s,!0);let a=Lm(o,r,s,e);return r[i]=a,Er()&&br(o,r,a,s),Se(a,r),vr(s)&&(Li(o,r,s),Pi(o,s,r)),n!=null&&ji(r,s),gl}function ml(){let e=j(),t=F();return Ii()?wi():(e=e.parent,Ke(e,!1)),t.firstCreatePass&&(wr(t,e),vi(e)&&t.queries.elementEnd(e)),ml}function Pm(e,t,n){return gl(e,t,n),ml(),Pm}var Lm=(e,t,n,r)=>(Ir(!0),xp(t[N],""));function $I(){return I()}var dr="en-US";var jm=dr;function Vm(e){typeof e=="string"&&(jm=e.toLowerCase().replace(/_/g,"-"))}var Bm=(e,t,n)=>{};function Hm(e,t,n,r){let o=I(),i=F(),s=j();return Um(i,o,o[N],s,e,t,r),Hm}function $m(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Un],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Um(e,t,n,r,o,i,s){let a=vr(r),c=e.firstCreatePass&&Tc(e),l=t[ce],d=Mc(t),p=!0;if(r.type&3||s){let w=oe(r,t),O=s?s(w):w,T=d.length,J=s?ie=>s(ge(ie[r.index])):r.index,ye=null;if(!s&&a&&(ye=$m(e,t,o,r.index)),ye!==null){let ie=ye.__ngLastListenerFn__||ye;ie.__ngNextListenerFn__=i,ye.__ngLastListenerFn__=i,p=!1}else{i=Ta(r,t,l,i),Bm(w,o,i);let ie=n.listen(O,o,i);d.push(i,ie),c&&c.push(o,J,T,T+1)}}else i=Ta(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let w=h.length;if(w)for(let O=0;O<w;O+=2){let T=h[O],J=h[O+1],et=t[T][J].subscribe(i),Z=d.length;d.push(i,et),c&&c.push(o,r.index,Z,-(Z+1))}}}function Ma(e,t,n,r){let o=C(null);try{return pe(6,t,n),n(r)!==!1}catch(i){return Sc(e,i),!1}finally{pe(7,t,n),C(o)}}function Ta(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Re(e.index,t):t;Ui(s,5);let a=Ma(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Ma(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function UI(e=1){return Of(e)}function zm(e,t){let n=null,r=Kp(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?gc(e,i,!0):eh(r,i))return o}return n}function zI(e){let t=I()[ne][W];if(!t.projection){let n=e?e.length:1,r=t.projection=zd(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?zm(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function GI(e,t=0,n,r,o,i){let s=I(),a=F(),u=r?e+1:null;u!==null&&Qc(s,a,u,r,o,i,null,n);let c=Nt(a,re+e,16,null,n||null);c.projection===null&&(c.projection=t),wi();let d=!s[Gt]||vu();s[ne][W].projection[c.projection]===null&&u!==null?Gm(s,a,u):d&&(c.flags&32)!==32&&$p(a,s,c)}function Gm(e,t,n){let r=re+n,o=t.data[r],i=e[r],s=Bo(i,o.tView.ssrId),a=xc(e,o,void 0,{dehydratedView:s});Ac(i,a,0,jo(o,s))}function qI(e,t,n,r){vg(e,t,n,r)}function WI(e,t,n){yg(e,t,n)}function ZI(e){let t=I(),n=F(),r=wu();bi(r+1);let o=Gi(n,r);if(e.dirty&&gf(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Ig(t,r);e.reset(i,up),e.notifyOnChanges()}return!0}return!1}function QI(){return mg(I(),wu())}function YI(e){let t=bf();return hf(t,re+e)}function KI(e,t=""){let n=I(),r=F(),o=e+re,i=r.firstCreatePass?Nt(r,o,1,t,null):r.data[o],s=qm(r,n,i,t,e);n[o]=s,Er()&&br(r,n,s,i),Ke(i,!1)}var qm=(e,t,n,r,o)=>(Ir(!0),Sp(t[N],r));function Wm(e){return yl("",e,""),Wm}function yl(e,t,n){let r=I(),o=sm(r,e,t,n);return o!==le&&Nc(r,Oe(),o),yl}function Zm(e,t,n,r,o){let i=I(),s=am(i,e,t,n,r,o);return s!==le&&Nc(i,Oe(),s),Zm}function Qm(e,t,n){let r=F();if(r.firstCreatePass){let o=Te(e);ti(n,r.data,r.blueprint,o,!0),ti(t,r.data,r.blueprint,o,!1)}}function ti(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)ti(e[i],t,n,r,o);else{let i=F(),s=I(),a=j(),u=mt(e)?e:H(e.provide),c=tu(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(mt(e)||!e.multi){let f=new qe(c,o,z),h=co(u,t,o?l:l+p,d);h===-1?(Mo(Qn(a,s),i,u),uo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=co(u,t,l+p,d),h=co(u,t,l,l+p),w=f>=0&&n[f],O=h>=0&&n[h];if(o&&!O||!o&&!w){Mo(Qn(a,s),i,u);let T=Jm(o?Km:Ym,n.length,o,r,c);!o&&O&&(n[h].providerFactory=T),uo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=vl(n[o?h:f],c,!o&&r);uo(i,e,f>-1?f:h,T)}!o&&r&&O&&n[h].componentProviders++}}}function uo(e,t,n,r){let o=mt(t),i=ef(t);if(o||i){let u=(i?H(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function vl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function co(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Ym(e,t,n,r){return ni(this.multi,[])}function Km(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=We(n,n[y],this.providerFactory.index,r);i=a.slice(0,s),ni(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],ni(o,i);return i}function ni(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Jm(e,t,n,r,o){let i=new qe(e,n,z);return i.multi=[],i.index=t,i.componentProviders=0,vl(i,o,r&&!n),i}function JI(e,t=[]){return n=>{n.providersResolver=(r,o)=>Qm(r,o?o(e):e,t)}}function XI(e,t,n,r){return Xm(I(),Iu(),e,t,n,r)}function ew(e,t,n,r,o){return ey(I(),Iu(),e,t,n,r,o)}function Dl(e,t){let n=e[t];return n===le?void 0:n}function Xm(e,t,n,r,o,i){let s=t+n;return Ae(e,s,o)?Wc(e,s+1,i?r.call(i,o):r(o)):Dl(e,s+1)}function ey(e,t,n,r,o,i,s){let a=t+n;return Zc(e,a,o,i)?Wc(e,a+2,s?r.call(s,o,i):r(o,i)):Dl(e,a+2)}var An=null;function ty(e){An!==null&&(e.defaultEncapsulation!==An.defaultEncapsulation||e.preserveWhitespaces!==An.preserveWhitespaces)||(An=e)}var ny=new b("");function ry(e,t,n){let r=new Yo(n);return Promise.resolve(r)}function Sa(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var oy=(()=>{class e{zone=_(q);changeDetectionScheduler=_(Et);applicationRef=_(Ct);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iy({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new q(V(k({},El()),{scheduleInRootZone:n})),[{provide:q,useFactory:e},{provide:Hn,multi:!0,useFactory:()=>{let r=_(oy,{optional:!0});return()=>r.initialize()}},{provide:Hn,multi:!0,useFactory:()=>{let r=_(sy);return()=>{r.initialize()}}},t===!0?{provide:Uu,useValue:!0}:[],{provide:zu,useValue:n??Hu}]}function El(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var sy=(()=>{class e{subscription=new B;initialized=!1;zone=_(q);pendingTasks=_(tn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ay=(()=>{class e{appRef=_(Ct);taskService=_(tn);ngZone=_(q);zonelessEnabled=_($u);tracing=_(tc,{optional:!0});disableScheduling=_(Uu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Kn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(_(zu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Jn||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?aa:Gu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Kn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,aa(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uy(){return typeof $localize<"u"&&$localize.locale||dr}var Yi=new b("",{providedIn:"root",factory:()=>_(Yi,D.Optional|D.SkipSelf)||uy()});var fr=new b(""),cy=new b("");function Lt(e){return!e.moduleRef}function ly(e){let t=Lt(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{Lt(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(It,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Lt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(fr);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(fr);s.add(i),e.moduleRef.onDestroy(()=>{Ln(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return rm(r,n,()=>{let i=t.get(Jc);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Yi,dr);if(Vm(s||dr),!t.get(cy,!0))return Lt(e)?t.get(Ct):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Lt(e)){let u=t.get(Ct);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return dy(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function dy(e,t){let n=e.injector.get(Ct);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new v(-403,!1);t.push(e)}var Il=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>op(r?.ngZone,V(k({},El({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[iy({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Et,useExisting:ay}],u=Ng(n.moduleType,this.injector,a);return ly({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=el({},r);return ry(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(fr,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(U(me))};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ht=null,wl=new b("");function fy(e){if(Ht&&!Ht.get(wl,!1))throw new v(400,!1);em(),Ht=e;let t=e.get(Il);return my(e),t}function py(e,t,n=[]){let r=`Platform: ${t}`,o=new b(r);return(i=[])=>{let s=Cl();if(!s||s.injector.get(wl,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):fy(hy(a,r))}return gy(o)}}function hy(e=[],t){return me.create({name:t,providers:[{provide:eu,useValue:"platform"},{provide:fr,useValue:new Set([()=>Ht=null])},...e]})}function gy(e){let t=Cl();if(!t)throw new v(401,!1);return t}function Cl(){return Ht?.get(Il)??null}function my(e){let t=e.get(gp,null);nu(e,()=>{t?.forEach(n=>n())})}var Ki=(()=>{class e{static __NG_ELEMENT_ID__=yy}return e})();function yy(e){return vy(j(),I(),(e&16)===16)}function vy(e,t,n){if(yr(e)&&!n){let r=Re(e.index,t);return new Ze(r,r)}else if(e.type&175){let r=t[ne];return new Ze(r,t)}return null}var ri=class{constructor(){}supports(t){return qc(t)}create(t){return new oi(t)}},Dy=(e,t)=>t,oi=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Dy}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Na(r,o,i)?n:r,a=Na(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,l=u-o;if(c!=l){for(let p=0;p<c;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<c&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-c}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!qc(t))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Ug(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ii(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new pr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new pr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ii=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},si=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},pr=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new si,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Na(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var ai=class{constructor(){}supports(t){return t instanceof Map||Wi(t)}create(){return new ui}},ui=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Wi(t)))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ci(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},ci=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function xa(){return new Ji([new ri])}var Ji=(()=>{class e{factories;static \u0275prov=x({token:e,providedIn:"root",factory:xa});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xa()),deps:[[e,new Ga,new za]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new v(901,!1)}}return e})();function Aa(){return new Xi([new ai])}var Xi=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:Aa});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Aa()),deps:[[e,new Ga,new za]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new v(901,!1)}}return e})();var tw=py(null,"core",[]),nw=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(U(Ct))};static \u0275mod=qi({type:e});static \u0275inj=fi({})}return e})();function Ey(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Iy(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function rw(e,t){St("NgSignals");let n=fs(e);return t?.equal&&(n[Q].equal=t.equal),n}function wy(e){let t=C(null);try{return e()}finally{C(t)}}var _l=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Cy}return e})();function Cy(){return new _l(I(),j())}var _y=!1,by=(()=>{class e extends cr{pendingTasks=_(tn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})(),li=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=vs(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(It,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function My(){}function Ty(e,t){St("NgSignals"),!t?.injector&&ou(My);let n=t?.injector??_(me),r=t?.manualCleanup!==!0?n.get(Cr):null,o=new li(n.get(by),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Ki,null,{optional:!0});return!i||!(i._lView[g]&8)?o.watcher.notify():(i._lView[On]??=[]).push(o.watcher.notify),o}var Sy=_y;var di=class{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}};function Ny(e,t){if(Sy)return Ty(e,t);St("NgSignals"),!t?.injector&&ou(Ny);let n=t?.injector??_(me),r=t?.manualCleanup!==!0?n.get(Cr):null,o,i=n.get(_l,null,{optional:!0}),s=n.get(Et);return i!==null&&!t?.forceRoot?(o=Ry(i.view,s,e),r instanceof Yn&&r._lView===i.view&&(r=null)):o=Oy(e,n.get(Xc),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new di(o)}var bl=V(k({},ke),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Zt,run(){if(this.dirty=!1,this.hasRun&&!Ft(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=nt(this),n=qn(!1);try{this.maybeCleanup(),this.fn(e)}finally{qn(n),Ot(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),xy=V(k({},bl),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){rt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Ay=V(k({},bl),{consumerMarkedDirty(){this.view[g]|=8192,en(this.view),this.notifier.notify(14)},destroy(){rt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[$e]?.delete(this)}});function Ry(e,t,n){let r=Object.create(Ay);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[$e]??=new Set,e[$e].add(r),r.consumerMarkedDirty(r),r}function Oy(e,t,n){let r=Object.create(xy);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var Al=null;function xw(){return Al}function Aw(e){Al??=e}var Ml=class{};var Rw=new b("");function Ow(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var es=/\s+/,Tl=[],Fw=(()=>{class e{_ngEl;_renderer;initialClasses=Tl;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(es):Tl}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(es):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(es).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(z(Fe),z(Nr))};static \u0275dir=xt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ts=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},kw=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new ts(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Sl(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Sl(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(z(Je),z(Qe),z(Ji))};static \u0275dir=xt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Sl(e,t){e.context.$implicit=t.item}var Pw=(()=>{class e{_viewContainer;_context=new ns;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Nl("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Nl("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(z(Je),z(Qe))};static \u0275dir=xt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),ns=class{$implicit=null;ngIf=null};function Nl(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${$(t)}'.`)}var Lw=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Yt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(z(Fe),z(Xi),z(Nr))};static \u0275dir=xt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),jw=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(z(Je))};static \u0275dir=xt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[uu]})}return e})();var Vw=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=qi({type:e});static \u0275inj=fi({})}return e})(),ky="browser",Py="server";function Bw(e){return e===ky}function Hw(e){return e===Py}var xl=class{};var Xe=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Xe||{}),zw="*";function Gw(e,t){return{type:Xe.Trigger,name:e,definitions:t,options:{}}}function qw(e,t=null){return{type:Xe.Animate,styles:t,timings:e}}function Ww(e,t=null){return{type:Xe.Sequence,steps:e,options:t}}function Zw(e){return{type:Xe.Style,styles:e,offset:null}}function Qw(e,t,n){return{type:Xe.State,name:e,styles:t,options:n}}function Yw(e,t,n=null){return{type:Xe.Transition,expr:e,animation:t,options:n}}var Rl=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ol=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Kw="!";export{k as a,V as b,Ly as c,jy as d,Vy as e,By as f,S as g,fe as h,Qr as i,Kr as j,Ve as k,gd as l,md as m,yd as n,v as o,wd as p,Pa as q,x as r,fi as s,b as t,U as u,_ as v,Qd as w,eu as x,uu as y,wI as z,CI as A,_I as B,bI as C,me as D,Et as E,we as F,q as G,It as H,MI as I,Fe as J,TI as K,SI as L,gp as M,mp as N,NI as O,xI as P,St as Q,Qt as R,Yt as S,AI as T,z as U,RI as V,Qe as W,wt as X,nr as Y,Nr as Z,PI as _,LI as $,qi as aa,xt as ba,Pg as ca,$g as da,qg as ea,Qg as fa,Yg as ga,jI as ha,Kg as ia,Qi as ja,VI as ka,Ct as la,im as ma,Em as na,il as oa,Im as pa,BI as qa,HI as ra,pl as sa,hl as ta,Om as ua,gl as va,ml as wa,Pm as xa,$I as ya,Hm as za,UI as Aa,zI as Ba,GI as Ca,qI as Da,WI as Ea,ZI as Fa,QI as Ga,YI as Ha,KI as Ia,Wm as Ja,yl as Ka,Zm as La,JI as Ma,XI as Na,ew as Oa,py as Pa,Ki as Qa,tw as Ra,nw as Sa,Ey as Ta,Iy as Ua,rw as Va,wy as Wa,Ny as Xa,xw as Ya,Aw as Za,Ml as _a,Rw as $a,Ow as ab,Fw as bb,kw as cb,Pw as db,Lw as eb,jw as fb,Vw as gb,ky as hb,Bw as ib,Hw as jb,xl as kb,Xe as lb,zw as mb,Gw as nb,qw as ob,Ww as pb,Zw as qb,Qw as rb,Yw as sb,Rl as tb,Ol as ub,Kw as vb};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as le,d as ft,lb as E,mb as B,o as S,pb as mt,qb as Ne,r as dt,tb as x,ub as Me,vb as ue}from"./chunk-377VKGOQ.js";function pt(i){return new S(3e3,!1)}function jt(){return new S(3100,!1)}function Wt(){return new S(3101,!1)}function Gt(i){return new S(3001,!1)}function Ht(i){return new S(3003,!1)}function Yt(i){return new S(3004,!1)}function Xt(i,e){return new S(3005,!1)}function Zt(){return new S(3006,!1)}function Jt(){return new S(3007,!1)}function xt(i,e){return new S(3008,!1)}function es(i){return new S(3002,!1)}function ts(i,e,t,s,n){return new S(3010,!1)}function ss(){return new S(3011,!1)}function ns(){return new S(3012,!1)}function is(){return new S(3200,!1)}function rs(){return new S(3202,!1)}function as(){return new S(3013,!1)}function os(i){return new S(3014,!1)}function ls(i){return new S(3015,!1)}function us(i){return new S(3016,!1)}function cs(i){return new S(3500,!1)}function hs(i){return new S(3501,!1)}function fs(i,e){return new S(3404,!1)}function ds(i){return new S(3502,!1)}function ms(i){return new S(3503,!1)}function ps(){return new S(3300,!1)}function gs(i){return new S(3504,!1)}function ys(i){return new S(3301,!1)}function _s(i,e){return new S(3302,!1)}function Ss(i){return new S(3303,!1)}function Es(i,e){return new S(3400,!1)}function Ts(i){return new S(3401,!1)}function vs(i){return new S(3402,!1)}function ws(i,e){return new S(3505,!1)}var bs=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(i){switch(i.length){case 0:return new x;case 1:return i[0];default:return new Me(i)}}function Ot(i,e,t=new Map,s=new Map){let n=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),h=u==a,c=h&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=i.normalizePropertyName(d,n),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=i.normalizeStyleValue(y,d,g,n);break}c.set(d,g)}),h||r.push(c),o=c,a=u}),n.length)throw ds(n);return r}function xe(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&Ce(t,"start",i)));break;case"done":i.onDone(()=>s(t&&Ce(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&Ce(t,"destroy",i)));break}}function Ce(i,e,t){let s=t.totalTime,n=!!t.disabled,r=et(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,s??i.totalTime,n),a=i._data;return a!=null&&(r._data=a),r}function et(i,e,t,s,n="",r=0,a){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!a}}function L(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function gt(i){let e=i.indexOf(":"),t=i.substring(1,e),s=i.slice(e+1);return[t,s]}var As=typeof document>"u"?null:document.documentElement;function tt(i){let e=i.parentNode||i.host||null;return e===As?null:e}function Ps(i){return i.substring(1,6)=="ebkit"}var H=null,yt=!1;function Ns(i){H||(H=Ms()||{},yt=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Ps(i)&&(e=i in H.style,!e&&yt&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in H.style)),e}function bn(i){return bs.has(i)}function Ms(){return typeof document<"u"?document.body:null}function Lt(i,e){for(;e;){if(e===i)return!0;e=tt(e)}return!1}function Ft(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let s=i.querySelector(e);return s?[s]:[]}var It=(()=>{class i{validateStyleProperty(t){return Ns(t)}containsElement(t,s){return Lt(t,s)}getParentElement(t){return tt(t)}query(t,s,n){return Ft(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,a,o=[],l){return new x(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=dt({token:i,factory:i.\u0275fac})}return i})(),_t=class{static NOOP=new It},Fe=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}},Cs=1e3,zt="{{",ks="}}",st="ng-enter",pe="ng-leave",ce="ng-trigger",ge=".ng-trigger",St="ng-animating",ze=".ng-animating";function $(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ke(parseFloat(e[1]),e[2])}function Ke(i,e){switch(e){case"s":return i*Cs;default:return i}}function ye(i,e,t){return i.hasOwnProperty("duration")?i:Ds(i,e,t)}function Ds(i,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,a="";if(typeof i=="string"){let o=i.match(s);if(o===null)return e.push(pt(i)),{duration:0,delay:0,easing:""};n=Ke(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=Ke(parseFloat(l),o[4]));let u=o[5];u&&(a=u)}else n=i;if(!t){let o=!1,l=e.length;n<0&&(e.push(jt()),o=!0),r<0&&(e.push(Wt()),o=!0),o&&e.splice(l,0,pt(i))}return{duration:n,delay:r,easing:a}}function Rs(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Et(i){return Array.isArray(i)?new Map(...i):new Map(i)}function Q(i,e,t){e.forEach((s,n)=>{let r=nt(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function X(i,e){e.forEach((t,s)=>{let n=nt(s);i.style[n]=""})}function se(i){return Array.isArray(i)?i.length==1?i[0]:mt(i):i}function Os(i,e,t){let s=e.params||{},n=Kt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(Gt(r))})}var qe=new RegExp(`${zt}\\s*(.+?)\\s*${ks}`,"g");function Kt(i){let e=[];if(typeof i=="string"){let t;for(;t=qe.exec(i);)e.push(t[1]);qe.lastIndex=0}return e}function ie(i,e,t){let s=`${i}`,n=s.replace(qe,(r,a)=>{let o=e[a];return o==null&&(t.push(Ht(a)),o=""),o.toString()});return n==s?i:n}var Ls=/-+([a-z0-9])/g;function nt(i){return i.replace(Ls,(...e)=>e[1].toUpperCase())}function An(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fs(i,e){return i===0||e===0}function Is(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,a)=>{s.has(a)||n.push(a),s.set(a,r)}),n.length)for(let r=1;r<e.length;r++){let a=e[r];n.forEach(o=>a.set(o,it(i,o)))}}return e}function O(i,e,t){switch(e.type){case E.Trigger:return i.visitTrigger(e,t);case E.State:return i.visitState(e,t);case E.Transition:return i.visitTransition(e,t);case E.Sequence:return i.visitSequence(e,t);case E.Group:return i.visitGroup(e,t);case E.Animate:return i.visitAnimate(e,t);case E.Keyframes:return i.visitKeyframes(e,t);case E.Style:return i.visitStyle(e,t);case E.Reference:return i.visitReference(e,t);case E.AnimateChild:return i.visitAnimateChild(e,t);case E.AnimateRef:return i.visitAnimateRef(e,t);case E.Query:return i.visitQuery(e,t);case E.Stagger:return i.visitStagger(e,t);default:throw Yt(e.type)}}function it(i,e){return window.getComputedStyle(i)[e]}var zs=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"]),Be=class extends Fe{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,n){let r="",a=s.toString().trim();if(zs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(Xt(e,s))}return a+r}};var _e="*";function Ks(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(s=>qs(s,t,e)):t.push(i),t}function qs(i,e,t){if(i[0]==":"){let l=Bs(i,t);if(typeof l=="function"){e.push(l);return}i=l}let s=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(ls(i)),e;let n=s[1],r=s[2],a=s[3];e.push(Tt(n,a));let o=n==_e&&a==_e;r[0]=="<"&&!o&&e.push(Tt(a,n))}function Bs(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s)<parseFloat(t);default:return e.push(us(i)),"* => *"}}var he=new Set(["true","1"]),fe=new Set(["false","0"]);function Tt(i,e){let t=he.has(i)||fe.has(i),s=he.has(e)||fe.has(e);return(n,r)=>{let a=i==_e||i==n,o=e==_e||e==r;return!a&&t&&typeof n=="boolean"&&(a=n?he.has(i):fe.has(i)),!o&&s&&typeof r=="boolean"&&(o=r?he.has(e):fe.has(e)),a&&o}}var qt=":self",Qs=new RegExp(`s*${qt}s*,?`,"g");function rt(i,e,t,s){return new Qe(i).build(e,t,s)}var vt="",Qe=class{_driver;constructor(e){this._driver=e}build(e,t,s){let n=new $e(t);return this._resetContextStyleTimingState(n),O(this,se(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=vt,e.collectedStyles=new Map,e.collectedStyles.set(vt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Zt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(Jt())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:n,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=n||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Kt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(xt(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,se(e.animation),t),n=Ks(e.expr,t.errors);return{type:E.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,n=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=js(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:Ne({});if(r.type==E.Keyframes)n=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Ne(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:n,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===B?s.push(o):t.errors.push(es(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(zt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l),c=!0;h&&(r!=n&&r>=h.startTime&&n<=h.endTime&&(t.errors.push(ts(l,h.startTime,h.endTime,r,n)),c=!1),r=h.startTime),c&&u.set(l,{startTime:r,endTime:n}),t.options&&Os(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ss()),s;let n=1,r=0,a=[],o=!1,l=!1,u=0,h=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Us(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N<u,u=N,a.push(N),A});l&&t.errors.push(ns()),o&&t.errors.push(is());let c=e.steps.length,_=0;r>0&&r<c?t.errors.push(rs()):r==0&&(_=n/(c-1));let y=c-1,d=t.currentTime,g=t.currentAnimateTimings,v=g.duration;return h.forEach((b,A)=>{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,se(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=$s(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,se(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(as());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,se(e.animation),t),timings:s,options:null}}};function $s(i){let e=!!i.split(/\s*,\s*/).find(t=>t==qt);return e&&(i=i.replace(Qs,"")),i=i.replace(/@\*/g,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,ze),[i,e]}function Vs(i){return i?le({},i):null}var $e=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Us(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function js(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let r=ye(i,e).duration;return ke(r,0,"")}let t=i;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let n=ye(t,e);return ke(n.duration,n.delay,n.easing)}function Y(i){return i?(i=le({},i),i.params&&(i.params=Vs(i.params))):i={},i}function ke(i,e,t){return{duration:i,delay:e,easing:t}}function at(i,e,t,s,n,r,a=null,o=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:a,subTimeline:o}}var te=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ws=1,Gs=":enter",Hs=new RegExp(Gs,"g"),Ys=":leave",Xs=new RegExp(Ys,"g");function ot(i,e,t,s,n,r=new Map,a=new Map,o,l,u=[]){return new Ve().buildKeyframes(i,e,t,s,n,r,a,o,l,u)}var Ve=class{buildKeyframes(e,t,s,n,r,a,o,l,u,h=[]){u=u||new te;let c=new Ue(e,t,u,n,r,h,[]);c.options=l;let _=l.delay?$(l.delay):0;c.currentTimeline.delayNextStep(_),c.currentTimeline.setStyles([a],null,c.errors,l),O(this,s,c);let y=c.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,c.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[at(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,n,n.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let n of e){let r=n?.delay;if(r){let a=typeof r=="number"?r:$(ie(r,n?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==E.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Se);let a=$(r.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,n=t.params?ie(s,t.params,t.errors):s;return ye(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?$(n.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,h)=>{t.currentQueryIndex=h;let c=t.createSubContext(e.options,u);r&&c.delayNextStep(r),u===t.element&&(l=c.currentTimeline),O(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let _=c.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,n=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let c=h.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-c+(n.startTime-s.currentTimeline.startTime)}},Se={},Ue=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Se;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ee(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,n=this.options;s.duration!=null&&(n.duration=$(s.duration)),s.delay!=null&&(n.delay=$(s.delay));let r=s.params;if(r){let a=n.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ie(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){let n=t||this.element,r=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,a){let o=[];if(n&&o.push(this.element),e.length>0){e=e.replace(Hs,"."+this._enterClassName),e=e.replace(Xs,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(os(t)),o}},Ee=class i{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ws,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);let r=n&&n.params||{},a=Zs(e,this._globalTimelineStyles);for(let[o,l]of a){let u=ie(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((h,c)=>{h===ue?e.add(c):h===B&&t.add(c)}),s||u.set("offset",l/this.duration),n.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=n[0],l=new Map(o);o.set("offset",0),l.set("offset",1),n=[o,l]}return at(this.element,n,r,a,this.duration,this.startTime,this.easing,!1)}},je=class extends Ee{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",wt(o)),r.push(u);let h=e.length-1;for(let c=1;c<=h;c++){let _=new Map(e[c]),y=_.get("offset"),d=t+y*s;_.set("offset",wt(d/a)),r.push(_)}s=a,t=0,n="",e=r}return at(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}};function wt(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function Zs(i,e){let t=new Map,s;return i.forEach(n=>{if(n==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of n)t.set(r,a)}),t}function bt(i,e,t,s,n,r,a,o,l,u,h,c,_){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:c,errors:_}}var De={},Te=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return Js(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,a,o,l,u,h){let c=[],_=this.ast.options&&this.ast.options.params||De,y=o&&o.params||De,d=this.buildStyles(s,y,c),g=l&&l.params||De,v=this.buildStyles(n,g,c),b=new Set,A=new Map,C=new Map,N=n==="void",Z={params:Bt(g,_),delay:this.ast.options?.delay},K=h?[]:ot(e,t,this.ast.animation,r,a,d,v,Z,u,c),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),c.length?bt(t,this._triggerName,s,n,N,d,v,[],[],A,C,k,c):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let lt=L(C,j,new Set);D.postStyleProps.forEach(W=>lt.add(W)),j!==t&&b.add(j)}),bt(t,this._triggerName,s,n,N,d,v,K,[...b.values()],A,C,k))}};function Js(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}function Bt(i,e){let t=le({},e);return Object.entries(i).forEach(([s,n])=>{n!=null&&(t[s]=n)}),t}var We=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,n=Bt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=ie(a,n,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function xs(i,e,t){return new Ge(i,e,t)}var Ge=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new We(n.style,r,s))}),At(this.states,"true","1"),At(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Te(e,n,this.states))}),this.fallbackTransition=en(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(a=>a.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function en(i,e,t){let s=[(a,o)=>!0],n={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:n,matchers:s,options:null,queryCount:0,depCount:0};return new Te(i,r,e)}function At(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var tn=new te,He=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],n=[],r=rt(this._driver,t,s,n);if(s.length)throw ms(s);this._animations.set(e,r)}_buildPlayer(e,t,s){let n=e.element,r=Ot(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let n=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ot(this._driver,t,r,st,pe,new Map,new Map,s,tn,n),a.forEach(h=>{let c=L(o,h.element,new Map);h.postStyleProps.forEach(_=>c.set(_,null))})):(n.push(ps()),a=[]),n.length)throw gs(n);o.forEach((h,c)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(c,y,B))})});let l=a.map(h=>{let c=o.get(h.element);return this._buildPlayer(h,new Map,c)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ys(e);return t}listen(e,t,s,n){let r=et(t,"","","");return xe(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if(s=="register"){this.register(e,n[0]);return}if(s=="create"){let a=n[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Pt="ng-animate-queued",sn=".ng-animate-queued",Re="ng-animate-disabled",nn=".ng-animate-disabled",rn="ng-star-inserted",an=".ng-star-inserted",on=[],Qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ln={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",re=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),n=s?e.value:e;if(this.value=cn(n),s){let r=e,{value:a}=r,o=ft(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(n=>{s[n]==null&&(s[n]=t[n])})}}},ne="void",Oe=new re(ne),Ye=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw _s(s,t);if(s==null||s.length==0)throw Ss(t);if(!hn(s))throw Es(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Ts(e);return t}trigger(e,t,s,n=!0){let r=this._getTrigger(t),a=new ae(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new re(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Oe),!(u.value===ne)&&l.value===u.value){if(!mn(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!n)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,Pt),a.onStart(()=>{ee(e,Pt)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ge,!0);s.forEach(n=>{if(n[z])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(a=>a.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let h=this.trigger(e,u,ne,n);h&&o.push(h)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let n=new Set;t.forEach(r=>{let a=r.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Oe,h=new re(ne),c=new ae(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:h,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Qt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let n=s.player;if(n.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=et(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,xe(s.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{let r=s.transition.ast.depCount,a=n.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Xe=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Ye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=n.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let n=this._namespaceList.indexOf(s);n>=0&&this._namespaceList.splice(n,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let n of s.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,n){if(de(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!de(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(de(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return de(t)?this._fetchNamespace(e).listen(t,s,n,r):()=>{}}_buildInstruction(e,t,s,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ge,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ze,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Qt,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,nn,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,n)=>this._balanceNamespaceList(s,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;s<this.collectedEnterElements.length;s++){let n=this.collectedEnterElements[s];I(n,rn)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let s=[];try{t=this._flushAnimations(s,e)}finally{for(let n=0;n<s.length;n++)s[n]()}}else for(let s=0;s<this.collectedLeaveElements.length;s++){let n=this.collectedLeaveElements[s];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw vs(e)}_flushAnimations(e,t){let s=new te,n=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(f=>{h.add(f);let m=this.driver.query(f,sn,!0);for(let p=0;p<m.length;p++)h.add(m[p])});let c=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=Ct(_,this.collectedEnterElements),d=new Map,g=0;y.forEach((f,m)=>{let p=st+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){let m=this.collectedLeaveElements[f],p=m[z];p&&p.setForRemoval&&(v.push(m),b.add(m),p.hasAnimation?this.driver.query(m,an,!0).forEach(T=>b.add(T)):A.add(m))}let C=new Map,N=Ct(_,Array.from(b));N.forEach((f,m)=>{let p=pe+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let oe=F.get(p.triggerName);oe.value=G,F.set(p.triggerName,oe)}}T.destroy();return}}let q=!c||!this.driver.containsElement(c,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}let ht=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||ht.push(M)}),w.timelines=ht,s.append(P,w.timelines);let Ut={instruction:w,player:T,element:P};a.push(Ut),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))}}),w.postStyleProps.forEach((M,G)=>{let F=u.get(G);F||u.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))})});if(K.length){let f=[];K.forEach(m=>{f.push(ws(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>kt(f,l,u)),J=new Map;Mt(J,this.driver,A,u,B).forEach(f=>{kt(f,l,u)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Mt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ct={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(h.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),n.push(p);return}let P=ct;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===ct)Ae.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),n.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ut.push(p),h.has(m)&&n.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f<v.length;f++){let m=v[f],p=m[z];if(ee(m,pe),p&&p.hasAnimation)continue;let T=[];if(o.size){let q=o.get(m);q&&q.length&&T.push(...q);let R=this.driver.query(m,ze,!0);for(let V=0;V<R.length;V++){let w=o.get(R[V]);w&&w.length&&T.push(...w)}}let P=T.filter(q=>!q.destroyed);P.length?fn(this,m,P):this.processLeaveNode(m)}return v.length=0,Ae.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(s||n)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let n=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,h=u!==r,c=L(s,u,[]);this._getPreviousPlayers(u,h,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),c.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,a){let o=t.triggerName,l=t.element,u=[],h=new Set,c=new Set,_=t.timelines.map(d=>{let g=d.element;h.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=dn((s.get(g)||on).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=Ot(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&n&&c.add(g),b){let k=new ae(e,o,g);k.setRealPlayer(K),u.push(k)}return K});u.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>un(this.playersByQueriedElement,d.element,d))}),h.forEach(d=>I(d,St));let y=U(_);return y.onDestroy(()=>{h.forEach(d=>ee(d,St)),Q(l,t.toStyles)}),c.forEach(d=>{L(n,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},ae=class{namespaceId;triggerName;element;_player=new x;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(n=>xe(e,s,void 0,n))}),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 t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!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 t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function un(i,e,t){let s=i.get(e);if(s){if(s.length){let n=s.indexOf(t);s.splice(n,1)}s.length==0&&i.delete(e)}return s}function cn(i){return i??null}function de(i){return i&&i.nodeType===1}function hn(i){return i=="start"||i=="done"}function Nt(i,e){let t=i.style.display;return i.style.display=e??"none",t}function Mt(i,e,t,s,n){let r=[];t.forEach(l=>r.push(Nt(l)));let a=[];s.forEach((l,u)=>{let h=new Map;l.forEach(c=>{let _=e.computeStyle(u,c,n);h.set(c,_),(!_||_.length==0)&&(u[z]=ln,a.push(u))}),i.set(u,h)});let o=0;return t.forEach(l=>Nt(l,r[o++])),a}function Ct(i,e){let t=new Map;if(i.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,n=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:n.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(i,e){i.classList?.add(e)}function ee(i,e){i.classList?.remove(e)}function fn(i,e,t){U(t).onDone(()=>i.processLeaveNode(e))}function dn(i){let e=[];return $t(i,e),e}function $t(i,e){for(let t=0;t<i.length;t++){let s=i[t];s instanceof Me?$t(s.players,e):e.push(s)}}function mn(i,e){let t=Object.keys(i),s=Object.keys(e);if(t.length!=s.length)return!1;for(let n=0;n<t.length;n++){let r=t[n];if(!e.hasOwnProperty(r)||i[r]!==e[r])return!1}return!0}function kt(i,e,t){let s=t.get(i);if(!s)return!1;let n=e.get(i);return n?s.forEach(r=>n.add(r)):e.set(i,s),t.delete(i),!0}var ve=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new Xe(e.body,t,s),this._timelineEngine=new He(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){let a=e+"-"+n,o=this._triggerCache[a];if(!o){let l=[],u=[],h=rt(this._driver,r,l,u);if(l.length)throw fs(n,l);o=xs(n,h,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if(s.charAt(0)=="@"){let[r,a]=gt(s),o=n;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if(s.charAt(0)=="@"){let[a,o]=gt(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,n,r)}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 pn(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(e)),t||s?new gn(i,t,s):null}var gn=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,n){this._element=t,this._startStyles=s,this._endStyles=n;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}}return i})();function Le(i){let e=null;return i.forEach((t,s)=>{yn(s)&&(e=e||new Map,e.set(s,t))}),e}function yn(i){return i==="display"||i==="position"}var we=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._duration=s.duration,this._delay=s.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 t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}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((s,n)=>{n!=="offset"&&e.set(n,this._finished?s:it(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},Ze=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Lt(e,t)}getParentElement(e){return tt(e)}query(e,t,s){return Ft(e,t,s)}computeStyle(e,t,s){return it(e,t)}animate(e,t,s,n,r,a=[]){let o=n==0?"both":"forwards",l={duration:s,delay:n,fill:o};r&&(l.easing=r);let u=new Map,h=a.filter(y=>y instanceof we);Fs(s,n)&&h.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let c=Rs(t).map(y=>new Map(y));c=Is(e,c,u);let _=pn(e,c);return new we(e,c,l,_)}};function Pn(i,e){return i==="noop"?new ve(e,new It,new Ie):new ve(e,new Ze,new Be)}var Dt=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],r=rt(e,t,s,[]);if(s.length)throw cs(s);this._animationAst=r}buildTimelines(e,t,s,n,r){let a=Array.isArray(t)?Et(t):t,o=Array.isArray(s)?Et(s):s,l=[];r=r||new te;let u=ot(this._driver,e,this._animationAst,st,pe,a,o,n,r,l);if(l.length)throw hs(l);return u}},me="@",Vt="@.disabled",be=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n}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,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,n=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,n){this.delegate.setAttribute(e,t,s,n)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,n){this.delegate.setStyle(e,t,s,n)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==me&&t==Vt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Je=class extends be{factory;constructor(e,t,s,n,r){super(t,s,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==me?t.charAt(1)=="."&&t==Vt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==me){let n=_n(e),r=t.slice(1),a="";return r.charAt(0)!=me&&([r,a]=Sn(r)),this.engine.listen(this.namespaceId,n,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function _n(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function Sn(i){let e=i.indexOf("."),t=i.substring(0,e),s=i.slice(e+1);return[t,s]}var Rt=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(e,t){let s="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,h=u.get(n);if(!h){let c=()=>u.delete(n);h=new be(s,n,this.engine,c),u.set(n,h)}return h}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new Je(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(s));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}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()}componentReplaced(e){this.delegate.componentReplaced?.(e)}};export{_t as AnimationDriver,It as NoopAnimationDriver,Dt as \u0275Animation,ve as \u0275AnimationEngine,Je as \u0275AnimationRenderer,Rt as \u0275AnimationRendererFactory,Fe as \u0275AnimationStyleNormalizer,be as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,Ze as \u0275WebAnimationsDriver,we as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Fs as \u0275allowPreviousPlayerStylesMerge,An as \u0275camelCaseToDashCase,Lt as \u0275containsElement,Pn as \u0275createEngine,tt as \u0275getParentElement,Ft as \u0275invokeQuery,Rs as \u0275normalizeKeyframes,Ns as \u0275validateStyleProperty,bn as \u0275validateWebAnimatableStyleProperty};
|