@skill-map/cli 0.36.0 → 0.38.0
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/dist/cli/tutorial/sm-tutorial/SKILL.md +100 -13
- package/dist/cli.js +2684 -988
- package/dist/cli.js.map +1 -1
- package/dist/conformance/index.d.ts +4 -4
- package/dist/conformance/index.js +48 -2
- package/dist/conformance/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +256 -25
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.d.ts +232 -17
- package/dist/kernel/index.js +256 -25
- package/dist/kernel/index.js.map +1 -1
- package/dist/migrations/001_initial.sql +26 -0
- package/dist/ui/chunk-47MG5XH2.js +317 -0
- package/dist/ui/{chunk-YZ7KCL3G.js → chunk-4CDTW64C.js} +1 -1
- package/dist/ui/chunk-4XEJUDPL.js +123 -0
- package/dist/ui/{chunk-2QZDJSJN.js → chunk-5AZ5S6JB.js} +1 -1
- package/dist/ui/{chunk-TKV6TXTI.js → chunk-AAR3Y55J.js} +3 -3
- package/dist/ui/chunk-CR3AANNX.js +3 -0
- package/dist/ui/{chunk-UMCC32EJ.js → chunk-G5CKBDBB.js} +1 -1
- package/dist/ui/{chunk-5CFY2K3Y.js → chunk-KKOZFBXQ.js} +1 -1
- package/dist/ui/{chunk-UK5YFHL3.js → chunk-NTM2J2WO.js} +5 -5
- package/dist/ui/{chunk-LTQTJU54.js → chunk-O5N7UH37.js} +13 -13
- package/dist/ui/{chunk-FQOZBFJ5.js → chunk-QZM2G474.js} +2 -2
- package/dist/ui/chunk-Z4LANJFK.js +1 -0
- package/dist/ui/index.html +6 -9
- package/dist/ui/main-EO5QNLE4.js +2 -0
- package/migrations/001_initial.sql +26 -0
- package/package.json +4 -4
- package/dist/ui/chunk-5JBW2LUN.js +0 -2
- package/dist/ui/chunk-GQ5YNA5Q.js +0 -123
- package/dist/ui/chunk-KJQEO6P3.js +0 -1
- package/dist/ui/chunk-L3OLNVKI.js +0 -317
- package/dist/ui/main-MGFSWAOX.js +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{$ as fr,C as
|
|
1
|
+
import{$ as fr,C as If,D as Cf,Da as oc,Ea as Si,F as rc,Ga as hr,Ka as Z,M as wf,P as Tf,R as Sf,T as _f,U as uo,V as Mf,W as Ci,Z as Jt,_ as wi,aa as Nf,b as tc,ba as Af,c as yf,d as dr,e as vf,ea as Ti,f as bf,fa as Fe,ia as pr,m as Df,q as Ef,z as nc}from"./chunk-3SI3TVER.js";import{a as y,b as j,d as ec}from"./chunk-VB56BUGO.js";var me=null,_i=!1,ic=1,vb=null,Y=Symbol("SIGNAL");function T(e){let n=me;return me=e,n}function Mi(){return me}var Xt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Pt(e){if(_i)throw new Error("");if(me===null)return;me.consumerOnSignalRead(e);let n=me.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=me.recomputing;if(r&&(t=n!==void 0?n.nextProducer:me.producers,t!==void 0&&t.producer===e)){me.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===me&&(!r||Db(o,me)))return;let i=yr(me),s={producer:e,consumer:me,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};me.producersTail=s,n!==void 0?n.nextProducer=s:me.producers=s,i&&kf(e,s)}function xf(){ic++}function _n(e){if(!(yr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ic)){if(!e.producerMustRecompute(e)&&!mr(e)){gr(e);return}e.producerRecomputeValue(e),gr(e)}}function sc(e){if(e.consumers===void 0)return;let n=_i;_i=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||bb(r)}}finally{_i=n}}function ac(){return me?.consumerAllowSignalWrites!==!1}function bb(e){e.dirty=!0,sc(e),e.consumerMarkedDirty?.(e)}function gr(e){e.dirty=!1,e.lastCleanEpoch=ic}function Ft(e){return e&&Rf(e),T(e)}function Rf(e){e.producersTail=void 0,e.recomputing=!0}function en(e,n){T(n),e&&Of(e)}function Of(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(yr(e))do t=cc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function mr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(_n(t),r!==t.version))return!0}return!1}function tn(e){if(yr(e)){let n=e.producers;for(;n!==void 0;)n=cc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function kf(e,n){let t=e.consumersTail,r=yr(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)kf(o.producer,o)}function cc(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!yr(n)){let i=n.producers;for(;i!==void 0;)i=cc(i)}return t}function yr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function fo(e){vb?.(e)}function Db(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function po(e,n){return Object.is(e,n)}function ho(e,n){let t=Object.create(Eb);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(_n(t),Pt(t),t.value===yt)throw t.error;return t.value};return r[Y]=t,fo(t),r}var Tn=Symbol("UNSET"),Sn=Symbol("COMPUTING"),yt=Symbol("ERRORED"),Eb=j(y({},Xt),{value:Tn,dirty:!0,error:null,equal:po,kind:"computed",producerMustRecompute(e){return e.value===Tn||e.value===Sn},producerRecomputeValue(e){if(e.value===Sn)throw new Error("");let n=e.value;e.value=Sn;let t=Ft(e),r,o=!1;try{r=e.computation(),T(null),o=n!==Tn&&n!==yt&&r!==yt&&e.equal(n,r)}catch(i){r=yt,e.error=i}finally{en(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Ib(){throw new Error}var Pf=Ib;function Ff(e){Pf(e)}function lc(e){Pf=e}var Cb=null;function uc(e,n){let t=Object.create(go);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Lf(t);return r[Y]=t,fo(t),[r,s=>nn(t,s),s=>Ni(t,s)]}function Lf(e){return Pt(e),e.value}function nn(e,n){ac()||Ff(e),e.equal(e.value,n)||(e.value=n,wb(e))}function Ni(e,n){ac()||Ff(e),nn(e,n(e.value))}var go=j(y({},Xt),{equal:po,value:void 0,kind:"signal"});function wb(e){e.version++,xf(),sc(e),Cb?.(e)}var dc=j(y({},Xt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function fc(e){if(e.dirty=!1,e.version>0&&!mr(e))return;e.version++;let n=Ft(e);try{e.cleanup(),e.fn()}finally{en(e,n)}}function S(e){return typeof e=="function"}function vr(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Ai=vr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
2
2
|
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function mo(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var we=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){n=i instanceof Ai?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Lf(i)}catch(s){n=n??[],s instanceof Ai?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ai(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Lf(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&mo(t,n)}remove(n){let{_finalizers:t}=this;t&&mo(t,n),n instanceof e&&n._removeParent(this)}};we.EMPTY=(()=>{let e=new we;return e.closed=!0,e})();var pc=we.EMPTY;function xi(e){return e instanceof we||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Lf(e){S(e)?e():e.unsubscribe()}var nt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var br={setTimeout(e,n,...t){let{delegate:r}=br;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=br;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ri(e){br.setTimeout(()=>{let{onUnhandledError:n}=nt;if(n)n(e);else throw e})}function yo(){}var Bf=hc("C",void 0,void 0);function jf(e){return hc("E",void 0,e)}function Vf(e){return hc("N",e,void 0)}function hc(e,n,t){return{kind:e,value:n,error:t}}var Mn=null;function Dr(e){if(nt.useDeprecatedSynchronousErrorHandling){let n=!Mn;if(n&&(Mn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Mn;if(Mn=null,t)throw r}}else e()}function Hf(e){nt.useDeprecatedSynchronousErrorHandling&&Mn&&(Mn.errorThrown=!0,Mn.error=e)}var Nn=class extends we{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,xi(n)&&n.add(this)):this.destination=_b}static create(n,t,r){return new rt(n,t,r)}next(n){this.isStopped?mc(Vf(n),this):this._next(n)}error(n){this.isStopped?mc(jf(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?mc(Bf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Tb=Function.prototype.bind;function gc(e,n){return Tb.call(e,n)}var yc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Oi(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Oi(r)}else Oi(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Oi(t)}}},rt=class extends Nn{constructor(n,t,r){super();let o;if(S(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&nt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&gc(n.next,i),error:n.error&&gc(n.error,i),complete:n.complete&&gc(n.complete,i)}):o=n}this.destination=new yc(o)}};function Oi(e){nt.useDeprecatedSynchronousErrorHandling?Hf(e):Ri(e)}function Sb(e){throw e}function mc(e,n){let{onStoppedNotification:t}=nt;t&&br.setTimeout(()=>t(e,n))}var _b={closed:!0,next:yo,error:Sb,complete:yo};var Er=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ot(e){return e}function Mb(...e){return vc(e)}function vc(e){return e.length===0?ot:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var A=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=Ab(t)?t:new rt(t,r,o);return Dr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=$f(r),new r((o,i)=>{let s=new rt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Er](){return this}pipe(...t){return vc(t)(this)}toPromise(t){return t=$f(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function $f(e){var n;return(n=e??nt.Promise)!==null&&n!==void 0?n:Promise}function Nb(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function Ab(e){return e&&e instanceof Nn||Nb(e)&&xi(e)}function xb(e){return S(e?.lift)}function O(e){return n=>{if(xb(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P(e,n,t,r,o){return new bc(e,n,t,r,o)}var bc=class extends Nn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var Uf=vr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ki(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Uf}next(t){Dr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Dr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Dr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?pc:(this.currentObservers=null,i.push(t),new we(()=>{this.currentObservers=null,mo(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new A;return t.source=this,t}}return e.create=(n,t)=>new ki(n,t),e})(),ki=class extends K{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:pc}};var vo=class extends K{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var An=new A(e=>e.complete());function Wf(e){return e&&S(e.schedule)}function zf(e){return e[e.length-1]}function Pi(e){return S(zf(e))?e.pop():void 0}function rn(e){return Wf(zf(e))?e.pop():void 0}function qN(e,n,t,r){var o=arguments.length,i=o<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,t):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,n,t,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(n,t,i):s(n,t))||i);return o>3&&i&&Object.defineProperty(n,t,i),i}function qf(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function Gf(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function xn(e){return this instanceof xn?(this.v=e,this):new xn(e)}function Zf(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),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(p){return function(h){return Promise.resolve(h).then(p,d)}}function a(p,h){r[p]&&(o[p]=function(m){return new Promise(function(b,D){i.push([p,m,b,D])>1||c(p,m)})},h&&(o[p]=h(o[p])))}function c(p,h){try{l(r[p](h))}catch(m){f(i[0][3],m)}}function l(p){p.value instanceof xn?Promise.resolve(p.value.v).then(u,d):f(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function f(p,h){p(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Yf(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof Gf=="function"?Gf(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Ir=e=>e&&typeof e.length=="number"&&typeof e!="function";function Fi(e){return S(e?.then)}function Li(e){return S(e[Er])}function Bi(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function ji(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 Rb(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vi=Rb();function Hi(e){return S(e?.[Vi])}function $i(e){return Zf(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield xn(t.read());if(o)return yield xn(void 0);yield yield xn(r)}}finally{t.releaseLock()}})}function Ui(e){return S(e?.getReader)}function W(e){if(e instanceof A)return e;if(e!=null){if(Li(e))return Ob(e);if(Ir(e))return kb(e);if(Fi(e))return Pb(e);if(Bi(e))return Kf(e);if(Hi(e))return Fb(e);if(Ui(e))return Lb(e)}throw ji(e)}function Ob(e){return new A(n=>{let t=e[Er]();if(S(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kb(e){return new A(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Pb(e){return new A(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ri)})}function Fb(e){return new A(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Kf(e){return new A(n=>{Bb(e,n).catch(t=>n.error(t))})}function Lb(e){return Kf($i(e))}function Bb(e,n){var t,r,o,i;return qf(this,void 0,void 0,function*(){try{for(t=Yf(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Oe(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Wi(e,n=0){return O((t,r)=>{t.subscribe(P(r,o=>Oe(r,e,()=>r.next(o),n),()=>Oe(r,e,()=>r.complete(),n),o=>Oe(r,e,()=>r.error(o),n)))})}function zi(e,n=0){return O((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Qf(e,n){return W(e).pipe(zi(n),Wi(n))}function Jf(e,n){return W(e).pipe(zi(n),Wi(n))}function Xf(e,n){return new A(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function ep(e,n){return new A(t=>{let r;return Oe(t,n,()=>{r=e[Vi](),Oe(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function Gi(e,n){if(!e)throw new Error("Iterable cannot be null");return new A(t=>{Oe(t,n,()=>{let r=e[Symbol.asyncIterator]();Oe(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function tp(e,n){return Gi($i(e),n)}function np(e,n){if(e!=null){if(Li(e))return Qf(e,n);if(Ir(e))return Xf(e,n);if(Fi(e))return Jf(e,n);if(Bi(e))return Gi(e,n);if(Hi(e))return ep(e,n);if(Ui(e))return tp(e,n)}throw ji(e)}function on(e,n){return n?np(e,n):W(e)}function qi(...e){let n=rn(e);return on(e,n)}function jb(e,n){let t=S(e)?e:()=>e,r=o=>o.error(t());return new A(n?o=>n.schedule(r,0,o):r)}function Vb(e){return!!e&&(e instanceof A||S(e.lift)&&S(e.subscribe))}var Rn=vr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Hb(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new rt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new Rn)}});e.subscribe(i)})}function ze(e,n){return O((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:$b}=Array;function Ub(e,n){return $b(n)?e(...n):e(n)}function Cr(e){return ze(n=>Ub(e,n))}var{isArray:Wb}=Array,{getPrototypeOf:zb,prototype:Gb,keys:qb}=Object;function Zi(e){if(e.length===1){let n=e[0];if(Wb(n))return{args:n,keys:null};if(Zb(n)){let t=qb(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Zb(e){return e&&typeof e=="object"&&zb(e)===Gb}function Yi(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Yb(...e){let n=rn(e),t=Pi(e),{args:r,keys:o}=Zi(e);if(r.length===0)return on([],n);let i=new A(Kb(r,n,o?s=>Yi(o,s):ot));return t?i.pipe(Cr(t)):i}function Kb(e,n,t=ot){return r=>{rp(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)rp(n,()=>{let l=on(e[c],n),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function rp(e,n,t){e?Oe(t,e,n):n()}function op(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&n.complete()},p=m=>l<r?h(m):c.push(m),h=m=>{i&&n.next(m),l++;let b=!1;W(t(m,u++)).subscribe(P(n,D=>{o?.(D),i?p(D):n.next(D)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&l<r;){let D=c.shift();s?Oe(n,s,()=>h(D)):h(D)}f()}catch(D){n.error(D)}}))};return e.subscribe(P(n,p,()=>{d=!0,f()})),()=>{a?.()}}function Lt(e,n,t=1/0){return S(n)?Lt((r,o)=>ze((i,s)=>n(r,i,o,s))(W(e(r,o))),t):(typeof n=="number"&&(t=n),O((r,o)=>op(r,o,e,t)))}function Dc(e=1/0){return Lt(ot,e)}function ip(){return Dc(1)}function Ki(...e){return ip()(on(e,rn(e)))}function Qb(e){return new A(n=>{W(e()).subscribe(n)})}function Jb(...e){let n=Pi(e),{args:t,keys:r}=Zi(e),o=new A(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;W(t[u]).subscribe(P(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Yi(r,a):a),i.complete())}))}});return n?o.pipe(Cr(n)):o}var Xb=["addListener","removeListener"],eD=["addEventListener","removeEventListener"],tD=["on","off"];function Ec(e,n,t,r){if(S(t)&&(r=t,t=void 0),r)return Ec(e,n,t).pipe(Cr(r));let[o,i]=oD(e)?eD.map(s=>a=>e[s](n,a,t)):nD(e)?Xb.map(sp(e,n)):rD(e)?tD.map(sp(e,n)):[];if(!o&&Ir(e))return Lt(s=>Ec(s,n,t))(W(e));if(!o)throw new TypeError("Invalid event target");return new A(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function sp(e,n){return t=>r=>e[t](n,r)}function nD(e){return S(e.addListener)&&S(e.removeListener)}function rD(e){return S(e.on)&&S(e.off)}function oD(e){return S(e.addEventListener)&&S(e.removeEventListener)}function sn(e,n){return O((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function ap(e){return O((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=W(e(s,ap(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Ic(e,n){return S(n)?Lt(e,n,1):Lt(e,1)}function cp(e){return O((n,t)=>{let r=!1;n.subscribe(P(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function Cc(e){return e<=0?()=>An:O((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function lp(e=iD){return O((n,t)=>{let r=!1;n.subscribe(P(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function iD(){return new Rn}function wc(e){return O((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function sD(e,n){let t=arguments.length>=2;return r=>r.pipe(e?sn((o,i)=>e(o,i,r)):ot,Cc(1),t?cp(n):lp(()=>new Rn))}function aD(e){return e<=0?()=>An:O((n,t)=>{let r=[];n.subscribe(P(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Sc(e={}){let{connector:n=()=>new K,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},h=()=>{let m=s;p(),m?.unsubscribe()};return O((m,b)=>{l++,!d&&!u&&f();let D=c=c??n();b.add(()=>{l--,l===0&&!d&&!u&&(a=Tc(h,o))}),D.subscribe(b),!s&&l>0&&(s=new rt({next:x=>D.next(x),error:x=>{d=!0,f(),a=Tc(p,t,x),D.error(x)},complete:()=>{u=!0,f(),a=Tc(p,r),D.complete()}}),W(m).subscribe(s))})(i)}}function Tc(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new rt({next:()=>{r.unsubscribe(),e()}});return W(n(...t)).subscribe(r)}function cD(...e){let n=rn(e);return O((t,r)=>{(n?Ki(e,t,n):Ki(e,t)).subscribe(r)})}function _c(e,n){return O((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;W(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Mc(e){return O((n,t)=>{W(e).subscribe(P(t,()=>t.complete(),yo)),!t.closed&&n.subscribe(t)})}function lD(e,n,t){let r=S(e)||n||t?{next:e,error:n,complete:t}:e;return r?O((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ot}var Nc;function Qi(){return Nc}function vt(e){let n=Nc;return Nc=e,n}var up=Symbol("NotFound");function wr(e){return e===up||e?.name==="\u0275NotFound"}function Ac(e,n,t){let r=Object.create(uD);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(_n(r),Pt(r),r.value===yt)throw r.error;return r.value};return i[Y]=r,fo(r),i}function dp(e,n){_n(e),nn(e,n),gr(e)}function fp(e,n){if(_n(e),e.value===yt)throw e.error;Ni(e,n),gr(e)}var uD=j(y({},Xt),{value:Tn,dirty:!0,error:null,equal:po,kind:"linkedSignal",producerMustRecompute(e){return e.value===Tn||e.value===Sn},producerRecomputeValue(e){if(e.value===Sn)throw new Error("");let n=e.value;e.value=Sn;let t=Ft(e),r,o=!1;try{let i=e.source(),s=n!==Tn&&n!==yt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,T(null),o=s&&r!==yt&&e.equal(n,r)}catch(i){r=yt,e.error=i}finally{en(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function pp(e){let n=T(null);try{return e()}finally{T(n)}}var os="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(n,t){super(jt(n,t)),this.code=n}};function dD(e){return`NG0${Math.abs(e)}`}function jt(e,n){return`${dD(e)}${n?": "+n:""}`}var ln=globalThis;function F(e){for(let n in e)if(e[n]===F)return n;throw Error("")}function vp(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function To(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(To).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
4
|
-
`);return r>=0?t.slice(0,r):t}function is(e,n){return e?n?`${e} ${n}`:e:n||""}var fD=F({__forward_ref__:F});function ss(e){return e.__forward_ref__=ss,e}function le(e){return Uc(e)?e():e}function Uc(e){return typeof e=="function"&&e.hasOwnProperty(fD)&&e.__forward_ref__===ss}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fe(e){return{providers:e.providers||[],imports:e.imports||[]}}function So(e){return hD(e,as)}function pD(e){return So(e)!==null}function hD(e,n){return e.hasOwnProperty(n)&&e[n]||null}function gD(e){let n=e?.[as]??null;return n||null}function Rc(e){return e&&e.hasOwnProperty(Xi)?e[Xi]:null}var as=F({\u0275prov:F}),Xi=F({\u0275inj:F}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Wc(e){return e&&!!e.\u0275providers}var zc=F({\u0275cmp:F}),Gc=F({\u0275dir:F}),qc=F({\u0275pipe:F}),Zc=F({\u0275mod:F}),Do=F({\u0275fac:F}),Bn=F({__NG_ELEMENT_ID__:F}),hp=F({__NG_ENV_ID__:F});function Yc(e){return cs(e,"@NgModule"),e[Zc]||null}function Dt(e){return cs(e,"@Component"),e[zc]||null}function _o(e){return cs(e,"@Directive"),e[Gc]||null}function Kc(e){return cs(e,"@Pipe"),e[qc]||null}function cs(e,n){if(e==null)throw new E(-919,!1)}function Et(e){return typeof e=="string"?e:e==null?"":String(e)}var bp=F({ngErrorCode:F}),mD=F({ngErrorMessage:F}),yD=F({ngTokenPath:F});function Qc(e,n){return Dp("",-200,n)}function ls(e,n){throw new E(-201,!1)}function Dp(e,n,t){let r=new E(n,e);return r[bp]=n,r[mD]=e,t&&(r[yD]=t),r}function vD(e){return e[bp]}var Oc;function Ep(){return Oc}function Le(e){let n=Oc;return Oc=e,n}function Jc(e,n,t){let r=So(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;ls(e,"")}var bD={},On=bD,DD="__NG_DI_FLAG__",kc=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=kn(t)||0;try{return this.injector.get(n,r&8?null:On,r)}catch(o){if(wr(o))return o;throw o}}};function ED(e,n=0){let t=Qi();if(t===void 0)throw new E(-203,!1);if(t===null)return Jc(e,void 0,n);{let r=ID(n),o=t.retrieve(e,r);if(wr(o)){if(r.optional)return null;throw o}return o}}function _(e,n=0){return(Ep()||ED)(le(e),n)}function g(e,n){return _(e,kn(n))}function kn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ID(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Pc(e){let n=[];for(let t=0;t<e.length;t++){let r=le(e[t]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=CD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(_(o,i))}else n.push(_(r))}return n}function CD(e){return e[DD]}function Pn(e,n){let t=e.hasOwnProperty(Do);return t?e[Do]:null}function Ip(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function Cp(e){return e.flat(Number.POSITIVE_INFINITY)}function us(e,n){e.forEach(t=>Array.isArray(t)?us(t,n):n(t))}function Xc(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Mo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function wp(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Tp(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function No(e,n,t){let r=Sr(e,n);return r>=0?e[r|1]=t:(r=~r,Tp(e,r,n,t)),r}function ds(e,n){let t=Sr(e,n);if(t>=0)return e[t|1]}function Sr(e,n){return wD(e,n,1)}function wD(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var it={},ye=[],jn=new I(""),el=new I("",-1),tl=new I(""),Eo=class{get(n,t=On){if(t===On){let o=Dp("",-201);throw o.name="\u0275NotFound",o}return t}};function It(e){return{\u0275providers:e}}function Sp(e){return It([{provide:jn,multi:!0,useValue:e}])}function _p(...e){return{\u0275providers:fs(!0,e),\u0275fromNgModule:!0}}function fs(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return us(n,s=>{let a=s;es(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Mp(o,i),t}function Mp(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];nl(o,i=>{n(i,r)})}}function es(e,n,t,r){if(e=le(e),!e)return!1;let o=null,i=Rc(e),s=!i&&Dt(e);if(!i&&!s){let c=e.ngModule;if(i=Rc(c),i)o=c;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 c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)es(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;us(i.imports,u=>{es(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&Mp(l,n)}if(!a){let l=Pn(o)||(()=>new o);n({provide:o,useFactory:l,deps:ye},o),n({provide:tl,useValue:o,multi:!0},o),n({provide:jn,useValue:()=>_(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;nl(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function nl(e,n){for(let t of e)Wc(t)&&(t=t.\u0275providers),Array.isArray(t)?nl(t,n):n(t)}var TD=F({provide:String,useValue:F});function Np(e){return e!==null&&typeof e=="object"&&TD in e}function SD(e){return!!(e&&e.useExisting)}function _D(e){return!!(e&&e.useFactory)}function Fn(e){return typeof e=="function"}function Ap(e){return!!e.useClass}var Ao=new I(""),Ji={},gp={},xc;function xo(){return xc===void 0&&(xc=new Eo),xc}var ve=class{},Ln=class extends ve{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Lc(n,s=>this.processProvider(s)),this.records.set(el,Tr(void 0,this)),o.has("environment")&&this.records.set(ve,Tr(void 0,this));let i=this.records.get(Ao);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(tl,ye,{self:!0}))}retrieve(n,t){let r=kn(t)||0;try{return this.get(n,On,r)}catch(o){if(wr(o))return o;throw o}}destroy(){bo(this),this._destroyed=!0;let n=T(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(n)}}onDestroy(n){return bo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){bo(this);let t=vt(this),r=Le(void 0),o;try{return n()}finally{vt(t),Le(r)}}get(n,t=On,r){if(bo(this),n.hasOwnProperty(hp))return n[hp](this);let o=kn(r),i,s=vt(this),a=Le(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=RD(n)&&So(n);u&&this.injectableDefInScope(u)?l=Tr(Fc(n),Ji):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?xo():this.parent;return t=o&8&&t===On?null:t,c.get(n,t)}catch(c){let l=vD(c);throw l===-200||l===-201?new E(l,null):c}finally{Le(a),vt(s)}}resolveInjectorInitializers(){let n=T(null),t=vt(this),r=Le(void 0),o;try{let i=this.get(jn,ye,{self:!0});for(let s of i)s()}finally{vt(t),Le(r),T(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=le(n);let t=Fn(n)?n:le(n&&n.provide),r=ND(n);if(!Fn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Tr(void 0,Ji,!0),o.factory=()=>Pc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=T(null);try{if(t.value===gp)throw Qc("");return t.value===Ji&&(t.value=gp,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&xD(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{T(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=le(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Fc(e){let n=So(e),t=n!==null?n.factory:Pn(e);if(t!==null)return t;if(e instanceof I)throw new E(-204,!1);if(e instanceof Function)return MD(e);throw new E(-204,!1)}function MD(e){if(e.length>0)throw new E(-204,!1);let t=gD(e);return t!==null?()=>t.factory(e):()=>new e}function ND(e){if(Np(e))return Tr(void 0,e.useValue);{let n=rl(e);return Tr(n,Ji)}}function rl(e,n,t){let r;if(Fn(e)){let o=le(e);return Pn(o)||Fc(o)}else if(Np(e))r=()=>le(e.useValue);else if(_D(e))r=()=>e.useFactory(...Pc(e.deps||[]));else if(SD(e))r=(o,i)=>_(le(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=le(e&&(e.useClass||e.provide));if(AD(e))r=()=>new o(...Pc(e.deps));else return Pn(o)||Fc(o)}return r}function bo(e){if(e.destroyed)throw new E(-205,!1)}function Tr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function AD(e){return!!e.deps}function xD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function RD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Lc(e,n){for(let t of e)Array.isArray(t)?Lc(t,n):t&&Wc(t)?Lc(t.\u0275providers,n):n(t)}function _r(e,n){let t;e instanceof Ln?(bo(e),t=e):t=new kc(e);let r,o=vt(t),i=Le(void 0);try{return n()}finally{vt(o),Le(i)}}function ol(){return Ep()!==void 0||Qi()!=null}function OD(e){if(!ol())throw new E(-203,!1)}var st=0,w=1,M=2,ie=3,qe=4,Te=5,Vn=6,Mr=7,re=8,ae=9,at=10,L=11,Nr=12,il=13,Hn=14,Se=15,un=16,$n=17,Ct=18,wt=19,sl=20,Bt=21,ps=22,an=23,je=24,Un=25,Tt=26,V=27,xp=1,dn=6,fn=7,Ro=8,Wn=9,Q=10;function Vt(e){return Array.isArray(e)&&typeof e[xp]=="object"}function ct(e){return Array.isArray(e)&&e[xp]===!0}function al(e){return(e.flags&4)!==0}function Ht(e){return e.componentOffset>-1}function Ar(e){return(e.flags&1)===1}function lt(e){return!!e.template}function xr(e){return(e[M]&512)!==0}function pn(e){return(e[M]&256)===256}var cl="svg",Rp="math";function Ze(e){for(;Array.isArray(e);)e=e[st];return e}function ll(e,n){return Ze(n[e])}function Ve(e,n){return Ze(n[e.index])}function Rr(e,n){return e.data[n]}function ul(e,n){return e[n]}function hs(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ye(e,n){let t=n[e];return Vt(t)?t:t[st]}function Op(e){return(e[M]&4)===4}function gs(e){return(e[M]&128)===128}function kp(e){return ct(e[ie])}function He(e,n){return n==null?null:e[n]}function dl(e){e[$n]=0}function fl(e){e[M]&1024||(e[M]|=1024,gs(e)&&zn(e))}function Pp(e,n){for(;e>0;)n=n[Hn],e--;return n}function Oo(e){return!!(e[M]&9216||e[je]?.dirty)}function ms(e){e[at].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Oo(e)&&zn(e)}function zn(e){e[at].changeDetectionScheduler?.notify(0);let n=cn(e);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!gs(n)));)n=cn(n)}function ys(e,n){if(pn(e))throw new E(911,!1);e[Bt]===null&&(e[Bt]=[]),e[Bt].push(n)}function pl(e,n){if(e[Bt]===null)return;let t=e[Bt].indexOf(n);t!==-1&&e[Bt].splice(t,1)}function cn(e){let n=e[ie];return ct(n)?n[ie]:n}function hl(e){return e[Mr]??=[]}function gl(e){return e.cleanup??=[]}function Fp(e,n,t,r){let o=hl(n);o.push(t),e.firstCreatePass&&gl(e).push(r,o.length-1)}var N={lFrame:Zp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Bc=!1;function Lp(){return N.lFrame.elementDepthCount}function Bp(){N.lFrame.elementDepthCount++}function ml(){N.lFrame.elementDepthCount--}function vs(){return N.bindingsEnabled}function yl(){return N.skipHydrationRootTNode!==null}function vl(e){return N.skipHydrationRootTNode===e}function bl(){N.skipHydrationRootTNode=null}function C(){return N.lFrame.lView}function H(){return N.lFrame.tView}function jp(e){return N.lFrame.contextLView=e,e[re]}function Vp(e){return N.lFrame.contextLView=null,e}function J(){let e=Dl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Dl(){return N.lFrame.currentTNode}function Hp(){let e=N.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Gn(e,n){let t=N.lFrame;t.currentTNode=e,t.isParent=n}function El(){return N.lFrame.isParent}function Il(){N.lFrame.isParent=!1}function Cl(){return N.lFrame.contextLView}function wl(){return Bc}function Io(e){let n=Bc;return Bc=e,n}function $t(){let e=N.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Tl(){return N.lFrame.bindingIndex}function $p(e){return N.lFrame.bindingIndex=e}function Ut(){return N.lFrame.bindingIndex++}function ko(e){let n=N.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Up(){return N.lFrame.inI18n}function Wp(e,n){let t=N.lFrame;t.bindingIndex=t.bindingRootIndex=e,bs(n)}function zp(){return N.lFrame.currentDirectiveIndex}function bs(e){N.lFrame.currentDirectiveIndex=e}function Gp(e){let n=N.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Ds(){return N.lFrame.currentQueryIndex}function Po(e){N.lFrame.currentQueryIndex=e}function kD(e){let n=e[w];return n.type===2?n.declTNode:n.type===1?e[Te]:null}function Sl(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=kD(i),o===null||(i=i[Hn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=N.lFrame=qp();return r.currentTNode=n,r.lView=e,!0}function Es(e){let n=qp(),t=e[w];N.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function qp(){let e=N.lFrame,n=e===null?null:e.child;return n===null?Zp(e):n}function Zp(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function Yp(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _l=Yp;function Is(){let e=Yp();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 Kp(e){return(N.lFrame.contextLView=Pp(e,N.lFrame.contextLView))[re]}function Ke(){return N.lFrame.selectedIndex}function hn(e){N.lFrame.selectedIndex=e}function Or(){let e=N.lFrame;return Rr(e.tView,e.selectedIndex)}function kr(){N.lFrame.currentNamespace=cl}function Qp(){PD()}function PD(){N.lFrame.currentNamespace=null}function Jp(){return N.lFrame.currentNamespace}var Xp=!0;function Cs(){return Xp}function Fo(e){Xp=e}function jc(e,n=null,t=null,r){let o=Ml(e,n,t,r);return o.resolveInjectorInitializers(),o}function Ml(e,n=null,t=null,r,o=new Set){let i=[t||ye,_p(e)],s;return new Ln(i,n||xo(),s||null,o)}var se=class e{static THROW_IF_NOT_FOUND=On;static NULL=new Eo;static create(n,t){if(Array.isArray(n))return jc({name:""},t,n,"");{let r=n.name??"";return jc({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>_(el)});static __NG_ELEMENT_ID__=-1},B=new I(""),X=(()=>{class e{static __NG_ELEMENT_ID__=FD;static __NG_ENV_ID__=t=>t}return e})(),ts=class extends X{_lView;constructor(n){super(),this._lView=n}get destroyed(){return pn(this._lView)}onDestroy(n){let t=this._lView;return ys(t,n),()=>pl(t,n)}};function FD(){return new ts(C())}var eh=!1,th=new I(""),qn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new vo(!1);debugTaskTracker=g(th,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new A(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vc=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,ol()&&(this.destroyRef=g(X,{optional:!0})??void 0,this.pendingTasks=g(qn,{optional:!0})??void 0)}emit(n){let t=T(null);try{super.next(n)}finally{T(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}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 n instanceof we&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Be=Vc;function ns(...e){}function Nl(e){let n,t;function r(){e=ns;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function nh(e){return queueMicrotask(()=>e()),()=>{e=ns}}var Al="isAngularZone",Co=Al+"_ID",LD=0,ue=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Be(!1);onMicrotaskEmpty=new Be(!1);onStable=new Be(!1);onError=new Be(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=eh}=n;if(typeof Zone>"u")throw new E(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)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,VD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Al)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,BD,ns,ns);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},BD={};function xl(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 jD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Nl(()=>{e.callbackScheduled=!1,Hc(e),e.isCheckStableRunning=!0,xl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Hc(e)}function VD(e){let n=()=>{jD(e)},t=LD++;e._inner=e._inner.fork({name:"angular",properties:{[Al]:!0,[Co]:t,[Co+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(HD(c))return r.invokeTask(i,s,a,c);try{return mp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),yp(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return mp(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!$D(c)&&n(),yp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Hc(e),xl(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 Hc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function mp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function yp(e){e._nesting--,xl(e)}var wo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Be;onMicrotaskEmpty=new Be;onStable=new Be;onError=new Be;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function HD(e){return rh(e,"__ignore_ng_zone__")}function $D(e){return rh(e,"__scheduler_tick__")}function rh(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Ge=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Wt=new I("",{factory:()=>{let e=g(ue),n=g(ve),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Ge),t.handleError(r))})}}}),oh={provide:jn,useValue:()=>{let e=g(Ge,{optional:!0})},multi:!0},UD=new I("",{factory:()=>{let e=g(B).defaultView;if(!e)return;let n=g(Wt),t=i=>{n(i.reason),i.preventDefault()},r=i=>{i.error?n(i.error):n(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",t),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),g(X).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function WD(){return It([Sp(()=>{g(UD)})])}function $(e,n){let[t,r,o]=uc(e,n?.equal),i=t,s=i[Y];return i.set=r,i.update=o,i.asReadonly=Lo.bind(i),i}function Lo(){let e=this[Y];if(e.readonlyFn===void 0){let n=()=>this();n[Y]=e,e.readonlyFn=n}return e.readonlyFn}var Pr=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=zD}return e})();function zD(){return new Pr(C(),J())}var bt=class{},Bo=new I("",{factory:()=>!0});var Rl=new I(""),Zn=(()=>{class e{internalPendingTasks=g(qn);scheduler=g(bt);errorHandler=g(Wt);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),ws=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new $c})}return e})(),$c=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},rs=class{[Y];constructor(n){this[Y]=n}destroy(){this[Y].destroy()}};function _e(e,n){let t=n?.injector??g(se),r=n?.manualCleanup!==!0?t.get(X):null,o,i=t.get(Pr,null,{optional:!0}),s=t.get(bt);return i!==null?(o=ZD(i.view,s,e),r instanceof ts&&r._lView===i.view&&(r=null)):o=YD(e,t.get(ws),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new rs(o)}var ih=j(y({},dc),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Io(!1);try{fc(this)}finally{Io(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=T(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],T(e)}}}),GD=j(y({},ih),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(tn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),qD=j(y({},ih),{consumerMarkedDirty(){this.view[M]|=8192,zn(this.view),this.notifier.notify(13)},destroy(){if(tn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[an]?.delete(this)}});function ZD(e,n,t){let r=Object.create(qD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=sh(r,t),e[an]??=new Set,e[an].add(r),r.consumerMarkedDirty(r),r}function YD(e,n,t){let r=Object.create(GD);return r.fn=sh(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function sh(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Qo(e){return{toString:e}.toString()}function nE(e){return typeof e=="function"}function eg(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Ls=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},bn=(()=>{let e=()=>tg;return e.ngInherit=!0,e})();function tg(e){return e.type.prototype.ngOnChanges&&(e.setInput=oE),rE}function rE(){let e=rg(this),n=e?.current;if(n){let t=e.previous;if(t===it)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function oE(e,n,t,r,o){let i=this.declaredInputs[r],s=rg(e)||iE(e,{previous:it,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ls(l&&l.currentValue,t,c===it),eg(e,n,o,t)}var ng="__ngSimpleChanges__";function rg(e){return e[ng]||null}function iE(e,n){return e[ng]=n}var ah=[];var k=function(e,n=null,t){for(let r=0;r<ah.length;r++){let o=ah[r];o(e,n,t)}},R=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(R||{});function sE(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=tg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function og(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function Ns(e,n,t){ig(e,n,3,t)}function As(e,n,t,r){(e[M]&3)===t&&ig(e,n,t,r)}function Ol(e,n){let t=e[M];(t&3)===n&&(t&=16383,t+=1,e[M]=t)}function ig(e,n,t,r){let o=r!==void 0?e[$n]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[$n]+=65536),(a<i||i==-1)&&(aE(e,t,n,c),e[$n]=(e[$n]&4294901760)+c+2),c++}function ch(e,n){k(R.LifecycleHookStart,e,n);let t=T(null);try{n.call(e)}finally{T(t),k(R.LifecycleHookEnd,e,n)}}function aE(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[M]>>14<e[$n]>>16&&(e[M]&3)===n&&(e[M]+=16384,ch(a,i)):ch(a,i)}var Lr=-1,Jn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function cE(e){return(e.flags&8)!==0}function lE(e){return(e.flags&16)!==0}function uE(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];dE(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function sg(e){return e===3||e===4||e===6}function dE(e){return e.charCodeAt(0)===64}function jr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?lh(e,t,o,null,n[++r]):lh(e,t,o,null,null))}}return e}function lh(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function ag(e){return e!==Lr}function Bs(e){return e&32767}function fE(e){return e>>16}function js(e,n){let t=fE(e),r=n;for(;t>0;)r=r[Hn],t--;return r}var zl=!0;function uh(e){let n=zl;return zl=e,n}var pE=256,cg=pE-1,lg=5,hE=0,St={};function gE(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Bn)&&(r=t[Bn]),r==null&&(r=t[Bn]=hE++);let o=r&cg,i=1<<o;n.data[e+(o>>lg)]|=i}function Vs(e,n){let t=ug(e,n);if(t!==-1)return t;let r=n[w];r.firstCreatePass&&(e.injectorIndex=n.length,kl(r.data,e),kl(n,null),kl(r.blueprint,null));let o=_u(e,n),i=e.injectorIndex;if(ag(o)){let s=Bs(o),a=js(o,n),c=a[w].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function kl(e,n){e.push(0,0,0,0,0,0,0,0,n)}function ug(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function _u(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=gg(o),r===null)return Lr;if(t++,o=o[Hn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Lr}function Gl(e,n,t){gE(e,n,t)}function mE(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(sg(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function dg(e,n,t){if(t&8||e!==void 0)return e;ls(n,"NodeInjector")}function fg(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[ae],i=Le(void 0);try{return o?o.get(n,r,t&8):Jc(n,r,t&8)}finally{Le(i)}}return dg(r,n,t)}function pg(e,n,t,r=0,o){if(e!==null){if(n[M]&2048&&!(r&2)){let s=DE(e,n,t,r,St);if(s!==St)return s}let i=hg(e,n,t,r,St);if(i!==St)return i}return fg(n,t,r,o)}function hg(e,n,t,r,o){let i=vE(t);if(typeof i=="function"){if(!Sl(n,e,r))return r&1?dg(o,t,r):fg(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ls(t);else return s}finally{_l()}}else if(typeof i=="number"){let s=null,a=ug(e,n),c=Lr,l=r&1?n[Se][Te]:null;for((a===-1||r&4)&&(c=a===-1?_u(e,n):n[a+8],c===Lr||!fh(r,!1)?a=-1:(s=n[w],a=Bs(c),n=js(c,n)));a!==-1;){let u=n[w];if(dh(i,a,u.data)){let d=yE(a,n,t,s,r,l);if(d!==St)return d}c=n[a+8],c!==Lr&&fh(r,n[w].data[a+8]===l)&&dh(i,a,n)?(s=u,a=Bs(c),n=js(c,n)):a=-1}}return o}function yE(e,n,t,r,o,i){let s=n[w],a=s.data[e+8],c=r==null?Ht(a)&&zl:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=xs(a,s,t,c,l);return u!==null?$o(n,s,u,a,o):St}function xs(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p<f;p++){let h=s[p];if(p<c&&t===h||p>=c&&h.type===t)return p}if(o){let p=s[c];if(p&<(p)&&p.type===t)return c}return null}function $o(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Jn){let a=i;if(a.resolving)throw Qc("");let c=uh(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Le(a.injectImpl):null,f=Sl(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&sE(t,s[t],n)}finally{d!==null&&Le(d),uh(c),a.resolving=!1,_l()}}return i}function vE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Bn)?e[Bn]:void 0;return typeof n=="number"?n>=0?n&cg:bE:n}function dh(e,n,t){let r=1<<e;return!!(t[n+(e>>lg)]&r)}function fh(e,n){return!(e&2)&&!(e&1&&n)}var Kn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return pg(this._tNode,this._lView,n,kn(r),t)}};function bE(){return new Kn(J(),C())}function G(e){return Qo(()=>{let n=e.prototype.constructor,t=n[Do]||ql(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Do]||ql(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ql(e){return Uc(e)?()=>{let n=ql(le(e));return n&&n()}:Pn(e)}function DE(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[M]&2048&&!xr(s);){let a=hg(i,s,t,r|2,St);if(a!==St)return a;let c=i.parent;if(!c){let l=s[sl];if(l){let u=l.get(t,St,r&-5);if(u!==St)return u}c=gg(s),s=s[Hn]}i=c}return o}function gg(e){let n=e[w],t=n.type;return t===2?n.declTNode:t===1?e[Te]:null}function Mu(e){return mE(J(),e)}function EE(){return zr(J(),C())}function zr(e,n){return new be(Ve(e,n))}var be=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=EE}return e})();function mg(e){return e instanceof be?e.nativeElement:e}function IE(){return this._results[Symbol.iterator]()}var Hs=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 K}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=Cp(n);(this._changesDetected=!Ip(this._results,r,t))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=IE};function yg(e){return(e.flags&128)===128}var Nu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Nu||{}),vg=new Map,CE=0;function wE(){return CE++}function TE(e){vg.set(e[wt],e)}function Zl(e){vg.delete(e[wt])}var ph="__ngContext__";function Vr(e,n){Vt(n)?(e[ph]=n[wt],TE(n)):e[ph]=n}function bg(e){return Eg(e[Nr])}function Dg(e){return Eg(e[qe])}function Eg(e){for(;e!==null&&!ct(e);)e=e[qe];return e}var Yl;function Au(e){Yl=e}function Ig(){if(Yl!==void 0)return Yl;if(typeof document<"u")return document;throw new E(210,!1)}var ta=new I("",{factory:()=>SE}),SE="ng";var na=new I(""),pt=new I("",{providedIn:"platform",factory:()=>"unknown"});var Jo=new I("",{factory:()=>g(B).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ra={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},oa=new I("",{factory:()=>ra});var Cg="r";var xu="di",Ru="s";var wg=!1,Tg=new I("",{factory:()=>wg});var Sg=new I("");var _E=(e,n,t,r)=>{};function ME(e,n,t,r){_E(e,n,t,r)}var _g=new I("");function ia(e){return(e.flags&32)===32}var NE=()=>null;function Mg(e,n,t=!1){return NE(e,n,t)}function Ou(e){return e.get(Sg,!1,{optional:!0})}function Ng(e,n){let t=e.contentQueries;if(t!==null){let r=T(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Po(i),a.contentQueries(2,n[s],s)}}}finally{T(r)}}}function Kl(e,n,t){Po(0);let r=T(null);try{n(e,t)}finally{T(r)}}function ku(e,n,t){if(al(n)){let r=T(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{T(r)}}}var dt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(dt||{});var Ts;function AE(){if(Ts===void 0&&(Ts=null,ln.trustedTypes))try{Ts=ln.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ts}function sa(e){return AE()?.createHTML(e)||e}var Ss;function Ag(){if(Ss===void 0&&(Ss=null,ln.trustedTypes))try{Ss=ln.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ss}function hh(e){return Ag()?.createHTML(e)||e}function gh(e){return Ag()?.createScriptURL(e)||e}var zt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${os})`}},Ql=class extends zt{getTypeName(){return"HTML"}},Jl=class extends zt{getTypeName(){return"Style"}},Xl=class extends zt{getTypeName(){return"Script"}},eu=class extends zt{getTypeName(){return"URL"}},tu=class extends zt{getTypeName(){return"ResourceURL"}};function Ne(e){return e instanceof zt?e.changingThisBreaksApplicationSecurity:e}function Mt(e,n){let t=xg(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${os})`)}return t===n}function xg(e){return e instanceof zt&&e.getTypeName()||null}function Pu(e){return new Ql(e)}function Fu(e){return new Jl(e)}function Lu(e){return new Xl(e)}function Bu(e){return new eu(e)}function ju(e){return new tu(e)}function xE(e){let n=new ru(e);return RE()?new nu(n):n}var nu=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(sa(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},ru=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=sa(n),t}};function RE(){try{return!!new window.DOMParser().parseFromString(sa(""),"text/html")}catch{return!1}}var OE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xo(e){return e=String(e),e.match(OE)?e:"unsafe:"+e}function Gt(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function ei(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var Rg=Gt("area,br,col,hr,img,wbr"),Og=Gt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kg=Gt("rp,rt"),kE=ei(kg,Og),PE=ei(Og,Gt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),FE=ei(kg,Gt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),mh=ei(Rg,PE,FE,kE),Pg=Gt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),LE=Gt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),BE=Gt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),jE=ei(Pg,LE,BE),VE=Gt("script,style,template");var ou=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=UE(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=$E(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=yh(n).toLowerCase();if(!mh.hasOwnProperty(t))return this.sanitizedSomething=!0,!VE.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!jE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Pg[a]&&(c=Xo(c)),this.buf.push(" ",s,'="',vh(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=yh(n).toLowerCase();mh.hasOwnProperty(t)&&!Rg.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(vh(n))}};function HE(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $E(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw Fg(n);return n}function UE(e){let n=e.firstChild;if(n&&HE(e,n))throw Fg(n);return n}function yh(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function Fg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var WE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zE=/([^\#-~ |!])/g;function vh(e){return e.replace(/&/g,"&").replace(WE,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(zE,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var _s;function aa(e,n){let t=null;try{_s=_s||xE(e);let r=n?String(n):"";t=_s.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=_s.getInertBodyElement(r)}while(r!==i);let a=new ou().sanitizeChildren(bh(t)||t);return sa(a)}finally{if(t){let r=bh(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function bh(e){return"content"in e&&GE(e)?e.content:null}function GE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var qE=/^>|^->|<!--|-->|--!>|<!-$/g,ZE=/(<|>)/g,YE="\u200B$1\u200B";function KE(e){return e.replace(qE,n=>n.replace(ZE,YE))}function QE(e,n){return e.createText(n)}function JE(e,n,t){e.setValue(n,t)}function XE(e,n){return e.createComment(KE(n))}function Lg(e,n,t){return e.createElement(n,t)}function $s(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Bg(e,n,t){e.appendChild(n,t)}function Dh(e,n,t,r,o){r!==null?$s(e,n,t,r,o):Bg(e,n,t)}function jg(e,n,t,r){e.removeChild(null,n,t,r)}function eI(e,n,t){e.setAttribute(n,"style",t)}function tI(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Vg(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&uE(e,n,r),o!==null&&tI(e,n,o),i!==null&&eI(e,n,i)}var Qe=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Qe||{});function nI(e){let n=Vu();return n?hh(n.sanitize(Qe.HTML,e)||""):Mt(e,"HTML")?hh(Ne(e)):aa(Ig(),Et(e))}function Hg(e){let n=Vu();return n?n.sanitize(Qe.URL,e)||"":Mt(e,"URL")?Ne(e):Xo(Et(e))}function $g(e){let n=Vu();if(n)return gh(n.sanitize(Qe.RESOURCE_URL,e)||"");if(Mt(e,"ResourceURL"))return gh(Ne(e));throw new E(904,!1)}var rI={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function oI(e,n){return rI[e]?.[n]===!0?$g:Hg}function iI(e,n,t){return oI(n,t)(e)}function Vu(){let e=C();return e&&e[at].sanitizer}function sI(e){return e.ownerDocument}function Ug(e){return e instanceof Function?e():e}function aI(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var Wg="ng-template";function cI(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&aI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Hu(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Hu(e){return e.type===4&&e.value!==Wg}function lI(e,n,t){let r=e.type===4&&!t?Wg:e.value;return n===r}function uI(e,n,t){let r=4,o=e.attrs,i=o!==null?pI(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!ut(r)&&!ut(c))return!1;if(s&&ut(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!lI(e,c,t)||c===""&&n.length===1){if(ut(r))return!1;s=!0}}else if(r&8){if(o===null||!cI(e,o,c,t)){if(ut(r))return!1;s=!0}}else{let l=n[++a],u=dI(c,o,Hu(e),t);if(u===-1){if(ut(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ut(r))return!1;s=!0}}}}return ut(r)||s}function ut(e){return(e&1)===0}function dI(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return hI(n,e)}function zg(e,n,t=!1){for(let r=0;r<n.length;r++)if(uI(e,n[r],t))return!0;return!1}function fI(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function pI(e){for(let n=0;n<e.length;n++){let t=e[n];if(sg(t))return n}return e.length}function hI(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function gI(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];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 Eh(e,n){return e?":not("+n.trim()+")":n}function mI(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ut(s)&&(n+=Eh(i,o),o=""),r=s,i=i||!ut(r);t++}return o!==""&&(n+=Eh(i,o)),n}function yI(e){return e.map(mI).join(",")}function vI(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!ut(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var pe={};function $u(e,n,t,r,o,i,s,a,c,l,u){let d=V+r,f=d+o,p=bI(d,f),h=typeof l=="function"?l():l;return p[w]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function bI(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:pe);return t}function DI(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=$u(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Uu(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[st]=o,d[M]=r|4|128|8|64|1024,(l!==null||e&&e[M]&2048)&&(d[M]|=2048),dl(d),d[ie]=d[Hn]=e,d[re]=t,d[at]=s||e&&e[at],d[L]=a||e&&e[L],d[ae]=c||e&&e[ae]||null,d[Te]=i,d[wt]=wE(),d[Vn]=u,d[sl]=l,d[Se]=n.type==2?e[Se]:d,d}function EI(e,n,t){let r=Ve(n,e),o=DI(t),i=e[at].rendererFactory,s=Wu(e,Uu(e,o,null,Gg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function Gg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function qg(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Wu(e,n){return e[Nr]?e[il][qe]=n:e[Nr]=n,e[il]=n,n}function De(e=1){Zg(H(),C(),Ke()+e,!1)}function Zg(e,n,t,r){if(!r)if((n[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ns(n,i,t)}else{let i=e.preOrderHooks;i!==null&&As(n,i,0,t)}hn(t)}var ca=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ca||{});function iu(e,n,t,r){let o=T(null);try{let[i,s,a]=e.inputs[t],c=null;(s&ca.SignalBased)!==0&&(c=n[i][Y]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):eg(n,c,i,r)}finally{T(o)}}var ft=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ft||{}),II;function zu(e,n){return II(e,n)}var Yg=new I("",{factory:()=>!1});var CI=!1,ti=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Kg(e){return e[ae].get(Yg,CI)}function wI(e,n,t){let r=Hr.get(e);if(r){for(let o of n)r.classList.push(o);for(let o of t)r.cleanupFns.push(o)}else Hr.set(e,{classList:n,cleanupFns:t})}function Gu(e){let n=Hr.get(e);if(n){for(let t of n.cleanupFns)t();Hr.delete(e)}Qn.delete(e)}var Hr=new WeakMap,Qn=new WeakMap,Uo=new WeakMap,jo=new WeakSet;function Ih(e,n){let t=Uo.get(e);if(t&&t.length>0){let r=t.findIndex(o=>o===n);r>-1&&t.splice(r,1)}t?.length===0&&Uo.delete(e)}function TI(e,n){let t=Uo.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),jo.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Qg(e,n){let t=Uo.get(e);t?t.includes(n)||t.push(n):Uo.set(e,[n])}function Ch(e){let n=e[Tt]??={};return n.enter??=new Map}function la(e){let n=e[Tt]??={};return n.leave??=new Map}function Jg(e){let n=typeof e=="function"?e():e,t=Array.isArray(n)?n:null;return typeof n=="string"&&(t=n.trim().split(/\s+/).filter(r=>r)),t}function SI(e,n){if(!ti)return;let t=Hr.get(e);if(t&&t.classList.length>0&&_I(e,t.classList))for(let r of t.classList)n.removeClass(e,r);Gu(e)}function _I(e,n){for(let t of n)if(e.classList.contains(t))return!0;return!1}function Wo(e){return e.composedPath?e.composedPath()[0]:e.target}function qu(e,n){let t=Qn.get(n);return t===void 0?!0:n===Wo(e)&&(t.animationName!==void 0&&e.animationName===t.animationName||t.propertyName!==void 0&&(t.propertyName==="all"||e.propertyName===t.propertyName))}function Xg(e,n,t){let r=e.get(n.index)??{animateFns:[]};r.animateFns.push(t),e.set(n.index,r)}function wh(e,n){if(e)for(let t of e)t();for(let t of n)t()}function Th(e,n){let t=la(e).get(n.index);t&&(t.resolvers=void 0)}function Us(e){if(!e)return 0;let n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function Yn(e,n){return e.getPropertyValue(n).split(",").map(r=>r.trim())}function MI(e){let n=Yn(e,"transition-property"),t=Yn(e,"transition-duration"),r=Yn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=Us(r[i])+Us(t[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function NI(e){let n=Yn(e,"animation-name"),t=Yn(e,"animation-delay"),r=Yn(e,"animation-duration"),o=Yn(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=Us(t[s])+Us(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=n[s],i.duration=a)}return i}function em(e,n){return e!==void 0&&e.duration>n.duration}function tm(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function AI(e,n){let t=getComputedStyle(e),r=NI(t),o=MI(t),i=r.duration>o.duration?r:o;em(n.get(e),i)||tm(i)&&n.set(e,i)}function nm(e,n,t){if(!t)return;let r=e.getAnimations();return r.length===0?AI(e,n):xI(e,n,r)}function xI(e,n,t){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of t){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let l,u;o.animationName?u=o.animationName:l=o.transitionProperty,a>=r.duration&&(r={animationName:u,propertyName:l,duration:a})}em(n.get(e),r)||tm(r)&&n.set(e,r)}var mn=new Set,ua=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ua||{}),ht=new I(""),Sh=new Set;function $e(e){Sh.has(e)||(Sh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var da=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zu=[0,1,2,3],Yu=(()=>{class e{ngZone=g(ue);scheduler=g(bt);errorHandler=g(Ge,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(ht,{optional:!0})}execute(){let t=this.sequences.size>0;t&&k(R.AfterRenderHooksStart),this.executing=!0;for(let r of Zu)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&k(R.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[Un]??=[]).push(t),zn(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(ua.AFTER_NEXT_RENDER,t):t()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),zo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Un];n&&(this.view[Un]=n.filter(t=>t!==this))}};function rm(e,n){let t=n?.injector??g(se);return $e("NgAfterNextRender"),OI(e,t,n,!0)}function RI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function OI(e,n,t,r){let o=n.get(da);o.impl??=n.get(Yu);let i=n.get(ht,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(X):null,a=n.get(Pr,null,{optional:!0}),c=new zo(o.impl,RI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var fa=new I("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(ve)})});function om(e,n,t){let r=e.get(fa);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function kI(e,n){let t=e.get(fa);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function PI(e){let n=e.get(fa);n.isScheduled||(rm(()=>{n.isScheduled=!1;for(let t of n.queue)t();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function im(e){let n=e.get(fa);n.scheduler=PI,n.scheduler(e)}function sm(e,n){for(let[t,r]of n)om(e,r.animateFns)}function _h(e,n,t,r){let o=e?.[Tt]?.enter;n!==null&&o&&o.has(t.index)&&sm(r,o)}function Fr(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;ct(o)?c=o:Vt(o)&&(l=!0,o=o[st]);let u=Ze(o);e===0&&r!==null?(_h(a,r,i,t),s==null?Bg(n,r,u):$s(n,r,u,s||null,!0)):e===1&&r!==null?(_h(a,r,i,t),$s(n,r,u,s||null,!0),TI(i,u)):e===2?(a?.[Tt]?.leave?.has(i.index)&&Qg(i,u),jo.delete(u),Mh(a,i,t,d=>{if(jo.has(u)){jo.delete(u);return}jg(n,u,l,d)})):e===3&&(jo.delete(u),Mh(a,i,t,()=>{n.destroyNode(u)})),c!=null&&GI(n,e,t,c,i,r,s)}}function FI(e,n){am(e,n),n[st]=null,n[Te]=null}function LI(e,n,t,r,o,i){r[st]=o,r[Te]=n,ha(e,r,t,1,o,i)}function am(e,n){n[at].changeDetectionScheduler?.notify(9),ha(e,n,n[L],2,null,null)}function BI(e){let n=e[Nr];if(!n)return Pl(e[w],e);for(;n;){let t=null;if(Vt(n))t=n[Nr];else{let r=n[Q];r&&(t=r)}if(!t){for(;n&&!n[qe]&&n!==e;)Vt(n)&&Pl(n[w],n),n=n[ie];n===null&&(n=e),Vt(n)&&Pl(n[w],n),t=n&&n[qe]}n=t}}function Ku(e,n){let t=e[Wn],r=t.indexOf(n);t.splice(r,1)}function pa(e,n){if(pn(n))return;let t=n[L];t.destroyNode&&ha(e,n,t,3,null,null),BI(n)}function Pl(e,n){if(pn(n))return;let t=T(null);try{n[M]&=-129,n[M]|=256,n[je]&&tn(n[je]),HI(e,n),VI(e,n),n[w].type===1&&n[L].destroy();let r=n[un];if(r!==null&&ct(n[ie])){r!==n[ie]&&Ku(r,n);let o=n[Ct];o!==null&&o.detachView(e)}Zl(n)}finally{T(t)}}function Mh(e,n,t,r){let o=e?.[Tt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&mn.add(e[wt]),om(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),jI(e,r)}else e&&mn.delete(e[wt]),r(!1)},o)}function jI(e,n){let t=e[Tt]?.running;if(t){t.then(()=>{e[Tt].running=void 0,mn.delete(e[wt]),n(!0)});return}n(!1)}function VI(e,n){let t=e.cleanup,r=n[Mr];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Mr]=null);let o=n[Bt];if(o!==null){n[Bt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[an];if(i!==null){n[an]=null;for(let s of i)s.destroy()}}function HI(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Jn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];k(R.LifecycleHookStart,a,c);try{c.call(a)}finally{k(R.LifecycleHookEnd,a,c)}}else{k(R.LifecycleHookStart,o,i);try{i.call(o)}finally{k(R.LifecycleHookEnd,o,i)}}}}}function cm(e,n,t){return $I(e,n.parent,t)}function $I(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[st];if(Ht(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===dt.None||o===dt.Emulated)return null}return Ve(r,t)}function lm(e,n,t){return WI(e,n,t)}function UI(e,n,t){return e.type&40?Ve(e,t):null}var WI=UI,Nh;function Qu(e,n,t,r){let o=cm(e,r,n),i=n[L],s=r.parent||n[Te],a=lm(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Dh(i,o,t[c],a,!1);else Dh(i,o,t,a,!1);Nh!==void 0&&Nh(i,r,n,t,o)}function Vo(e,n){if(n!==null){let t=n.type;if(t&3)return Ve(n,e);if(t&4)return su(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Vo(e,r);{let o=e[n.index];return ct(o)?su(-1,o):Ze(o)}}else{if(t&128)return Vo(e,n.next);if(t&32)return zu(n,e)()||Ze(e[n.index]);{let r=um(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=cn(e[Se]);return Vo(o,r)}else return Vo(e,n.next)}}}return null}function um(e,n){if(n!==null){let r=e[Se][Te],o=n.projection;return r.projection[o]}return null}function su(e,n){let t=Q+e+1;if(t<n.length){let r=n[t],o=r[w].firstChild;if(o!==null)return Vo(r,o)}return n[fn]}function Ju(e,n,t,r,o,i,s){for(;t!=null;){let a=r[ae];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&Vr(Ze(c),r),t.flags|=2),!ia(t))if(l&8)Ju(e,n,t.child,r,o,i,!1),Fr(n,e,a,o,c,t,i,r);else if(l&32){let u=zu(t,r),d;for(;d=u();)Fr(n,e,a,o,d,t,i,r);Fr(n,e,a,o,c,t,i,r)}else l&16?dm(e,n,r,t,o,i):Fr(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function ha(e,n,t,r,o,i){Ju(t,r,e.firstChild,n,o,i,!1)}function zI(e,n,t){let r=n[L],o=cm(e,t,n),i=t.parent||n[Te],s=lm(i,t,n);dm(r,0,n,t,o,s)}function dm(e,n,t,r,o,i){let s=t[Se],c=s[Te].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Fr(n,e,t[ae],o,u,r,i,t)}else{let l=c,u=s[ie];yg(r)&&(l.flags|=128),Ju(e,n,l,u,o,i,!0)}}function GI(e,n,t,r,o,i,s){let a=r[fn],c=Ze(r);a!==c&&Fr(n,e,t,i,a,o,s);for(let l=Q;l<r.length;l++){let u=r[l];ha(u[w],u,e,n,i,a)}}function qI(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:ft.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ft.Important),e.setStyle(t,r,o,i))}}function fm(e,n,t,r,o){let i=Ke(),s=r&2;try{hn(-1),s&&n.length>V&&Zg(e,n,V,!1);let a=s?R.TemplateUpdateStart:R.TemplateCreateStart;k(a,o,t),t(r,o)}finally{hn(i);let a=s?R.TemplateUpdateEnd:R.TemplateCreateEnd;k(a,o,t)}}function ga(e,n,t){XI(e,n,t),(t.flags&64)===64&&eC(e,n,t)}function Gr(e,n,t=Ve){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function ZI(e,n,t,r){let i=r.get(Tg,wg)||t===dt.ShadowDom||t===dt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return YI(s),s}function YI(e){KI(e)}var KI=()=>null;function QI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function pm(e,n,t,r,o,i){let s=n[w];if(td(e,s,n,t,r)){Ht(e)&&JI(n,e.index);return}e.type&3&&(t=QI(t)),hm(e,n,t,r,o,i)}function hm(e,n,t,r,o,i){if(e.type&3){let s=Ve(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function JI(e,n){let t=Ye(n,e);t[M]&16||(t[M]|=64)}function XI(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ht(t)&&EI(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Vs(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=$o(n,e,s,t);if(Vr(c,n),i!==null&&oC(n,s-r,c,a,t,i),lt(a)){let l=Ye(t.index,n);l[re]=$o(n,e,s,t)}}}function eC(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=zp();try{hn(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];bs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&tC(c,l)}}finally{hn(-1),bs(s)}}function tC(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Xu(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];zg(n,i.selectors,!1)&&(r??=[],lt(i)?r.unshift(i):r.push(i))}return r}function nC(e,n,t,r,o,i){let s=Ve(e,n);rC(n[L],s,i,e.value,t,r,o)}function rC(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Et(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function oC(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];iu(r,t,c,l)}}function ma(e,n,t,r,o){let i=V+t,s=n[w],a=o(s,n,e,r,t);n[i]=a,Gn(e,!0);let c=e.type===2;return c?(Vg(n[L],a,e),(Lp()===0||Ar(e))&&Vr(a,n),Bp()):Vr(a,n),Cs()&&(!c||!ia(e))&&Qu(s,n,a,e),e}function ya(e){let n=e;return El()?Il():(n=n.parent,Gn(n,!1)),n}function ed(e,n){let t=e[ae];if(!t)return;let r;try{r=t.get(Wt,null)}catch{r=null}r?.(n)}function td(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];iu(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];iu(u,l,r,o),a=!0}return a}function iC(e,n){let t=Ye(n,e),r=t[w];sC(r,t);let o=t[st];o!==null&&t[Vn]===null&&(t[Vn]=Mg(o,t[ae])),k(R.ComponentStart);try{nd(r,t,t[re])}finally{k(R.ComponentEnd,t[re])}}function sC(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function nd(e,n,t){Es(n);try{let r=e.viewQuery;r!==null&&Kl(1,r,t);let o=e.template;o!==null&&fm(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Ct]?.finishViewCreation(e),e.staticContentQueries&&Ng(e,n),e.staticViewQueries&&Kl(2,e.viewQuery,t);let i=e.components;i!==null&&aC(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[M]&=-5,Is()}}function aC(e,n){for(let t=0;t<n.length;t++)iC(e,n[t])}function qr(e,n,t,r){let o=T(null);try{let i=n.tView,a=e[M]&4096?4096:16,c=Uu(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[un]=l;let u=e[Ct];return u!==null&&(c[Ct]=u.createEmbeddedView(i)),nd(i,c,t),c}finally{T(o)}}function Xn(e,n){return!n||n.firstChild===null||yg(e)}function Go(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Ze(i)),ct(i)&&gm(i,r);let s=t.type;if(s&8)Go(e,n,t.child,r);else if(s&32){let a=zu(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=um(n,t);if(Array.isArray(a))r.push(...a);else{let c=cn(n[Se]);Go(c[w],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function gm(e,n){for(let t=Q;t<e.length;t++){let r=e[t],o=r[w].firstChild;o!==null&&Go(r[w],r,o,n)}e[fn]!==e[st]&&n.push(e[fn])}function mm(e){if(e[Un]!==null){for(let n of e[Un])n.impl.addSequence(n);e[Un].length=0}}var ym=[];function cC(e){return e[je]??lC(e)}function lC(e){let n=ym.pop()??Object.create(dC);return n.lView=e,n}function uC(e){e.lView[je]!==e&&(e.lView=null,ym.push(e))}var dC=j(y({},Xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zn(e.lView)},consumerOnSignalRead(){this.lView[je]=this}});function fC(e){let n=e[je]??Object.create(pC);return n.lView=e,n}var pC=j(y({},Xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=cn(e.lView);for(;n&&!vm(n[w]);)n=cn(n);n&&fl(n)},consumerOnSignalRead(){this.lView[je]=this}});function vm(e){return e.type!==2}function bm(e){if(e[an]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[an])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[M]&8192)}}var hC=100;function Dm(e,n=0){let r=e[at].rendererFactory,o=!1;o||r.begin?.();try{gC(e,n)}finally{o||r.end?.()}}function gC(e,n){let t=wl();try{Io(!0),au(e,n);let r=0;for(;Oo(e);){if(r===hC)throw new E(103,!1);r++,au(e,1)}}finally{Io(t)}}function mC(e,n,t,r){if(pn(n))return;let o=n[M],i=!1,s=!1;Es(n);let a=!0,c=null,l=null;i||(vm(e)?(l=cC(n),c=Ft(l)):Mi()===null?(a=!1,l=fC(n),c=Ft(l)):n[je]&&(tn(n[je]),n[je]=null));try{dl(n),$p(e.bindingStartIndex),t!==null&&fm(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&Ns(n,p,null)}else{let p=e.preOrderHooks;p!==null&&As(n,p,0,null),Ol(n,0)}if(s||yC(n),bm(n),Em(n,0),e.contentQueries!==null&&Ng(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&Ns(n,p)}else{let p=e.contentHooks;p!==null&&As(n,p,1),Ol(n,1)}bC(e,n);let d=e.components;d!==null&&Cm(n,d,0);let f=e.viewQuery;if(f!==null&&Kl(2,f,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&Ns(n,p)}else{let p=e.viewHooks;p!==null&&As(n,p,2),Ol(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ps]){for(let p of n[ps])p();n[ps]=null}i||(mm(n),n[M]&=-73)}catch(u){throw i||zn(n),u}finally{l!==null&&(en(l,c),a&&uC(l)),Is()}}function Em(e,n){for(let t=bg(e);t!==null;t=Dg(t))for(let r=Q;r<t.length;r++){let o=t[r];Im(o,n)}}function yC(e){for(let n=bg(e);n!==null;n=Dg(n)){if(!(n[M]&2))continue;let t=n[Wn];for(let r=0;r<t.length;r++){let o=t[r];fl(o)}}}function vC(e,n,t){k(R.ComponentStart);let r=Ye(n,e);try{Im(r,t)}finally{k(R.ComponentEnd,r[re])}}function Im(e,n){gs(e)&&au(e,n)}function au(e,n){let r=e[w],o=e[M],i=e[je],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&mr(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)mC(r,e,r.template,e[re]);else if(o&8192){let a=T(null);try{bm(e),Em(e,1);let c=r.components;c!==null&&Cm(e,c,1),mm(e)}finally{T(a)}}}function Cm(e,n,t){for(let r=0;r<n.length;r++)vC(e,n[r],t)}function bC(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)hn(~o);else{let i=o,s=t[++r],a=t[++r];Wp(s,i);let c=n[i];k(R.HostBindingsUpdateStart,c);try{a(2,c)}finally{k(R.HostBindingsUpdateEnd,c)}}}}finally{hn(-1)}}function va(e,n){let t=wl()?64:1088;for(e[at].changeDetectionScheduler?.notify(n);e;){e[M]|=t;let r=cn(e);if(xr(e)&&!r)return e;e=r}return null}function wm(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Tm(e,n){let t=Q+n;if(t<e.length)return e[t]}function Zr(e,n,t,r=!0){let o=n[w];if(DC(o,n,e,t),r){let s=su(t,e),a=n[L],c=a.parentNode(e[fn]);c!==null&&LI(o,e[Te],a,n,c,s)}let i=n[Vn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function rd(e,n){let t=qo(e,n);return t!==void 0&&pa(t[w],t),t}function qo(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t];if(r){let o=r[un];o!==null&&o!==e&&Ku(o,r),n>0&&(e[t-1][qe]=r[qe]);let i=Mo(e,Q+n);FI(r[w],r);let s=i[Ct];s!==null&&s.detachView(i[w]),r[ie]=null,r[qe]=null,r[M]&=-129}return r}function DC(e,n,t,r){let o=Q+r,i=t.length;r>0&&(t[o-1][qe]=n),r<i-Q?(n[qe]=t[o],Xc(t,Q+r,n)):(t.push(n),n[qe]=null),n[ie]=t;let s=n[un];s!==null&&t!==s&&Sm(s,n);let a=n[Ct];a!==null&&a.insertView(e),ms(n),n[M]|=128}function Sm(e,n){let t=e[Wn],r=n[ie];if(Vt(r))e[M]|=2;else{let o=r[ie][Se];n[Se]!==o&&(e[M]|=2)}t===null?e[Wn]=[n]:t.push(n)}var yn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[w];return Go(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[re]}set context(n){this._lView[re]=n}get destroyed(){return pn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ie];if(ct(n)){let t=n[Ro],r=t?t.indexOf(this):-1;r>-1&&(qo(n,r),Mo(t,r))}this._attachedToViewContainer=!1}pa(this._lView[w],this._lView)}onDestroy(n){ys(this._lView,n)}markForCheck(){va(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){ms(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Dm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=xr(this._lView),t=this._lView[un];t!==null&&!n&&Ku(t,this._lView),am(this._lView[w],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let t=xr(this._lView),r=this._lView[un];r!==null&&!t&&Sm(r,this._lView),ms(this._lView)}};var _t=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=EC;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=qr(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new yn(i)}}return e})();function EC(){return ba(J(),C())}function ba(e,n){return e.type&4?new _t(n,e,zr(e,n)):null}function ir(e,n,t,r,o){let i=e.data[n];if(i===null)i=IC(e,n,t,r,o),Up()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Hp();i.injectorIndex=s===null?-1:s.injectorIndex}return Gn(i,!0),i}function IC(e,n,t,r,o){let i=Dl(),s=El(),a=s?i:i&&i.parent,c=e.data[n]=wC(e,a,t,n,r,o);return CC(e,c,i,s),c}function CC(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function wC(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return yl()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function TC(e){let n=e[dn]??[],r=e[ie][L],o=[];for(let i of n)i.data[xu]!==void 0?o.push(i):SC(i,r);e[dn]=o}function SC(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Cg];for(;t<o;){let i=r.nextSibling;jg(n,r,!1),r=i,t++}}}var _C=()=>null,MC=()=>null;function Ws(e,n){return _C(e,n)}function _m(e,n,t){return MC(e,n,t)}var Mm=class{},Da=class{},cu=class{resolveComponentFactory(n){throw new E(917,!1)}},ni=class{static NULL=new cu},er=class{},Nt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>NC()}return e})();function NC(){let e=C(),n=J(),t=Ye(n.index,e);return(Vt(t)?t:e)[L]}var Nm=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var Rs={},Br=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Rs,r);return o!==Rs||t===Rs?o:this.parentInjector.get(n,t,r)}};function zs(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=is(o,a);else if(i==2){let c=a,l=n[++s];r=is(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function ee(e,n=0){let t=C();if(t===null)return _(e,n);let r=J();return pg(r,t,le(e),n)}function Am(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}RC(e,n,t,a,i,c,l)}i!==null&&r!==null&&AC(t,r,i)}function AC(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new E(-301,!1);r.push(n[o],i)}}function xC(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function RC(e,n,t,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let p=r[f];c===null&<(p)&&(c=p,xC(e,t,f)),Gl(Vs(t,n),e,p.type)}BC(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){let p=r[f];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=qg(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(t.mergedAttrs=jr(t.mergedAttrs,p.hostAttrs),kC(e,t,n,d,p),LC(d,p,o),s!==null&&s.has(p)){let[m,b]=s.get(p);t.directiveToIndex.set(p.type,[d,m+t.directiveStart,b+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let h=p.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}OC(e,t,i)}function OC(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))Ah(0,n,o,r),Ah(1,n,o,r),Rh(n,r,!1);else{let i=t.get(o);xh(0,n,i,r),xh(1,n,i,r),Rh(n,r,!0)}}}function Ah(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),xm(n,i)}}function xh(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),xm(n,s)}}function xm(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Rh(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Hu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function kC(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Pn(o.type,!0)),s=new Jn(i,lt(o),ee,null);e.blueprint[r]=s,t[r]=s,PC(e,n,r,qg(e,t,o.hostVars,pe),o)}function PC(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;FC(s)!=a&&s.push(a),s.push(t,r,i)}}function FC(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function LC(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;lt(n)&&(t[""]=e)}}function BC(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function od(e,n,t,r,o,i,s,a){let c=n[w],l=c.consts,u=He(l,s),d=ir(c,e,t,r,u);return i&&Am(c,n,d,He(l,a),o),d.mergedAttrs=jr(d.mergedAttrs,d.attrs),d.attrs!==null&&zs(d,d.attrs,!1),d.mergedAttrs!==null&&zs(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function id(e,n){og(e,n),al(n)&&e.queries.elementEnd(n)}function Rm(e,n,t,r,o,i){let s=n.consts,a=He(s,o),c=ir(n,e,t,r,a);if(c.mergedAttrs=jr(c.mergedAttrs,c.attrs),i!=null){let l=He(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&zs(c,c.attrs,!1),c.mergedAttrs!==null&&zs(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function sd(e){return Ea(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Om(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function Ea(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Dn(e,n,t){return e[n]=t}function Ia(e,n){return e[n]}function Me(e,n,t){if(t===pe)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function $r(e,n,t,r){let o=Me(e,n,t);return Me(e,n+1,r)||o}function ad(e,n,t,r,o){let i=$r(e,n,t,r);return Me(e,n+2,o)||i}function Ca(e,n,t,r,o,i){let s=$r(e,n,t,r);return $r(e,n+2,o,i)||s}function Os(e,n,t){return function r(o){let i=Ht(e)?Ye(e.index,n):n;va(i,5);let s=n[re],a=Oh(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=Oh(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Oh(e,n,t,r){let o=T(null);try{return k(R.OutputStart,n,t),t(r)!==!1}catch(i){return ed(e,i),!1}finally{k(R.OutputEnd,n,t),T(o)}}function km(e,n,t,r,o,i,s,a){let c=Ar(e),l=!1,u=null;if(!r&&c&&(u=VC(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ve(e,t),f=r?r(d):d;ME(t,f,i,a);let p=o.listen(f,i,a);if(!jC(i)){let h=r?m=>r(Ze(m[e.index])):e.index;Pm(h,n,t,i,a,p,!1)}}return l}function jC(e){return e.startsWith("animation")||e.startsWith("transition")}function VC(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Mr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Pm(e,n,t,r,o,i,s){let a=n.firstCreatePass?gl(n):null,c=hl(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function kh(e,n,t,r,o,i){let s=n[t],a=n[w],l=a.data[t].outputs[r],d=s[l].subscribe(i);Pm(e.index,a,n,o,i,d,!0)}var lu=Symbol("BINDING");function Fm(e){return e.debugInfo?.className||e.type.name||null}var Gs=class extends ni{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Dt(n);return new tr(t,this.ngModule)}};function HC(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&ca.SignalBased)!==0};return o&&(i.transform=o),i})}function $C(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function UC(e,n,t){let r=n instanceof ve?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Br(t,r):t}function WC(e){let n=e.get(er,null);if(n===null)throw new E(407,!1);let t=e.get(Nm,null),r=e.get(bt,null),o=e.get(ht,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function zC(e,n){let t=Lm(e);return Lg(n,t,t==="svg"?cl:t==="math"?Rp:null)}function Lm(e){return(e.selectors[0][0]||"div").toLowerCase()}var tr=class extends Da{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=HC(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=$C(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=yI(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){k(R.DynamicComponentStart);let a=T(null);try{let c=this.componentDef,l=UC(c,o||this.ngModule,n),u=WC(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Fm(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{T(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=GC(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?ZI(l,o,a.encapsulation,t):zC(a,l),d=s?.some(Ph)||i?.some(h=>typeof h!="function"&&h.bindings.some(Ph)),f=Uu(null,c,null,512|Gg(a),null,null,n,l,t,null,Mg(u,t,!0));f[V]=u,Es(f);let p=null;try{let h=od(V,f,2,"#host",()=>c.directiveRegistry,!0,0);Vg(l,u,h),Vr(u,f),ga(c,f,h),ku(c,h,f),id(c,h),r!==void 0&&ZC(h,this.ngContentSelectors,r),p=Ye(h.index,f),f[re]=p[re],nd(c,f,null)}catch(h){throw p!==null&&Zl(p),Zl(f),h}finally{k(R.DynamicComponentEnd),Is()}return new qs(this.componentType,f,!!d)}};function GC(e,n,t,r){let o=e?["ng-version","21.2.9"]:vI(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[lu].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let f of d.bindings){a+=f[lu].requiredVars;let p=u+1;f.create&&(f.targetIdx=p,(i??=[]).push(f)),f.update&&(f.targetIdx=p,(s??=[]).push(f))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,f=_o(d);c.push(f)}return $u(0,null,qC(i,s),1,a,c,null,null,null,[o],null)}function qC(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function Ph(e){let n=e[lu].kind;return n==="input"||n==="twoWay"}var qs=class extends Mm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Rr(t[w],V),this.location=zr(this._tNode,t),this.instance=Ye(this._tNode.index,t)[re],this.hostView=this.changeDetectorRef=new yn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=td(r,o[w],o,n,t);this.previousInputValues.set(n,t);let s=Ye(r.index,o);va(s,1)}get injector(){return new Kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function ZC(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var qt=(()=>{class e{static __NG_ELEMENT_ID__=YC}return e})();function YC(){let e=J();return Bm(e,C())}var uu=class e extends qt{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return zr(this._hostTNode,this._hostLView)}get injector(){return new Kn(this._hostTNode,this._hostLView)}get parentInjector(){let n=_u(this._hostTNode,this._hostLView);if(ag(n)){let t=js(n,this._hostLView),r=Bs(n),o=t[w].data[r+8];return new Kn(o,t)}else return new Kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Fh(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ws(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Xn(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!nE(n),l;if(c)l=t;else{let b=t||{};l=b.index,r=b.injector,o=b.projectableNodes,i=b.environmentInjector||b.ngModuleRef,s=b.directives,a=b.bindings}let u=c?n:new tr(Dt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(ve,null);D&&(i=D)}let f=Dt(u.componentType??{}),p=Ws(this._lContainer,f?.id??null),h=p?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,l,Xn(this._hostTNode,p)),m}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(kp(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ie],l=new e(c,c[Te],c[ie]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Zr(s,o,i,r),n.attachToViewContainerRef(),Xc(Fl(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Fh(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=qo(this._lContainer,t);r&&(Mo(Fl(this._lContainer),t),pa(r[w],r))}detach(n){let t=this._adjustIndex(n,-1),r=qo(this._lContainer,t);return r&&Mo(Fl(this._lContainer),t)!=null?new yn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Fh(e){return e[Ro]}function Fl(e){return e[Ro]||(e[Ro]=[])}function Bm(e,n){let t,r=n[e.index];return ct(r)?t=r:(t=wm(r,n,null,e),n[e.index]=t,Wu(n,t)),QC(t,n,e,r),new uu(t,e,n)}function KC(e,n){let t=e[L],r=t.createComment(""),o=Ve(n,e),i=t.parentNode(o);return $s(t,i,r,t.nextSibling(o),!1),r}var QC=XC,JC=()=>!1;function jm(e,n,t){return JC(e,n,t)}function XC(e,n,t,r){if(e[fn])return;let o;t.type&8?o=Ze(r):o=KC(n,t),e[fn]=o}var du=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},fu=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)ld(n,t).matches!==null&&this.queries[t].setDirty()}},Zs=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=ow(n):this.predicate=n}},pu=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},hu=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,ew(t,i)),this.matchTNodeWithReadOption(n,t,xs(t,n,i,!1,!1))}else r===_t?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,xs(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===be||o===qt||o===_t&&t.type&4)this.addMatch(t.index,-2);else{let i=xs(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function ew(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function tw(e,n){return e.type&11?zr(e,n):e.type&4?ba(e,n):null}function nw(e,n,t,r){return t===-1?tw(n,e):t===-2?rw(e,n,r):$o(e,e[w],t,n)}function rw(e,n,t){if(t===be)return zr(n,e);if(t===_t)return ba(n,e);if(t===qt)return Bm(n,e)}function Vm(e,n,t,r){let o=n[Ct].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(nw(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function gu(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Vm(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=Q;d<u.length;d++){let f=u[d];f[un]===f[ie]&&gu(f[w],f,l,r)}if(u[Wn]!==null){let d=u[Wn];for(let f=0;f<d.length;f++){let p=d[f];gu(p[w],p,l,r)}}}}}return r}function cd(e,n){return e[Ct].queries[n].queryList}function Hm(e,n,t){let r=new Hs((t&4)===4);return Fp(e,n,r,r.destroy),(n[Ct]??=new fu).queries.push(new du(r))-1}function $m(e,n,t){let r=H();return r.firstCreatePass&&(Wm(r,new Zs(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),Hm(r,C(),n)}function Um(e,n,t,r){let o=H();if(o.firstCreatePass){let i=J();Wm(o,new Zs(n,t,r),i.index),iw(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Hm(o,C(),t)}function ow(e){return e.split(",").map(n=>n.trim())}function Wm(e,n,t){e.queries===null&&(e.queries=new pu),e.queries.track(new hu(n,t))}function iw(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function ld(e,n){return e.queries.getByIndex(n)}function zm(e,n){let t=e[w],r=ld(t,n);return r.crossesNgTemplate?gu(t,e,n,[]):Vm(t,e,r,n)}function ud(e,n,t){let r,o=ho(()=>{r._dirtyCounter();let i=sw(r,e);if(n&&i===void 0)throw new E(-951,!1);return i});return r=o[Y],r._dirtyCounter=$(0),r._flatValue=void 0,o}function dd(e){return ud(!0,!1,e)}function fd(e){return ud(!0,!0,e)}function Gm(e){return ud(!1,!1,e)}function qm(e,n){let t=e[Y];t._lView=C(),t._queryIndex=n,t._queryList=cd(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function sw(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[M]&4)return n?void 0:ye;let o=cd(t,r),i=zm(t,r);return o.reset(i,mg),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var vn=class{},Zm=class{};function pd(e,n){return new Zo(e,n??null,[])}var Zo=class extends vn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Gs(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Yc(n);this._bootstrapComponents=Ug(i.bootstrap),this._r3Injector=Ml(n,t,[{provide:vn,useValue:this},{provide:ni,useValue:this.componentFactoryResolver},...r],To(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Ys=class extends Zm{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Zo(this.moduleType,n,[])}};var Yo=class extends vn{injector;componentFactoryResolver=new Gs(this);instance=null;constructor(n){super();let t=new Ln([...n.providers,{provide:vn,useValue:this},{provide:ni,useValue:this.componentFactoryResolver}],n.parent||xo(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function hd(e,n,t=null){return new Yo({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var aw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=fs(!1,t.type),o=r.length>0?hd([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(_(ve))})}return e})();function Pe(e){return Qo(()=>{let n=Ym(e),t=j(y({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Nu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(aw).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,styles:e.styles||ye,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&$e("NgStandalone"),Km(t);let r=e.dependencies;return t.directiveDefs=Lh(r,cw),t.pipeDefs=Lh(r,Kc),t.id=dw(t),t})}function cw(e){return Dt(e)||_o(e)}function he(e){return Qo(()=>({type:e.type,bootstrap:e.bootstrap||ye,declarations:e.declarations||ye,imports:e.imports||ye,exports:e.exports||ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function lw(e,n){if(e==null)return it;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ca.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function uw(e){if(e==null)return it;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function te(e){return Qo(()=>{let n=Ym(e);return Km(n),n})}function Ym(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||it,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ye,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:lw(e.inputs,n),outputs:uw(e.outputs),debugInfo:null}}function Km(e){e.features?.forEach(n=>n(e))}function Lh(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function dw(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function sr(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=fw,t.hostDirectives=r?e.map(mu):[e]):r?t.hostDirectives.unshift(...e.map(mu)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function fw(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,Qm(s,n,r),o.set(s,[a,n.length-1])}i===0&<(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function Qm(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Bh(mu(i),n,t)}else Bh(r,n,t)}function Bh(e,n,t){let r=_o(e.directive);pw(r.declaredInputs,e.inputs),Qm(r,n,t),t.set(r,e),n.push(r)}function mu(e){return typeof e=="function"?{directive:le(e),inputs:it,outputs:it}:{directive:le(e.directive),inputs:jh(e.inputs),outputs:jh(e.outputs)}}function jh(e){if(e===void 0||e.length===0)return it;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function pw(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function hw(e){return Object.getPrototypeOf(e.prototype).constructor}function Ee(e){let n=hw(e.type),t=!0,r=[e];for(;n;){let o;if(lt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new E(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=Ll(e.inputs),s.declaredInputs=Ll(e.declaredInputs),s.outputs=Ll(e.outputs);let a=o.hostBindings;a&&bw(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&yw(e,c),l&&vw(e,l),gw(e,o),vp(e.outputs,o.outputs),lt(o)&&o.data.animation){let u=e.data;u.animation=(u.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===Ee&&(t=!1)}}n=Object.getPrototypeOf(n)}mw(r)}function gw(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function mw(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=jr(o.hostAttrs,t=jr(t,o.hostAttrs))}}function Ll(e){return e===it?{}:e===ye?[]:e}function yw(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function vw(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function bw(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function Jm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=jr(e.mergedAttrs,e.attrs);let u=e.tView=$u(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),Gn(e,!1);let c=Ew(t,n,e,r);Cs()&&Qu(t,n,c,e),Vr(c,n);let l=wm(c,n,c,e);n[r+V]=l,Wu(n,l),jm(l,e,n)}function Dw(e,n,t,r,o,i,s,a,c,l,u){let d=t+V,f;return n.firstCreatePass?(f=ir(n,d,4,s||null,a||null),vs()&&Am(n,e,f,He(n.consts,l),Xu),og(n,f)):f=n.data[d],Jm(f,e,n,t,r,o,i,c),Ar(f)&&ga(n,e,f),l!=null&&Gr(e,f,u),f}function nr(e,n,t,r,o,i,s,a,c,l,u){let d=t+V,f;if(n.firstCreatePass){if(f=ir(n,d,4,s||null,a||null),l!=null){let p=He(n.consts,l);f.localNames=[];for(let h=0;h<p.length;h+=2)f.localNames.push(p[h],-1)}}else f=n.data[d];return Jm(f,e,n,t,r,o,i,c),l!=null&&Gr(e,f,u),f}function Zt(e,n,t,r,o,i,s,a){let c=C(),l=H(),u=He(l.consts,i);return Dw(c,l,e,n,t,r,o,u,void 0,s,a),Zt}function Xm(e,n,t,r,o,i,s,a){let c=C(),l=H(),u=He(l.consts,i);return nr(c,l,e,n,t,r,o,u,void 0,s,a),Xm}var Ew=Iw;function Iw(e,n,t,r){return Fo(!0),n[L].createComment("")}var ke=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(ke||{}),Vh=0,Cw=1,oe=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(oe||{}),Ks=(function(e){return e[e.Initial=-1]="Initial",e})(Ks||{}),ww=0,ri=1;var Tw=4,Sw=5,_w=6,Mw=7,Bl=8,Nw=9,gd=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(gd||{});function Aw(e,n,t){let r=ty(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function ks(e,n){let t=ty(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function ey(e){ks(1,e),ks(0,e),ks(2,e)}function ty(e){let n=Tw;return e===1?n=Sw:e===2&&(n=Nw),n}function wa(e){return e+1}function Yr(e,n){let t=e[w],r=wa(n.index);return e[r]}function xw(e,n,t){let r=e[w],o=wa(n);e[o]=t}function Kr(e,n){let t=wa(n.index);return e.data[t]}function Rw(e,n,t){let r=wa(n);e.data[r]=t}function Ow(e,n,t){let r=n[w],o=Kr(r,t);switch(e){case oe.Complete:return o.primaryTmplIndex;case oe.Loading:return o.loadingTmplIndex;case oe.Error:return o.errorTmplIndex;case oe.Placeholder:return o.placeholderTmplIndex;default:return null}}function Hh(e,n){return n===oe.Placeholder?e.placeholderBlockConfig?.[Vh]??null:n===oe.Loading?e.loadingBlockConfig?.[Vh]??null:null}function kw(e){return e.loadingBlockConfig?.[Cw]??null}function $h(e,n){if(!e||e.length===0)return n;let t=new Set(e);for(let r of n)t.add(r);return e.length===t.size?e:Array.from(t)}function Pw(e,n){let t=n.primaryTmplIndex+V;return Rr(e,t)}var Fw=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?hd(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e})}return e})();var ny=new I("");function jl(e,n,t){return e.get(Fw).getOrCreateInjector(n,e,t,"")}function Lw(e,n,t){if(e instanceof Br){let o=e.injector,i=e.parentInjector,s=jl(i,n,t);return new Br(o,s)}let r=e.get(ve);if(r!==e){let o=jl(r,n,t);return new Br(e,o)}return jl(e,n,t)}function gn(e,n,t,r=!1){let o=t[ie],i=o[w];if(pn(o))return;let s=Yr(o,n),a=s[ri],c=s[Mw];if(!(c!==null&&e<c)&&Uh(a,e)&&Uh(s[ww]??-1,e)){let l=Kr(i,n),d=!r&&!0&&(kw(l)!==null||Hh(l,oe.Loading)!==null||Hh(l,oe.Placeholder))?Hw:jw;try{d(e,s,t,n,o)}catch(f){ed(o,f)}}}function Bw(e,n){let t=e[dn]?.findIndex(o=>o.data[Ru]===n[ri])??-1;return{dehydratedView:t>-1?e[dn][t]:null,dehydratedViewIx:t}}function jw(e,n,t,r,o){k(R.DeferBlockStateStart);let i=Ow(e,o,r);if(i!==null){n[ri]=e;let s=o[w],a=i+V,c=Rr(s,a),l=0;rd(t,l);let u;if(e===oe.Complete){let h=Kr(s,r),m=h.providers;m&&m.length>0&&(u=Lw(o[ae],h,m))}let{dehydratedView:d,dehydratedViewIx:f}=Bw(t,n),p=qr(o,c,null,{injector:u,dehydratedView:d});if(Zr(t,p,l,Xn(c,d)),va(p,2),f>-1&&t[dn]?.splice(f,1),(e===oe.Complete||e===oe.Error)&&Array.isArray(n[Bl])){for(let h of n[Bl])h();n[Bl]=null}}k(R.DeferBlockStateEnd)}function Uh(e,n){return e<n}function Vw(e,n){let t=e[n.index];gn(oe.Placeholder,n,t)}function Wh(e,n,t){e.loadingPromise.then(()=>{e.loadingState===ke.COMPLETE?gn(oe.Complete,n,t):e.loadingState===ke.FAILED&&gn(oe.Error,n,t)})}var Hw=null;var ry=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function md(e){return typeof e=="function"&&e[Y]!==void 0}function yd(e){return md(e)&&typeof e.set=="function"}var vd=new I("");function Ta(e){return!!e&&typeof e.then=="function"}function bd(e){return!!e&&typeof e.subscribe=="function"}var Dd=new I("");function Ed(e){return It([{provide:Dd,multi:!0,useValue:e}])}var Id=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(Dd,{optional:!0})??[];injector=g(se);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=_r(this.injector,o);if(Ta(i))t.push(i);else if(bd(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oy=new I("");function iy(){lc(()=>{let e="";throw new E(600,e)})}function sy(e){return e.isBoundToModule}var $w=10;var oi=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Wt);afterRenderManager=g(da);zonelessEnabled=g(Bo);rootEffectScheduler=g(ws);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new K;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(qn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ze(t=>!t))}constructor(){g(ht,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=se.NULL){return this._injector.get(ue).run(()=>{k(R.BootstrapComponentStart);let s=t instanceof Da;if(!this._injector.get(Id).done){let h="";throw new E(405,h)}let c;s?c=t:c=this._injector.get(ni).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=sy(c)?void 0:this._injector.get(vn),u=r||c.selector,d=c.create(o,[],u,l),f=d.location.nativeElement,p=d.injector.get(vd,null);return p?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Ho(this.components,d),p?.unregisterApplication(f)}),this._loadComponent(d),k(R.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(R.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ua.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(R.ChangeDetectionEnd),new E(101,!1);let t=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(t),this.afterTick.next(),k(R.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(er,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<$w;){k(R.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{k(R.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Oo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Dm(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Oo(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Ho(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(oy,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ho(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ho(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function ay(){let e,n;return{promise:new Promise((r,o)=>{e=r,n=o}),resolve:e,reject:n}}function cy(e,n,t){let r=n[ae],o=n[w];if(e.loadingState!==ke.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Yr(n,t),s=Pw(o,e);e.loadingState=ke.IN_PROGRESS,ks(1,i);let a=e.dependencyResolverFn,c=r.get(Zn).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,f=[],p=[];for(let h=0;h<l.length;h++){let m=l[h];if(m.status==="fulfilled"){let b=m.value,D=Dt(b)||_o(b);if(D)f.push(D);else{let x=Kc(b);x&&p.push(x)}}else{u=!0,d=m.reason instanceof Error?m.reason:new Error(String(m.reason));break}}if(u){if(e.loadingState=ke.FAILED,e.errorTmplIndex===null){let m="",b=new E(-750,m);ed(n,b)}}else{e.loadingState=ke.COMPLETE;let h=s.tView;if(f.length>0){h.directiveRegistry=$h(h.directiveRegistry,f);let m=f.map(D=>D.type),b=fs(!1,...m);e.providers=b}p.length>0&&(h.pipeRegistry=$h(h.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ke.COMPLETE,c()}),e.loadingPromise)}function Uw(e,n){return n[ae].get(ny,null,{optional:!0})?.behavior!==gd.Manual}function Ww(e,n,t){let r=n[w],o=n[t.index];if(!Uw(e,n))return;let i=Yr(n,t),s=Kr(r,t);switch(ey(i),s.loadingState){case ke.NOT_STARTED:gn(oe.Loading,t,o),cy(s,n,t),s.loadingState===ke.IN_PROGRESS&&Wh(s,t,o);break;case ke.IN_PROGRESS:gn(oe.Loading,t,o),Wh(s,t,o);break;case ke.COMPLETE:gn(oe.Complete,t,o);break;case ke.FAILED:gn(oe.Error,t,o);break;default:}}function zw(e,n,t){return e===0?zh(n,t):e===2?!zh(n,t):!0}function Gw(e){return e!=null&&(e&1)===1}function zh(e,n){let t=e[ae],r=Kr(e[w],n),o=Ou(t),i=Gw(r.flags),a=Yr(e,n)[_w]!==null;return!(i&&a&&o)}function qw(e,n,t,r,o,i,s,a,c,l){let u=C(),d=H(),f=e+V,p=nr(u,d,e,null,0,0),h=u[ae],m=Ou(h);if(d.firstCreatePass){$e("NgDefer");let Re={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:ke.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,Re,a,s),Rw(d,f,Re)}let b=u[f];jm(b,p,u);let D=null,x=null;if(b[dn]?.length>0){let Re=b[dn][0].data;x=Re[xu]??null,D=Re[Ru]}let z=[null,Ks.Initial,null,null,null,null,x,D,null,null];xw(u,f,z);let U=null;x!==null&&m&&(U=h.get(_g),U.add(x,{lView:u,tNode:p,lContainer:b}));let tt=()=>{ey(z),x!==null&&U?.cleanup([x])};Aw(0,z,()=>pl(u,tt)),ys(u,tt)}function Zw(e){let n=C(),t=Or();if(!zw(0,n,t))return;let r=Ut();if(Me(n,r,e)){let o=T(null);try{let i=!!e,a=Yr(n,t)[ri];i===!1&&a===Ks.Initial?Vw(n,t):i===!0&&(a===Ks.Initial||a===oe.Placeholder)&&Ww(0,n,t)}finally{T(o)}}}function Je(e,n,t,r){let o=C(),i=Ut();if(Me(o,i,n)){let s=H(),a=Or();nC(a,o,e,n,t,r)}return Je}function Ps(e){if($e("NgAnimateEnter"),!ti)return Ps;let n=C();if(Kg(n))return Ps;let t=J(),r=n[ae].get(ue);return Xg(Ch(n),t,()=>Yw(n,t,e,r)),im(n[ae]),sm(n[ae],Ch(n)),Ps}function Yw(e,n,t,r){let o=Ve(n,e),i=e[L],s=Jg(t),a=[],c=!1,l=d=>{if(Wo(d)!==o)return;let f=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,f,u)})},u=d=>{Wo(d)===o&&(qu(d,o)&&(c=!0),Kw(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l))}),wI(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(nm(o,Qn,ti),!Qn.has(o))){for(let d of s)i.removeClass(o,d);Gu(o)}})})}}function Kw(e,n,t){let r=Hr.get(n);if(!(Wo(e)!==n||!r)&&qu(e,n)){e.stopPropagation();for(let o of r.classList)t.removeClass(n,o);Gu(n)}}function Fs(e){if($e("NgAnimateLeave"),!ti)return Fs;let n=C();if(Kg(n))return Fs;let r=J(),o=n[ae].get(ue);return Xg(la(n),r,()=>Qw(n,r,e,o)),im(n[ae]),Fs}function Qw(e,n,t,r){let{promise:o,resolve:i}=ay(),s=Ve(n,e),a=e[L];mn.add(e[wt]),(la(e).get(n.index).resolvers??=[]).push(i);let c=Jg(t);return c&&c.length>0?Jw(s,n,e,c,a,r):i(),{promise:o,resolve:i}}function Jw(e,n,t,r,o,i){SI(e,o);let s=[],a=la(t).get(n.index)?.resolvers,c,l=!1,u=d=>{if(!(Wo(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||qu(d,e))){if(l=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),Qn.delete(e),Ih(n,e),Array.isArray(n.projection))for(let p of r)o.removeClass(e,p);wh(a,s),Th(t,n)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u))}),Qg(n,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;nm(e,Qn,ti);let d=Qn.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(Ih(n,e),wh(a,s),Th(t,n))})})}var yu=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function Vl(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function Xw(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){T(r);let l=n.length-1;for(T(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],f=Vl(s,u,s,d,t);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),h=n[l],m=Vl(a,p,l,h,t);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let b=t(s,u),D=t(a,p),x=t(s,d);if(Object.is(x,D)){let z=t(l,h);Object.is(z,b)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Qs,i??=qh(e,s,a,t),vu(e,o,s,x))e.updateValue(s,d),s++,a++;else if(i.has(x))o.set(b,e.detach(s)),a--;else{let z=e.create(s,n[s]);e.attach(s,z),s++,a++}}for(;s<=l;)Gh(e,o,t,s,n[s]),s++}else if(n!=null){T(r);let l=n[Symbol.iterator]();T(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),f=u.value,p=Vl(s,d,s,f,t);if(p!==0)p<0&&e.updateValue(s,f),s++,u=l.next();else{o??=new Qs,i??=qh(e,s,a,t);let h=t(s,f);if(vu(e,o,s,h))e.updateValue(s,f),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,f)),s++,a++,u=l.next();else{let m=t(s,d);o.set(m,e.detach(s)),a--}}}for(;!u.done;)Gh(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function vu(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Gh(e,n,t,r,o){if(vu(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function qh(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Qs=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function eT(e,n,t,r,o,i,s,a){$e("NgControlFlow");let c=C(),l=H(),u=He(l.consts,i);return nr(c,l,e,n,t,r,o,u,256,s,a),Cd}function Cd(e,n,t,r,o,i,s,a){$e("NgControlFlow");let c=C(),l=H(),u=He(l.consts,i);return nr(c,l,e,n,t,r,o,u,512,s,a),Cd}function tT(e,n){$e("NgControlFlow");let t=C(),r=Ut(),o=t[r]!==pe?t[r]:-1,i=o!==-1?Js(t,V+o):void 0,s=0;if(Me(t,r,e)){let a=T(null);try{if(i!==void 0&&rd(i,s),e!==-1){let c=V+e,l=Js(t,c),u=Iu(t[w],c),d=_m(l,u,t),f=qr(t,u,n,{dehydratedView:d});Zr(l,f,s,Xn(u,d))}}finally{T(a)}}else if(i!==void 0){let a=Tm(i,s);a!==void 0&&(a[re]=n)}}var bu=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Q}};function nT(e){return e}function rT(e,n){return n}var Du=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function oT(e,n,t,r,o,i,s,a,c,l,u,d,f){$e("NgControlFlow");let p=C(),h=H(),m=c!==void 0,b=C(),D=a?s.bind(b[Se][re]):s,x=new Du(m,D);b[V+e]=x,nr(p,h,e+1,n,t,r,o,He(h.consts,i),256),m&&nr(p,h,e+2,c,l,u,d,He(h.consts,f),512)}var Eu=class extends yu{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Q}at(n){return this.getLView(n)[re].$implicit}attach(n,t){let r=t[Vn];this.needsIndexUpdate||=n!==this.length,Zr(this.lContainer,t,n,Xn(this.templateTNode,r)),sT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,aT(this.lContainer,n),cT(this.lContainer,n)}create(n,t){let r=Ws(this.lContainer,this.templateTNode.tView.ssrId);return qr(this.hostLView,this.templateTNode,new bu(this.lContainer,t,n),{dehydratedView:r})}destroy(n){pa(n[w],n)}updateValue(n,t){this.getLView(n)[re].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[re].$index=n}getLView(n){return lT(this.lContainer,n)}};function iT(e){let n=T(null),t=Ke();try{let r=C(),o=r[w],i=r[t],s=t+1,a=Js(r,s);if(i.liveCollection===void 0){let l=Iu(o,s);i.liveCollection=new Eu(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(Xw(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Ut(),u=c.length===0;if(Me(r,l,u)){let d=t+2,f=Js(r,d);if(u){let p=Iu(o,d),h=_m(f,p,r),m=qr(r,p,void 0,{dehydratedView:h});Zr(f,m,0,Xn(p,h))}else o.firstUpdatePass&&TC(f),rd(f,0)}}}finally{T(n)}}function Js(e,n){return e[n]}function sT(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t],o=r?r[Tt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ae];kI(i,o),mn.delete(r[wt]),o.detachedLeaveAnimationFns=void 0}}function aT(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t],o=r?r[Tt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function cT(e,n){return qo(e,n)}function lT(e,n){return Tm(e,n)}function Iu(e,n){return Rr(e,n)}function ne(e,n,t){let r=C(),o=Ut();if(Me(r,o,n)){let i=H(),s=Or();pm(s,r,e,n,r[L],t)}return ne}function Cu(e,n,t,r,o){td(n,e,t,o?"class":"style",r)}function rr(e,n,t,r){let o=C(),i=o[w],s=e+V,a=i.firstCreatePass?od(s,o,2,n,Xu,vs(),t,r):i.data[s];if(Ht(a)){let c=o[at].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Fm(l),()=>(Zh(e,n,o,a,r),rr))}}return Zh(e,n,o,a,r),rr}function Zh(e,n,t,r,o){if(ma(r,t,e,n,ly),Ar(r)){let i=t[w];ga(i,t,r),ku(i,r,t)}o!=null&&Gr(t,r)}function Qr(){let e=H(),n=J(),t=ya(n);return e.firstCreatePass&&id(e,t),vl(t)&&bl(),ml(),t.classesWithoutHost!=null&&cE(t)&&Cu(e,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&lE(t)&&Cu(e,t,C(),t.stylesWithoutHost,!1),Qr}function ar(e,n,t,r){return rr(e,n,t,r),Qr(),ar}function Jr(e,n,t,r){let o=C(),i=o[w],s=e+V,a=i.firstCreatePass?Rm(s,i,2,n,t,r):i.data[s];return ma(a,o,e,n,ly),r!=null&&Gr(o,a),Jr}function Xr(){let e=J(),n=ya(e);return vl(n)&&bl(),ml(),Xr}function ii(e,n,t,r){return Jr(e,n,t,r),Xr(),ii}var ly=(e,n,t,r,o)=>(Fo(!0),Lg(n[L],r,Jp()));function cr(e,n,t){let r=C(),o=r[w],i=e+V,s=o.firstCreatePass?od(i,r,8,"ng-container",Xu,vs(),n,t):o.data[i];if(ma(s,r,e,"ng-container",dy),Ar(s)){let a=r[w];ga(a,r,s),ku(a,s,r)}return t!=null&&Gr(r,s),cr}function En(){let e=H(),n=J(),t=ya(n);return e.firstCreatePass&&id(e,t),En}function Sa(e,n,t){return cr(e,n,t),En(),Sa}function uy(e,n,t){let r=C(),o=r[w],i=e+V,s=o.firstCreatePass?Rm(i,o,8,"ng-container",n,t):o.data[i];return ma(s,r,e,"ng-container",dy),t!=null&&Gr(r,s),uy}function uT(){let e=J(),n=ya(e);return En}var dy=(e,n,t,r,o)=>(Fo(!0),XE(n[L],""));function dT(){return C()}function _a(e,n,t){let r=C(),o=Ut();if(Me(r,o,n)){let i=H(),s=Or();hm(s,r,e,n,r[L],t)}return _a}var si="en-US";var fT=si;function fy(e){typeof e=="string"&&(fT=e.toLowerCase().replace(/_/g,"-"))}function Ma(e,n,t){let r=C(),o=H(),i=J();return hy(o,r,r[L],i,e,n,t),Ma}function py(e,n,t){let r=C(),o=H(),i=J();return(i.type&3||t)&&km(i,o,r,t,r[L],e,n,Os(i,r,n)),py}function hy(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Os(r,n,i),km(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let f=u[d],p=u[d+1];c??=Os(r,n,i),kh(r,n,f,p,o,c)}if(l&&l.length)for(let d of l)c??=Os(r,n,i),kh(r,n,d,o,o,c)}}function Xe(e=1){return Kp(e)}function pT(e,n){let t=null,r=fI(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?zg(e,i,!0):gI(r,i))return o}return t}function At(e){let n=C()[Se][Te];if(!n.projection){let t=e?e.length:1,r=n.projection=wp(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?pT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function xt(e,n=0,t,r,o,i){let s=C(),a=H(),c=r?e+1:null;c!==null&&nr(s,a,c,r,o,i,null,t);let l=ir(a,V+e,16,null,t||null);l.projection===null&&(l.projection=n),Il();let d=!s[Vn]||yl();s[Se][Te].projection[l.projection]===null&&c!==null?hT(s,a,c):d&&!ia(l)&&zI(a,s,l)}function hT(e,n,t){let r=V+t,o=n.data[r],i=e[r],s=Ws(i,o.tView.ssrId),a=qr(e,o,void 0,{dehydratedView:s});Zr(i,a,0,Xn(o,s))}function Na(e,n,t,r){return Um(e,n,t,r),Na}function gy(e,n,t){return $m(e,n,t),gy}function eo(e){let n=C(),t=H(),r=Ds();Po(r+1);let o=ld(t,r);if(e.dirty&&Op(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=zm(n,r);e.reset(i,mg),e.notifyOnChanges()}return!0}return!1}function to(){return cd(C(),Ds())}function wd(e,n,t,r,o){return qm(n,Um(e,t,r,o)),wd}function my(e,n,t,r){return qm(e,$m(n,t,r)),my}function yy(e=1){Po(Ds()+e)}function gT(e){let n=Cl();return ul(n,V+e)}function Ms(e,n){return e<<17|n<<2}function or(e){return e>>17&32767}function mT(e){return(e&2)==2}function yT(e,n){return e&131071|n<<17}function wu(e){return e|2}function Ur(e){return(e&131068)>>2}function Hl(e,n){return e&-131069|n<<2}function vT(e){return(e&1)===1}function Tu(e){return e|1}function bT(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=or(s),c=Ur(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||Sr(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let f=or(e[a+1]);e[r+1]=Ms(f,a),f!==0&&(e[f+1]=Hl(e[f+1],r)),e[a+1]=yT(e[a+1],r)}else e[r+1]=Ms(a,0),a!==0&&(e[a+1]=Hl(e[a+1],r)),a=r;else e[r+1]=Ms(c,0),a===0?a=r:e[c+1]=Hl(e[c+1],r),c=r;l&&(e[r+1]=wu(e[r+1])),Yh(e,u,r,!0),Yh(e,u,r,!1),DT(n,u,e,r,i),s=Ms(a,c),i?n.classBindings=s:n.styleBindings=s}function DT(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Sr(i,n)>=0&&(t[r+1]=Tu(t[r+1]))}function Yh(e,n,t,r){let o=e[t+1],i=n===null,s=r?or(o):Ur(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];ET(c,n)&&(a=!0,e[s+1]=r?Tu(l):wu(l)),s=r?or(l):Ur(l)}a&&(e[t+1]=r?wu(o):Tu(o))}function ET(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Sr(e,n)>=0:!1}var de={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vy(e){return e.substring(de.key,de.keyEnd)}function IT(e){return e.substring(de.value,de.valueEnd)}function CT(e){return Ey(e),by(e,Wr(e,0,de.textEnd))}function by(e,n){let t=de.textEnd;return t===n?-1:(n=de.keyEnd=TT(e,de.key=n,t),Wr(e,n,t))}function wT(e){return Ey(e),Dy(e,Wr(e,0,de.textEnd))}function Dy(e,n){let t=de.textEnd,r=de.key=Wr(e,n,t);return t===r?-1:(r=de.keyEnd=ST(e,r,t),r=Kh(e,r,t,58),r=de.value=Wr(e,r,t),r=de.valueEnd=_T(e,r,t),Kh(e,r,t,59))}function Ey(e){de.key=0,de.keyEnd=0,de.value=0,de.valueEnd=0,de.textEnd=e.length}function Wr(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function TT(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function ST(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function Kh(e,n,t,r){return n=Wr(e,n,t),n<t&&n++,n}function _T(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Qh(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Qh(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Qh(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function no(e,n,t){return Iy(e,n,t,!1),no}function Td(e,n){return Iy(e,n,null,!0),Td}function Sd(e){Cy(Sy,MT,e,!1)}function MT(e,n){for(let t=wT(n);t>=0;t=Dy(n,t))Sy(e,vy(n),IT(n))}function Ae(e){Cy(PT,NT,e,!0)}function NT(e,n){for(let t=CT(n);t>=0;t=by(n,t))No(e,vy(n),!0)}function Iy(e,n,t,r){let o=C(),i=H(),s=ko(2);if(i.firstUpdatePass&&Ty(i,e,s,r),n!==pe&&Me(o,s,n)){let a=i.data[Ke()];_y(i,a,o,o[L],e,o[s+1]=LT(n,t),r,s)}}function Cy(e,n,t,r){let o=H(),i=ko(2);o.firstUpdatePass&&Ty(o,null,i,r);let s=C();if(t!==pe&&Me(s,i,t)){let a=o.data[Ke()];if(My(a,r)&&!wy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=is(c,t||"")),Cu(o,a,s,t,r)}else FT(o,a,s,s[L],s[i+1],s[i+1]=kT(e,n,t),r,i)}}function wy(e,n){return n>=e.expandoStartIndex}function Ty(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Ke()],s=wy(e,t);My(i,r)&&n===null&&!s&&(n=!1),n=AT(o,i,n,r),bT(o,i,n,t,s,r)}}function AT(e,n,t,r){let o=Gp(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=$l(null,e,n,t,r),t=Ko(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=$l(o,e,n,t,r),i===null){let c=xT(e,n,r);c!==void 0&&Array.isArray(c)&&(c=$l(null,e,n,c[1],r),c=Ko(c,n.attrs,r),RT(e,n,r,c))}else i=OT(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function xT(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Ur(r)!==0)return e[or(r)]}function RT(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[or(o)]=r}function OT(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ko(r,s,t)}return Ko(r,n.attrs,t)}function $l(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Ko(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Ko(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),No(e,s,t?!0:n[++i]))}return e===void 0?null:e}function kT(e,n,t){if(t==null||t==="")return ye;let r=[],o=Ne(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function Sy(e,n,t){No(e,n,Ne(t))}function PT(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&No(e,r,t)}function FT(e,n,t,r,o,i,s,a){o===pe&&(o=ye);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,f!==p&&(h=d,m=p)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=p),h!==null&&_y(e,n,t,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function _y(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=vT(l)?Jh(c,n,t,o,Ur(l),s):void 0;if(!Xs(u)){Xs(i)||mT(l)&&(i=Jh(c,null,t,o,a,s));let d=ll(Ke(),t);qI(r,s,d,o,i)}}function Jh(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=t[o+1];f===pe&&(f=d?ye:void 0);let p=d?ds(f,r):u===r?f:void 0;if(l&&!Xs(p)&&(p=ds(c,r)),Xs(p)&&(a=p,s))return a;let h=e[o+1];o=s?or(h):Ur(h)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=ds(c,r))}return a}function Xs(e){return e!==void 0}function LT(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=To(Ne(e)))),e}function My(e,n){return(e.flags&(n?8:16))!==0}function ai(e,n=""){let t=C(),r=H(),o=e+V,i=r.firstCreatePass?ir(r,o,1,n,null):r.data[o],s=BT(r,t,i,n);t[o]=s,Cs()&&Qu(r,t,s,i),Gn(i,!1)}var BT=(e,n,t,r)=>(Fo(!0),QE(n[L],r));function jT(e,n,t,r=""){return Me(e,Ut(),t)?n+Et(t)+r:pe}function VT(e,n,t,r,o,i=""){let s=Tl(),a=$r(e,s,t,o);return ko(2),a?n+Et(t)+r+Et(o)+i:pe}function HT(e,n,t,r,o,i,s,a=""){let c=Tl(),l=ad(e,c,t,o,s);return ko(3),l?n+Et(t)+r+Et(o)+i+Et(s)+a:pe}function ro(e){return _d("",e),ro}function _d(e,n,t){let r=C(),o=jT(r,e,n,t);return o!==pe&&Md(r,Ke(),o),_d}function Ny(e,n,t,r,o){let i=C(),s=VT(i,e,n,t,r,o);return s!==pe&&Md(i,Ke(),s),Ny}function Ay(e,n,t,r,o,i,s){let a=C(),c=HT(a,e,n,t,r,o,i,s);return c!==pe&&Md(a,Ke(),c),Ay}function Md(e,n,t){let r=ll(n,e);JE(e[L],r,t)}function xy(e,n,t){yd(n)&&(n=n());let r=C(),o=Ut();if(Me(r,o,n)){let i=H(),s=Or();pm(s,r,e,n,r[L],t)}return xy}function $T(e,n){let t=yd(e);return t&&e.set(n),t}function Ry(e,n){let t=C(),r=H(),o=J();return hy(r,t,t[L],o,e,n),Ry}var Oy={};function ky(e){$e("NgLet");let n=H(),t=C(),r=e+V,o=ir(n,r,128,null,null);return Gn(o,!1),hs(n,t,r,Oy),ky}function UT(e){let n=H(),t=C(),r=Ke();return hs(n,t,r,e),e}function WT(e){let n=Cl(),t=ul(n,V+e);if(t===Oy)throw new E(314,!1);return t}function Xh(e,n,t){let r=H();r.firstCreatePass&&Py(n,r.data,r.blueprint,lt(e),t)}function Py(e,n,t,r,o){if(e=le(e),Array.isArray(e))for(let i=0;i<e.length;i++)Py(e[i],n,t,r,o);else{let i=H(),s=C(),a=J(),c=Fn(e)?e:le(e.provide),l=rl(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Fn(e)||!e.multi){let p=new Jn(l,o,ee,null),h=Wl(c,n,o?u:u+f,d);h===-1?(Gl(Vs(a,s),i,c),Ul(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[h]=p,s[h]=p)}else{let p=Wl(c,n,u+f,d),h=Wl(c,n,u,u+f),m=p>=0&&t[p],b=h>=0&&t[h];if(o&&!b||!o&&!m){Gl(Vs(a,s),i,c);let D=qT(o?GT:zT,t.length,o,r,l,e);!o&&b&&(t[h].providerFactory=D),Ul(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(D),s.push(D)}else{let D=Fy(t[o?h:p],l,!o&&r);Ul(i,e,p>-1?p:h,D)}!o&&r&&b&&t[h].componentProviders++}}}function Ul(e,n,t,r){let o=Fn(n),i=Ap(n);if(o||i){let c=(i?le(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function Fy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Wl(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function zT(e,n,t,r,o){return Su(this.multi,[])}function GT(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=$o(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Su(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Su(i,s);return s}function Su(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function qT(e,n,t,r,o,i){let s=new Jn(e,t,ee,null);return s.multi=[],s.index=n,s.componentProviders=0,Fy(s,o,r&&!t),s}function Ue(e,n){return t=>{t.providersResolver=(r,o)=>Xh(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Xh(r,o?o(n):n,!0))}}function ZT(e,n){let t=$t()+e,r=C();return r[t]===pe?Dn(r,t,n()):Ia(r,t)}function YT(e,n,t){return tS(C(),$t(),e,n,t)}function Aa(e,n,t,r){return nS(C(),$t(),e,n,t,r)}function KT(e,n,t,r,o){return rS(C(),$t(),e,n,t,r,o)}function QT(e,n,t,r,o,i,s){return oS(C(),$t(),e,n,t,r,o,i)}function JT(e,n,t,r,o,i,s){let a=$t()+e,c=C(),l=Ca(c,a,t,r,o,i);return Me(c,a+4,s)||l?Dn(c,a+5,n(t,r,o,i,s)):Ia(c,a+5)}function XT(e,n,t,r,o,i,s,a){let c=$t()+e,l=C(),u=Ca(l,c,t,r,o,i);return $r(l,c+4,s,a)||u?Dn(l,c+6,n(t,r,o,i,s,a)):Ia(l,c+6)}function eS(e,n,t,r,o,i,s,a,c){let l=$t()+e,u=C(),d=Ca(u,l,t,r,o,i);return ad(u,l+4,s,a,c)||d?Dn(u,l+7,n(t,r,o,i,s,a,c)):Ia(u,l+7)}function xa(e,n){let t=e[n];return t===pe?void 0:t}function tS(e,n,t,r,o,i){let s=n+t;return Me(e,s,o)?Dn(e,s+1,i?r.call(i,o):r(o)):xa(e,s+1)}function nS(e,n,t,r,o,i,s){let a=n+t;return $r(e,a,o,i)?Dn(e,a+2,s?r.call(s,o,i):r(o,i)):xa(e,a+2)}function rS(e,n,t,r,o,i,s,a){let c=n+t;return ad(e,c,o,i,s)?Dn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):xa(e,c+3)}function oS(e,n,t,r,o,i,s,a,c){let l=n+t;return Ca(e,l,o,i,s,a)?Dn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):xa(e,l+4)}function iS(e,n){return ba(e,n)}var ea=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},sS=(()=>{class e{compileModuleSync(t){return new Ys(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Yc(t),i=Ug(o.declarations).reduce((s,a)=>{let c=Dt(a);return c&&s.push(new tr(c)),s},[]);return new ea(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ly=(()=>{class e{applicationErrorHandler=g(Wt);appRef=g(oi);taskService=g(qn);ngZone=g(ue);zonelessEnabled=g(Bo);tracing=g(ht,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new we;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Co):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Rl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?nh:Nl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Co+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 t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function By(){return[{provide:bt,useExisting:Ly},{provide:ue,useClass:wo},{provide:Bo,useValue:!0}]}function aS(){return typeof $localize<"u"&&$localize.locale||si}var Ra=new I("",{factory:()=>g(Ra,{optional:!0,skipSelf:!0})||aS()});var ci=class{destroyed=!1;listeners=null;errorHandler=g(Ge,{optional:!0});destroyRef=g(X);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new E(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(jt(953,!1));return}if(this.listeners===null)return;let t=T(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{T(t)}}};function li(e){return pp(e)}function xe(e,n){return ho(e,n?.equal)}var cS=e=>e;function lS(e,n){if(typeof e=="function"){let t=Ac(e,cS,n?.equal);return jy(t,n?.debugName)}else{let t=Ac(e.source,e.computation,e.equal);return jy(t,e.debugName)}}function jy(e,n){let t=e[Y],r=e;return r.set=o=>dp(t,o),r.update=o=>fp(t,o),r.asReadonly=Lo.bind(e),r}var Pa=Symbol("InputSignalNode#UNSET"),Ky=j(y({},go),{transformFn:void 0,applyValueToInputSignal(e,n){nn(e,n)}});function Qy(e,n){let t=Object.create(Ky);t.value=e,t.transformFn=n?.transform;function r(){if(Pt(t),t.value===Pa){let o=null;throw new E(-950,o)}return t.value}return r[Y]=t,r}var Vy=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Mu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function ij(e){return new ci}function Hy(e,n){return Qy(e,n)}function TS(e){return Qy(Pa,e)}var Ie=(Hy.required=TS,Hy);function $y(e,n){return dd(n)}function SS(e,n){return fd(n)}var sj=($y.required=SS,$y);function Uy(e,n){return dd(n)}function _S(e,n){return fd(n)}var MS=(Uy.required=_S,Uy);function aj(e,n){return Gm(n)}function Jy(e,n){let t=Object.create(Ky),r=new ci;t.value=e;function o(){return Pt(t),Wy(t.value),t.value}return o[Y]=t,o.asReadonly=Lo.bind(o),o.set=i=>{t.equal(t.value,i)||(nn(t,i),r.emit(i))},o.update=i=>{Wy(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Wy(e){if(e===Pa)throw new E(952,!1)}function zy(e,n){return Jy(e,n)}function NS(e){return Jy(Pa,e)}var cj=(zy.required=NS,zy);var Ad=new I(""),AS=new I("");function ui(e){return!e.moduleRef}function xS(e){let n=ui(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ue);return t.run(()=>{ui(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Wt),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ui(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Ad);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ad);s.add(i),e.moduleRef.onDestroy(()=>{Ho(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return OS(r,t,()=>{let i=n.get(qn),s=i.add(),a=n.get(Id);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Ra,si);if(fy(c||si),!n.get(AS,!0))return ui(e)?n.get(oi):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ui(e)){let u=n.get(oi);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return RS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var RS;function OS(e,n,t){try{let r=t();return Ta(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Oa=null;function kS(e=[],n){return se.create({name:n,providers:[{provide:Ao,useValue:"platform"},{provide:Ad,useValue:new Set([()=>Oa=null])},...e]})}function PS(e=[]){if(Oa)return Oa;let n=kS(e);return Oa=n,iy(),FS(n),n}function FS(e){let n=e.get(na,null);_r(e,()=>{n?.forEach(t=>t())})}function lj(){return!1}var LS=1e4;var uj=LS-1e3;var di=(()=>{class e{static __NG_ELEMENT_ID__=BS}return e})();function BS(e){return jS(J(),C(),(e&16)===16)}function jS(e,n,t){if(Ht(e)&&!t){let r=Ye(e.index,n);return new yn(r,r)}else if(e.type&175){let r=n[Se];return new yn(r,n)}return null}var xd=class{supports(n){return sd(n)}create(n){return new Rd(n)}},VS=(e,n)=>n,Rd=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(n){this._trackByFn=n||VS}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<Gy(r,o,i)?t:r,a=Gy(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let f=0;f<l;f++){let p=f<i.length?i[f]:i[f]=0,h=p+f;u<=h&&h<l&&(i[f]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!sd(n))throw new E(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,Om(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Od(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new ka),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ka),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Od=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(n,t){this.item=n,this.trackById=t}},kd=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},ka=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new kd,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Gy(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var Pd=class{supports(n){return n instanceof Map||Ea(n)}create(){return new Fd}},Fd=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Ea(n)))throw new E(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;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(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);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 Ld(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},Ld=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function qy(){return new jd([new xd])}var jd=(()=>{class e{factories;static \u0275prov=v({token:e,providedIn:"root",factory:qy});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(t,r||qy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new E(901,!1)}}return e})();function Zy(){return new Vd([new Pd])}var Vd=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:Zy});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(t,r||Zy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new E(901,!1)}}return e})();function Xy(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;k(R.BootstrapApplicationStart);try{let i=o?.injector??PS(r),s=[By(),oh,...t||[]],a=new Yo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return xS({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{k(R.BootstrapApplicationEnd)}}function ce(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function fi(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Nd=Symbol("NOT_SET"),ev=new Set,HS=j(y({},go),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Nd,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Nd&&!mr(this))return this.signal;try{for(let o of this.cleanup??ev)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Ft(this),r;try{r=this.userFn.apply(null,n)}finally{en(this,t)}return(this.value===Nd||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Bd=class extends zo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(X),s),this.scheduler=o;for(let a of Zu){let c=t[a];if(c===void 0)continue;let l=Object.create(HS);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Pt(l),l.value),l.signal[Y]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??ev)t()}finally{tn(n)}}};function dj(e,n){let t=n?.injector??g(se),r=t.get(bt),o=t.get(da),i=t.get(ht,null,{optional:!0});o.impl??=t.get(Yu);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Pr,null,{optional:!0}),c=new Bd(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function fj(e){let n=Dt(e);if(!n)return null;let t=new tr(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var tv=null;function Yt(){return tv}function Hd(e){tv??=e}var pi=class{},oo=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>g(nv),providedIn:"platform"})}return e})();var nv=(()=>{class e extends oo{_location;_history;_doc=g(B);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yt().getBaseHref(this._doc)}onPopState(t){let r=Yt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Yt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function iv(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function rv(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function In(e){return e&&e[0]!=="?"?`?${e}`:e}var Fa=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>g(US),providedIn:"root"})}return e})(),$S=new I(""),US=(()=>{class e extends Fa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return iv(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+In(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+In(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+In(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(_(oo),_($S,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var sv=(()=>{class e{_subject=new K;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=GS(rv(ov(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+In(r))}normalize(t){return e.stripTrailingSlash(zS(this._basePath,ov(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+In(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+In(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=In;static joinWithSlash=iv;static stripTrailingSlash=rv;static \u0275fac=function(r){return new(r||e)(_(Fa))};static \u0275prov=v({token:e,factory:()=>WS(),providedIn:"root"})}return e})();function WS(){return new sv(_(Fa))}function zS(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function ov(e){return e.replace(/\/index.html$/,"")}function GS(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var $d=/\s+/,av=[],qS=(()=>{class e{_ngEl;_renderer;initialClasses=av;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split($d):av}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split($d):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[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(t,r){t=t.trim(),t.length>0&&t.split($d).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)(ee(be),ee(Nt))};static \u0275dir=te({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),ZS=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||t.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=pd(this.ngComponentOutletNgModule,YS(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[r,o]of this._inputsUsed)o?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(ee(qt))};static \u0275dir=te({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[bn]})}return e})();function YS(e){return e.get(vn).injector}var La=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,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}},uv=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new La(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),cv(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}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);cv(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(ee(qt),ee(_t),ee(jd))};static \u0275dir=te({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function cv(e,n){e.context.$implicit=n.item}var Ud=(()=>{class e{_viewContainer;_context=new Ba;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){lv(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){lv(t,!1),this._elseTemplateRef=t,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(t,r){return!0}static \u0275fac=function(r){return new(r||e)(ee(qt),ee(_t))};static \u0275dir=te({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ba=class{$implicit=null;ngIf=null};function lv(e,n){if(e&&!e.createEmbeddedView)throw new E(2020,!1)}var Wd=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:ft.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(ee(be),ee(Vd),ee(Nt))};static \u0275dir=te({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),zd=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(se);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){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._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ee(qt))};static \u0275dir=te({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bn]})}return e})();var gt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=he({type:e});static \u0275inj=fe({})}return e})();function hi(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var lr=class{};var Gd="browser",KS="server";function gi(e){return e===Gd}function qd(e){return e===KS}var fv=e=>e.src,QS=new I("",{factory:()=>fv});var dv=/^((\s*\d+w\s*(,|$)){1,})$/;var JS=[1,2],XS=640;var e_=1920,t_=1080;var Y2=(()=>{class e{imageLoader=g(QS);config=n_(g(oa));renderer=g(Nt);imgElement=g(be).nativeElement;injector=g(se);destroyRef=g(X);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){$e("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&dv.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(t){let r=t;this.loaderParams&&(r.loaderParams=this.loaderParams);let o=this.getAspectRatio();return o!==null&&r.width&&(r.height=Math.round(r.width/o)),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=dv.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=t?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,r=t;return this.sizes?.trim()==="100vw"&&(r=t.filter(i=>i>=XS)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return JS.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>e_||this.height>t_),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==fv&&!t}generatePlaceholder(t){let{placeholderResolution:r}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let r=()=>{let s=this.injector.get(di);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(t,"load",r),i=this.renderer.listen(t,"error",r);this.destroyRef.onDestroy(()=>{o(),i()}),r_(t,r)}setHostAttribute(t,r){this.renderer.setAttribute(this.imgElement,t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=te({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&no("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",o_],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",fi],height:[2,"height","height",fi],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",ce],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",ce],fill:[2,"fill","fill",ce],placeholder:[2,"placeholder","placeholder",i_],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[bn]})}return e})();function n_(e){let n={};return e.breakpoints&&(n.breakpoints=e.breakpoints.sort((t,r)=>t-r)),Object.assign({},ra,e,n)}function r_(e,n){e.complete&&e.naturalWidth&&n()}function o_(e){return typeof e=="string"?e:Ne(e)}function i_(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:ce(e)}var mi=class{_doc;constructor(n){this._doc=n}manager},ja=(()=>{class e extends mi{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(_(B))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),$a=new I(""),Qd=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof ja));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof ja);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(_($a),_(ue))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Zd="ng-app-id";function pv(e){for(let n of e)n.remove()}function hv(e,n){let t=n.createElement("style");return t.textContent=e,t}function a_(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Zd}="${n}"],link[${Zd}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Zd),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Kd(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Jd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,a_(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,hv);r?.forEach(o=>this.addUsage(o,this.external,Kd))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(pv(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])pv(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,hv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Kd(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(_(B),_(ta),_(Jo,8),_(pt))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Yd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Xd=/%COMP%/g;var mv="%COMP%",c_=`_nghost-${mv}`,l_=`_ngcontent-${mv}`,u_=!0,d_=new I("",{factory:()=>u_});function f_(e){return l_.replace(Xd,e)}function p_(e){return c_.replace(Xd,e)}function yv(e,n){return n.map(t=>t.replace(Xd,e))}var ef=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new yi(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Ha?o.applyToHost(t):o instanceof vi&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case dt.Emulated:i=new Ha(c,l,r,this.appId,u,s,a,d);break;case dt.ShadowDom:return new Va(c,t,r,s,a,this.nonce,d,l);case dt.ExperimentalIsolatedShadowDom:return new Va(c,t,r,s,a,this.nonce,d);default:i=new vi(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(_(Qd),_(Jd),_(ta),_(d_),_(B),_(ue),_(Jo),_(ht,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),yi=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Yd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(gv(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(gv(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Yd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Yd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(ft.DashCase|ft.Important)?n.style.setProperty(t,r,o&ft.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&ft.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Yt().getGlobalEventTarget(this.doc,n),!n))throw new E(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function gv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Va=class extends yi{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=yv(r.id,l);for(let d of l){let f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}let u=r.getExternalStyles?.();if(u)for(let d of u){let f=Kd(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},vi=class extends yi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?yv(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&mn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ha=class extends vi{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=f_(l),this.hostAttr=p_(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var Ua=class e extends pi{supportsDOMEvents=!0;static makeCurrent(){Hd(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=h_();return t==null?null:g_(t)}resetBaseElement(){bi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return hi(document.cookie,n)}},bi=null;function h_(){return bi=bi||document.head.querySelector("base"),bi?bi.getAttribute("href"):null}function g_(e){return new URL(e,document.baseURI).pathname}var m_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),vv=["alt","control","meta","shift"],y_={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},v_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},bv=(()=>{class e extends mi{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yt().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),vv.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=y_[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),vv.forEach(s=>{if(s!==o){let a=v_[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(_(B))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();async function b_(e,n,t){let r=y({rootComponent:e},D_(n,t));return Xy(r)}function D_(e,n){return{platformRef:n?.platformRef,appProviders:[...T_,...e?.providers??[]],platformProviders:w_}}function E_(){Ua.makeCurrent()}function I_(){return new Ge}function C_(){return Au(document),document}var w_=[{provide:pt,useValue:Gd},{provide:na,useValue:E_,multi:!0},{provide:B,useFactory:C_}];var T_=[{provide:Ao,useValue:"root"},{provide:Ge,useFactory:I_},{provide:$a,useClass:ja,multi:!0},{provide:$a,useClass:bv,multi:!0},ef,Jd,Qd,{provide:er,useExisting:ef},{provide:lr,useClass:m_},[]];var Ot=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
5
|
-
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Ga=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},qa=class{encodeKey(n){return Dv(n)}encodeValue(n){return Dv(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function S_(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var __=/%(\d[a-f0-9])/gi,M_={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Dv(e){return encodeURIComponent(e).replace(__,(n,t)=>M_[t]??n)}function Wa(e){return`${e}`}var Kt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new qa,n.fromString){if(n.fromObject)throw new E(2805,!1);this.map=S_(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(Wa):[Wa(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(Wa(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Wa(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function N_(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ev(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Iv(e){return typeof Blob<"u"&&e instanceof Blob}function Cv(e){return typeof FormData<"u"&&e instanceof FormData}function A_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Di="Content-Type",Za="Accept",wv="text/plain",Tv="application/json",Sv=`${Tv}, ${wv}, */*`,io=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(N_(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new E(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Ot,this.context??=new Ga,!this.params)this.params=new Kt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ev(this.body)||Iv(this.body)||Cv(this.body)||A_(this.body)?this.body:this.body instanceof Kt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Cv(this.body)?null:Iv(this.body)?this.body.type||null:Ev(this.body)?null:typeof this.body=="string"?wv:this.body instanceof Kt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Tv:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer||this.referrer,f=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,h=n.transferCache??this.transferCache,m=n.timeout??this.timeout,b=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,x=n.reportProgress??this.reportProgress,z=n.headers||this.headers,U=n.params||this.params,tt=n.context??this.context;return n.setHeaders!==void 0&&(z=Object.keys(n.setHeaders).reduce((Re,kt)=>Re.set(kt,n.setHeaders[kt]),z)),n.setParams&&(U=Object.keys(n.setParams).reduce((Re,kt)=>Re.set(kt,n.setParams[kt]),U)),new e(t,r,b,{params:U,headers:z,context:tt,reportProgress:x,responseType:o,withCredentials:D,transferCache:h,keepalive:i,cache:a,priority:s,timeout:m,mode:c,redirect:l,credentials:u,referrer:d,integrity:f,referrerPolicy:p})}},Qt=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Qt||{}),so=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new Ot,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Ei=class e extends so{constructor(n={}){super(n)}type=Qt.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ao=class e extends so{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Qt.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Rt=class extends so{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},_v=200,x_=204;var R_=/^\)\]\}',?\n/,Mv=new I(""),za=(()=>{class e{fetchImpl=g(nf,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=g(ue);destroyRef=g(X);handle(t){return new A(r=>{let o=new AbortController;this.doRequest(t,o.signal,r).then(rf,s=>r.error(new Rt({error:s})));let i;return t.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},t.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(t,r,o){let i=this.createRequestInit(t),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,y({signal:r},i)));O_(m),o.next({type:Qt.Sent}),s=await m}catch(m){o.error(new Rt({error:m,status:m.status??0,statusText:m.statusText,url:t.urlWithParams,headers:m.headers}));return}let a=new Ot(s.headers),c=s.statusText,l=s.url||t.urlWithParams,u=s.status,d=null;if(t.reportProgress&&o.next(new Ei({headers:a,status:u,statusText:c,url:l})),s.body){let m=s.headers.get("content-length"),b=[],D=s.body.getReader(),x=0,z,U,tt=typeof Zone<"u"&&Zone.current,Re=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await D.cancel(),Re=!0;break}let{done:lo,value:Xa}=await D.read();if(lo)break;if(b.push(Xa),x+=Xa.length,t.reportProgress){U=t.responseType==="text"?(U??"")+(z??=new TextDecoder).decode(Xa,{stream:!0}):void 0;let gf=()=>o.next({type:Qt.DownloadProgress,total:m?+m:void 0,loaded:x,partialText:U});tt?tt.run(gf):gf()}}}),Re){o.complete();return}let kt=this.concatChunks(b,x);try{let lo=s.headers.get(Di)??"";d=this.parseBody(t,kt,lo,u)}catch(lo){o.error(new Rt({error:lo,headers:new Ot(s.headers),status:s.status,statusText:s.statusText,url:s.url||t.urlWithParams}));return}}u===0&&(u=d?_v:0);let f=u>=200&&u<300,p=s.redirected,h=s.type;f?(o.next(new ao({body:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:h})),o.complete()):o.error(new Rt({error:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:h}))}parseBody(t,r,o,i){switch(t.responseType){case"json":let s=new TextDecoder().decode(r).replace(R_,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o;if(o=t.credentials,t.withCredentials&&(o="include"),t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has(Za)||(r[Za]=Sv),!t.headers.has(Di)){let i=t.detectContentTypeHeader();i!==null&&(r[Di]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,referrer:t.referrer,integrity:t.integrity,referrerPolicy:t.referrerPolicy}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),nf=class{};function rf(){}function O_(e){e.then(rf,rf)}var k_=/^\)\]\}',?\n/;var of=(()=>{class e{xhrFactory;tracingService=g(ht,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return qi(null).pipe(_c(()=>new A(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((b,D)=>s.setRequestHeader(b,D.join(","))),t.headers.has(Za)||s.setRequestHeader(Za,Sv),!t.headers.has(Di)){let b=t.detectContentTypeHeader();b!==null&&s.setRequestHeader(Di,b)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let b=t.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let b=s.statusText||"OK",D=new Ot(s.getAllResponseHeaders()),x=s.responseURL||t.url;return c=new Ei({headers:D,status:s.status,statusText:b,url:x}),c},u=this.maybePropagateTrace(()=>{let{headers:b,status:D,statusText:x,url:z}=l(),U=null;D!==x_&&(U=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=U?_v:0);let tt=D>=200&&D<300;if(t.responseType==="json"&&typeof U=="string"){let Re=U;U=U.replace(k_,"");try{U=U!==""?JSON.parse(U):null}catch(kt){U=Re,tt&&(tt=!1,U={error:kt,text:U})}}tt?(i.next(new ao({body:U,headers:b,status:D,statusText:x,url:z||void 0})),i.complete()):i.error(new Rt({error:U,headers:b,status:D,statusText:x,url:z||void 0}))}),d=this.maybePropagateTrace(b=>{let{url:D}=l(),x=new Rt({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(x)}),f=d;t.timeout&&(f=this.maybePropagateTrace(b=>{let{url:D}=l(),x=new Rt({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(x)}));let p=!1,h=this.maybePropagateTrace(b=>{p||(i.next(l()),p=!0);let D={type:Qt.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(D.total=b.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),m=this.maybePropagateTrace(b=>{let D={type:Qt.UploadProgress,loaded:b.loaded};b.lengthComputable&&(D.total=b.total),i.next(D)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",f),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),i.next({type:Qt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",f),t.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(_(lr))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function P_(e,n){return n(e)}function F_(e,n,t){return(r,o)=>_r(t,()=>n(r,i=>e(i,o)))}var Nv=new I("",{factory:()=>[]}),Av=new I(""),xv=new I("",{factory:()=>!0});var Ka=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(of),o},providedIn:"root"})}return e})();var Ya=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Zn);contributeToStability=g(xv);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Nv),...this.injector.get(Av,[])]));this.chain=r.reduceRight((o,i)=>F_(o,i,this.injector),P_)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(wc(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(_(Ka),_(ve))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(Ya),o},providedIn:"root"})}return e})();function tf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Rv=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof io)i=t;else{let c;o.headers instanceof Ot?c=o.headers:c=new Ot(o.headers);let l;o.params&&(o.params instanceof Kt?l=o.params:l=new Kt({fromObject:o.params})),i=new io(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=qi(i).pipe(Ic(c=>this.handler.handle(c)));if(t instanceof io||o.observe==="events")return s;let a=s.pipe(sn(c=>c instanceof ao));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ze(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(ze(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(ze(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));default:return a.pipe(ze(c=>c.body))}case"response":return a;default:throw new E(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Kt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,tf(o,r))}post(t,r,o={}){return this.request("POST",t,tf(o,r))}put(t,r,o={}){return this.request("PUT",t,tf(o,r))}static \u0275fac=function(r){return new(r||e)(_(sf))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var L_=new I("",{factory:()=>!0}),B_="XSRF-TOKEN",j_=new I("",{factory:()=>B_}),V_="X-XSRF-TOKEN",H_=new I("",{factory:()=>V_}),$_=(()=>{class e{cookieName=g(j_);doc=g(B);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=hi(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ov=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_($_),o},providedIn:"root"})}return e})();function U_(e,n){if(!g(L_)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=g(oo).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch{return n(e)}let t=g(Ov).getToken(),r=g(H_);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var af=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(af||{});function W_(e,n){return{\u0275kind:e,\u0275providers:n}}function z_(...e){let n=[Rv,Ya,{provide:sf,useExisting:Ya},{provide:Ka,useFactory:()=>g(Mv,{optional:!0})??g(of)},{provide:Nv,useValue:U_,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return It(n)}function G_(){return W_(af.Fetch,[za,{provide:Mv,useExisting:za},{provide:Ka,useExisting:za}])}var pH=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(_(B))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var q_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(Z_),o},providedIn:"root"})}return e})(),Z_=(()=>{class e extends q_{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Qe.NONE:return r;case Qe.HTML:return Mt(r,"HTML")?Ne(r):aa(this._doc,String(r)).toString();case Qe.STYLE:return Mt(r,"Style")?Ne(r):r;case Qe.SCRIPT:if(Mt(r,"Script"))return Ne(r);throw new E(5200,!1);case Qe.URL:return Mt(r,"URL")?Ne(r):Xo(String(r));case Qe.RESOURCE_URL:if(Mt(r,"ResourceURL"))return Ne(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(t){return Pu(t)}bypassSecurityTrustStyle(t){return Fu(t)}bypassSecurityTrustScript(t){return Lu(t)}bypassSecurityTrustUrl(t){return Bu(t)}bypassSecurityTrustResourceUrl(t){return ju(t)}static \u0275fac=function(r){return new(r||e)(_(B))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cn(...e){if(e){let n=[];for(let t=0;t<e.length;t++){let r=e[t];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[Cn(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}var Y_=Object.defineProperty,kv=Object.getOwnPropertySymbols,K_=Object.prototype.hasOwnProperty,Q_=Object.prototype.propertyIsEnumerable,Pv=(e,n,t)=>n in e?Y_(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Fv=(e,n)=>{for(var t in n||(n={}))K_.call(n,t)&&Pv(e,t,n[t]);if(kv)for(var t of kv(n))Q_.call(n,t)&&Pv(e,t,n[t]);return e};function Lv(...e){if(e){let n=[];for(let t=0;t<e.length;t++){let r=e[t];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[Lv(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}function J_(e){return typeof e=="function"&&"call"in e&&"apply"in e}function X_({skipUndefined:e=!1},...n){return n?.reduce((t,r={})=>{for(let o in r){let i=r[o];if(!(e&&i===void 0))if(o==="style")t.style=Fv(Fv({},t.style),r.style);else if(o==="class"||o==="className")t[o]=Lv(t[o],r[o]);else if(J_(i)){let s=t[o];t[o]=s?(...a)=>{s(...a),i(...a)}:i}else t[o]=i}return t},{})}function cf(...e){return X_({skipUndefined:!1},...e)}var Qa={};function Ii(e="pui_id_"){return Object.hasOwn(Qa,e)||(Qa[e]=0),Qa[e]++,`${e}${Qa[e]}`}var Bv=["*"],eM=(function(e){return e[e.ACCEPT=0]="ACCEPT",e[e.REJECT=1]="REJECT",e[e.CANCEL=2]="CANCEL",e})(eM||{}),IH=(()=>{class e{requireConfirmationSource=new K;acceptConfirmationSource=new K;requireConfirmation$=this.requireConfirmationSource.asObservable();accept=this.acceptConfirmationSource.asObservable();confirm(t){return this.requireConfirmationSource.next(t),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var ge=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return e})(),CH=(()=>{class e{static AND="and";static OR="or"}return e})(),wH=(()=>{class e{filter(t,r,o,i,s){let a=[];if(t)for(let c of t)for(let l of r){let u=_f(c,l);if(this.filters[i](u,o,s)){a.push(c);break}}return a}filters={startsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=Fe(r.toString()).toLocaleLowerCase(o);return Fe(t.toString()).toLocaleLowerCase(o).slice(0,i.length)===i},contains:(t,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(t==null)return!1;let i=Fe(r.toString()).toLocaleLowerCase(o);return Fe(t.toString()).toLocaleLowerCase(o).indexOf(i)!==-1},notContains:(t,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(t==null)return!1;let i=Fe(r.toString()).toLocaleLowerCase(o);return Fe(t.toString()).toLocaleLowerCase(o).indexOf(i)===-1},endsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=Fe(r.toString()).toLocaleLowerCase(o),s=Fe(t.toString()).toLocaleLowerCase(o);return s.indexOf(i,s.length-i.length)!==-1},equals:(t,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()===r.getTime():t==r?!0:Fe(t.toString()).toLocaleLowerCase(o)==Fe(r.toString()).toLocaleLowerCase(o),notEquals:(t,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!1:t==null?!0:t.getTime&&r.getTime?t.getTime()!==r.getTime():t==r?!1:Fe(t.toString()).toLocaleLowerCase(o)!=Fe(r.toString()).toLocaleLowerCase(o),in:(t,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if(Ci(t,r[o]))return!0;return!1},between:(t,r)=>r==null||r[0]==null||r[1]==null?!0:t==null?!1:t.getTime?r[0].getTime()<=t.getTime()&&t.getTime()<=r[1].getTime():r[0]<=t&&t<=r[1],lt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<r.getTime():t<r,lte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<=r.getTime():t<=r,gt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>r.getTime():t>r,gte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>=r.getTime():t>=r,is:(t,r,o)=>this.filters.equals(t,r,o),isNot:(t,r,o)=>this.filters.notEquals(t,r,o),before:(t,r,o)=>this.filters.lt(t,r,o),after:(t,r,o)=>this.filters.gt(t,r,o),dateIs:(t,r)=>r==null?!0:t==null?!1:t.toDateString()===r.toDateString(),dateIsNot:(t,r)=>r==null?!0:t==null?!1:t.toDateString()!==r.toDateString(),dateBefore:(t,r)=>r==null?!0:t==null?!1:t.getTime()<r.getTime(),dateAfter:(t,r)=>r==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>r.getTime())};register(t,r){this.filters[t]=r}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var TH=(()=>{class e{clickSource=new K;parentDragSource=new K;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(t){t&&this.clickSource.next(t)}emitParentDrag(t){this.parentDragSource.next(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var SH=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Pe({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:Bv,decls:1,vars:0,template:function(r,o){r&1&&(At(),xt(0))},encapsulation:2})}return e})(),_H=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Pe({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:Bv,decls:1,vars:0,template:function(r,o){r&1&&(At(),xt(0))},encapsulation:2})}return e})(),jv=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(r){return new(r||e)(ee(_t))};static \u0275dir=te({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),wn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=he({type:e});static \u0275inj=fe({imports:[gt]})}return e})(),MH=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return e})();var Vv=`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function mo(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var we=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){n=i instanceof Ai?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Bf(i)}catch(s){n=n??[],s instanceof Ai?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ai(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Bf(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&mo(t,n)}remove(n){let{_finalizers:t}=this;t&&mo(t,n),n instanceof e&&n._removeParent(this)}};we.EMPTY=(()=>{let e=new we;return e.closed=!0,e})();var pc=we.EMPTY;function xi(e){return e instanceof we||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Bf(e){S(e)?e():e.unsubscribe()}var nt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var br={setTimeout(e,n,...t){let{delegate:r}=br;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=br;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ri(e){br.setTimeout(()=>{let{onUnhandledError:n}=nt;if(n)n(e);else throw e})}function yo(){}var jf=hc("C",void 0,void 0);function Vf(e){return hc("E",void 0,e)}function Hf(e){return hc("N",e,void 0)}function hc(e,n,t){return{kind:e,value:n,error:t}}var Mn=null;function Dr(e){if(nt.useDeprecatedSynchronousErrorHandling){let n=!Mn;if(n&&(Mn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Mn;if(Mn=null,t)throw r}}else e()}function $f(e){nt.useDeprecatedSynchronousErrorHandling&&Mn&&(Mn.errorThrown=!0,Mn.error=e)}var Nn=class extends we{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,xi(n)&&n.add(this)):this.destination=_b}static create(n,t,r){return new rt(n,t,r)}next(n){this.isStopped?mc(Hf(n),this):this._next(n)}error(n){this.isStopped?mc(Vf(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?mc(jf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Tb=Function.prototype.bind;function gc(e,n){return Tb.call(e,n)}var yc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Oi(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Oi(r)}else Oi(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Oi(t)}}},rt=class extends Nn{constructor(n,t,r){super();let o;if(S(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&nt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&gc(n.next,i),error:n.error&&gc(n.error,i),complete:n.complete&&gc(n.complete,i)}):o=n}this.destination=new yc(o)}};function Oi(e){nt.useDeprecatedSynchronousErrorHandling?$f(e):Ri(e)}function Sb(e){throw e}function mc(e,n){let{onStoppedNotification:t}=nt;t&&br.setTimeout(()=>t(e,n))}var _b={closed:!0,next:yo,error:Sb,complete:yo};var Er=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ot(e){return e}function Mb(...e){return vc(e)}function vc(e){return e.length===0?ot:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var A=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=Ab(t)?t:new rt(t,r,o);return Dr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Uf(r),new r((o,i)=>{let s=new rt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Er](){return this}pipe(...t){return vc(t)(this)}toPromise(t){return t=Uf(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Uf(e){var n;return(n=e??nt.Promise)!==null&&n!==void 0?n:Promise}function Nb(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function Ab(e){return e&&e instanceof Nn||Nb(e)&&xi(e)}function xb(e){return S(e?.lift)}function O(e){return n=>{if(xb(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P(e,n,t,r,o){return new bc(e,n,t,r,o)}var bc=class extends Nn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var Wf=vr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ki(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Wf}next(t){Dr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Dr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Dr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?pc:(this.currentObservers=null,i.push(t),new we(()=>{this.currentObservers=null,mo(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new A;return t.source=this,t}}return e.create=(n,t)=>new ki(n,t),e})(),ki=class extends K{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:pc}};var vo=class extends K{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var An=new A(e=>e.complete());function zf(e){return e&&S(e.schedule)}function Gf(e){return e[e.length-1]}function Pi(e){return S(Gf(e))?e.pop():void 0}function rn(e){return zf(Gf(e))?e.pop():void 0}function YN(e,n,t,r){var o=arguments.length,i=o<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,t):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,n,t,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(n,t,i):s(n,t))||i);return o>3&&i&&Object.defineProperty(n,t,i),i}function Zf(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function qf(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function xn(e){return this instanceof xn?(this.v=e,this):new xn(e)}function Yf(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),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(p){return function(h){return Promise.resolve(h).then(p,d)}}function a(p,h){r[p]&&(o[p]=function(m){return new Promise(function(b,E){i.push([p,m,b,E])>1||c(p,m)})},h&&(o[p]=h(o[p])))}function c(p,h){try{l(r[p](h))}catch(m){f(i[0][3],m)}}function l(p){p.value instanceof xn?Promise.resolve(p.value.v).then(u,d):f(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function f(p,h){p(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Kf(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof qf=="function"?qf(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Ir=e=>e&&typeof e.length=="number"&&typeof e!="function";function Fi(e){return S(e?.then)}function Li(e){return S(e[Er])}function Bi(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function ji(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 Rb(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vi=Rb();function Hi(e){return S(e?.[Vi])}function $i(e){return Yf(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield xn(t.read());if(o)return yield xn(void 0);yield yield xn(r)}}finally{t.releaseLock()}})}function Ui(e){return S(e?.getReader)}function W(e){if(e instanceof A)return e;if(e!=null){if(Li(e))return Ob(e);if(Ir(e))return kb(e);if(Fi(e))return Pb(e);if(Bi(e))return Qf(e);if(Hi(e))return Fb(e);if(Ui(e))return Lb(e)}throw ji(e)}function Ob(e){return new A(n=>{let t=e[Er]();if(S(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kb(e){return new A(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Pb(e){return new A(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ri)})}function Fb(e){return new A(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Qf(e){return new A(n=>{Bb(e,n).catch(t=>n.error(t))})}function Lb(e){return Qf($i(e))}function Bb(e,n){var t,r,o,i;return Zf(this,void 0,void 0,function*(){try{for(t=Kf(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Oe(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Wi(e,n=0){return O((t,r)=>{t.subscribe(P(r,o=>Oe(r,e,()=>r.next(o),n),()=>Oe(r,e,()=>r.complete(),n),o=>Oe(r,e,()=>r.error(o),n)))})}function zi(e,n=0){return O((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Jf(e,n){return W(e).pipe(zi(n),Wi(n))}function Xf(e,n){return W(e).pipe(zi(n),Wi(n))}function ep(e,n){return new A(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function tp(e,n){return new A(t=>{let r;return Oe(t,n,()=>{r=e[Vi](),Oe(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function Gi(e,n){if(!e)throw new Error("Iterable cannot be null");return new A(t=>{Oe(t,n,()=>{let r=e[Symbol.asyncIterator]();Oe(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function np(e,n){return Gi($i(e),n)}function rp(e,n){if(e!=null){if(Li(e))return Jf(e,n);if(Ir(e))return ep(e,n);if(Fi(e))return Xf(e,n);if(Bi(e))return Gi(e,n);if(Hi(e))return tp(e,n);if(Ui(e))return np(e,n)}throw ji(e)}function on(e,n){return n?rp(e,n):W(e)}function qi(...e){let n=rn(e);return on(e,n)}function jb(e,n){let t=S(e)?e:()=>e,r=o=>o.error(t());return new A(n?o=>n.schedule(r,0,o):r)}function Vb(e){return!!e&&(e instanceof A||S(e.lift)&&S(e.subscribe))}var Rn=vr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Hb(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new rt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new Rn)}});e.subscribe(i)})}function ze(e,n){return O((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:$b}=Array;function Ub(e,n){return $b(n)?e(...n):e(n)}function Cr(e){return ze(n=>Ub(e,n))}var{isArray:Wb}=Array,{getPrototypeOf:zb,prototype:Gb,keys:qb}=Object;function Zi(e){if(e.length===1){let n=e[0];if(Wb(n))return{args:n,keys:null};if(Zb(n)){let t=qb(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Zb(e){return e&&typeof e=="object"&&zb(e)===Gb}function Yi(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Yb(...e){let n=rn(e),t=Pi(e),{args:r,keys:o}=Zi(e);if(r.length===0)return on([],n);let i=new A(Kb(r,n,o?s=>Yi(o,s):ot));return t?i.pipe(Cr(t)):i}function Kb(e,n,t=ot){return r=>{op(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)op(n,()=>{let l=on(e[c],n),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function op(e,n,t){e?Oe(t,e,n):n()}function ip(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&n.complete()},p=m=>l<r?h(m):c.push(m),h=m=>{i&&n.next(m),l++;let b=!1;W(t(m,u++)).subscribe(P(n,E=>{o?.(E),i?p(E):n.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&l<r;){let E=c.shift();s?Oe(n,s,()=>h(E)):h(E)}f()}catch(E){n.error(E)}}))};return e.subscribe(P(n,p,()=>{d=!0,f()})),()=>{a?.()}}function Lt(e,n,t=1/0){return S(n)?Lt((r,o)=>ze((i,s)=>n(r,i,o,s))(W(e(r,o))),t):(typeof n=="number"&&(t=n),O((r,o)=>ip(r,o,e,t)))}function Dc(e=1/0){return Lt(ot,e)}function sp(){return Dc(1)}function Ki(...e){return sp()(on(e,rn(e)))}function Qb(e){return new A(n=>{W(e()).subscribe(n)})}function Jb(...e){let n=Pi(e),{args:t,keys:r}=Zi(e),o=new A(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;W(t[u]).subscribe(P(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Yi(r,a):a),i.complete())}))}});return n?o.pipe(Cr(n)):o}var Xb=["addListener","removeListener"],eD=["addEventListener","removeEventListener"],tD=["on","off"];function Ec(e,n,t,r){if(S(t)&&(r=t,t=void 0),r)return Ec(e,n,t).pipe(Cr(r));let[o,i]=oD(e)?eD.map(s=>a=>e[s](n,a,t)):nD(e)?Xb.map(ap(e,n)):rD(e)?tD.map(ap(e,n)):[];if(!o&&Ir(e))return Lt(s=>Ec(s,n,t))(W(e));if(!o)throw new TypeError("Invalid event target");return new A(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function ap(e,n){return t=>r=>e[t](n,r)}function nD(e){return S(e.addListener)&&S(e.removeListener)}function rD(e){return S(e.on)&&S(e.off)}function oD(e){return S(e.addEventListener)&&S(e.removeEventListener)}function sn(e,n){return O((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function cp(e){return O((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=W(e(s,cp(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Ic(e,n){return S(n)?Lt(e,n,1):Lt(e,1)}function lp(e){return O((n,t)=>{let r=!1;n.subscribe(P(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function Cc(e){return e<=0?()=>An:O((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function up(e=iD){return O((n,t)=>{let r=!1;n.subscribe(P(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function iD(){return new Rn}function wc(e){return O((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function sD(e,n){let t=arguments.length>=2;return r=>r.pipe(e?sn((o,i)=>e(o,i,r)):ot,Cc(1),t?lp(n):up(()=>new Rn))}function aD(e){return e<=0?()=>An:O((n,t)=>{let r=[];n.subscribe(P(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Sc(e={}){let{connector:n=()=>new K,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},h=()=>{let m=s;p(),m?.unsubscribe()};return O((m,b)=>{l++,!d&&!u&&f();let E=c=c??n();b.add(()=>{l--,l===0&&!d&&!u&&(a=Tc(h,o))}),E.subscribe(b),!s&&l>0&&(s=new rt({next:x=>E.next(x),error:x=>{d=!0,f(),a=Tc(p,t,x),E.error(x)},complete:()=>{u=!0,f(),a=Tc(p,r),E.complete()}}),W(m).subscribe(s))})(i)}}function Tc(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new rt({next:()=>{r.unsubscribe(),e()}});return W(n(...t)).subscribe(r)}function cD(...e){let n=rn(e);return O((t,r)=>{(n?Ki(e,t,n):Ki(e,t)).subscribe(r)})}function _c(e,n){return O((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;W(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Mc(e){return O((n,t)=>{W(e).subscribe(P(t,()=>t.complete(),yo)),!t.closed&&n.subscribe(t)})}function lD(e,n,t){let r=S(e)||n||t?{next:e,error:n,complete:t}:e;return r?O((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ot}var Nc;function Qi(){return Nc}function vt(e){let n=Nc;return Nc=e,n}var dp=Symbol("NotFound");function wr(e){return e===dp||e?.name==="\u0275NotFound"}function Ac(e,n,t){let r=Object.create(uD);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(_n(r),Pt(r),r.value===yt)throw r.error;return r.value};return i[Y]=r,fo(r),i}function fp(e,n){_n(e),nn(e,n),gr(e)}function pp(e,n){if(_n(e),e.value===yt)throw e.error;Ni(e,n),gr(e)}var uD=j(y({},Xt),{value:Tn,dirty:!0,error:null,equal:po,kind:"linkedSignal",producerMustRecompute(e){return e.value===Tn||e.value===Sn},producerRecomputeValue(e){if(e.value===Sn)throw new Error("");let n=e.value;e.value=Sn;let t=Ft(e),r,o=!1;try{let i=e.source(),s=n!==Tn&&n!==yt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,T(null),o=s&&r!==yt&&e.equal(n,r)}catch(i){r=yt,e.error=i}finally{en(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function hp(e){let n=T(null);try{return e()}finally{T(n)}}var os="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",I=class extends Error{code;constructor(n,t){super(jt(n,t)),this.code=n}};function dD(e){return`NG0${Math.abs(e)}`}function jt(e,n){return`${dD(e)}${n?": "+n:""}`}var ln=globalThis;function F(e){for(let n in e)if(e[n]===F)return n;throw Error("")}function bp(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function To(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(To).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
4
|
+
`);return r>=0?t.slice(0,r):t}function is(e,n){return e?n?`${e} ${n}`:e:n||""}var fD=F({__forward_ref__:F});function ss(e){return e.__forward_ref__=ss,e}function le(e){return Uc(e)?e():e}function Uc(e){return typeof e=="function"&&e.hasOwnProperty(fD)&&e.__forward_ref__===ss}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fe(e){return{providers:e.providers||[],imports:e.imports||[]}}function So(e){return hD(e,as)}function pD(e){return So(e)!==null}function hD(e,n){return e.hasOwnProperty(n)&&e[n]||null}function gD(e){let n=e?.[as]??null;return n||null}function Rc(e){return e&&e.hasOwnProperty(Xi)?e[Xi]:null}var as=F({\u0275prov:F}),Xi=F({\u0275inj:F}),D=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Wc(e){return e&&!!e.\u0275providers}var zc=F({\u0275cmp:F}),Gc=F({\u0275dir:F}),qc=F({\u0275pipe:F}),Zc=F({\u0275mod:F}),Do=F({\u0275fac:F}),Bn=F({__NG_ELEMENT_ID__:F}),gp=F({__NG_ENV_ID__:F});function Yc(e){return cs(e,"@NgModule"),e[Zc]||null}function Dt(e){return cs(e,"@Component"),e[zc]||null}function _o(e){return cs(e,"@Directive"),e[Gc]||null}function Kc(e){return cs(e,"@Pipe"),e[qc]||null}function cs(e,n){if(e==null)throw new I(-919,!1)}function Et(e){return typeof e=="string"?e:e==null?"":String(e)}var Dp=F({ngErrorCode:F}),mD=F({ngErrorMessage:F}),yD=F({ngTokenPath:F});function Qc(e,n){return Ep("",-200,n)}function ls(e,n){throw new I(-201,!1)}function Ep(e,n,t){let r=new I(n,e);return r[Dp]=n,r[mD]=e,t&&(r[yD]=t),r}function vD(e){return e[Dp]}var Oc;function Ip(){return Oc}function Le(e){let n=Oc;return Oc=e,n}function Jc(e,n,t){let r=So(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;ls(e,"")}var bD={},On=bD,DD="__NG_DI_FLAG__",kc=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=kn(t)||0;try{return this.injector.get(n,r&8?null:On,r)}catch(o){if(wr(o))return o;throw o}}};function ED(e,n=0){let t=Qi();if(t===void 0)throw new I(-203,!1);if(t===null)return Jc(e,void 0,n);{let r=ID(n),o=t.retrieve(e,r);if(wr(o)){if(r.optional)return null;throw o}return o}}function _(e,n=0){return(Ip()||ED)(le(e),n)}function g(e,n){return _(e,kn(n))}function kn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ID(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Pc(e){let n=[];for(let t=0;t<e.length;t++){let r=le(e[t]);if(Array.isArray(r)){if(r.length===0)throw new I(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=CD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(_(o,i))}else n.push(_(r))}return n}function CD(e){return e[DD]}function Pn(e,n){let t=e.hasOwnProperty(Do);return t?e[Do]:null}function Cp(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function wp(e){return e.flat(Number.POSITIVE_INFINITY)}function us(e,n){e.forEach(t=>Array.isArray(t)?us(t,n):n(t))}function Xc(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Mo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Tp(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Sp(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function No(e,n,t){let r=Sr(e,n);return r>=0?e[r|1]=t:(r=~r,Sp(e,r,n,t)),r}function ds(e,n){let t=Sr(e,n);if(t>=0)return e[t|1]}function Sr(e,n){return wD(e,n,1)}function wD(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var it={},ye=[],jn=new D(""),el=new D("",-1),tl=new D(""),Eo=class{get(n,t=On){if(t===On){let o=Ep("",-201);throw o.name="\u0275NotFound",o}return t}};function It(e){return{\u0275providers:e}}function _p(e){return It([{provide:jn,multi:!0,useValue:e}])}function Mp(...e){return{\u0275providers:fs(!0,e),\u0275fromNgModule:!0}}function fs(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return us(n,s=>{let a=s;es(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Np(o,i),t}function Np(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];nl(o,i=>{n(i,r)})}}function es(e,n,t,r){if(e=le(e),!e)return!1;let o=null,i=Rc(e),s=!i&&Dt(e);if(!i&&!s){let c=e.ngModule;if(i=Rc(c),i)o=c;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 c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)es(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;us(i.imports,u=>{es(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&Np(l,n)}if(!a){let l=Pn(o)||(()=>new o);n({provide:o,useFactory:l,deps:ye},o),n({provide:tl,useValue:o,multi:!0},o),n({provide:jn,useValue:()=>_(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;nl(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function nl(e,n){for(let t of e)Wc(t)&&(t=t.\u0275providers),Array.isArray(t)?nl(t,n):n(t)}var TD=F({provide:String,useValue:F});function Ap(e){return e!==null&&typeof e=="object"&&TD in e}function SD(e){return!!(e&&e.useExisting)}function _D(e){return!!(e&&e.useFactory)}function Fn(e){return typeof e=="function"}function xp(e){return!!e.useClass}var Ao=new D(""),Ji={},mp={},xc;function xo(){return xc===void 0&&(xc=new Eo),xc}var ve=class{},Ln=class extends ve{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Lc(n,s=>this.processProvider(s)),this.records.set(el,Tr(void 0,this)),o.has("environment")&&this.records.set(ve,Tr(void 0,this));let i=this.records.get(Ao);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(tl,ye,{self:!0}))}retrieve(n,t){let r=kn(t)||0;try{return this.get(n,On,r)}catch(o){if(wr(o))return o;throw o}}destroy(){bo(this),this._destroyed=!0;let n=T(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(n)}}onDestroy(n){return bo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){bo(this);let t=vt(this),r=Le(void 0),o;try{return n()}finally{vt(t),Le(r)}}get(n,t=On,r){if(bo(this),n.hasOwnProperty(gp))return n[gp](this);let o=kn(r),i,s=vt(this),a=Le(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=RD(n)&&So(n);u&&this.injectableDefInScope(u)?l=Tr(Fc(n),Ji):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?xo():this.parent;return t=o&8&&t===On?null:t,c.get(n,t)}catch(c){let l=vD(c);throw l===-200||l===-201?new I(l,null):c}finally{Le(a),vt(s)}}resolveInjectorInitializers(){let n=T(null),t=vt(this),r=Le(void 0),o;try{let i=this.get(jn,ye,{self:!0});for(let s of i)s()}finally{vt(t),Le(r),T(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=le(n);let t=Fn(n)?n:le(n&&n.provide),r=ND(n);if(!Fn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Tr(void 0,Ji,!0),o.factory=()=>Pc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=T(null);try{if(t.value===mp)throw Qc("");return t.value===Ji&&(t.value=mp,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&xD(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{T(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=le(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Fc(e){let n=So(e),t=n!==null?n.factory:Pn(e);if(t!==null)return t;if(e instanceof D)throw new I(-204,!1);if(e instanceof Function)return MD(e);throw new I(-204,!1)}function MD(e){if(e.length>0)throw new I(-204,!1);let t=gD(e);return t!==null?()=>t.factory(e):()=>new e}function ND(e){if(Ap(e))return Tr(void 0,e.useValue);{let n=rl(e);return Tr(n,Ji)}}function rl(e,n,t){let r;if(Fn(e)){let o=le(e);return Pn(o)||Fc(o)}else if(Ap(e))r=()=>le(e.useValue);else if(_D(e))r=()=>e.useFactory(...Pc(e.deps||[]));else if(SD(e))r=(o,i)=>_(le(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=le(e&&(e.useClass||e.provide));if(AD(e))r=()=>new o(...Pc(e.deps));else return Pn(o)||Fc(o)}return r}function bo(e){if(e.destroyed)throw new I(-205,!1)}function Tr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function AD(e){return!!e.deps}function xD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function RD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Lc(e,n){for(let t of e)Array.isArray(t)?Lc(t,n):t&&Wc(t)?Lc(t.\u0275providers,n):n(t)}function _r(e,n){let t;e instanceof Ln?(bo(e),t=e):t=new kc(e);let r,o=vt(t),i=Le(void 0);try{return n()}finally{vt(o),Le(i)}}function ol(){return Ip()!==void 0||Qi()!=null}function OD(e){if(!ol())throw new I(-203,!1)}var st=0,w=1,M=2,ie=3,qe=4,Te=5,Vn=6,Mr=7,re=8,ae=9,at=10,L=11,Nr=12,il=13,Hn=14,Se=15,un=16,$n=17,Ct=18,wt=19,sl=20,Bt=21,ps=22,an=23,je=24,Un=25,Tt=26,V=27,Rp=1,dn=6,fn=7,Ro=8,Wn=9,Q=10;function Vt(e){return Array.isArray(e)&&typeof e[Rp]=="object"}function ct(e){return Array.isArray(e)&&e[Rp]===!0}function al(e){return(e.flags&4)!==0}function Ht(e){return e.componentOffset>-1}function Ar(e){return(e.flags&1)===1}function lt(e){return!!e.template}function xr(e){return(e[M]&512)!==0}function pn(e){return(e[M]&256)===256}var cl="svg",Op="math";function Ze(e){for(;Array.isArray(e);)e=e[st];return e}function ll(e,n){return Ze(n[e])}function Ve(e,n){return Ze(n[e.index])}function Rr(e,n){return e.data[n]}function ul(e,n){return e[n]}function hs(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ye(e,n){let t=n[e];return Vt(t)?t:t[st]}function kp(e){return(e[M]&4)===4}function gs(e){return(e[M]&128)===128}function Pp(e){return ct(e[ie])}function He(e,n){return n==null?null:e[n]}function dl(e){e[$n]=0}function fl(e){e[M]&1024||(e[M]|=1024,gs(e)&&zn(e))}function Fp(e,n){for(;e>0;)n=n[Hn],e--;return n}function Oo(e){return!!(e[M]&9216||e[je]?.dirty)}function ms(e){e[at].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Oo(e)&&zn(e)}function zn(e){e[at].changeDetectionScheduler?.notify(0);let n=cn(e);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!gs(n)));)n=cn(n)}function ys(e,n){if(pn(e))throw new I(911,!1);e[Bt]===null&&(e[Bt]=[]),e[Bt].push(n)}function pl(e,n){if(e[Bt]===null)return;let t=e[Bt].indexOf(n);t!==-1&&e[Bt].splice(t,1)}function cn(e){let n=e[ie];return ct(n)?n[ie]:n}function hl(e){return e[Mr]??=[]}function gl(e){return e.cleanup??=[]}function Lp(e,n,t,r){let o=hl(n);o.push(t),e.firstCreatePass&&gl(e).push(r,o.length-1)}var N={lFrame:Yp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Bc=!1;function Bp(){return N.lFrame.elementDepthCount}function jp(){N.lFrame.elementDepthCount++}function ml(){N.lFrame.elementDepthCount--}function vs(){return N.bindingsEnabled}function yl(){return N.skipHydrationRootTNode!==null}function vl(e){return N.skipHydrationRootTNode===e}function bl(){N.skipHydrationRootTNode=null}function C(){return N.lFrame.lView}function H(){return N.lFrame.tView}function Vp(e){return N.lFrame.contextLView=e,e[re]}function Hp(e){return N.lFrame.contextLView=null,e}function J(){let e=Dl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Dl(){return N.lFrame.currentTNode}function $p(){let e=N.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Gn(e,n){let t=N.lFrame;t.currentTNode=e,t.isParent=n}function El(){return N.lFrame.isParent}function Il(){N.lFrame.isParent=!1}function Cl(){return N.lFrame.contextLView}function wl(){return Bc}function Io(e){let n=Bc;return Bc=e,n}function $t(){let e=N.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Tl(){return N.lFrame.bindingIndex}function Up(e){return N.lFrame.bindingIndex=e}function Ut(){return N.lFrame.bindingIndex++}function ko(e){let n=N.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Wp(){return N.lFrame.inI18n}function zp(e,n){let t=N.lFrame;t.bindingIndex=t.bindingRootIndex=e,bs(n)}function Gp(){return N.lFrame.currentDirectiveIndex}function bs(e){N.lFrame.currentDirectiveIndex=e}function qp(e){let n=N.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Ds(){return N.lFrame.currentQueryIndex}function Po(e){N.lFrame.currentQueryIndex=e}function kD(e){let n=e[w];return n.type===2?n.declTNode:n.type===1?e[Te]:null}function Sl(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=kD(i),o===null||(i=i[Hn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=N.lFrame=Zp();return r.currentTNode=n,r.lView=e,!0}function Es(e){let n=Zp(),t=e[w];N.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Zp(){let e=N.lFrame,n=e===null?null:e.child;return n===null?Yp(e):n}function Yp(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function Kp(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _l=Kp;function Is(){let e=Kp();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 Qp(e){return(N.lFrame.contextLView=Fp(e,N.lFrame.contextLView))[re]}function Ke(){return N.lFrame.selectedIndex}function hn(e){N.lFrame.selectedIndex=e}function Or(){let e=N.lFrame;return Rr(e.tView,e.selectedIndex)}function kr(){N.lFrame.currentNamespace=cl}function Jp(){PD()}function PD(){N.lFrame.currentNamespace=null}function Xp(){return N.lFrame.currentNamespace}var eh=!0;function Cs(){return eh}function Fo(e){eh=e}function jc(e,n=null,t=null,r){let o=Ml(e,n,t,r);return o.resolveInjectorInitializers(),o}function Ml(e,n=null,t=null,r,o=new Set){let i=[t||ye,Mp(e)],s;return new Ln(i,n||xo(),s||null,o)}var se=class e{static THROW_IF_NOT_FOUND=On;static NULL=new Eo;static create(n,t){if(Array.isArray(n))return jc({name:""},t,n,"");{let r=n.name??"";return jc({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>_(el)});static __NG_ELEMENT_ID__=-1},B=new D(""),X=(()=>{class e{static __NG_ELEMENT_ID__=FD;static __NG_ENV_ID__=t=>t}return e})(),ts=class extends X{_lView;constructor(n){super(),this._lView=n}get destroyed(){return pn(this._lView)}onDestroy(n){let t=this._lView;return ys(t,n),()=>pl(t,n)}};function FD(){return new ts(C())}var th=!1,nh=new D(""),qn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new vo(!1);debugTaskTracker=g(nh,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new A(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vc=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,ol()&&(this.destroyRef=g(X,{optional:!0})??void 0,this.pendingTasks=g(qn,{optional:!0})??void 0)}emit(n){let t=T(null);try{super.next(n)}finally{T(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}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 n instanceof we&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Be=Vc;function ns(...e){}function Nl(e){let n,t;function r(){e=ns;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function rh(e){return queueMicrotask(()=>e()),()=>{e=ns}}var Al="isAngularZone",Co=Al+"_ID",LD=0,ue=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Be(!1);onMicrotaskEmpty=new Be(!1);onStable=new Be(!1);onError=new Be(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=th}=n;if(typeof Zone>"u")throw new I(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)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,VD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Al)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new I(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,BD,ns,ns);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},BD={};function xl(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 jD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Nl(()=>{e.callbackScheduled=!1,Hc(e),e.isCheckStableRunning=!0,xl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Hc(e)}function VD(e){let n=()=>{jD(e)},t=LD++;e._inner=e._inner.fork({name:"angular",properties:{[Al]:!0,[Co]:t,[Co+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(HD(c))return r.invokeTask(i,s,a,c);try{return yp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),vp(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return yp(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!$D(c)&&n(),vp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Hc(e),xl(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 Hc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function yp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function vp(e){e._nesting--,xl(e)}var wo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Be;onMicrotaskEmpty=new Be;onStable=new Be;onError=new Be;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function HD(e){return oh(e,"__ignore_ng_zone__")}function $D(e){return oh(e,"__scheduler_tick__")}function oh(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Ge=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Wt=new D("",{factory:()=>{let e=g(ue),n=g(ve),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Ge),t.handleError(r))})}}}),ih={provide:jn,useValue:()=>{let e=g(Ge,{optional:!0})},multi:!0},UD=new D("",{factory:()=>{let e=g(B).defaultView;if(!e)return;let n=g(Wt),t=i=>{n(i.reason),i.preventDefault()},r=i=>{i.error?n(i.error):n(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",t),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),g(X).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function WD(){return It([_p(()=>{g(UD)})])}function $(e,n){let[t,r,o]=uc(e,n?.equal),i=t,s=i[Y];return i.set=r,i.update=o,i.asReadonly=Lo.bind(i),i}function Lo(){let e=this[Y];if(e.readonlyFn===void 0){let n=()=>this();n[Y]=e,e.readonlyFn=n}return e.readonlyFn}var Pr=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=zD}return e})();function zD(){return new Pr(C(),J())}var bt=class{},Bo=new D("",{factory:()=>!0});var Rl=new D(""),Zn=(()=>{class e{internalPendingTasks=g(qn);scheduler=g(bt);errorHandler=g(Wt);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),ws=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new $c})}return e})(),$c=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},rs=class{[Y];constructor(n){this[Y]=n}destroy(){this[Y].destroy()}};function _e(e,n){let t=n?.injector??g(se),r=n?.manualCleanup!==!0?t.get(X):null,o,i=t.get(Pr,null,{optional:!0}),s=t.get(bt);return i!==null?(o=ZD(i.view,s,e),r instanceof ts&&r._lView===i.view&&(r=null)):o=YD(e,t.get(ws),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new rs(o)}var sh=j(y({},dc),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Io(!1);try{fc(this)}finally{Io(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=T(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],T(e)}}}),GD=j(y({},sh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(tn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),qD=j(y({},sh),{consumerMarkedDirty(){this.view[M]|=8192,zn(this.view),this.notifier.notify(13)},destroy(){if(tn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[an]?.delete(this)}});function ZD(e,n,t){let r=Object.create(qD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=ah(r,t),e[an]??=new Set,e[an].add(r),r.consumerMarkedDirty(r),r}function YD(e,n,t){let r=Object.create(GD);return r.fn=ah(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function ah(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Qo(e){return{toString:e}.toString()}function nE(e){return typeof e=="function"}function tg(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Ls=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},bn=(()=>{let e=()=>ng;return e.ngInherit=!0,e})();function ng(e){return e.type.prototype.ngOnChanges&&(e.setInput=oE),rE}function rE(){let e=og(this),n=e?.current;if(n){let t=e.previous;if(t===it)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function oE(e,n,t,r,o){let i=this.declaredInputs[r],s=og(e)||iE(e,{previous:it,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ls(l&&l.currentValue,t,c===it),tg(e,n,o,t)}var rg="__ngSimpleChanges__";function og(e){return e[rg]||null}function iE(e,n){return e[rg]=n}var ch=[];var k=function(e,n=null,t){for(let r=0;r<ch.length;r++){let o=ch[r];o(e,n,t)}},R=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(R||{});function sE(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=ng(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function ig(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function Ns(e,n,t){sg(e,n,3,t)}function As(e,n,t,r){(e[M]&3)===t&&sg(e,n,t,r)}function Ol(e,n){let t=e[M];(t&3)===n&&(t&=16383,t+=1,e[M]=t)}function sg(e,n,t,r){let o=r!==void 0?e[$n]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[$n]+=65536),(a<i||i==-1)&&(aE(e,t,n,c),e[$n]=(e[$n]&4294901760)+c+2),c++}function lh(e,n){k(R.LifecycleHookStart,e,n);let t=T(null);try{n.call(e)}finally{T(t),k(R.LifecycleHookEnd,e,n)}}function aE(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[M]>>14<e[$n]>>16&&(e[M]&3)===n&&(e[M]+=16384,lh(a,i)):lh(a,i)}var Lr=-1,Jn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function cE(e){return(e.flags&8)!==0}function lE(e){return(e.flags&16)!==0}function uE(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];dE(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function ag(e){return e===3||e===4||e===6}function dE(e){return e.charCodeAt(0)===64}function jr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?uh(e,t,o,null,n[++r]):uh(e,t,o,null,null))}}return e}function uh(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function cg(e){return e!==Lr}function Bs(e){return e&32767}function fE(e){return e>>16}function js(e,n){let t=fE(e),r=n;for(;t>0;)r=r[Hn],t--;return r}var zl=!0;function dh(e){let n=zl;return zl=e,n}var pE=256,lg=pE-1,ug=5,hE=0,St={};function gE(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Bn)&&(r=t[Bn]),r==null&&(r=t[Bn]=hE++);let o=r&lg,i=1<<o;n.data[e+(o>>ug)]|=i}function Vs(e,n){let t=dg(e,n);if(t!==-1)return t;let r=n[w];r.firstCreatePass&&(e.injectorIndex=n.length,kl(r.data,e),kl(n,null),kl(r.blueprint,null));let o=_u(e,n),i=e.injectorIndex;if(cg(o)){let s=Bs(o),a=js(o,n),c=a[w].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function kl(e,n){e.push(0,0,0,0,0,0,0,0,n)}function dg(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function _u(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=mg(o),r===null)return Lr;if(t++,o=o[Hn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Lr}function Gl(e,n,t){gE(e,n,t)}function mE(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(ag(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function fg(e,n,t){if(t&8||e!==void 0)return e;ls(n,"NodeInjector")}function pg(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[ae],i=Le(void 0);try{return o?o.get(n,r,t&8):Jc(n,r,t&8)}finally{Le(i)}}return fg(r,n,t)}function hg(e,n,t,r=0,o){if(e!==null){if(n[M]&2048&&!(r&2)){let s=DE(e,n,t,r,St);if(s!==St)return s}let i=gg(e,n,t,r,St);if(i!==St)return i}return pg(n,t,r,o)}function gg(e,n,t,r,o){let i=vE(t);if(typeof i=="function"){if(!Sl(n,e,r))return r&1?fg(o,t,r):pg(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ls(t);else return s}finally{_l()}}else if(typeof i=="number"){let s=null,a=dg(e,n),c=Lr,l=r&1?n[Se][Te]:null;for((a===-1||r&4)&&(c=a===-1?_u(e,n):n[a+8],c===Lr||!ph(r,!1)?a=-1:(s=n[w],a=Bs(c),n=js(c,n)));a!==-1;){let u=n[w];if(fh(i,a,u.data)){let d=yE(a,n,t,s,r,l);if(d!==St)return d}c=n[a+8],c!==Lr&&ph(r,n[w].data[a+8]===l)&&fh(i,a,n)?(s=u,a=Bs(c),n=js(c,n)):a=-1}}return o}function yE(e,n,t,r,o,i){let s=n[w],a=s.data[e+8],c=r==null?Ht(a)&&zl:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=xs(a,s,t,c,l);return u!==null?$o(n,s,u,a,o):St}function xs(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p<f;p++){let h=s[p];if(p<c&&t===h||p>=c&&h.type===t)return p}if(o){let p=s[c];if(p&<(p)&&p.type===t)return c}return null}function $o(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Jn){let a=i;if(a.resolving)throw Qc("");let c=dh(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Le(a.injectImpl):null,f=Sl(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&sE(t,s[t],n)}finally{d!==null&&Le(d),dh(c),a.resolving=!1,_l()}}return i}function vE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Bn)?e[Bn]:void 0;return typeof n=="number"?n>=0?n&lg:bE:n}function fh(e,n,t){let r=1<<e;return!!(t[n+(e>>ug)]&r)}function ph(e,n){return!(e&2)&&!(e&1&&n)}var Kn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return hg(this._tNode,this._lView,n,kn(r),t)}};function bE(){return new Kn(J(),C())}function G(e){return Qo(()=>{let n=e.prototype.constructor,t=n[Do]||ql(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Do]||ql(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ql(e){return Uc(e)?()=>{let n=ql(le(e));return n&&n()}:Pn(e)}function DE(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[M]&2048&&!xr(s);){let a=gg(i,s,t,r|2,St);if(a!==St)return a;let c=i.parent;if(!c){let l=s[sl];if(l){let u=l.get(t,St,r&-5);if(u!==St)return u}c=mg(s),s=s[Hn]}i=c}return o}function mg(e){let n=e[w],t=n.type;return t===2?n.declTNode:t===1?e[Te]:null}function Mu(e){return mE(J(),e)}function EE(){return zr(J(),C())}function zr(e,n){return new be(Ve(e,n))}var be=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=EE}return e})();function yg(e){return e instanceof be?e.nativeElement:e}function IE(){return this._results[Symbol.iterator]()}var Hs=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 K}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=wp(n);(this._changesDetected=!Cp(this._results,r,t))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=IE};function vg(e){return(e.flags&128)===128}var Nu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Nu||{}),bg=new Map,CE=0;function wE(){return CE++}function TE(e){bg.set(e[wt],e)}function Zl(e){bg.delete(e[wt])}var hh="__ngContext__";function Vr(e,n){Vt(n)?(e[hh]=n[wt],TE(n)):e[hh]=n}function Dg(e){return Ig(e[Nr])}function Eg(e){return Ig(e[qe])}function Ig(e){for(;e!==null&&!ct(e);)e=e[qe];return e}var Yl;function Au(e){Yl=e}function Cg(){if(Yl!==void 0)return Yl;if(typeof document<"u")return document;throw new I(210,!1)}var ta=new D("",{factory:()=>SE}),SE="ng";var na=new D(""),pt=new D("",{providedIn:"platform",factory:()=>"unknown"});var Jo=new D("",{factory:()=>g(B).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ra={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},oa=new D("",{factory:()=>ra});var wg="r";var xu="di",Ru="s";var Tg=!1,Sg=new D("",{factory:()=>Tg});var _g=new D("");var _E=(e,n,t,r)=>{};function ME(e,n,t,r){_E(e,n,t,r)}var Mg=new D("");function ia(e){return(e.flags&32)===32}var NE=()=>null;function Ng(e,n,t=!1){return NE(e,n,t)}function Ou(e){return e.get(_g,!1,{optional:!0})}function Ag(e,n){let t=e.contentQueries;if(t!==null){let r=T(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Po(i),a.contentQueries(2,n[s],s)}}}finally{T(r)}}}function Kl(e,n,t){Po(0);let r=T(null);try{n(e,t)}finally{T(r)}}function ku(e,n,t){if(al(n)){let r=T(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{T(r)}}}var dt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(dt||{});var Ts;function AE(){if(Ts===void 0&&(Ts=null,ln.trustedTypes))try{Ts=ln.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ts}function sa(e){return AE()?.createHTML(e)||e}var Ss;function xg(){if(Ss===void 0&&(Ss=null,ln.trustedTypes))try{Ss=ln.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ss}function gh(e){return xg()?.createHTML(e)||e}function mh(e){return xg()?.createScriptURL(e)||e}var zt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${os})`}},Ql=class extends zt{getTypeName(){return"HTML"}},Jl=class extends zt{getTypeName(){return"Style"}},Xl=class extends zt{getTypeName(){return"Script"}},eu=class extends zt{getTypeName(){return"URL"}},tu=class extends zt{getTypeName(){return"ResourceURL"}};function Ne(e){return e instanceof zt?e.changingThisBreaksApplicationSecurity:e}function Mt(e,n){let t=Rg(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${os})`)}return t===n}function Rg(e){return e instanceof zt&&e.getTypeName()||null}function Pu(e){return new Ql(e)}function Fu(e){return new Jl(e)}function Lu(e){return new Xl(e)}function Bu(e){return new eu(e)}function ju(e){return new tu(e)}function xE(e){let n=new ru(e);return RE()?new nu(n):n}var nu=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(sa(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},ru=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=sa(n),t}};function RE(){try{return!!new window.DOMParser().parseFromString(sa(""),"text/html")}catch{return!1}}var OE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xo(e){return e=String(e),e.match(OE)?e:"unsafe:"+e}function Gt(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function ei(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var Og=Gt("area,br,col,hr,img,wbr"),kg=Gt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Pg=Gt("rp,rt"),kE=ei(Pg,kg),PE=ei(kg,Gt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),FE=ei(Pg,Gt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yh=ei(Og,PE,FE,kE),Fg=Gt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),LE=Gt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),BE=Gt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),jE=ei(Fg,LE,BE),VE=Gt("script,style,template");var ou=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=UE(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=$E(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=vh(n).toLowerCase();if(!yh.hasOwnProperty(t))return this.sanitizedSomething=!0,!VE.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!jE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Fg[a]&&(c=Xo(c)),this.buf.push(" ",s,'="',bh(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=vh(n).toLowerCase();yh.hasOwnProperty(t)&&!Og.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(bh(n))}};function HE(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $E(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw Lg(n);return n}function UE(e){let n=e.firstChild;if(n&&HE(e,n))throw Lg(n);return n}function vh(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function Lg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var WE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zE=/([^\#-~ |!])/g;function bh(e){return e.replace(/&/g,"&").replace(WE,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(zE,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var _s;function aa(e,n){let t=null;try{_s=_s||xE(e);let r=n?String(n):"";t=_s.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=_s.getInertBodyElement(r)}while(r!==i);let a=new ou().sanitizeChildren(Dh(t)||t);return sa(a)}finally{if(t){let r=Dh(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Dh(e){return"content"in e&&GE(e)?e.content:null}function GE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var qE=/^>|^->|<!--|-->|--!>|<!-$/g,ZE=/(<|>)/g,YE="\u200B$1\u200B";function KE(e){return e.replace(qE,n=>n.replace(ZE,YE))}function QE(e,n){return e.createText(n)}function JE(e,n,t){e.setValue(n,t)}function XE(e,n){return e.createComment(KE(n))}function Bg(e,n,t){return e.createElement(n,t)}function $s(e,n,t,r,o){e.insertBefore(n,t,r,o)}function jg(e,n,t){e.appendChild(n,t)}function Eh(e,n,t,r,o){r!==null?$s(e,n,t,r,o):jg(e,n,t)}function Vg(e,n,t,r){e.removeChild(null,n,t,r)}function eI(e,n,t){e.setAttribute(n,"style",t)}function tI(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Hg(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&uE(e,n,r),o!==null&&tI(e,n,o),i!==null&&eI(e,n,i)}var Qe=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Qe||{});function nI(e){let n=Vu();return n?gh(n.sanitize(Qe.HTML,e)||""):Mt(e,"HTML")?gh(Ne(e)):aa(Cg(),Et(e))}function $g(e){let n=Vu();return n?n.sanitize(Qe.URL,e)||"":Mt(e,"URL")?Ne(e):Xo(Et(e))}function Ug(e){let n=Vu();if(n)return mh(n.sanitize(Qe.RESOURCE_URL,e)||"");if(Mt(e,"ResourceURL"))return mh(Ne(e));throw new I(904,!1)}var rI={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function oI(e,n){return rI[e]?.[n]===!0?Ug:$g}function iI(e,n,t){return oI(n,t)(e)}function Vu(){let e=C();return e&&e[at].sanitizer}function sI(e){return e.ownerDocument}function Wg(e){return e instanceof Function?e():e}function aI(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var zg="ng-template";function cI(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&aI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Hu(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Hu(e){return e.type===4&&e.value!==zg}function lI(e,n,t){let r=e.type===4&&!t?zg:e.value;return n===r}function uI(e,n,t){let r=4,o=e.attrs,i=o!==null?pI(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!ut(r)&&!ut(c))return!1;if(s&&ut(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!lI(e,c,t)||c===""&&n.length===1){if(ut(r))return!1;s=!0}}else if(r&8){if(o===null||!cI(e,o,c,t)){if(ut(r))return!1;s=!0}}else{let l=n[++a],u=dI(c,o,Hu(e),t);if(u===-1){if(ut(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ut(r))return!1;s=!0}}}}return ut(r)||s}function ut(e){return(e&1)===0}function dI(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return hI(n,e)}function Gg(e,n,t=!1){for(let r=0;r<n.length;r++)if(uI(e,n[r],t))return!0;return!1}function fI(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function pI(e){for(let n=0;n<e.length;n++){let t=e[n];if(ag(t))return n}return e.length}function hI(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function gI(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];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 Ih(e,n){return e?":not("+n.trim()+")":n}function mI(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ut(s)&&(n+=Ih(i,o),o=""),r=s,i=i||!ut(r);t++}return o!==""&&(n+=Ih(i,o)),n}function yI(e){return e.map(mI).join(",")}function vI(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!ut(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var pe={};function $u(e,n,t,r,o,i,s,a,c,l,u){let d=V+r,f=d+o,p=bI(d,f),h=typeof l=="function"?l():l;return p[w]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function bI(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:pe);return t}function DI(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=$u(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Uu(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[st]=o,d[M]=r|4|128|8|64|1024,(l!==null||e&&e[M]&2048)&&(d[M]|=2048),dl(d),d[ie]=d[Hn]=e,d[re]=t,d[at]=s||e&&e[at],d[L]=a||e&&e[L],d[ae]=c||e&&e[ae]||null,d[Te]=i,d[wt]=wE(),d[Vn]=u,d[sl]=l,d[Se]=n.type==2?e[Se]:d,d}function EI(e,n,t){let r=Ve(n,e),o=DI(t),i=e[at].rendererFactory,s=Wu(e,Uu(e,o,null,qg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function qg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Zg(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Wu(e,n){return e[Nr]?e[il][qe]=n:e[Nr]=n,e[il]=n,n}function De(e=1){Yg(H(),C(),Ke()+e,!1)}function Yg(e,n,t,r){if(!r)if((n[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ns(n,i,t)}else{let i=e.preOrderHooks;i!==null&&As(n,i,0,t)}hn(t)}var ca=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ca||{});function iu(e,n,t,r){let o=T(null);try{let[i,s,a]=e.inputs[t],c=null;(s&ca.SignalBased)!==0&&(c=n[i][Y]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):tg(n,c,i,r)}finally{T(o)}}var ft=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ft||{}),II;function zu(e,n){return II(e,n)}var Kg=new D("",{factory:()=>!1});var CI=!1,ti=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Qg(e){return e[ae].get(Kg,CI)}function wI(e,n,t){let r=Hr.get(e);if(r){for(let o of n)r.classList.push(o);for(let o of t)r.cleanupFns.push(o)}else Hr.set(e,{classList:n,cleanupFns:t})}function Gu(e){let n=Hr.get(e);if(n){for(let t of n.cleanupFns)t();Hr.delete(e)}Qn.delete(e)}var Hr=new WeakMap,Qn=new WeakMap,Uo=new WeakMap,jo=new WeakSet;function Ch(e,n){let t=Uo.get(e);if(t&&t.length>0){let r=t.findIndex(o=>o===n);r>-1&&t.splice(r,1)}t?.length===0&&Uo.delete(e)}function TI(e,n){let t=Uo.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),jo.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Jg(e,n){let t=Uo.get(e);t?t.includes(n)||t.push(n):Uo.set(e,[n])}function wh(e){let n=e[Tt]??={};return n.enter??=new Map}function la(e){let n=e[Tt]??={};return n.leave??=new Map}function Xg(e){let n=typeof e=="function"?e():e,t=Array.isArray(n)?n:null;return typeof n=="string"&&(t=n.trim().split(/\s+/).filter(r=>r)),t}function SI(e,n){if(!ti)return;let t=Hr.get(e);if(t&&t.classList.length>0&&_I(e,t.classList))for(let r of t.classList)n.removeClass(e,r);Gu(e)}function _I(e,n){for(let t of n)if(e.classList.contains(t))return!0;return!1}function Wo(e){return e.composedPath?e.composedPath()[0]:e.target}function qu(e,n){let t=Qn.get(n);return t===void 0?!0:n===Wo(e)&&(t.animationName!==void 0&&e.animationName===t.animationName||t.propertyName!==void 0&&(t.propertyName==="all"||e.propertyName===t.propertyName))}function em(e,n,t){let r=e.get(n.index)??{animateFns:[]};r.animateFns.push(t),e.set(n.index,r)}function Th(e,n){if(e)for(let t of e)t();for(let t of n)t()}function Sh(e,n){let t=la(e).get(n.index);t&&(t.resolvers=void 0)}function Us(e){if(!e)return 0;let n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function Yn(e,n){return e.getPropertyValue(n).split(",").map(r=>r.trim())}function MI(e){let n=Yn(e,"transition-property"),t=Yn(e,"transition-duration"),r=Yn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=Us(r[i])+Us(t[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function NI(e){let n=Yn(e,"animation-name"),t=Yn(e,"animation-delay"),r=Yn(e,"animation-duration"),o=Yn(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=Us(t[s])+Us(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=n[s],i.duration=a)}return i}function tm(e,n){return e!==void 0&&e.duration>n.duration}function nm(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function AI(e,n){let t=getComputedStyle(e),r=NI(t),o=MI(t),i=r.duration>o.duration?r:o;tm(n.get(e),i)||nm(i)&&n.set(e,i)}function rm(e,n,t){if(!t)return;let r=e.getAnimations();return r.length===0?AI(e,n):xI(e,n,r)}function xI(e,n,t){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of t){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let l,u;o.animationName?u=o.animationName:l=o.transitionProperty,a>=r.duration&&(r={animationName:u,propertyName:l,duration:a})}tm(n.get(e),r)||nm(r)&&n.set(e,r)}var mn=new Set,ua=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ua||{}),ht=new D(""),_h=new Set;function $e(e){_h.has(e)||(_h.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var da=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zu=[0,1,2,3],Yu=(()=>{class e{ngZone=g(ue);scheduler=g(bt);errorHandler=g(Ge,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(ht,{optional:!0})}execute(){let t=this.sequences.size>0;t&&k(R.AfterRenderHooksStart),this.executing=!0;for(let r of Zu)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&k(R.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[Un]??=[]).push(t),zn(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(ua.AFTER_NEXT_RENDER,t):t()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),zo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Un];n&&(this.view[Un]=n.filter(t=>t!==this))}};function om(e,n){let t=n?.injector??g(se);return $e("NgAfterNextRender"),OI(e,t,n,!0)}function RI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function OI(e,n,t,r){let o=n.get(da);o.impl??=n.get(Yu);let i=n.get(ht,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(X):null,a=n.get(Pr,null,{optional:!0}),c=new zo(o.impl,RI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var fa=new D("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(ve)})});function im(e,n,t){let r=e.get(fa);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function kI(e,n){let t=e.get(fa);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function PI(e){let n=e.get(fa);n.isScheduled||(om(()=>{n.isScheduled=!1;for(let t of n.queue)t();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function sm(e){let n=e.get(fa);n.scheduler=PI,n.scheduler(e)}function am(e,n){for(let[t,r]of n)im(e,r.animateFns)}function Mh(e,n,t,r){let o=e?.[Tt]?.enter;n!==null&&o&&o.has(t.index)&&am(r,o)}function Fr(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;ct(o)?c=o:Vt(o)&&(l=!0,o=o[st]);let u=Ze(o);e===0&&r!==null?(Mh(a,r,i,t),s==null?jg(n,r,u):$s(n,r,u,s||null,!0)):e===1&&r!==null?(Mh(a,r,i,t),$s(n,r,u,s||null,!0),TI(i,u)):e===2?(a?.[Tt]?.leave?.has(i.index)&&Jg(i,u),jo.delete(u),Nh(a,i,t,d=>{if(jo.has(u)){jo.delete(u);return}Vg(n,u,l,d)})):e===3&&(jo.delete(u),Nh(a,i,t,()=>{n.destroyNode(u)})),c!=null&&GI(n,e,t,c,i,r,s)}}function FI(e,n){cm(e,n),n[st]=null,n[Te]=null}function LI(e,n,t,r,o,i){r[st]=o,r[Te]=n,ha(e,r,t,1,o,i)}function cm(e,n){n[at].changeDetectionScheduler?.notify(9),ha(e,n,n[L],2,null,null)}function BI(e){let n=e[Nr];if(!n)return Pl(e[w],e);for(;n;){let t=null;if(Vt(n))t=n[Nr];else{let r=n[Q];r&&(t=r)}if(!t){for(;n&&!n[qe]&&n!==e;)Vt(n)&&Pl(n[w],n),n=n[ie];n===null&&(n=e),Vt(n)&&Pl(n[w],n),t=n&&n[qe]}n=t}}function Ku(e,n){let t=e[Wn],r=t.indexOf(n);t.splice(r,1)}function pa(e,n){if(pn(n))return;let t=n[L];t.destroyNode&&ha(e,n,t,3,null,null),BI(n)}function Pl(e,n){if(pn(n))return;let t=T(null);try{n[M]&=-129,n[M]|=256,n[je]&&tn(n[je]),HI(e,n),VI(e,n),n[w].type===1&&n[L].destroy();let r=n[un];if(r!==null&&ct(n[ie])){r!==n[ie]&&Ku(r,n);let o=n[Ct];o!==null&&o.detachView(e)}Zl(n)}finally{T(t)}}function Nh(e,n,t,r){let o=e?.[Tt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&mn.add(e[wt]),im(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),jI(e,r)}else e&&mn.delete(e[wt]),r(!1)},o)}function jI(e,n){let t=e[Tt]?.running;if(t){t.then(()=>{e[Tt].running=void 0,mn.delete(e[wt]),n(!0)});return}n(!1)}function VI(e,n){let t=e.cleanup,r=n[Mr];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Mr]=null);let o=n[Bt];if(o!==null){n[Bt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[an];if(i!==null){n[an]=null;for(let s of i)s.destroy()}}function HI(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Jn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];k(R.LifecycleHookStart,a,c);try{c.call(a)}finally{k(R.LifecycleHookEnd,a,c)}}else{k(R.LifecycleHookStart,o,i);try{i.call(o)}finally{k(R.LifecycleHookEnd,o,i)}}}}}function lm(e,n,t){return $I(e,n.parent,t)}function $I(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[st];if(Ht(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===dt.None||o===dt.Emulated)return null}return Ve(r,t)}function um(e,n,t){return WI(e,n,t)}function UI(e,n,t){return e.type&40?Ve(e,t):null}var WI=UI,Ah;function Qu(e,n,t,r){let o=lm(e,r,n),i=n[L],s=r.parent||n[Te],a=um(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Eh(i,o,t[c],a,!1);else Eh(i,o,t,a,!1);Ah!==void 0&&Ah(i,r,n,t,o)}function Vo(e,n){if(n!==null){let t=n.type;if(t&3)return Ve(n,e);if(t&4)return su(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Vo(e,r);{let o=e[n.index];return ct(o)?su(-1,o):Ze(o)}}else{if(t&128)return Vo(e,n.next);if(t&32)return zu(n,e)()||Ze(e[n.index]);{let r=dm(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=cn(e[Se]);return Vo(o,r)}else return Vo(e,n.next)}}}return null}function dm(e,n){if(n!==null){let r=e[Se][Te],o=n.projection;return r.projection[o]}return null}function su(e,n){let t=Q+e+1;if(t<n.length){let r=n[t],o=r[w].firstChild;if(o!==null)return Vo(r,o)}return n[fn]}function Ju(e,n,t,r,o,i,s){for(;t!=null;){let a=r[ae];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&Vr(Ze(c),r),t.flags|=2),!ia(t))if(l&8)Ju(e,n,t.child,r,o,i,!1),Fr(n,e,a,o,c,t,i,r);else if(l&32){let u=zu(t,r),d;for(;d=u();)Fr(n,e,a,o,d,t,i,r);Fr(n,e,a,o,c,t,i,r)}else l&16?fm(e,n,r,t,o,i):Fr(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function ha(e,n,t,r,o,i){Ju(t,r,e.firstChild,n,o,i,!1)}function zI(e,n,t){let r=n[L],o=lm(e,t,n),i=t.parent||n[Te],s=um(i,t,n);fm(r,0,n,t,o,s)}function fm(e,n,t,r,o,i){let s=t[Se],c=s[Te].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Fr(n,e,t[ae],o,u,r,i,t)}else{let l=c,u=s[ie];vg(r)&&(l.flags|=128),Ju(e,n,l,u,o,i,!0)}}function GI(e,n,t,r,o,i,s){let a=r[fn],c=Ze(r);a!==c&&Fr(n,e,t,i,a,o,s);for(let l=Q;l<r.length;l++){let u=r[l];ha(u[w],u,e,n,i,a)}}function qI(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:ft.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ft.Important),e.setStyle(t,r,o,i))}}function pm(e,n,t,r,o){let i=Ke(),s=r&2;try{hn(-1),s&&n.length>V&&Yg(e,n,V,!1);let a=s?R.TemplateUpdateStart:R.TemplateCreateStart;k(a,o,t),t(r,o)}finally{hn(i);let a=s?R.TemplateUpdateEnd:R.TemplateCreateEnd;k(a,o,t)}}function ga(e,n,t){XI(e,n,t),(t.flags&64)===64&&eC(e,n,t)}function Gr(e,n,t=Ve){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function ZI(e,n,t,r){let i=r.get(Sg,Tg)||t===dt.ShadowDom||t===dt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return YI(s),s}function YI(e){KI(e)}var KI=()=>null;function QI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function hm(e,n,t,r,o,i){let s=n[w];if(td(e,s,n,t,r)){Ht(e)&&JI(n,e.index);return}e.type&3&&(t=QI(t)),gm(e,n,t,r,o,i)}function gm(e,n,t,r,o,i){if(e.type&3){let s=Ve(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function JI(e,n){let t=Ye(n,e);t[M]&16||(t[M]|=64)}function XI(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ht(t)&&EI(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Vs(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=$o(n,e,s,t);if(Vr(c,n),i!==null&&oC(n,s-r,c,a,t,i),lt(a)){let l=Ye(t.index,n);l[re]=$o(n,e,s,t)}}}function eC(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Gp();try{hn(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];bs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&tC(c,l)}}finally{hn(-1),bs(s)}}function tC(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Xu(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];Gg(n,i.selectors,!1)&&(r??=[],lt(i)?r.unshift(i):r.push(i))}return r}function nC(e,n,t,r,o,i){let s=Ve(e,n);rC(n[L],s,i,e.value,t,r,o)}function rC(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Et(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function oC(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];iu(r,t,c,l)}}function ma(e,n,t,r,o){let i=V+t,s=n[w],a=o(s,n,e,r,t);n[i]=a,Gn(e,!0);let c=e.type===2;return c?(Hg(n[L],a,e),(Bp()===0||Ar(e))&&Vr(a,n),jp()):Vr(a,n),Cs()&&(!c||!ia(e))&&Qu(s,n,a,e),e}function ya(e){let n=e;return El()?Il():(n=n.parent,Gn(n,!1)),n}function ed(e,n){let t=e[ae];if(!t)return;let r;try{r=t.get(Wt,null)}catch{r=null}r?.(n)}function td(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];iu(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];iu(u,l,r,o),a=!0}return a}function iC(e,n){let t=Ye(n,e),r=t[w];sC(r,t);let o=t[st];o!==null&&t[Vn]===null&&(t[Vn]=Ng(o,t[ae])),k(R.ComponentStart);try{nd(r,t,t[re])}finally{k(R.ComponentEnd,t[re])}}function sC(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function nd(e,n,t){Es(n);try{let r=e.viewQuery;r!==null&&Kl(1,r,t);let o=e.template;o!==null&&pm(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Ct]?.finishViewCreation(e),e.staticContentQueries&&Ag(e,n),e.staticViewQueries&&Kl(2,e.viewQuery,t);let i=e.components;i!==null&&aC(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[M]&=-5,Is()}}function aC(e,n){for(let t=0;t<n.length;t++)iC(e,n[t])}function qr(e,n,t,r){let o=T(null);try{let i=n.tView,a=e[M]&4096?4096:16,c=Uu(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[un]=l;let u=e[Ct];return u!==null&&(c[Ct]=u.createEmbeddedView(i)),nd(i,c,t),c}finally{T(o)}}function Xn(e,n){return!n||n.firstChild===null||vg(e)}function Go(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Ze(i)),ct(i)&&mm(i,r);let s=t.type;if(s&8)Go(e,n,t.child,r);else if(s&32){let a=zu(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=dm(n,t);if(Array.isArray(a))r.push(...a);else{let c=cn(n[Se]);Go(c[w],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function mm(e,n){for(let t=Q;t<e.length;t++){let r=e[t],o=r[w].firstChild;o!==null&&Go(r[w],r,o,n)}e[fn]!==e[st]&&n.push(e[fn])}function ym(e){if(e[Un]!==null){for(let n of e[Un])n.impl.addSequence(n);e[Un].length=0}}var vm=[];function cC(e){return e[je]??lC(e)}function lC(e){let n=vm.pop()??Object.create(dC);return n.lView=e,n}function uC(e){e.lView[je]!==e&&(e.lView=null,vm.push(e))}var dC=j(y({},Xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zn(e.lView)},consumerOnSignalRead(){this.lView[je]=this}});function fC(e){let n=e[je]??Object.create(pC);return n.lView=e,n}var pC=j(y({},Xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=cn(e.lView);for(;n&&!bm(n[w]);)n=cn(n);n&&fl(n)},consumerOnSignalRead(){this.lView[je]=this}});function bm(e){return e.type!==2}function Dm(e){if(e[an]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[an])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[M]&8192)}}var hC=100;function Em(e,n=0){let r=e[at].rendererFactory,o=!1;o||r.begin?.();try{gC(e,n)}finally{o||r.end?.()}}function gC(e,n){let t=wl();try{Io(!0),au(e,n);let r=0;for(;Oo(e);){if(r===hC)throw new I(103,!1);r++,au(e,1)}}finally{Io(t)}}function mC(e,n,t,r){if(pn(n))return;let o=n[M],i=!1,s=!1;Es(n);let a=!0,c=null,l=null;i||(bm(e)?(l=cC(n),c=Ft(l)):Mi()===null?(a=!1,l=fC(n),c=Ft(l)):n[je]&&(tn(n[je]),n[je]=null));try{dl(n),Up(e.bindingStartIndex),t!==null&&pm(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&Ns(n,p,null)}else{let p=e.preOrderHooks;p!==null&&As(n,p,0,null),Ol(n,0)}if(s||yC(n),Dm(n),Im(n,0),e.contentQueries!==null&&Ag(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&Ns(n,p)}else{let p=e.contentHooks;p!==null&&As(n,p,1),Ol(n,1)}bC(e,n);let d=e.components;d!==null&&wm(n,d,0);let f=e.viewQuery;if(f!==null&&Kl(2,f,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&Ns(n,p)}else{let p=e.viewHooks;p!==null&&As(n,p,2),Ol(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ps]){for(let p of n[ps])p();n[ps]=null}i||(ym(n),n[M]&=-73)}catch(u){throw i||zn(n),u}finally{l!==null&&(en(l,c),a&&uC(l)),Is()}}function Im(e,n){for(let t=Dg(e);t!==null;t=Eg(t))for(let r=Q;r<t.length;r++){let o=t[r];Cm(o,n)}}function yC(e){for(let n=Dg(e);n!==null;n=Eg(n)){if(!(n[M]&2))continue;let t=n[Wn];for(let r=0;r<t.length;r++){let o=t[r];fl(o)}}}function vC(e,n,t){k(R.ComponentStart);let r=Ye(n,e);try{Cm(r,t)}finally{k(R.ComponentEnd,r[re])}}function Cm(e,n){gs(e)&&au(e,n)}function au(e,n){let r=e[w],o=e[M],i=e[je],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&mr(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)mC(r,e,r.template,e[re]);else if(o&8192){let a=T(null);try{Dm(e),Im(e,1);let c=r.components;c!==null&&wm(e,c,1),ym(e)}finally{T(a)}}}function wm(e,n,t){for(let r=0;r<n.length;r++)vC(e,n[r],t)}function bC(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)hn(~o);else{let i=o,s=t[++r],a=t[++r];zp(s,i);let c=n[i];k(R.HostBindingsUpdateStart,c);try{a(2,c)}finally{k(R.HostBindingsUpdateEnd,c)}}}}finally{hn(-1)}}function va(e,n){let t=wl()?64:1088;for(e[at].changeDetectionScheduler?.notify(n);e;){e[M]|=t;let r=cn(e);if(xr(e)&&!r)return e;e=r}return null}function Tm(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Sm(e,n){let t=Q+n;if(t<e.length)return e[t]}function Zr(e,n,t,r=!0){let o=n[w];if(DC(o,n,e,t),r){let s=su(t,e),a=n[L],c=a.parentNode(e[fn]);c!==null&&LI(o,e[Te],a,n,c,s)}let i=n[Vn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function rd(e,n){let t=qo(e,n);return t!==void 0&&pa(t[w],t),t}function qo(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t];if(r){let o=r[un];o!==null&&o!==e&&Ku(o,r),n>0&&(e[t-1][qe]=r[qe]);let i=Mo(e,Q+n);FI(r[w],r);let s=i[Ct];s!==null&&s.detachView(i[w]),r[ie]=null,r[qe]=null,r[M]&=-129}return r}function DC(e,n,t,r){let o=Q+r,i=t.length;r>0&&(t[o-1][qe]=n),r<i-Q?(n[qe]=t[o],Xc(t,Q+r,n)):(t.push(n),n[qe]=null),n[ie]=t;let s=n[un];s!==null&&t!==s&&_m(s,n);let a=n[Ct];a!==null&&a.insertView(e),ms(n),n[M]|=128}function _m(e,n){let t=e[Wn],r=n[ie];if(Vt(r))e[M]|=2;else{let o=r[ie][Se];n[Se]!==o&&(e[M]|=2)}t===null?e[Wn]=[n]:t.push(n)}var yn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[w];return Go(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[re]}set context(n){this._lView[re]=n}get destroyed(){return pn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ie];if(ct(n)){let t=n[Ro],r=t?t.indexOf(this):-1;r>-1&&(qo(n,r),Mo(t,r))}this._attachedToViewContainer=!1}pa(this._lView[w],this._lView)}onDestroy(n){ys(this._lView,n)}markForCheck(){va(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){ms(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Em(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=xr(this._lView),t=this._lView[un];t!==null&&!n&&Ku(t,this._lView),cm(this._lView[w],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=n;let t=xr(this._lView),r=this._lView[un];r!==null&&!t&&_m(r,this._lView),ms(this._lView)}};var _t=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=EC;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=qr(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new yn(i)}}return e})();function EC(){return ba(J(),C())}function ba(e,n){return e.type&4?new _t(n,e,zr(e,n)):null}function ir(e,n,t,r,o){let i=e.data[n];if(i===null)i=IC(e,n,t,r,o),Wp()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=$p();i.injectorIndex=s===null?-1:s.injectorIndex}return Gn(i,!0),i}function IC(e,n,t,r,o){let i=Dl(),s=El(),a=s?i:i&&i.parent,c=e.data[n]=wC(e,a,t,n,r,o);return CC(e,c,i,s),c}function CC(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function wC(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return yl()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function TC(e){let n=e[dn]??[],r=e[ie][L],o=[];for(let i of n)i.data[xu]!==void 0?o.push(i):SC(i,r);e[dn]=o}function SC(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[wg];for(;t<o;){let i=r.nextSibling;Vg(n,r,!1),r=i,t++}}}var _C=()=>null,MC=()=>null;function Ws(e,n){return _C(e,n)}function Mm(e,n,t){return MC(e,n,t)}var Nm=class{},Da=class{},cu=class{resolveComponentFactory(n){throw new I(917,!1)}},ni=class{static NULL=new cu},er=class{},Nt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>NC()}return e})();function NC(){let e=C(),n=J(),t=Ye(n.index,e);return(Vt(t)?t:e)[L]}var Am=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var Rs={},Br=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Rs,r);return o!==Rs||t===Rs?o:this.parentInjector.get(n,t,r)}};function zs(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=is(o,a);else if(i==2){let c=a,l=n[++s];r=is(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function ee(e,n=0){let t=C();if(t===null)return _(e,n);let r=J();return hg(r,t,le(e),n)}function xm(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}RC(e,n,t,a,i,c,l)}i!==null&&r!==null&&AC(t,r,i)}function AC(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new I(-301,!1);r.push(n[o],i)}}function xC(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function RC(e,n,t,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let p=r[f];c===null&<(p)&&(c=p,xC(e,t,f)),Gl(Vs(t,n),e,p.type)}BC(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){let p=r[f];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=Zg(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(t.mergedAttrs=jr(t.mergedAttrs,p.hostAttrs),kC(e,t,n,d,p),LC(d,p,o),s!==null&&s.has(p)){let[m,b]=s.get(p);t.directiveToIndex.set(p.type,[d,m+t.directiveStart,b+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let h=p.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}OC(e,t,i)}function OC(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))xh(0,n,o,r),xh(1,n,o,r),Oh(n,r,!1);else{let i=t.get(o);Rh(0,n,i,r),Rh(1,n,i,r),Oh(n,r,!0)}}}function xh(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Rm(n,i)}}function Rh(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Rm(n,s)}}function Rm(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Oh(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Hu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function kC(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Pn(o.type,!0)),s=new Jn(i,lt(o),ee,null);e.blueprint[r]=s,t[r]=s,PC(e,n,r,Zg(e,t,o.hostVars,pe),o)}function PC(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;FC(s)!=a&&s.push(a),s.push(t,r,i)}}function FC(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function LC(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;lt(n)&&(t[""]=e)}}function BC(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function od(e,n,t,r,o,i,s,a){let c=n[w],l=c.consts,u=He(l,s),d=ir(c,e,t,r,u);return i&&xm(c,n,d,He(l,a),o),d.mergedAttrs=jr(d.mergedAttrs,d.attrs),d.attrs!==null&&zs(d,d.attrs,!1),d.mergedAttrs!==null&&zs(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function id(e,n){ig(e,n),al(n)&&e.queries.elementEnd(n)}function Om(e,n,t,r,o,i){let s=n.consts,a=He(s,o),c=ir(n,e,t,r,a);if(c.mergedAttrs=jr(c.mergedAttrs,c.attrs),i!=null){let l=He(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&zs(c,c.attrs,!1),c.mergedAttrs!==null&&zs(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function sd(e){return Ea(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function km(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function Ea(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Dn(e,n,t){return e[n]=t}function Ia(e,n){return e[n]}function Me(e,n,t){if(t===pe)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function $r(e,n,t,r){let o=Me(e,n,t);return Me(e,n+1,r)||o}function ad(e,n,t,r,o){let i=$r(e,n,t,r);return Me(e,n+2,o)||i}function Ca(e,n,t,r,o,i){let s=$r(e,n,t,r);return $r(e,n+2,o,i)||s}function Os(e,n,t){return function r(o){let i=Ht(e)?Ye(e.index,n):n;va(i,5);let s=n[re],a=kh(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=kh(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function kh(e,n,t,r){let o=T(null);try{return k(R.OutputStart,n,t),t(r)!==!1}catch(i){return ed(e,i),!1}finally{k(R.OutputEnd,n,t),T(o)}}function Pm(e,n,t,r,o,i,s,a){let c=Ar(e),l=!1,u=null;if(!r&&c&&(u=VC(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ve(e,t),f=r?r(d):d;ME(t,f,i,a);let p=o.listen(f,i,a);if(!jC(i)){let h=r?m=>r(Ze(m[e.index])):e.index;Fm(h,n,t,i,a,p,!1)}}return l}function jC(e){return e.startsWith("animation")||e.startsWith("transition")}function VC(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Mr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Fm(e,n,t,r,o,i,s){let a=n.firstCreatePass?gl(n):null,c=hl(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Ph(e,n,t,r,o,i){let s=n[t],a=n[w],l=a.data[t].outputs[r],d=s[l].subscribe(i);Fm(e.index,a,n,o,i,d,!0)}var lu=Symbol("BINDING");function Lm(e){return e.debugInfo?.className||e.type.name||null}var Gs=class extends ni{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Dt(n);return new tr(t,this.ngModule)}};function HC(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&ca.SignalBased)!==0};return o&&(i.transform=o),i})}function $C(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function UC(e,n,t){let r=n instanceof ve?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Br(t,r):t}function WC(e){let n=e.get(er,null);if(n===null)throw new I(407,!1);let t=e.get(Am,null),r=e.get(bt,null),o=e.get(ht,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function zC(e,n){let t=Bm(e);return Bg(n,t,t==="svg"?cl:t==="math"?Op:null)}function Bm(e){return(e.selectors[0][0]||"div").toLowerCase()}var tr=class extends Da{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=HC(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=$C(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=yI(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){k(R.DynamicComponentStart);let a=T(null);try{let c=this.componentDef,l=UC(c,o||this.ngModule,n),u=WC(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Lm(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{T(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=GC(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?ZI(l,o,a.encapsulation,t):zC(a,l),d=s?.some(Fh)||i?.some(h=>typeof h!="function"&&h.bindings.some(Fh)),f=Uu(null,c,null,512|qg(a),null,null,n,l,t,null,Ng(u,t,!0));f[V]=u,Es(f);let p=null;try{let h=od(V,f,2,"#host",()=>c.directiveRegistry,!0,0);Hg(l,u,h),Vr(u,f),ga(c,f,h),ku(c,h,f),id(c,h),r!==void 0&&ZC(h,this.ngContentSelectors,r),p=Ye(h.index,f),f[re]=p[re],nd(c,f,null)}catch(h){throw p!==null&&Zl(p),Zl(f),h}finally{k(R.DynamicComponentEnd),Is()}return new qs(this.componentType,f,!!d)}};function GC(e,n,t,r){let o=e?["ng-version","21.2.9"]:vI(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[lu].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let f of d.bindings){a+=f[lu].requiredVars;let p=u+1;f.create&&(f.targetIdx=p,(i??=[]).push(f)),f.update&&(f.targetIdx=p,(s??=[]).push(f))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,f=_o(d);c.push(f)}return $u(0,null,qC(i,s),1,a,c,null,null,null,[o],null)}function qC(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function Fh(e){let n=e[lu].kind;return n==="input"||n==="twoWay"}var qs=class extends Nm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Rr(t[w],V),this.location=zr(this._tNode,t),this.instance=Ye(this._tNode.index,t)[re],this.hostView=this.changeDetectorRef=new yn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=td(r,o[w],o,n,t);this.previousInputValues.set(n,t);let s=Ye(r.index,o);va(s,1)}get injector(){return new Kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function ZC(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var qt=(()=>{class e{static __NG_ELEMENT_ID__=YC}return e})();function YC(){let e=J();return jm(e,C())}var uu=class e extends qt{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return zr(this._hostTNode,this._hostLView)}get injector(){return new Kn(this._hostTNode,this._hostLView)}get parentInjector(){let n=_u(this._hostTNode,this._hostLView);if(cg(n)){let t=js(n,this._hostLView),r=Bs(n),o=t[w].data[r+8];return new Kn(o,t)}else return new Kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Lh(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ws(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Xn(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!nE(n),l;if(c)l=t;else{let b=t||{};l=b.index,r=b.injector,o=b.projectableNodes,i=b.environmentInjector||b.ngModuleRef,s=b.directives,a=b.bindings}let u=c?n:new tr(Dt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let E=(c?d:this.parentInjector).get(ve,null);E&&(i=E)}let f=Dt(u.componentType??{}),p=Ws(this._lContainer,f?.id??null),h=p?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,l,Xn(this._hostTNode,p)),m}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Pp(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ie],l=new e(c,c[Te],c[ie]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Zr(s,o,i,r),n.attachToViewContainerRef(),Xc(Fl(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Lh(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=qo(this._lContainer,t);r&&(Mo(Fl(this._lContainer),t),pa(r[w],r))}detach(n){let t=this._adjustIndex(n,-1),r=qo(this._lContainer,t);return r&&Mo(Fl(this._lContainer),t)!=null?new yn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Lh(e){return e[Ro]}function Fl(e){return e[Ro]||(e[Ro]=[])}function jm(e,n){let t,r=n[e.index];return ct(r)?t=r:(t=Tm(r,n,null,e),n[e.index]=t,Wu(n,t)),QC(t,n,e,r),new uu(t,e,n)}function KC(e,n){let t=e[L],r=t.createComment(""),o=Ve(n,e),i=t.parentNode(o);return $s(t,i,r,t.nextSibling(o),!1),r}var QC=XC,JC=()=>!1;function Vm(e,n,t){return JC(e,n,t)}function XC(e,n,t,r){if(e[fn])return;let o;t.type&8?o=Ze(r):o=KC(n,t),e[fn]=o}var du=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},fu=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)ld(n,t).matches!==null&&this.queries[t].setDirty()}},Zs=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=ow(n):this.predicate=n}},pu=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},hu=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,ew(t,i)),this.matchTNodeWithReadOption(n,t,xs(t,n,i,!1,!1))}else r===_t?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,xs(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===be||o===qt||o===_t&&t.type&4)this.addMatch(t.index,-2);else{let i=xs(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function ew(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function tw(e,n){return e.type&11?zr(e,n):e.type&4?ba(e,n):null}function nw(e,n,t,r){return t===-1?tw(n,e):t===-2?rw(e,n,r):$o(e,e[w],t,n)}function rw(e,n,t){if(t===be)return zr(n,e);if(t===_t)return ba(n,e);if(t===qt)return jm(n,e)}function Hm(e,n,t,r){let o=n[Ct].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(nw(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function gu(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Hm(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=Q;d<u.length;d++){let f=u[d];f[un]===f[ie]&&gu(f[w],f,l,r)}if(u[Wn]!==null){let d=u[Wn];for(let f=0;f<d.length;f++){let p=d[f];gu(p[w],p,l,r)}}}}}return r}function cd(e,n){return e[Ct].queries[n].queryList}function $m(e,n,t){let r=new Hs((t&4)===4);return Lp(e,n,r,r.destroy),(n[Ct]??=new fu).queries.push(new du(r))-1}function Um(e,n,t){let r=H();return r.firstCreatePass&&(zm(r,new Zs(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),$m(r,C(),n)}function Wm(e,n,t,r){let o=H();if(o.firstCreatePass){let i=J();zm(o,new Zs(n,t,r),i.index),iw(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return $m(o,C(),t)}function ow(e){return e.split(",").map(n=>n.trim())}function zm(e,n,t){e.queries===null&&(e.queries=new pu),e.queries.track(new hu(n,t))}function iw(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function ld(e,n){return e.queries.getByIndex(n)}function Gm(e,n){let t=e[w],r=ld(t,n);return r.crossesNgTemplate?gu(t,e,n,[]):Hm(t,e,r,n)}function ud(e,n,t){let r,o=ho(()=>{r._dirtyCounter();let i=sw(r,e);if(n&&i===void 0)throw new I(-951,!1);return i});return r=o[Y],r._dirtyCounter=$(0),r._flatValue=void 0,o}function dd(e){return ud(!0,!1,e)}function fd(e){return ud(!0,!0,e)}function qm(e){return ud(!1,!1,e)}function Zm(e,n){let t=e[Y];t._lView=C(),t._queryIndex=n,t._queryList=cd(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function sw(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[M]&4)return n?void 0:ye;let o=cd(t,r),i=Gm(t,r);return o.reset(i,yg),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var vn=class{},Ym=class{};function pd(e,n){return new Zo(e,n??null,[])}var Zo=class extends vn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Gs(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Yc(n);this._bootstrapComponents=Wg(i.bootstrap),this._r3Injector=Ml(n,t,[{provide:vn,useValue:this},{provide:ni,useValue:this.componentFactoryResolver},...r],To(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Ys=class extends Ym{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Zo(this.moduleType,n,[])}};var Yo=class extends vn{injector;componentFactoryResolver=new Gs(this);instance=null;constructor(n){super();let t=new Ln([...n.providers,{provide:vn,useValue:this},{provide:ni,useValue:this.componentFactoryResolver}],n.parent||xo(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function hd(e,n,t=null){return new Yo({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var aw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=fs(!1,t.type),o=r.length>0?hd([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(_(ve))})}return e})();function Pe(e){return Qo(()=>{let n=Km(e),t=j(y({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Nu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(aw).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,styles:e.styles||ye,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&$e("NgStandalone"),Qm(t);let r=e.dependencies;return t.directiveDefs=Bh(r,cw),t.pipeDefs=Bh(r,Kc),t.id=dw(t),t})}function cw(e){return Dt(e)||_o(e)}function he(e){return Qo(()=>({type:e.type,bootstrap:e.bootstrap||ye,declarations:e.declarations||ye,imports:e.imports||ye,exports:e.exports||ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function lw(e,n){if(e==null)return it;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ca.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function uw(e){if(e==null)return it;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function te(e){return Qo(()=>{let n=Km(e);return Qm(n),n})}function Km(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||it,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ye,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:lw(e.inputs,n),outputs:uw(e.outputs),debugInfo:null}}function Qm(e){e.features?.forEach(n=>n(e))}function Bh(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function dw(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function sr(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=fw,t.hostDirectives=r?e.map(mu):[e]):r?t.hostDirectives.unshift(...e.map(mu)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function fw(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,Jm(s,n,r),o.set(s,[a,n.length-1])}i===0&<(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function Jm(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)jh(mu(i),n,t)}else jh(r,n,t)}function jh(e,n,t){let r=_o(e.directive);pw(r.declaredInputs,e.inputs),Jm(r,n,t),t.set(r,e),n.push(r)}function mu(e){return typeof e=="function"?{directive:le(e),inputs:it,outputs:it}:{directive:le(e.directive),inputs:Vh(e.inputs),outputs:Vh(e.outputs)}}function Vh(e){if(e===void 0||e.length===0)return it;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function pw(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function hw(e){return Object.getPrototypeOf(e.prototype).constructor}function Ee(e){let n=hw(e.type),t=!0,r=[e];for(;n;){let o;if(lt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new I(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=Ll(e.inputs),s.declaredInputs=Ll(e.declaredInputs),s.outputs=Ll(e.outputs);let a=o.hostBindings;a&&bw(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&yw(e,c),l&&vw(e,l),gw(e,o),bp(e.outputs,o.outputs),lt(o)&&o.data.animation){let u=e.data;u.animation=(u.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===Ee&&(t=!1)}}n=Object.getPrototypeOf(n)}mw(r)}function gw(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function mw(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=jr(o.hostAttrs,t=jr(t,o.hostAttrs))}}function Ll(e){return e===it?{}:e===ye?[]:e}function yw(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function vw(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function bw(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function Xm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=jr(e.mergedAttrs,e.attrs);let u=e.tView=$u(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),Gn(e,!1);let c=Ew(t,n,e,r);Cs()&&Qu(t,n,c,e),Vr(c,n);let l=Tm(c,n,c,e);n[r+V]=l,Wu(n,l),Vm(l,e,n)}function Dw(e,n,t,r,o,i,s,a,c,l,u){let d=t+V,f;return n.firstCreatePass?(f=ir(n,d,4,s||null,a||null),vs()&&xm(n,e,f,He(n.consts,l),Xu),ig(n,f)):f=n.data[d],Xm(f,e,n,t,r,o,i,c),Ar(f)&&ga(n,e,f),l!=null&&Gr(e,f,u),f}function nr(e,n,t,r,o,i,s,a,c,l,u){let d=t+V,f;if(n.firstCreatePass){if(f=ir(n,d,4,s||null,a||null),l!=null){let p=He(n.consts,l);f.localNames=[];for(let h=0;h<p.length;h+=2)f.localNames.push(p[h],-1)}}else f=n.data[d];return Xm(f,e,n,t,r,o,i,c),l!=null&&Gr(e,f,u),f}function Zt(e,n,t,r,o,i,s,a){let c=C(),l=H(),u=He(l.consts,i);return Dw(c,l,e,n,t,r,o,u,void 0,s,a),Zt}function ey(e,n,t,r,o,i,s,a){let c=C(),l=H(),u=He(l.consts,i);return nr(c,l,e,n,t,r,o,u,void 0,s,a),ey}var Ew=Iw;function Iw(e,n,t,r){return Fo(!0),n[L].createComment("")}var ke=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(ke||{}),Hh=0,Cw=1,oe=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(oe||{}),Ks=(function(e){return e[e.Initial=-1]="Initial",e})(Ks||{}),ww=0,ri=1;var Tw=4,Sw=5,_w=6,Mw=7,Bl=8,Nw=9,gd=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(gd||{});function Aw(e,n,t){let r=ny(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function ks(e,n){let t=ny(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function ty(e){ks(1,e),ks(0,e),ks(2,e)}function ny(e){let n=Tw;return e===1?n=Sw:e===2&&(n=Nw),n}function wa(e){return e+1}function Yr(e,n){let t=e[w],r=wa(n.index);return e[r]}function xw(e,n,t){let r=e[w],o=wa(n);e[o]=t}function Kr(e,n){let t=wa(n.index);return e.data[t]}function Rw(e,n,t){let r=wa(n);e.data[r]=t}function Ow(e,n,t){let r=n[w],o=Kr(r,t);switch(e){case oe.Complete:return o.primaryTmplIndex;case oe.Loading:return o.loadingTmplIndex;case oe.Error:return o.errorTmplIndex;case oe.Placeholder:return o.placeholderTmplIndex;default:return null}}function $h(e,n){return n===oe.Placeholder?e.placeholderBlockConfig?.[Hh]??null:n===oe.Loading?e.loadingBlockConfig?.[Hh]??null:null}function kw(e){return e.loadingBlockConfig?.[Cw]??null}function Uh(e,n){if(!e||e.length===0)return n;let t=new Set(e);for(let r of n)t.add(r);return e.length===t.size?e:Array.from(t)}function Pw(e,n){let t=n.primaryTmplIndex+V;return Rr(e,t)}var Fw=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?hd(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e})}return e})();var ry=new D("");function jl(e,n,t){return e.get(Fw).getOrCreateInjector(n,e,t,"")}function Lw(e,n,t){if(e instanceof Br){let o=e.injector,i=e.parentInjector,s=jl(i,n,t);return new Br(o,s)}let r=e.get(ve);if(r!==e){let o=jl(r,n,t);return new Br(e,o)}return jl(e,n,t)}function gn(e,n,t,r=!1){let o=t[ie],i=o[w];if(pn(o))return;let s=Yr(o,n),a=s[ri],c=s[Mw];if(!(c!==null&&e<c)&&Wh(a,e)&&Wh(s[ww]??-1,e)){let l=Kr(i,n),d=!r&&!0&&(kw(l)!==null||$h(l,oe.Loading)!==null||$h(l,oe.Placeholder))?Hw:jw;try{d(e,s,t,n,o)}catch(f){ed(o,f)}}}function Bw(e,n){let t=e[dn]?.findIndex(o=>o.data[Ru]===n[ri])??-1;return{dehydratedView:t>-1?e[dn][t]:null,dehydratedViewIx:t}}function jw(e,n,t,r,o){k(R.DeferBlockStateStart);let i=Ow(e,o,r);if(i!==null){n[ri]=e;let s=o[w],a=i+V,c=Rr(s,a),l=0;rd(t,l);let u;if(e===oe.Complete){let h=Kr(s,r),m=h.providers;m&&m.length>0&&(u=Lw(o[ae],h,m))}let{dehydratedView:d,dehydratedViewIx:f}=Bw(t,n),p=qr(o,c,null,{injector:u,dehydratedView:d});if(Zr(t,p,l,Xn(c,d)),va(p,2),f>-1&&t[dn]?.splice(f,1),(e===oe.Complete||e===oe.Error)&&Array.isArray(n[Bl])){for(let h of n[Bl])h();n[Bl]=null}}k(R.DeferBlockStateEnd)}function Wh(e,n){return e<n}function Vw(e,n){let t=e[n.index];gn(oe.Placeholder,n,t)}function zh(e,n,t){e.loadingPromise.then(()=>{e.loadingState===ke.COMPLETE?gn(oe.Complete,n,t):e.loadingState===ke.FAILED&&gn(oe.Error,n,t)})}var Hw=null;var oy=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function md(e){return typeof e=="function"&&e[Y]!==void 0}function yd(e){return md(e)&&typeof e.set=="function"}var vd=new D("");function Ta(e){return!!e&&typeof e.then=="function"}function bd(e){return!!e&&typeof e.subscribe=="function"}var Dd=new D("");function Ed(e){return It([{provide:Dd,multi:!0,useValue:e}])}var Id=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(Dd,{optional:!0})??[];injector=g(se);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=_r(this.injector,o);if(Ta(i))t.push(i);else if(bd(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iy=new D("");function sy(){lc(()=>{let e="";throw new I(600,e)})}function ay(e){return e.isBoundToModule}var $w=10;var oi=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Wt);afterRenderManager=g(da);zonelessEnabled=g(Bo);rootEffectScheduler=g(ws);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new K;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(qn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ze(t=>!t))}constructor(){g(ht,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=se.NULL){return this._injector.get(ue).run(()=>{k(R.BootstrapComponentStart);let s=t instanceof Da;if(!this._injector.get(Id).done){let h="";throw new I(405,h)}let c;s?c=t:c=this._injector.get(ni).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=ay(c)?void 0:this._injector.get(vn),u=r||c.selector,d=c.create(o,[],u,l),f=d.location.nativeElement,p=d.injector.get(vd,null);return p?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Ho(this.components,d),p?.unregisterApplication(f)}),this._loadComponent(d),k(R.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(R.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ua.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(R.ChangeDetectionEnd),new I(101,!1);let t=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(t),this.afterTick.next(),k(R.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(er,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<$w;){k(R.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{k(R.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Oo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Em(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Oo(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Ho(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(iy,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ho(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new I(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ho(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function cy(){let e,n;return{promise:new Promise((r,o)=>{e=r,n=o}),resolve:e,reject:n}}function ly(e,n,t){let r=n[ae],o=n[w];if(e.loadingState!==ke.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Yr(n,t),s=Pw(o,e);e.loadingState=ke.IN_PROGRESS,ks(1,i);let a=e.dependencyResolverFn,c=r.get(Zn).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,f=[],p=[];for(let h=0;h<l.length;h++){let m=l[h];if(m.status==="fulfilled"){let b=m.value,E=Dt(b)||_o(b);if(E)f.push(E);else{let x=Kc(b);x&&p.push(x)}}else{u=!0,d=m.reason instanceof Error?m.reason:new Error(String(m.reason));break}}if(u){if(e.loadingState=ke.FAILED,e.errorTmplIndex===null){let m="",b=new I(-750,m);ed(n,b)}}else{e.loadingState=ke.COMPLETE;let h=s.tView;if(f.length>0){h.directiveRegistry=Uh(h.directiveRegistry,f);let m=f.map(E=>E.type),b=fs(!1,...m);e.providers=b}p.length>0&&(h.pipeRegistry=Uh(h.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ke.COMPLETE,c()}),e.loadingPromise)}function Uw(e,n){return n[ae].get(ry,null,{optional:!0})?.behavior!==gd.Manual}function Ww(e,n,t){let r=n[w],o=n[t.index];if(!Uw(e,n))return;let i=Yr(n,t),s=Kr(r,t);switch(ty(i),s.loadingState){case ke.NOT_STARTED:gn(oe.Loading,t,o),ly(s,n,t),s.loadingState===ke.IN_PROGRESS&&zh(s,t,o);break;case ke.IN_PROGRESS:gn(oe.Loading,t,o),zh(s,t,o);break;case ke.COMPLETE:gn(oe.Complete,t,o);break;case ke.FAILED:gn(oe.Error,t,o);break;default:}}function zw(e,n,t){return e===0?Gh(n,t):e===2?!Gh(n,t):!0}function Gw(e){return e!=null&&(e&1)===1}function Gh(e,n){let t=e[ae],r=Kr(e[w],n),o=Ou(t),i=Gw(r.flags),a=Yr(e,n)[_w]!==null;return!(i&&a&&o)}function qw(e,n,t,r,o,i,s,a,c,l){let u=C(),d=H(),f=e+V,p=nr(u,d,e,null,0,0),h=u[ae],m=Ou(h);if(d.firstCreatePass){$e("NgDefer");let Re={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:ke.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,Re,a,s),Rw(d,f,Re)}let b=u[f];Vm(b,p,u);let E=null,x=null;if(b[dn]?.length>0){let Re=b[dn][0].data;x=Re[xu]??null,E=Re[Ru]}let z=[null,Ks.Initial,null,null,null,null,x,E,null,null];xw(u,f,z);let U=null;x!==null&&m&&(U=h.get(Mg),U.add(x,{lView:u,tNode:p,lContainer:b}));let tt=()=>{ty(z),x!==null&&U?.cleanup([x])};Aw(0,z,()=>pl(u,tt)),ys(u,tt)}function Zw(e){let n=C(),t=Or();if(!zw(0,n,t))return;let r=Ut();if(Me(n,r,e)){let o=T(null);try{let i=!!e,a=Yr(n,t)[ri];i===!1&&a===Ks.Initial?Vw(n,t):i===!0&&(a===Ks.Initial||a===oe.Placeholder)&&Ww(0,n,t)}finally{T(o)}}}function Je(e,n,t,r){let o=C(),i=Ut();if(Me(o,i,n)){let s=H(),a=Or();nC(a,o,e,n,t,r)}return Je}function Ps(e){if($e("NgAnimateEnter"),!ti)return Ps;let n=C();if(Qg(n))return Ps;let t=J(),r=n[ae].get(ue);return em(wh(n),t,()=>Yw(n,t,e,r)),sm(n[ae]),am(n[ae],wh(n)),Ps}function Yw(e,n,t,r){let o=Ve(n,e),i=e[L],s=Xg(t),a=[],c=!1,l=d=>{if(Wo(d)!==o)return;let f=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,f,u)})},u=d=>{Wo(d)===o&&(qu(d,o)&&(c=!0),Kw(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l))}),wI(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(rm(o,Qn,ti),!Qn.has(o))){for(let d of s)i.removeClass(o,d);Gu(o)}})})}}function Kw(e,n,t){let r=Hr.get(n);if(!(Wo(e)!==n||!r)&&qu(e,n)){e.stopPropagation();for(let o of r.classList)t.removeClass(n,o);Gu(n)}}function Fs(e){if($e("NgAnimateLeave"),!ti)return Fs;let n=C();if(Qg(n))return Fs;let r=J(),o=n[ae].get(ue);return em(la(n),r,()=>Qw(n,r,e,o)),sm(n[ae]),Fs}function Qw(e,n,t,r){let{promise:o,resolve:i}=cy(),s=Ve(n,e),a=e[L];mn.add(e[wt]),(la(e).get(n.index).resolvers??=[]).push(i);let c=Xg(t);return c&&c.length>0?Jw(s,n,e,c,a,r):i(),{promise:o,resolve:i}}function Jw(e,n,t,r,o,i){SI(e,o);let s=[],a=la(t).get(n.index)?.resolvers,c,l=!1,u=d=>{if(!(Wo(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||qu(d,e))){if(l=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),Qn.delete(e),Ch(n,e),Array.isArray(n.projection))for(let p of r)o.removeClass(e,p);Th(a,s),Sh(t,n)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u))}),Jg(n,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;rm(e,Qn,ti);let d=Qn.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(Ch(n,e),Th(a,s),Sh(t,n))})})}var yu=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function Vl(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function Xw(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){T(r);let l=n.length-1;for(T(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],f=Vl(s,u,s,d,t);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),h=n[l],m=Vl(a,p,l,h,t);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let b=t(s,u),E=t(a,p),x=t(s,d);if(Object.is(x,E)){let z=t(l,h);Object.is(z,b)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Qs,i??=Zh(e,s,a,t),vu(e,o,s,x))e.updateValue(s,d),s++,a++;else if(i.has(x))o.set(b,e.detach(s)),a--;else{let z=e.create(s,n[s]);e.attach(s,z),s++,a++}}for(;s<=l;)qh(e,o,t,s,n[s]),s++}else if(n!=null){T(r);let l=n[Symbol.iterator]();T(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),f=u.value,p=Vl(s,d,s,f,t);if(p!==0)p<0&&e.updateValue(s,f),s++,u=l.next();else{o??=new Qs,i??=Zh(e,s,a,t);let h=t(s,f);if(vu(e,o,s,h))e.updateValue(s,f),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,f)),s++,a++,u=l.next();else{let m=t(s,d);o.set(m,e.detach(s)),a--}}}for(;!u.done;)qh(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function vu(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function qh(e,n,t,r,o){if(vu(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Zh(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Qs=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function eT(e,n,t,r,o,i,s,a){$e("NgControlFlow");let c=C(),l=H(),u=He(l.consts,i);return nr(c,l,e,n,t,r,o,u,256,s,a),Cd}function Cd(e,n,t,r,o,i,s,a){$e("NgControlFlow");let c=C(),l=H(),u=He(l.consts,i);return nr(c,l,e,n,t,r,o,u,512,s,a),Cd}function tT(e,n){$e("NgControlFlow");let t=C(),r=Ut(),o=t[r]!==pe?t[r]:-1,i=o!==-1?Js(t,V+o):void 0,s=0;if(Me(t,r,e)){let a=T(null);try{if(i!==void 0&&rd(i,s),e!==-1){let c=V+e,l=Js(t,c),u=Iu(t[w],c),d=Mm(l,u,t),f=qr(t,u,n,{dehydratedView:d});Zr(l,f,s,Xn(u,d))}}finally{T(a)}}else if(i!==void 0){let a=Sm(i,s);a!==void 0&&(a[re]=n)}}var bu=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Q}};function nT(e){return e}function rT(e,n){return n}var Du=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function oT(e,n,t,r,o,i,s,a,c,l,u,d,f){$e("NgControlFlow");let p=C(),h=H(),m=c!==void 0,b=C(),E=a?s.bind(b[Se][re]):s,x=new Du(m,E);b[V+e]=x,nr(p,h,e+1,n,t,r,o,He(h.consts,i),256),m&&nr(p,h,e+2,c,l,u,d,He(h.consts,f),512)}var Eu=class extends yu{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Q}at(n){return this.getLView(n)[re].$implicit}attach(n,t){let r=t[Vn];this.needsIndexUpdate||=n!==this.length,Zr(this.lContainer,t,n,Xn(this.templateTNode,r)),sT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,aT(this.lContainer,n),cT(this.lContainer,n)}create(n,t){let r=Ws(this.lContainer,this.templateTNode.tView.ssrId);return qr(this.hostLView,this.templateTNode,new bu(this.lContainer,t,n),{dehydratedView:r})}destroy(n){pa(n[w],n)}updateValue(n,t){this.getLView(n)[re].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[re].$index=n}getLView(n){return lT(this.lContainer,n)}};function iT(e){let n=T(null),t=Ke();try{let r=C(),o=r[w],i=r[t],s=t+1,a=Js(r,s);if(i.liveCollection===void 0){let l=Iu(o,s);i.liveCollection=new Eu(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(Xw(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Ut(),u=c.length===0;if(Me(r,l,u)){let d=t+2,f=Js(r,d);if(u){let p=Iu(o,d),h=Mm(f,p,r),m=qr(r,p,void 0,{dehydratedView:h});Zr(f,m,0,Xn(p,h))}else o.firstUpdatePass&&TC(f),rd(f,0)}}}finally{T(n)}}function Js(e,n){return e[n]}function sT(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t],o=r?r[Tt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ae];kI(i,o),mn.delete(r[wt]),o.detachedLeaveAnimationFns=void 0}}function aT(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t],o=r?r[Tt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function cT(e,n){return qo(e,n)}function lT(e,n){return Sm(e,n)}function Iu(e,n){return Rr(e,n)}function ne(e,n,t){let r=C(),o=Ut();if(Me(r,o,n)){let i=H(),s=Or();hm(s,r,e,n,r[L],t)}return ne}function Cu(e,n,t,r,o){td(n,e,t,o?"class":"style",r)}function rr(e,n,t,r){let o=C(),i=o[w],s=e+V,a=i.firstCreatePass?od(s,o,2,n,Xu,vs(),t,r):i.data[s];if(Ht(a)){let c=o[at].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Lm(l),()=>(Yh(e,n,o,a,r),rr))}}return Yh(e,n,o,a,r),rr}function Yh(e,n,t,r,o){if(ma(r,t,e,n,uy),Ar(r)){let i=t[w];ga(i,t,r),ku(i,r,t)}o!=null&&Gr(t,r)}function Qr(){let e=H(),n=J(),t=ya(n);return e.firstCreatePass&&id(e,t),vl(t)&&bl(),ml(),t.classesWithoutHost!=null&&cE(t)&&Cu(e,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&lE(t)&&Cu(e,t,C(),t.stylesWithoutHost,!1),Qr}function ar(e,n,t,r){return rr(e,n,t,r),Qr(),ar}function Jr(e,n,t,r){let o=C(),i=o[w],s=e+V,a=i.firstCreatePass?Om(s,i,2,n,t,r):i.data[s];return ma(a,o,e,n,uy),r!=null&&Gr(o,a),Jr}function Xr(){let e=J(),n=ya(e);return vl(n)&&bl(),ml(),Xr}function ii(e,n,t,r){return Jr(e,n,t,r),Xr(),ii}var uy=(e,n,t,r,o)=>(Fo(!0),Bg(n[L],r,Xp()));function cr(e,n,t){let r=C(),o=r[w],i=e+V,s=o.firstCreatePass?od(i,r,8,"ng-container",Xu,vs(),n,t):o.data[i];if(ma(s,r,e,"ng-container",fy),Ar(s)){let a=r[w];ga(a,r,s),ku(a,s,r)}return t!=null&&Gr(r,s),cr}function En(){let e=H(),n=J(),t=ya(n);return e.firstCreatePass&&id(e,t),En}function Sa(e,n,t){return cr(e,n,t),En(),Sa}function dy(e,n,t){let r=C(),o=r[w],i=e+V,s=o.firstCreatePass?Om(i,o,8,"ng-container",n,t):o.data[i];return ma(s,r,e,"ng-container",fy),t!=null&&Gr(r,s),dy}function uT(){let e=J(),n=ya(e);return En}var fy=(e,n,t,r,o)=>(Fo(!0),XE(n[L],""));function dT(){return C()}function _a(e,n,t){let r=C(),o=Ut();if(Me(r,o,n)){let i=H(),s=Or();gm(s,r,e,n,r[L],t)}return _a}var si="en-US";var fT=si;function py(e){typeof e=="string"&&(fT=e.toLowerCase().replace(/_/g,"-"))}function Ma(e,n,t){let r=C(),o=H(),i=J();return gy(o,r,r[L],i,e,n,t),Ma}function hy(e,n,t){let r=C(),o=H(),i=J();return(i.type&3||t)&&Pm(i,o,r,t,r[L],e,n,Os(i,r,n)),hy}function gy(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Os(r,n,i),Pm(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let f=u[d],p=u[d+1];c??=Os(r,n,i),Ph(r,n,f,p,o,c)}if(l&&l.length)for(let d of l)c??=Os(r,n,i),Ph(r,n,d,o,o,c)}}function Xe(e=1){return Qp(e)}function pT(e,n){let t=null,r=fI(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?Gg(e,i,!0):gI(r,i))return o}return t}function At(e){let n=C()[Se][Te];if(!n.projection){let t=e?e.length:1,r=n.projection=Tp(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?pT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function xt(e,n=0,t,r,o,i){let s=C(),a=H(),c=r?e+1:null;c!==null&&nr(s,a,c,r,o,i,null,t);let l=ir(a,V+e,16,null,t||null);l.projection===null&&(l.projection=n),Il();let d=!s[Vn]||yl();s[Se][Te].projection[l.projection]===null&&c!==null?hT(s,a,c):d&&!ia(l)&&zI(a,s,l)}function hT(e,n,t){let r=V+t,o=n.data[r],i=e[r],s=Ws(i,o.tView.ssrId),a=qr(e,o,void 0,{dehydratedView:s});Zr(i,a,0,Xn(o,s))}function Na(e,n,t,r){return Wm(e,n,t,r),Na}function my(e,n,t){return Um(e,n,t),my}function eo(e){let n=C(),t=H(),r=Ds();Po(r+1);let o=ld(t,r);if(e.dirty&&kp(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Gm(n,r);e.reset(i,yg),e.notifyOnChanges()}return!0}return!1}function to(){return cd(C(),Ds())}function wd(e,n,t,r,o){return Zm(n,Wm(e,t,r,o)),wd}function yy(e,n,t,r){return Zm(e,Um(n,t,r)),yy}function vy(e=1){Po(Ds()+e)}function gT(e){let n=Cl();return ul(n,V+e)}function Ms(e,n){return e<<17|n<<2}function or(e){return e>>17&32767}function mT(e){return(e&2)==2}function yT(e,n){return e&131071|n<<17}function wu(e){return e|2}function Ur(e){return(e&131068)>>2}function Hl(e,n){return e&-131069|n<<2}function vT(e){return(e&1)===1}function Tu(e){return e|1}function bT(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=or(s),c=Ur(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||Sr(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let f=or(e[a+1]);e[r+1]=Ms(f,a),f!==0&&(e[f+1]=Hl(e[f+1],r)),e[a+1]=yT(e[a+1],r)}else e[r+1]=Ms(a,0),a!==0&&(e[a+1]=Hl(e[a+1],r)),a=r;else e[r+1]=Ms(c,0),a===0?a=r:e[c+1]=Hl(e[c+1],r),c=r;l&&(e[r+1]=wu(e[r+1])),Kh(e,u,r,!0),Kh(e,u,r,!1),DT(n,u,e,r,i),s=Ms(a,c),i?n.classBindings=s:n.styleBindings=s}function DT(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Sr(i,n)>=0&&(t[r+1]=Tu(t[r+1]))}function Kh(e,n,t,r){let o=e[t+1],i=n===null,s=r?or(o):Ur(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];ET(c,n)&&(a=!0,e[s+1]=r?Tu(l):wu(l)),s=r?or(l):Ur(l)}a&&(e[t+1]=r?wu(o):Tu(o))}function ET(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Sr(e,n)>=0:!1}var de={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function by(e){return e.substring(de.key,de.keyEnd)}function IT(e){return e.substring(de.value,de.valueEnd)}function CT(e){return Iy(e),Dy(e,Wr(e,0,de.textEnd))}function Dy(e,n){let t=de.textEnd;return t===n?-1:(n=de.keyEnd=TT(e,de.key=n,t),Wr(e,n,t))}function wT(e){return Iy(e),Ey(e,Wr(e,0,de.textEnd))}function Ey(e,n){let t=de.textEnd,r=de.key=Wr(e,n,t);return t===r?-1:(r=de.keyEnd=ST(e,r,t),r=Qh(e,r,t,58),r=de.value=Wr(e,r,t),r=de.valueEnd=_T(e,r,t),Qh(e,r,t,59))}function Iy(e){de.key=0,de.keyEnd=0,de.value=0,de.valueEnd=0,de.textEnd=e.length}function Wr(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function TT(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function ST(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function Qh(e,n,t,r){return n=Wr(e,n,t),n<t&&n++,n}function _T(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Jh(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Jh(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Jh(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function no(e,n,t){return Cy(e,n,t,!1),no}function Td(e,n){return Cy(e,n,null,!0),Td}function Sd(e){wy(_y,MT,e,!1)}function MT(e,n){for(let t=wT(n);t>=0;t=Ey(n,t))_y(e,by(n),IT(n))}function Ae(e){wy(PT,NT,e,!0)}function NT(e,n){for(let t=CT(n);t>=0;t=Dy(n,t))No(e,by(n),!0)}function Cy(e,n,t,r){let o=C(),i=H(),s=ko(2);if(i.firstUpdatePass&&Sy(i,e,s,r),n!==pe&&Me(o,s,n)){let a=i.data[Ke()];My(i,a,o,o[L],e,o[s+1]=LT(n,t),r,s)}}function wy(e,n,t,r){let o=H(),i=ko(2);o.firstUpdatePass&&Sy(o,null,i,r);let s=C();if(t!==pe&&Me(s,i,t)){let a=o.data[Ke()];if(Ny(a,r)&&!Ty(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=is(c,t||"")),Cu(o,a,s,t,r)}else FT(o,a,s,s[L],s[i+1],s[i+1]=kT(e,n,t),r,i)}}function Ty(e,n){return n>=e.expandoStartIndex}function Sy(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Ke()],s=Ty(e,t);Ny(i,r)&&n===null&&!s&&(n=!1),n=AT(o,i,n,r),bT(o,i,n,t,s,r)}}function AT(e,n,t,r){let o=qp(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=$l(null,e,n,t,r),t=Ko(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=$l(o,e,n,t,r),i===null){let c=xT(e,n,r);c!==void 0&&Array.isArray(c)&&(c=$l(null,e,n,c[1],r),c=Ko(c,n.attrs,r),RT(e,n,r,c))}else i=OT(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function xT(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Ur(r)!==0)return e[or(r)]}function RT(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[or(o)]=r}function OT(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ko(r,s,t)}return Ko(r,n.attrs,t)}function $l(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Ko(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Ko(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),No(e,s,t?!0:n[++i]))}return e===void 0?null:e}function kT(e,n,t){if(t==null||t==="")return ye;let r=[],o=Ne(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function _y(e,n,t){No(e,n,Ne(t))}function PT(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&No(e,r,t)}function FT(e,n,t,r,o,i,s,a){o===pe&&(o=ye);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,f!==p&&(h=d,m=p)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=p),h!==null&&My(e,n,t,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function My(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=vT(l)?Xh(c,n,t,o,Ur(l),s):void 0;if(!Xs(u)){Xs(i)||mT(l)&&(i=Xh(c,null,t,o,a,s));let d=ll(Ke(),t);qI(r,s,d,o,i)}}function Xh(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=t[o+1];f===pe&&(f=d?ye:void 0);let p=d?ds(f,r):u===r?f:void 0;if(l&&!Xs(p)&&(p=ds(c,r)),Xs(p)&&(a=p,s))return a;let h=e[o+1];o=s?or(h):Ur(h)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=ds(c,r))}return a}function Xs(e){return e!==void 0}function LT(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=To(Ne(e)))),e}function Ny(e,n){return(e.flags&(n?8:16))!==0}function ai(e,n=""){let t=C(),r=H(),o=e+V,i=r.firstCreatePass?ir(r,o,1,n,null):r.data[o],s=BT(r,t,i,n);t[o]=s,Cs()&&Qu(r,t,s,i),Gn(i,!1)}var BT=(e,n,t,r)=>(Fo(!0),QE(n[L],r));function jT(e,n,t,r=""){return Me(e,Ut(),t)?n+Et(t)+r:pe}function VT(e,n,t,r,o,i=""){let s=Tl(),a=$r(e,s,t,o);return ko(2),a?n+Et(t)+r+Et(o)+i:pe}function HT(e,n,t,r,o,i,s,a=""){let c=Tl(),l=ad(e,c,t,o,s);return ko(3),l?n+Et(t)+r+Et(o)+i+Et(s)+a:pe}function ro(e){return _d("",e),ro}function _d(e,n,t){let r=C(),o=jT(r,e,n,t);return o!==pe&&Md(r,Ke(),o),_d}function Ay(e,n,t,r,o){let i=C(),s=VT(i,e,n,t,r,o);return s!==pe&&Md(i,Ke(),s),Ay}function xy(e,n,t,r,o,i,s){let a=C(),c=HT(a,e,n,t,r,o,i,s);return c!==pe&&Md(a,Ke(),c),xy}function Md(e,n,t){let r=ll(n,e);JE(e[L],r,t)}function Ry(e,n,t){yd(n)&&(n=n());let r=C(),o=Ut();if(Me(r,o,n)){let i=H(),s=Or();hm(s,r,e,n,r[L],t)}return Ry}function $T(e,n){let t=yd(e);return t&&e.set(n),t}function Oy(e,n){let t=C(),r=H(),o=J();return gy(r,t,t[L],o,e,n),Oy}var ky={};function Py(e){$e("NgLet");let n=H(),t=C(),r=e+V,o=ir(n,r,128,null,null);return Gn(o,!1),hs(n,t,r,ky),Py}function UT(e){let n=H(),t=C(),r=Ke();return hs(n,t,r,e),e}function WT(e){let n=Cl(),t=ul(n,V+e);if(t===ky)throw new I(314,!1);return t}function eg(e,n,t){let r=H();r.firstCreatePass&&Fy(n,r.data,r.blueprint,lt(e),t)}function Fy(e,n,t,r,o){if(e=le(e),Array.isArray(e))for(let i=0;i<e.length;i++)Fy(e[i],n,t,r,o);else{let i=H(),s=C(),a=J(),c=Fn(e)?e:le(e.provide),l=rl(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Fn(e)||!e.multi){let p=new Jn(l,o,ee,null),h=Wl(c,n,o?u:u+f,d);h===-1?(Gl(Vs(a,s),i,c),Ul(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[h]=p,s[h]=p)}else{let p=Wl(c,n,u+f,d),h=Wl(c,n,u,u+f),m=p>=0&&t[p],b=h>=0&&t[h];if(o&&!b||!o&&!m){Gl(Vs(a,s),i,c);let E=qT(o?GT:zT,t.length,o,r,l,e);!o&&b&&(t[h].providerFactory=E),Ul(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(E),s.push(E)}else{let E=Ly(t[o?h:p],l,!o&&r);Ul(i,e,p>-1?p:h,E)}!o&&r&&b&&t[h].componentProviders++}}}function Ul(e,n,t,r){let o=Fn(n),i=xp(n);if(o||i){let c=(i?le(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function Ly(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Wl(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function zT(e,n,t,r,o){return Su(this.multi,[])}function GT(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=$o(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Su(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Su(i,s);return s}function Su(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function qT(e,n,t,r,o,i){let s=new Jn(e,t,ee,null);return s.multi=[],s.index=n,s.componentProviders=0,Ly(s,o,r&&!t),s}function Ue(e,n){return t=>{t.providersResolver=(r,o)=>eg(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>eg(r,o?o(n):n,!0))}}function ZT(e,n){let t=$t()+e,r=C();return r[t]===pe?Dn(r,t,n()):Ia(r,t)}function YT(e,n,t){return tS(C(),$t(),e,n,t)}function Aa(e,n,t,r){return nS(C(),$t(),e,n,t,r)}function KT(e,n,t,r,o){return rS(C(),$t(),e,n,t,r,o)}function QT(e,n,t,r,o,i,s){return oS(C(),$t(),e,n,t,r,o,i)}function JT(e,n,t,r,o,i,s){let a=$t()+e,c=C(),l=Ca(c,a,t,r,o,i);return Me(c,a+4,s)||l?Dn(c,a+5,n(t,r,o,i,s)):Ia(c,a+5)}function XT(e,n,t,r,o,i,s,a){let c=$t()+e,l=C(),u=Ca(l,c,t,r,o,i);return $r(l,c+4,s,a)||u?Dn(l,c+6,n(t,r,o,i,s,a)):Ia(l,c+6)}function eS(e,n,t,r,o,i,s,a,c){let l=$t()+e,u=C(),d=Ca(u,l,t,r,o,i);return ad(u,l+4,s,a,c)||d?Dn(u,l+7,n(t,r,o,i,s,a,c)):Ia(u,l+7)}function xa(e,n){let t=e[n];return t===pe?void 0:t}function tS(e,n,t,r,o,i){let s=n+t;return Me(e,s,o)?Dn(e,s+1,i?r.call(i,o):r(o)):xa(e,s+1)}function nS(e,n,t,r,o,i,s){let a=n+t;return $r(e,a,o,i)?Dn(e,a+2,s?r.call(s,o,i):r(o,i)):xa(e,a+2)}function rS(e,n,t,r,o,i,s,a){let c=n+t;return ad(e,c,o,i,s)?Dn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):xa(e,c+3)}function oS(e,n,t,r,o,i,s,a,c){let l=n+t;return Ca(e,l,o,i,s,a)?Dn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):xa(e,l+4)}function iS(e,n){return ba(e,n)}var ea=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},sS=(()=>{class e{compileModuleSync(t){return new Ys(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Yc(t),i=Wg(o.declarations).reduce((s,a)=>{let c=Dt(a);return c&&s.push(new tr(c)),s},[]);return new ea(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var By=(()=>{class e{applicationErrorHandler=g(Wt);appRef=g(oi);taskService=g(qn);ngZone=g(ue);zonelessEnabled=g(Bo);tracing=g(ht,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new we;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Co):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Rl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?rh:Nl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Co+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 t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jy(){return[{provide:bt,useExisting:By},{provide:ue,useClass:wo},{provide:Bo,useValue:!0}]}function aS(){return typeof $localize<"u"&&$localize.locale||si}var Ra=new D("",{factory:()=>g(Ra,{optional:!0,skipSelf:!0})||aS()});var ci=class{destroyed=!1;listeners=null;errorHandler=g(Ge,{optional:!0});destroyRef=g(X);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new I(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(jt(953,!1));return}if(this.listeners===null)return;let t=T(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{T(t)}}};function li(e){return hp(e)}function xe(e,n){return ho(e,n?.equal)}var cS=e=>e;function lS(e,n){if(typeof e=="function"){let t=Ac(e,cS,n?.equal);return Vy(t,n?.debugName)}else{let t=Ac(e.source,e.computation,e.equal);return Vy(t,e.debugName)}}function Vy(e,n){let t=e[Y],r=e;return r.set=o=>fp(t,o),r.update=o=>pp(t,o),r.asReadonly=Lo.bind(e),r}var Pa=Symbol("InputSignalNode#UNSET"),Qy=j(y({},go),{transformFn:void 0,applyValueToInputSignal(e,n){nn(e,n)}});function Jy(e,n){let t=Object.create(Qy);t.value=e,t.transformFn=n?.transform;function r(){if(Pt(t),t.value===Pa){let o=null;throw new I(-950,o)}return t.value}return r[Y]=t,r}var Hy=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Mu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function aj(e){return new ci}function $y(e,n){return Jy(e,n)}function TS(e){return Jy(Pa,e)}var Ie=($y.required=TS,$y);function Uy(e,n){return dd(n)}function SS(e,n){return fd(n)}var cj=(Uy.required=SS,Uy);function Wy(e,n){return dd(n)}function _S(e,n){return fd(n)}var MS=(Wy.required=_S,Wy);function lj(e,n){return qm(n)}function Xy(e,n){let t=Object.create(Qy),r=new ci;t.value=e;function o(){return Pt(t),zy(t.value),t.value}return o[Y]=t,o.asReadonly=Lo.bind(o),o.set=i=>{t.equal(t.value,i)||(nn(t,i),r.emit(i))},o.update=i=>{zy(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function zy(e){if(e===Pa)throw new I(952,!1)}function Gy(e,n){return Xy(e,n)}function NS(e){return Xy(Pa,e)}var uj=(Gy.required=NS,Gy);var Ad=new D(""),AS=new D("");function ui(e){return!e.moduleRef}function xS(e){let n=ui(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ue);return t.run(()=>{ui(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Wt),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ui(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Ad);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ad);s.add(i),e.moduleRef.onDestroy(()=>{Ho(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return OS(r,t,()=>{let i=n.get(qn),s=i.add(),a=n.get(Id);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Ra,si);if(py(c||si),!n.get(AS,!0))return ui(e)?n.get(oi):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ui(e)){let u=n.get(oi);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return RS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var RS;function OS(e,n,t){try{let r=t();return Ta(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Oa=null;function kS(e=[],n){return se.create({name:n,providers:[{provide:Ao,useValue:"platform"},{provide:Ad,useValue:new Set([()=>Oa=null])},...e]})}function PS(e=[]){if(Oa)return Oa;let n=kS(e);return Oa=n,sy(),FS(n),n}function FS(e){let n=e.get(na,null);_r(e,()=>{n?.forEach(t=>t())})}function dj(){return!1}var LS=1e4;var fj=LS-1e3;var di=(()=>{class e{static __NG_ELEMENT_ID__=BS}return e})();function BS(e){return jS(J(),C(),(e&16)===16)}function jS(e,n,t){if(Ht(e)&&!t){let r=Ye(e.index,n);return new yn(r,r)}else if(e.type&175){let r=n[Se];return new yn(r,n)}return null}var xd=class{supports(n){return sd(n)}create(n){return new Rd(n)}},VS=(e,n)=>n,Rd=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(n){this._trackByFn=n||VS}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<qy(r,o,i)?t:r,a=qy(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let f=0;f<l;f++){let p=f<i.length?i[f]:i[f]=0,h=p+f;u<=h&&h<l&&(i[f]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!sd(n))throw new I(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,km(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Od(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new ka),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ka),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Od=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(n,t){this.item=n,this.trackById=t}},kd=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},ka=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new kd,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function qy(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var Pd=class{supports(n){return n instanceof Map||Ea(n)}create(){return new Fd}},Fd=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Ea(n)))throw new I(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;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(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);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 Ld(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},Ld=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Zy(){return new jd([new xd])}var jd=(()=>{class e{factories;static \u0275prov=v({token:e,providedIn:"root",factory:Zy});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(t,r||Zy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new I(901,!1)}}return e})();function Yy(){return new Vd([new Pd])}var Vd=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:Yy});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(t,r||Yy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new I(901,!1)}}return e})();function ev(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;k(R.BootstrapApplicationStart);try{let i=o?.injector??PS(r),s=[jy(),ih,...t||[]],a=new Yo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return xS({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{k(R.BootstrapApplicationEnd)}}function ce(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function fi(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Nd=Symbol("NOT_SET"),tv=new Set,HS=j(y({},go),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Nd,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Nd&&!mr(this))return this.signal;try{for(let o of this.cleanup??tv)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Ft(this),r;try{r=this.userFn.apply(null,n)}finally{en(this,t)}return(this.value===Nd||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Bd=class extends zo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(X),s),this.scheduler=o;for(let a of Zu){let c=t[a];if(c===void 0)continue;let l=Object.create(HS);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Pt(l),l.value),l.signal[Y]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??tv)t()}finally{tn(n)}}};function pj(e,n){let t=n?.injector??g(se),r=t.get(bt),o=t.get(da),i=t.get(ht,null,{optional:!0});o.impl??=t.get(Yu);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Pr,null,{optional:!0}),c=new Bd(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function hj(e){let n=Dt(e);if(!n)return null;let t=new tr(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var nv=null;function Yt(){return nv}function Hd(e){nv??=e}var pi=class{},oo=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>g(rv),providedIn:"platform"})}return e})();var rv=(()=>{class e extends oo{_location;_history;_doc=g(B);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yt().getBaseHref(this._doc)}onPopState(t){let r=Yt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Yt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function sv(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function ov(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function In(e){return e&&e[0]!=="?"?`?${e}`:e}var Fa=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>g(US),providedIn:"root"})}return e})(),$S=new D(""),US=(()=>{class e extends Fa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return sv(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+In(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+In(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+In(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(_(oo),_($S,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var av=(()=>{class e{_subject=new K;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=GS(ov(iv(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+In(r))}normalize(t){return e.stripTrailingSlash(zS(this._basePath,iv(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+In(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+In(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=In;static joinWithSlash=sv;static stripTrailingSlash=ov;static \u0275fac=function(r){return new(r||e)(_(Fa))};static \u0275prov=v({token:e,factory:()=>WS(),providedIn:"root"})}return e})();function WS(){return new av(_(Fa))}function zS(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function iv(e){return e.replace(/\/index.html$/,"")}function GS(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var $d=/\s+/,cv=[],qS=(()=>{class e{_ngEl;_renderer;initialClasses=cv;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split($d):cv}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split($d):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[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(t,r){t=t.trim(),t.length>0&&t.split($d).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)(ee(be),ee(Nt))};static \u0275dir=te({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),ZS=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||t.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=pd(this.ngComponentOutletNgModule,YS(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[r,o]of this._inputsUsed)o?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(ee(qt))};static \u0275dir=te({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[bn]})}return e})();function YS(e){return e.get(vn).injector}var La=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,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}},dv=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new La(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),lv(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}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);lv(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(ee(qt),ee(_t),ee(jd))};static \u0275dir=te({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function lv(e,n){e.context.$implicit=n.item}var Ud=(()=>{class e{_viewContainer;_context=new Ba;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){uv(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){uv(t,!1),this._elseTemplateRef=t,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(t,r){return!0}static \u0275fac=function(r){return new(r||e)(ee(qt),ee(_t))};static \u0275dir=te({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ba=class{$implicit=null;ngIf=null};function uv(e,n){if(e&&!e.createEmbeddedView)throw new I(2020,!1)}var Wd=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:ft.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(ee(be),ee(Vd),ee(Nt))};static \u0275dir=te({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),zd=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(se);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){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._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ee(qt))};static \u0275dir=te({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bn]})}return e})();var gt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=he({type:e});static \u0275inj=fe({})}return e})();function hi(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var lr=class{};var Gd="browser",KS="server";function gi(e){return e===Gd}function qd(e){return e===KS}var pv=e=>e.src,QS=new D("",{factory:()=>pv});var fv=/^((\s*\d+w\s*(,|$)){1,})$/;var JS=[1,2],XS=640;var e_=1920,t_=1080;var Q2=(()=>{class e{imageLoader=g(QS);config=n_(g(oa));renderer=g(Nt);imgElement=g(be).nativeElement;injector=g(se);destroyRef=g(X);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){$e("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&fv.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(t){let r=t;this.loaderParams&&(r.loaderParams=this.loaderParams);let o=this.getAspectRatio();return o!==null&&r.width&&(r.height=Math.round(r.width/o)),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=fv.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=t?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,r=t;return this.sizes?.trim()==="100vw"&&(r=t.filter(i=>i>=XS)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return JS.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>e_||this.height>t_),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==pv&&!t}generatePlaceholder(t){let{placeholderResolution:r}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let r=()=>{let s=this.injector.get(di);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(t,"load",r),i=this.renderer.listen(t,"error",r);this.destroyRef.onDestroy(()=>{o(),i()}),r_(t,r)}setHostAttribute(t,r){this.renderer.setAttribute(this.imgElement,t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=te({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&no("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",o_],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",fi],height:[2,"height","height",fi],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",ce],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",ce],fill:[2,"fill","fill",ce],placeholder:[2,"placeholder","placeholder",i_],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[bn]})}return e})();function n_(e){let n={};return e.breakpoints&&(n.breakpoints=e.breakpoints.sort((t,r)=>t-r)),Object.assign({},ra,e,n)}function r_(e,n){e.complete&&e.naturalWidth&&n()}function o_(e){return typeof e=="string"?e:Ne(e)}function i_(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:ce(e)}var mi=class{_doc;constructor(n){this._doc=n}manager},ja=(()=>{class e extends mi{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(_(B))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),$a=new D(""),Qd=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof ja));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof ja);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new I(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(_($a),_(ue))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Zd="ng-app-id";function hv(e){for(let n of e)n.remove()}function gv(e,n){let t=n.createElement("style");return t.textContent=e,t}function a_(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Zd}="${n}"],link[${Zd}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Zd),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Kd(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Jd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,a_(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,gv);r?.forEach(o=>this.addUsage(o,this.external,Kd))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(hv(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])hv(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,gv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Kd(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(_(B),_(ta),_(Jo,8),_(pt))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Yd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Xd=/%COMP%/g;var yv="%COMP%",c_=`_nghost-${yv}`,l_=`_ngcontent-${yv}`,u_=!0,d_=new D("",{factory:()=>u_});function f_(e){return l_.replace(Xd,e)}function p_(e){return c_.replace(Xd,e)}function vv(e,n){return n.map(t=>t.replace(Xd,e))}var ef=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new yi(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Ha?o.applyToHost(t):o instanceof vi&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case dt.Emulated:i=new Ha(c,l,r,this.appId,u,s,a,d);break;case dt.ShadowDom:return new Va(c,t,r,s,a,this.nonce,d,l);case dt.ExperimentalIsolatedShadowDom:return new Va(c,t,r,s,a,this.nonce,d);default:i=new vi(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(_(Qd),_(Jd),_(ta),_(d_),_(B),_(ue),_(Jo),_(ht,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),yi=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Yd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(mv(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(mv(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new I(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Yd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Yd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(ft.DashCase|ft.Important)?n.style.setProperty(t,r,o&ft.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&ft.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Yt().getGlobalEventTarget(this.doc,n),!n))throw new I(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function mv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Va=class extends yi{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=vv(r.id,l);for(let d of l){let f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}let u=r.getExternalStyles?.();if(u)for(let d of u){let f=Kd(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},vi=class extends yi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?vv(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&mn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ha=class extends vi{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=f_(l),this.hostAttr=p_(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var Ua=class e extends pi{supportsDOMEvents=!0;static makeCurrent(){Hd(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=h_();return t==null?null:g_(t)}resetBaseElement(){bi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return hi(document.cookie,n)}},bi=null;function h_(){return bi=bi||document.head.querySelector("base"),bi?bi.getAttribute("href"):null}function g_(e){return new URL(e,document.baseURI).pathname}var m_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),bv=["alt","control","meta","shift"],y_={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},v_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Dv=(()=>{class e extends mi{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yt().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),bv.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=y_[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),bv.forEach(s=>{if(s!==o){let a=v_[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(_(B))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();async function b_(e,n,t){let r=y({rootComponent:e},D_(n,t));return ev(r)}function D_(e,n){return{platformRef:n?.platformRef,appProviders:[...T_,...e?.providers??[]],platformProviders:w_}}function E_(){Ua.makeCurrent()}function I_(){return new Ge}function C_(){return Au(document),document}var w_=[{provide:pt,useValue:Gd},{provide:na,useValue:E_,multi:!0},{provide:B,useFactory:C_}];var T_=[{provide:Ao,useValue:"root"},{provide:Ge,useFactory:I_},{provide:$a,useClass:ja,multi:!0},{provide:$a,useClass:Dv,multi:!0},ef,Jd,Qd,{provide:er,useExisting:ef},{provide:lr,useClass:m_},[]];var Ot=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
5
|
+
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Ga=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},qa=class{encodeKey(n){return Ev(n)}encodeValue(n){return Ev(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function S_(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var __=/%(\d[a-f0-9])/gi,M_={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ev(e){return encodeURIComponent(e).replace(__,(n,t)=>M_[t]??n)}function Wa(e){return`${e}`}var Kt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new qa,n.fromString){if(n.fromObject)throw new I(2805,!1);this.map=S_(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(Wa):[Wa(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(Wa(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Wa(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function N_(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Iv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Cv(e){return typeof Blob<"u"&&e instanceof Blob}function wv(e){return typeof FormData<"u"&&e instanceof FormData}function A_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Di="Content-Type",Za="Accept",Tv="text/plain",Sv="application/json",_v=`${Sv}, ${Tv}, */*`,io=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(N_(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new I(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Ot,this.context??=new Ga,!this.params)this.params=new Kt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Iv(this.body)||Cv(this.body)||wv(this.body)||A_(this.body)?this.body:this.body instanceof Kt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||wv(this.body)?null:Cv(this.body)?this.body.type||null:Iv(this.body)?null:typeof this.body=="string"?Tv:this.body instanceof Kt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Sv:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer||this.referrer,f=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,h=n.transferCache??this.transferCache,m=n.timeout??this.timeout,b=n.body!==void 0?n.body:this.body,E=n.withCredentials??this.withCredentials,x=n.reportProgress??this.reportProgress,z=n.headers||this.headers,U=n.params||this.params,tt=n.context??this.context;return n.setHeaders!==void 0&&(z=Object.keys(n.setHeaders).reduce((Re,kt)=>Re.set(kt,n.setHeaders[kt]),z)),n.setParams&&(U=Object.keys(n.setParams).reduce((Re,kt)=>Re.set(kt,n.setParams[kt]),U)),new e(t,r,b,{params:U,headers:z,context:tt,reportProgress:x,responseType:o,withCredentials:E,transferCache:h,keepalive:i,cache:a,priority:s,timeout:m,mode:c,redirect:l,credentials:u,referrer:d,integrity:f,referrerPolicy:p})}},Qt=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Qt||{}),so=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new Ot,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Ei=class e extends so{constructor(n={}){super(n)}type=Qt.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ao=class e extends so{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Qt.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Rt=class extends so{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Mv=200,x_=204;var R_=/^\)\]\}',?\n/,Nv=new D(""),za=(()=>{class e{fetchImpl=g(nf,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=g(ue);destroyRef=g(X);handle(t){return new A(r=>{let o=new AbortController;this.doRequest(t,o.signal,r).then(rf,s=>r.error(new Rt({error:s})));let i;return t.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},t.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(t,r,o){let i=this.createRequestInit(t),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,y({signal:r},i)));O_(m),o.next({type:Qt.Sent}),s=await m}catch(m){o.error(new Rt({error:m,status:m.status??0,statusText:m.statusText,url:t.urlWithParams,headers:m.headers}));return}let a=new Ot(s.headers),c=s.statusText,l=s.url||t.urlWithParams,u=s.status,d=null;if(t.reportProgress&&o.next(new Ei({headers:a,status:u,statusText:c,url:l})),s.body){let m=s.headers.get("content-length"),b=[],E=s.body.getReader(),x=0,z,U,tt=typeof Zone<"u"&&Zone.current,Re=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await E.cancel(),Re=!0;break}let{done:lo,value:Xa}=await E.read();if(lo)break;if(b.push(Xa),x+=Xa.length,t.reportProgress){U=t.responseType==="text"?(U??"")+(z??=new TextDecoder).decode(Xa,{stream:!0}):void 0;let mf=()=>o.next({type:Qt.DownloadProgress,total:m?+m:void 0,loaded:x,partialText:U});tt?tt.run(mf):mf()}}}),Re){o.complete();return}let kt=this.concatChunks(b,x);try{let lo=s.headers.get(Di)??"";d=this.parseBody(t,kt,lo,u)}catch(lo){o.error(new Rt({error:lo,headers:new Ot(s.headers),status:s.status,statusText:s.statusText,url:s.url||t.urlWithParams}));return}}u===0&&(u=d?Mv:0);let f=u>=200&&u<300,p=s.redirected,h=s.type;f?(o.next(new ao({body:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:h})),o.complete()):o.error(new Rt({error:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:h}))}parseBody(t,r,o,i){switch(t.responseType){case"json":let s=new TextDecoder().decode(r).replace(R_,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o;if(o=t.credentials,t.withCredentials&&(o="include"),t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has(Za)||(r[Za]=_v),!t.headers.has(Di)){let i=t.detectContentTypeHeader();i!==null&&(r[Di]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,referrer:t.referrer,integrity:t.integrity,referrerPolicy:t.referrerPolicy}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),nf=class{};function rf(){}function O_(e){e.then(rf,rf)}var k_=/^\)\]\}',?\n/;var of=(()=>{class e{xhrFactory;tracingService=g(ht,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new I(-2800,!1);let r=this.xhrFactory;return qi(null).pipe(_c(()=>new A(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((b,E)=>s.setRequestHeader(b,E.join(","))),t.headers.has(Za)||s.setRequestHeader(Za,_v),!t.headers.has(Di)){let b=t.detectContentTypeHeader();b!==null&&s.setRequestHeader(Di,b)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let b=t.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let b=s.statusText||"OK",E=new Ot(s.getAllResponseHeaders()),x=s.responseURL||t.url;return c=new Ei({headers:E,status:s.status,statusText:b,url:x}),c},u=this.maybePropagateTrace(()=>{let{headers:b,status:E,statusText:x,url:z}=l(),U=null;E!==x_&&(U=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=U?Mv:0);let tt=E>=200&&E<300;if(t.responseType==="json"&&typeof U=="string"){let Re=U;U=U.replace(k_,"");try{U=U!==""?JSON.parse(U):null}catch(kt){U=Re,tt&&(tt=!1,U={error:kt,text:U})}}tt?(i.next(new ao({body:U,headers:b,status:E,statusText:x,url:z||void 0})),i.complete()):i.error(new Rt({error:U,headers:b,status:E,statusText:x,url:z||void 0}))}),d=this.maybePropagateTrace(b=>{let{url:E}=l(),x=new Rt({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});i.error(x)}),f=d;t.timeout&&(f=this.maybePropagateTrace(b=>{let{url:E}=l(),x=new Rt({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:E||void 0});i.error(x)}));let p=!1,h=this.maybePropagateTrace(b=>{p||(i.next(l()),p=!0);let E={type:Qt.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),t.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),i.next(E)}),m=this.maybePropagateTrace(b=>{let E={type:Qt.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),i.next(E)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",f),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),i.next({type:Qt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",f),t.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(_(lr))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function P_(e,n){return n(e)}function F_(e,n,t){return(r,o)=>_r(t,()=>n(r,i=>e(i,o)))}var Av=new D("",{factory:()=>[]}),xv=new D(""),Rv=new D("",{factory:()=>!0});var Ka=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(of),o},providedIn:"root"})}return e})();var Ya=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Zn);contributeToStability=g(Rv);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Av),...this.injector.get(xv,[])]));this.chain=r.reduceRight((o,i)=>F_(o,i,this.injector),P_)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(wc(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(_(Ka),_(ve))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(Ya),o},providedIn:"root"})}return e})();function tf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Ov=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof io)i=t;else{let c;o.headers instanceof Ot?c=o.headers:c=new Ot(o.headers);let l;o.params&&(o.params instanceof Kt?l=o.params:l=new Kt({fromObject:o.params})),i=new io(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=qi(i).pipe(Ic(c=>this.handler.handle(c)));if(t instanceof io||o.observe==="events")return s;let a=s.pipe(sn(c=>c instanceof ao));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ze(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new I(2806,!1);return c.body}));case"blob":return a.pipe(ze(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new I(2807,!1);return c.body}));case"text":return a.pipe(ze(c=>{if(c.body!==null&&typeof c.body!="string")throw new I(2808,!1);return c.body}));default:return a.pipe(ze(c=>c.body))}case"response":return a;default:throw new I(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Kt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,tf(o,r))}post(t,r,o={}){return this.request("POST",t,tf(o,r))}put(t,r,o={}){return this.request("PUT",t,tf(o,r))}static \u0275fac=function(r){return new(r||e)(_(sf))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var L_=new D("",{factory:()=>!0}),B_="XSRF-TOKEN",j_=new D("",{factory:()=>B_}),V_="X-XSRF-TOKEN",H_=new D("",{factory:()=>V_}),$_=(()=>{class e{cookieName=g(j_);doc=g(B);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=hi(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_($_),o},providedIn:"root"})}return e})();function U_(e,n){if(!g(L_)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=g(oo).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch{return n(e)}let t=g(kv).getToken(),r=g(H_);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var af=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(af||{});function W_(e,n){return{\u0275kind:e,\u0275providers:n}}function z_(...e){let n=[Ov,Ya,{provide:sf,useExisting:Ya},{provide:Ka,useFactory:()=>g(Nv,{optional:!0})??g(of)},{provide:Av,useValue:U_,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return It(n)}function G_(){return W_(af.Fetch,[za,{provide:Nv,useExisting:za},{provide:Ka,useExisting:za}])}var gH=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(_(B))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var q_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(Z_),o},providedIn:"root"})}return e})(),Z_=(()=>{class e extends q_{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Qe.NONE:return r;case Qe.HTML:return Mt(r,"HTML")?Ne(r):aa(this._doc,String(r)).toString();case Qe.STYLE:return Mt(r,"Style")?Ne(r):r;case Qe.SCRIPT:if(Mt(r,"Script"))return Ne(r);throw new I(5200,!1);case Qe.URL:return Mt(r,"URL")?Ne(r):Xo(String(r));case Qe.RESOURCE_URL:if(Mt(r,"ResourceURL"))return Ne(r);throw new I(5201,!1);default:throw new I(5202,!1)}}bypassSecurityTrustHtml(t){return Pu(t)}bypassSecurityTrustStyle(t){return Fu(t)}bypassSecurityTrustScript(t){return Lu(t)}bypassSecurityTrustUrl(t){return Bu(t)}bypassSecurityTrustResourceUrl(t){return ju(t)}static \u0275fac=function(r){return new(r||e)(_(B))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cn(...e){if(e){let n=[];for(let t=0;t<e.length;t++){let r=e[t];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[Cn(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}var Y_=Object.defineProperty,Pv=Object.getOwnPropertySymbols,K_=Object.prototype.hasOwnProperty,Q_=Object.prototype.propertyIsEnumerable,Fv=(e,n,t)=>n in e?Y_(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Lv=(e,n)=>{for(var t in n||(n={}))K_.call(n,t)&&Fv(e,t,n[t]);if(Pv)for(var t of Pv(n))Q_.call(n,t)&&Fv(e,t,n[t]);return e};function Bv(...e){if(e){let n=[];for(let t=0;t<e.length;t++){let r=e[t];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[Bv(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}function J_(e){return typeof e=="function"&&"call"in e&&"apply"in e}function X_({skipUndefined:e=!1},...n){return n?.reduce((t,r={})=>{for(let o in r){let i=r[o];if(!(e&&i===void 0))if(o==="style")t.style=Lv(Lv({},t.style),r.style);else if(o==="class"||o==="className")t[o]=Bv(t[o],r[o]);else if(J_(i)){let s=t[o];t[o]=s?(...a)=>{s(...a),i(...a)}:i}else t[o]=i}return t},{})}function cf(...e){return X_({skipUndefined:!1},...e)}var Qa={};function Ii(e="pui_id_"){return Object.hasOwn(Qa,e)||(Qa[e]=0),Qa[e]++,`${e}${Qa[e]}`}var jv=["*"],eM=(function(e){return e[e.ACCEPT=0]="ACCEPT",e[e.REJECT=1]="REJECT",e[e.CANCEL=2]="CANCEL",e})(eM||{}),wH=(()=>{class e{requireConfirmationSource=new K;acceptConfirmationSource=new K;requireConfirmation$=this.requireConfirmationSource.asObservable();accept=this.acceptConfirmationSource.asObservable();confirm(t){return this.requireConfirmationSource.next(t),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var ge=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return e})(),TH=(()=>{class e{static AND="and";static OR="or"}return e})(),SH=(()=>{class e{filter(t,r,o,i,s){let a=[];if(t)for(let c of t)for(let l of r){let u=Mf(c,l);if(this.filters[i](u,o,s)){a.push(c);break}}return a}filters={startsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=Fe(r.toString()).toLocaleLowerCase(o);return Fe(t.toString()).toLocaleLowerCase(o).slice(0,i.length)===i},contains:(t,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(t==null)return!1;let i=Fe(r.toString()).toLocaleLowerCase(o);return Fe(t.toString()).toLocaleLowerCase(o).indexOf(i)!==-1},notContains:(t,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(t==null)return!1;let i=Fe(r.toString()).toLocaleLowerCase(o);return Fe(t.toString()).toLocaleLowerCase(o).indexOf(i)===-1},endsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=Fe(r.toString()).toLocaleLowerCase(o),s=Fe(t.toString()).toLocaleLowerCase(o);return s.indexOf(i,s.length-i.length)!==-1},equals:(t,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()===r.getTime():t==r?!0:Fe(t.toString()).toLocaleLowerCase(o)==Fe(r.toString()).toLocaleLowerCase(o),notEquals:(t,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!1:t==null?!0:t.getTime&&r.getTime?t.getTime()!==r.getTime():t==r?!1:Fe(t.toString()).toLocaleLowerCase(o)!=Fe(r.toString()).toLocaleLowerCase(o),in:(t,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if(Ci(t,r[o]))return!0;return!1},between:(t,r)=>r==null||r[0]==null||r[1]==null?!0:t==null?!1:t.getTime?r[0].getTime()<=t.getTime()&&t.getTime()<=r[1].getTime():r[0]<=t&&t<=r[1],lt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<r.getTime():t<r,lte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<=r.getTime():t<=r,gt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>r.getTime():t>r,gte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>=r.getTime():t>=r,is:(t,r,o)=>this.filters.equals(t,r,o),isNot:(t,r,o)=>this.filters.notEquals(t,r,o),before:(t,r,o)=>this.filters.lt(t,r,o),after:(t,r,o)=>this.filters.gt(t,r,o),dateIs:(t,r)=>r==null?!0:t==null?!1:t.toDateString()===r.toDateString(),dateIsNot:(t,r)=>r==null?!0:t==null?!1:t.toDateString()!==r.toDateString(),dateBefore:(t,r)=>r==null?!0:t==null?!1:t.getTime()<r.getTime(),dateAfter:(t,r)=>r==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>r.getTime())};register(t,r){this.filters[t]=r}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _H=(()=>{class e{clickSource=new K;parentDragSource=new K;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(t){t&&this.clickSource.next(t)}emitParentDrag(t){this.parentDragSource.next(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var MH=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Pe({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:jv,decls:1,vars:0,template:function(r,o){r&1&&(At(),xt(0))},encapsulation:2})}return e})(),NH=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Pe({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:jv,decls:1,vars:0,template:function(r,o){r&1&&(At(),xt(0))},encapsulation:2})}return e})(),Vv=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(r){return new(r||e)(ee(_t))};static \u0275dir=te({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),wn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=he({type:e});static \u0275inj=fe({imports:[gt]})}return e})(),AH=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return e})();var Hv=`
|
|
6
6
|
*,
|
|
7
7
|
::before,
|
|
8
8
|
::after {
|
|
@@ -114,7 +114,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
114
114
|
transform: scale(0.93);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`;var tM=0
|
|
117
|
+
`;var tM=0,$v=(()=>{class e{document=g(B);use(t,r={}){let o=!1,i=t,s=null,{immediate:a=!0,manual:c=!1,name:l=`style_${++tM}`,id:u=void 0,media:d=void 0,nonce:f=void 0,first:p=!1,props:h={}}=r;if(this.document){if(s=this.document.querySelector(`style[data-primeng-style-id="${l}"]`)||u&&this.document.getElementById(u)||this.document.createElement("style"),s){if(!s.isConnected){i=t;let m=this.document.head;Tf(s,"nonce",f),p&&m.firstChild?m.insertBefore(s,m.firstChild):m.appendChild(s),Ef(s,{type:"text/css",media:d,nonce:f,"data-primeng-style-id":l})}s.textContent!==i&&(s.textContent=i)}return{id:u,name:l,el:s,css:i}}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var co={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},nM=`
|
|
118
118
|
.p-hidden-accessible {
|
|
119
119
|
border: 0;
|
|
120
120
|
clip: rect(0 0 0 0);
|
|
@@ -135,7 +135,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
135
135
|
overflow: hidden;
|
|
136
136
|
padding-right: dt('scrollbar.width');
|
|
137
137
|
}
|
|
138
|
-
`,Ce=(()=>{class e{name="base";useStyle=g(Hv);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,r={},o=i=>i)=>{let i=o(hr`${Jt(t,{dt:Si})}`);return i?this.useStyle.use(Ti(i),y({name:this.name},r)):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},r="")=>this.load(this.style,t,(o="")=>Z.transformCSS(t.name||this.name,`${o}${hr`${r}`}`));loadBaseCSS=(t={})=>this.load(nM,t);loadBaseStyle=(t={},r="")=>this.load(Vv,t,(o="")=>Z.transformCSS(t.name||this.name,`${o}${hr`${r}`}`));getCommonTheme=t=>Z.getCommon(this.name,t);getComponentTheme=t=>Z.getComponent(this.name,t);getPresetTheme=(t,r,o)=>Z.getCustomPreset(this.name,t,r,o);getLayerOrderThemeCSS=()=>Z.getLayerOrderCSS(this.name);getStyleSheet=(t="",r={})=>{if(this.css){let o=Jt(this.css,{dt:Si}),i=Ti(hr`${o}${t}`),s=Object.entries(r).reduce((a,[c,l])=>a.push(`${c}="${l}"`)&&a,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${i}</style>`}return""};getCommonThemeStyleSheet=(t,r={})=>Z.getCommonStyleSheet(this.name,t,r);getThemeStyleSheet=(t,r={})=>{let o=[Z.getStyleSheet(this.name,t,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=hr`${Jt(this.style,{dt:Si})}`,a=Ti(Z.transformCSS(i,s)),c=Object.entries(r).reduce((l,[u,d])=>l.push(`${u}="${d}"`)&&l,[]).join(" ");o.push(`<style type="text/css" data-primeng-style-id="${i}" ${c}>${a}</style>`)}return o.join("")};static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rM=(()=>{class e{theme=$(void 0);csp=$({nonce:void 0});isThemeChanged=!1;document=g(B);baseStyle=g(Ce);constructor(){_e(()=>{pr.on("theme:change",t=>{li(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),_e(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){Z.clearLoadedStyleNames(),pr.clear()}onThemeChange(t){Z.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!Z.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,y({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,y({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,y({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(y({name:"global-style"},s),i),Z.setLoadedStyleName("common")}}setThemeConfig(t){let{theme:r,csp:o}=t||{};r&&this.theme.set(r),o&&this.csp.set(o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lf=(()=>{class e extends rM{ripple=$(!1);platformId=g(pt);inputStyle=$(null);inputVariant=$(null);overlayAppendTo=$("self");overlayOptions={};csp=$({nonce:void 0});unstyled=$(void 0);pt=$(void 0);ptOptions=$(void 0);filterMatchModeOptions={text:[ge.STARTS_WITH,ge.CONTAINS,ge.NOT_CONTAINS,ge.ENDS_WITH,ge.EQUALS,ge.NOT_EQUALS],numeric:[ge.EQUALS,ge.NOT_EQUALS,ge.LESS_THAN,ge.LESS_THAN_OR_EQUAL_TO,ge.GREATER_THAN,ge.GREATER_THAN_OR_EQUAL_TO],date:[ge.DATE_IS,ge.DATE_IS_NOT,ge.DATE_BEFORE,ge.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",completed:"Completed",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize",minimizeLabel:"Minimize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new K;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=y(y({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:c,translation:l,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:f,ptOptions:p,pt:h,unstyled:m}=t||{};r&&this.csp.set(r),d&&this.overlayAppendTo.set(d),o&&this.ripple.set(o),i&&this.inputStyle.set(i),s&&this.inputVariant.set(s),c&&(this.overlayOptions=c),l&&this.setTranslation(l),u&&(this.filterMatchModeOptions=u),f&&(this.zIndex=f),h&&this.pt.set(h),p&&this.ptOptions.set(p),m&&this.unstyled.set(m),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oM=new I("PRIME_NG_CONFIG");function QH(...e){let n=e?.map(r=>({provide:oM,useValue:r,multi:!1})),t=Ed(()=>{let r=g(lf);e?.forEach(o=>r.setConfig(o))});return It([...n,t])}var $v=(()=>{class e extends Ce{name="common";static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ur=new I("PARENT_INSTANCE"),et=(()=>{class e{document=g(B);platformId=g(pt);el=g(be);injector=g(se);cd=g(di);renderer=g(Nt);config=g(lf);$parentInstance=g(ur,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=g($v);baseStyle=g(Ce);scopedStyleEl;parent=this.$params.parent;cn=Cn;_themeScopedListener;themeChangeListenerMap=new Map;dt=Ie();unstyled=Ie();pt=Ie();ptOptions=Ie();$attrSelector=Ii("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=$(void 0);directiveUnstyled=$(void 0);$unstyled=xe(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=xe(()=>Jt(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>Jt(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||Jt(t,this.$params))}get $style(){return y(y({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let t=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:t}}}onInit(){}onChanges(t){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){_e(t=>{this.document&&!qd(this.platformId)&&(this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener("_themeScopedListener",this._themeScopedListener)):this._unloadScopedThemeStyles()),t(()=>{this._offThemeChangeListener("_themeScopedListener")})}),_e(t=>{this.document&&!qd(this.platformId)&&(this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener("_loadCoreStyles",this._loadCoreStyles))),t(()=>{this._offThemeChangeListener("_loadCoreStyles")})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(t){this.onChanges(t),this._hook("onChanges",t)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.$el?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(t,...r){return Sf(t)?t(...r):cf(...r)}_getHostInstance(t){return t?this.$hostName?this.$name===this.$hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0}_getPropValue(t){return this[t]||this._getHostInstance(this)?.[t]}_getOptionValue(t,r="",o={}){return Mf(t,r,o)}_hook(t,...r){if(!this.$hostName){let o=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${t}`),i=this._useDefaultPT(this._getOptionValue,`hooks.${t}`);o?.(...r),i?.(...r)}}_load(){co.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),co.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){let t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);uo(t)&&this.baseStyle.load(t,y({name:"global"},this.$styleOptions))}_loadCoreStyles(){!co.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),co.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!Z.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,y({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,y({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,y({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(y({name:"global-style"},this.$styleOptions),i),Z.setLoadedStyleName("common")}if(!Z.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:t,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,y({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(y({name:`${this.$style?.name}-style`},this.$styleOptions),r),Z.setLoadedStyleName(this.$style?.name)}if(!Z.isStyleNameLoaded("layer-order")){let t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,y({name:"layer-order",first:!0},this.$styleOptions)),Z.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){let{css:r}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,y({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,r=()=>{}){this._offThemeChangeListener(t),co.clearLoadedStyleNames();let o=r.bind(this);this.themeChangeListenerMap.set(t,o),pr.on("theme:change",o)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(pr.off("theme:change",this.themeChangeListenerMap.get(t)),this.themeChangeListenerMap.delete(t))}_getPTValue(t={},r="",o={},i=!0){let s=/./g.test(r)&&!!o[r.split(".")[0]],{mergeSections:a=!0,mergeProps:c=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},l=i?s?this._useGlobalPT(this._getPTClassValue,r,o):this._useDefaultPT(this._getPTClassValue,r,o):void 0,u=s?void 0:this._usePT(this._getPT(t,this.$hostName||this.$name),this._getPTClassValue,r,j(y({},o),{global:l||{}})),d=this._getPTDatasets(r);return a||!a&&u?c?this._mergeProps(c,l,u,d):y(y(y({},l),u),d):y(y({},u),d)}_getPTDatasets(t=""){let r="data-pc-",o=t==="root"&&uo(this.$pt()?.["data-pc-section"]);return t!=="transition"&&j(y({},t==="root"&&j(y({[`${r}name`]:fr(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:fr(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:fr(t.includes(".")?t.split(".").at(-1)??"":t)})}_getPTClassValue(t,r,o){let i=this._getOptionValue(t,r,o);return wi(i)||Nf(i)?{class:i}:i}_getPT(t,r="",o){let i=(s,a=!1)=>{let c=o?o(s):s,l=fr(r),u=fr(this.$hostName||this.$name);return(a?l!==u?c?.[l]:void 0:c?.[l])??c};return t?.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t,!0)}_usePT(t,r,o,i){let s=a=>r?.call(this,a,o,i);if(t?.hasOwnProperty("_usept")){let{mergeSections:a=!0,mergeProps:c=!1}=t._usept||this.config?.ptOptions()||{},l=s(t.originalValue),u=s(t.value);return l===void 0&&u===void 0?void 0:wi(u)?u:wi(l)?l:a||!a&&u?c?this._mergeProps(c,l,u):y(y({},l),u):u}return s(t)}_useGlobalPT(t,r,o){return this._usePT(this.$globalPT,t,r,o)}_useDefaultPT(t,r,o){return this._usePT(this.$defaultPT,t,r,o)}ptm(t="",r={}){return this._getPTValue(this.$pt(),t,y(y({},this.$params),r))}ptms(t,r={}){return t.reduce((o,i)=>(o=cf(o,this.ptm(i,r))||{},o),{})}ptmo(t={},r="",o={}){return this._getPTValue(t,r,y({instance:this},o),!1)}cx(t,r={}){return this.$unstyled()?void 0:Cn(this._getOptionValue(this.$style.classes,t,y(y({},this.$params),r)))}sx(t="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,t,y(y({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,t,y(y({},this.$params),o));return y(y({},s),i)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=te({type:e,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[Ue([$v,Ce]),bn]})}return e})();var uf=(()=>{class e{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,r){t&&r&&(t.classList?t.classList.add(r):t.className+=" "+r)}static addMultipleClasses(t,r){if(t&&r)if(t.classList){let o=r.trim().split(" ");for(let i=0;i<o.length;i++)t.classList.add(o[i])}else{let o=r.split(" ");for(let i=0;i<o.length;i++)t.className+=" "+o[i]}}static removeClass(t,r){t&&r&&(t.classList?t.classList.remove(r):t.className=t.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,r){t&&r&&[r].flat().filter(Boolean).forEach(o=>o.split(" ").forEach(i=>this.removeClass(t,i)))}static hasClass(t,r){return t&&r?t.classList?t.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(r){return r!==t})}static find(t,r){return Array.from(t.querySelectorAll(r))}static findSingle(t,r){return this.isElement(t)?t.querySelector(r):null}static index(t){let r=t.parentNode.childNodes,o=0;for(var i=0;i<r.length;i++){if(r[i]==t)return o;r[i].nodeType==1&&o++}return-1}static indexWithinGroup(t,r){let o=t.parentNode?t.parentNode.childNodes:[],i=0;for(var s=0;s<o.length;s++){if(o[s]==t)return i;o[s].attributes&&o[s].attributes[r]&&o[s].nodeType==1&&i++}return-1}static appendOverlay(t,r,o="self"){o!=="self"&&t&&r&&this.appendChild(t,r)}static alignOverlay(t,r,o="self",i=!0){t&&r&&(i&&(t.style.minWidth=`${e.getOuterWidth(r)}px`),o==="self"?this.relativePosition(t,r):this.absolutePosition(t,r))}static relativePosition(t,r,o=!0){let i=z=>{if(z)return getComputedStyle(z).getPropertyValue("position")==="relative"?z:i(z.parentElement)},s=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),a=r.offsetHeight,c=r.getBoundingClientRect(),l=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport(),p=i(t)?.getBoundingClientRect()||{top:-1*l,left:-1*u},h,m,b="top";c.top+a+s.height>d.height?(h=c.top-p.top-s.height,b="bottom",c.top+h<0&&(h=-1*c.top)):(h=a+c.top-p.top,b="top");let D=c.left+s.width-d.width,x=c.left-p.left;if(s.width>d.width?m=(c.left-p.left)*-1:D>0?m=x-D:m=c.left-p.left,t.style.top=h+"px",t.style.left=m+"px",t.style.transformOrigin=b,o){let z=vf(/-anchor-gutter$/)?.value;t.style.marginTop=b==="bottom"?`calc(${z??"2px"} * -1)`:z??""}}static absolutePosition(t,r,o=!0){let i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=i.height,a=i.width,c=r.offsetHeight,l=r.offsetWidth,u=r.getBoundingClientRect(),d=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport(),h,m;u.top+c+s>p.height?(h=u.top+d-s,t.style.transformOrigin="bottom",h<0&&(h=d)):(h=c+u.top+d,t.style.transformOrigin="top"),u.left+a>p.width?m=Math.max(0,u.left+f+l-a):m=u.left+f,t.style.top=h+"px",t.style.left=m+"px",o&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,r=[]){return t.parentNode===null?r:this.getParents(t.parentNode,r.concat([t.parentNode]))}static getScrollableParents(t){let r=[];if(t){let o=this.getParents(t),i=/(auto|scroll)/,s=a=>{let c=window.getComputedStyle(a,null);return i.test(c.getPropertyValue("overflow"))||i.test(c.getPropertyValue("overflowX"))||i.test(c.getPropertyValue("overflowY"))};for(let a of o){let c=a.nodeType===1&&a.dataset.scrollselectors;if(c){let l=c.split(",");for(let u of l){let d=this.findSingle(a,u);d&&s(d)&&r.push(d)}}a.nodeType!==9&&s(a)&&r.push(a)}}return r}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementDimensions(t){let r={};return t.style.visibility="hidden",t.style.display="block",r.width=t.offsetWidth,r.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",r}static scrollInView(t,r){let o=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=o?parseFloat(o):0,s=getComputedStyle(t).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,c=t.getBoundingClientRect(),u=r.getBoundingClientRect().top+document.body.scrollTop-(c.top+document.body.scrollTop)-i-a,d=t.scrollTop,f=t.clientHeight,p=this.getOuterHeight(r);u<0?t.scrollTop=d+u:u+p>f&&(t.scrollTop=d+u-f+p)}static fadeIn(t,r){t.style.opacity=0;let o=+new Date,i=0,s=function(){i=+t.style.opacity.replace(",",".")+(new Date().getTime()-o)/r,t.style.opacity=i,o=+new Date,+i<1&&(window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,16))};s()}static fadeOut(t,r){var o=1,i=50,s=r,a=i/s;let c=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(c)),t.style.opacity=o},i)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,r){var o=Element.prototype,i=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||function(s){return[].indexOf.call(document.querySelectorAll(s),this)!==-1};return i.call(t,r)}static getOuterWidth(t,r){let o=t.offsetWidth;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return o}static getHorizontalPadding(t){let r=getComputedStyle(t);return parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)}static getHorizontalMargin(t){let r=getComputedStyle(t);return parseFloat(r.marginLeft)+parseFloat(r.marginRight)}static innerWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static width(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static getInnerHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),r}static getOuterHeight(t,r){let o=t.offsetHeight;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return o}static getHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),r}static getWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),r}static getViewport(){let t=window,r=document,o=r.documentElement,i=r.getElementsByTagName("body")[0],s=t.innerWidth||o.clientWidth||i.clientWidth,a=t.innerHeight||o.clientHeight||i.clientHeight;return{width:s,height:a}}static getOffset(t){var r=t.getBoundingClientRect();return{top:r.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:r.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,r){let o=t.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(r,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return!0;var o=t.indexOf("Trident/");if(o>0){var i=t.indexOf("rv:");return!0}var s=t.indexOf("Edge/");return s>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,r){if(this.isElement(r))r.appendChild(t);else if(r&&r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(t);else throw"Cannot append "+r+" to "+t}static removeChild(t,r){if(this.isElement(r))r.removeChild(t);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+r}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let r=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let r=document.createElement("div");r.className="p-scrollbar-measure",document.body.appendChild(r);let o=r.offsetWidth-r.clientWidth;return document.body.removeChild(r),this.calculatedScrollbarWidth=o,o}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let r=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=r,r}static invokeElementMethod(t,r,o){t[r].apply(t,o)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),r=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:r[1]||"",version:r[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,r){t&&document.activeElement!==t&&t.focus(r)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
|
|
138
|
+
`,Ce=(()=>{class e{name="base";useStyle=g($v);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,r={},o=i=>i)=>{let i=o(hr`${Jt(t,{dt:Si})}`);return i?this.useStyle.use(Ti(i),y({name:this.name},r)):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},r="")=>this.load(this.style,t,(o="")=>Z.transformCSS(t.name||this.name,`${o}${hr`${r}`}`));loadBaseCSS=(t={})=>this.load(nM,t);loadBaseStyle=(t={},r="")=>this.load(Hv,t,(o="")=>Z.transformCSS(t.name||this.name,`${o}${hr`${r}`}`));getCommonTheme=t=>Z.getCommon(this.name,t);getComponentTheme=t=>Z.getComponent(this.name,t);getPresetTheme=(t,r,o)=>Z.getCustomPreset(this.name,t,r,o);getLayerOrderThemeCSS=()=>Z.getLayerOrderCSS(this.name);getStyleSheet=(t="",r={})=>{if(this.css){let o=Jt(this.css,{dt:Si}),i=Ti(hr`${o}${t}`),s=Object.entries(r).reduce((a,[c,l])=>a.push(`${c}="${l}"`)&&a,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${i}</style>`}return""};getCommonThemeStyleSheet=(t,r={})=>Z.getCommonStyleSheet(this.name,t,r);getThemeStyleSheet=(t,r={})=>{let o=[Z.getStyleSheet(this.name,t,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=hr`${Jt(this.style,{dt:Si})}`,a=Ti(Z.transformCSS(i,s)),c=Object.entries(r).reduce((l,[u,d])=>l.push(`${u}="${d}"`)&&l,[]).join(" ");o.push(`<style type="text/css" data-primeng-style-id="${i}" ${c}>${a}</style>`)}return o.join("")};static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rM=(()=>{class e{theme=$(void 0);csp=$({nonce:void 0});isThemeChanged=!1;document=g(B);baseStyle=g(Ce);constructor(){_e(()=>{pr.on("theme:change",t=>{li(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),_e(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){Z.clearLoadedStyleNames(),pr.clear()}onThemeChange(t){Z.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!Z.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,y({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,y({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,y({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(y({name:"global-style"},s),i),Z.setLoadedStyleName("common")}}setThemeConfig(t){let{theme:r,csp:o}=t||{};r&&this.theme.set(r),o&&this.csp.set(o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lf=(()=>{class e extends rM{ripple=$(!1);platformId=g(pt);inputStyle=$(null);inputVariant=$(null);overlayAppendTo=$("self");overlayOptions={};csp=$({nonce:void 0});unstyled=$(void 0);pt=$(void 0);ptOptions=$(void 0);filterMatchModeOptions={text:[ge.STARTS_WITH,ge.CONTAINS,ge.NOT_CONTAINS,ge.ENDS_WITH,ge.EQUALS,ge.NOT_EQUALS],numeric:[ge.EQUALS,ge.NOT_EQUALS,ge.LESS_THAN,ge.LESS_THAN_OR_EQUAL_TO,ge.GREATER_THAN,ge.GREATER_THAN_OR_EQUAL_TO],date:[ge.DATE_IS,ge.DATE_IS_NOT,ge.DATE_BEFORE,ge.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",completed:"Completed",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize",minimizeLabel:"Minimize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new K;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=y(y({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:c,translation:l,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:f,ptOptions:p,pt:h,unstyled:m}=t||{};r&&this.csp.set(r),d&&this.overlayAppendTo.set(d),o&&this.ripple.set(o),i&&this.inputStyle.set(i),s&&this.inputVariant.set(s),c&&(this.overlayOptions=c),l&&this.setTranslation(l),u&&(this.filterMatchModeOptions=u),f&&(this.zIndex=f),h&&this.pt.set(h),p&&this.ptOptions.set(p),m&&this.unstyled.set(m),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oM=new D("PRIME_NG_CONFIG");function XH(...e){let n=e?.map(r=>({provide:oM,useValue:r,multi:!1})),t=Ed(()=>{let r=g(lf);e?.forEach(o=>r.setConfig(o))});return It([...n,t])}var Uv=(()=>{class e extends Ce{name="common";static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ur=new D("PARENT_INSTANCE"),et=(()=>{class e{document=g(B);platformId=g(pt);el=g(be);injector=g(se);cd=g(di);renderer=g(Nt);config=g(lf);$parentInstance=g(ur,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=g(Uv);baseStyle=g(Ce);scopedStyleEl;parent=this.$params.parent;cn=Cn;_themeScopedListener;themeChangeListenerMap=new Map;dt=Ie();unstyled=Ie();pt=Ie();ptOptions=Ie();$attrSelector=Ii("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=$(void 0);directiveUnstyled=$(void 0);$unstyled=xe(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=xe(()=>Jt(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>Jt(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||Jt(t,this.$params))}get $style(){return y(y({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let t=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:t}}}onInit(){}onChanges(t){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){_e(t=>{this.document&&!qd(this.platformId)&&(this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener("_themeScopedListener",this._themeScopedListener)):this._unloadScopedThemeStyles()),t(()=>{this._offThemeChangeListener("_themeScopedListener")})}),_e(t=>{this.document&&!qd(this.platformId)&&(this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener("_loadCoreStyles",this._loadCoreStyles))),t(()=>{this._offThemeChangeListener("_loadCoreStyles")})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(t){this.onChanges(t),this._hook("onChanges",t)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.$el?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(t,...r){return _f(t)?t(...r):cf(...r)}_getHostInstance(t){return t?this.$hostName?this.$name===this.$hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0}_getPropValue(t){return this[t]||this._getHostInstance(this)?.[t]}_getOptionValue(t,r="",o={}){return Nf(t,r,o)}_hook(t,...r){if(!this.$hostName){let o=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${t}`),i=this._useDefaultPT(this._getOptionValue,`hooks.${t}`);o?.(...r),i?.(...r)}}_load(){co.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),co.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){let t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);uo(t)&&this.baseStyle.load(t,y({name:"global"},this.$styleOptions))}_loadCoreStyles(){!co.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),co.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!Z.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,y({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,y({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,y({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(y({name:"global-style"},this.$styleOptions),i),Z.setLoadedStyleName("common")}if(!Z.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:t,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,y({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(y({name:`${this.$style?.name}-style`},this.$styleOptions),r),Z.setLoadedStyleName(this.$style?.name)}if(!Z.isStyleNameLoaded("layer-order")){let t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,y({name:"layer-order",first:!0},this.$styleOptions)),Z.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){let{css:r}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,y({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,r=()=>{}){this._offThemeChangeListener(t),co.clearLoadedStyleNames();let o=r.bind(this);this.themeChangeListenerMap.set(t,o),pr.on("theme:change",o)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(pr.off("theme:change",this.themeChangeListenerMap.get(t)),this.themeChangeListenerMap.delete(t))}_getPTValue(t={},r="",o={},i=!0){let s=/./g.test(r)&&!!o[r.split(".")[0]],{mergeSections:a=!0,mergeProps:c=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},l=i?s?this._useGlobalPT(this._getPTClassValue,r,o):this._useDefaultPT(this._getPTClassValue,r,o):void 0,u=s?void 0:this._usePT(this._getPT(t,this.$hostName||this.$name),this._getPTClassValue,r,j(y({},o),{global:l||{}})),d=this._getPTDatasets(r);return a||!a&&u?c?this._mergeProps(c,l,u,d):y(y(y({},l),u),d):y(y({},u),d)}_getPTDatasets(t=""){let r="data-pc-",o=t==="root"&&uo(this.$pt()?.["data-pc-section"]);return t!=="transition"&&j(y({},t==="root"&&j(y({[`${r}name`]:fr(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:fr(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:fr(t.includes(".")?t.split(".").at(-1)??"":t)})}_getPTClassValue(t,r,o){let i=this._getOptionValue(t,r,o);return wi(i)||Af(i)?{class:i}:i}_getPT(t,r="",o){let i=(s,a=!1)=>{let c=o?o(s):s,l=fr(r),u=fr(this.$hostName||this.$name);return(a?l!==u?c?.[l]:void 0:c?.[l])??c};return t?.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t,!0)}_usePT(t,r,o,i){let s=a=>r?.call(this,a,o,i);if(t?.hasOwnProperty("_usept")){let{mergeSections:a=!0,mergeProps:c=!1}=t._usept||this.config?.ptOptions()||{},l=s(t.originalValue),u=s(t.value);return l===void 0&&u===void 0?void 0:wi(u)?u:wi(l)?l:a||!a&&u?c?this._mergeProps(c,l,u):y(y({},l),u):u}return s(t)}_useGlobalPT(t,r,o){return this._usePT(this.$globalPT,t,r,o)}_useDefaultPT(t,r,o){return this._usePT(this.$defaultPT,t,r,o)}ptm(t="",r={}){return this._getPTValue(this.$pt(),t,y(y({},this.$params),r))}ptms(t,r={}){return t.reduce((o,i)=>(o=cf(o,this.ptm(i,r))||{},o),{})}ptmo(t={},r="",o={}){return this._getPTValue(t,r,y({instance:this},o),!1)}cx(t,r={}){return this.$unstyled()?void 0:Cn(this._getOptionValue(this.$style.classes,t,y(y({},this.$params),r)))}sx(t="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,t,y(y({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,t,y(y({},this.$params),o));return y(y({},s),i)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=te({type:e,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[Ue([Uv,Ce]),bn]})}return e})();var uf=(()=>{class e{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,r){t&&r&&(t.classList?t.classList.add(r):t.className+=" "+r)}static addMultipleClasses(t,r){if(t&&r)if(t.classList){let o=r.trim().split(" ");for(let i=0;i<o.length;i++)t.classList.add(o[i])}else{let o=r.split(" ");for(let i=0;i<o.length;i++)t.className+=" "+o[i]}}static removeClass(t,r){t&&r&&(t.classList?t.classList.remove(r):t.className=t.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,r){t&&r&&[r].flat().filter(Boolean).forEach(o=>o.split(" ").forEach(i=>this.removeClass(t,i)))}static hasClass(t,r){return t&&r?t.classList?t.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(r){return r!==t})}static find(t,r){return Array.from(t.querySelectorAll(r))}static findSingle(t,r){return this.isElement(t)?t.querySelector(r):null}static index(t){let r=t.parentNode.childNodes,o=0;for(var i=0;i<r.length;i++){if(r[i]==t)return o;r[i].nodeType==1&&o++}return-1}static indexWithinGroup(t,r){let o=t.parentNode?t.parentNode.childNodes:[],i=0;for(var s=0;s<o.length;s++){if(o[s]==t)return i;o[s].attributes&&o[s].attributes[r]&&o[s].nodeType==1&&i++}return-1}static appendOverlay(t,r,o="self"){o!=="self"&&t&&r&&this.appendChild(t,r)}static alignOverlay(t,r,o="self",i=!0){t&&r&&(i&&(t.style.minWidth=`${e.getOuterWidth(r)}px`),o==="self"?this.relativePosition(t,r):this.absolutePosition(t,r))}static relativePosition(t,r,o=!0){let i=z=>{if(z)return getComputedStyle(z).getPropertyValue("position")==="relative"?z:i(z.parentElement)},s=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),a=r.offsetHeight,c=r.getBoundingClientRect(),l=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport(),p=i(t)?.getBoundingClientRect()||{top:-1*l,left:-1*u},h,m,b="top";c.top+a+s.height>d.height?(h=c.top-p.top-s.height,b="bottom",c.top+h<0&&(h=-1*c.top)):(h=a+c.top-p.top,b="top");let E=c.left+s.width-d.width,x=c.left-p.left;if(s.width>d.width?m=(c.left-p.left)*-1:E>0?m=x-E:m=c.left-p.left,t.style.top=h+"px",t.style.left=m+"px",t.style.transformOrigin=b,o){let z=bf(/-anchor-gutter$/)?.value;t.style.marginTop=b==="bottom"?`calc(${z??"2px"} * -1)`:z??""}}static absolutePosition(t,r,o=!0){let i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=i.height,a=i.width,c=r.offsetHeight,l=r.offsetWidth,u=r.getBoundingClientRect(),d=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport(),h,m;u.top+c+s>p.height?(h=u.top+d-s,t.style.transformOrigin="bottom",h<0&&(h=d)):(h=c+u.top+d,t.style.transformOrigin="top"),u.left+a>p.width?m=Math.max(0,u.left+f+l-a):m=u.left+f,t.style.top=h+"px",t.style.left=m+"px",o&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,r=[]){return t.parentNode===null?r:this.getParents(t.parentNode,r.concat([t.parentNode]))}static getScrollableParents(t){let r=[];if(t){let o=this.getParents(t),i=/(auto|scroll)/,s=a=>{let c=window.getComputedStyle(a,null);return i.test(c.getPropertyValue("overflow"))||i.test(c.getPropertyValue("overflowX"))||i.test(c.getPropertyValue("overflowY"))};for(let a of o){let c=a.nodeType===1&&a.dataset.scrollselectors;if(c){let l=c.split(",");for(let u of l){let d=this.findSingle(a,u);d&&s(d)&&r.push(d)}}a.nodeType!==9&&s(a)&&r.push(a)}}return r}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementDimensions(t){let r={};return t.style.visibility="hidden",t.style.display="block",r.width=t.offsetWidth,r.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",r}static scrollInView(t,r){let o=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=o?parseFloat(o):0,s=getComputedStyle(t).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,c=t.getBoundingClientRect(),u=r.getBoundingClientRect().top+document.body.scrollTop-(c.top+document.body.scrollTop)-i-a,d=t.scrollTop,f=t.clientHeight,p=this.getOuterHeight(r);u<0?t.scrollTop=d+u:u+p>f&&(t.scrollTop=d+u-f+p)}static fadeIn(t,r){t.style.opacity=0;let o=+new Date,i=0,s=function(){i=+t.style.opacity.replace(",",".")+(new Date().getTime()-o)/r,t.style.opacity=i,o=+new Date,+i<1&&(window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,16))};s()}static fadeOut(t,r){var o=1,i=50,s=r,a=i/s;let c=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(c)),t.style.opacity=o},i)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,r){var o=Element.prototype,i=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||function(s){return[].indexOf.call(document.querySelectorAll(s),this)!==-1};return i.call(t,r)}static getOuterWidth(t,r){let o=t.offsetWidth;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return o}static getHorizontalPadding(t){let r=getComputedStyle(t);return parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)}static getHorizontalMargin(t){let r=getComputedStyle(t);return parseFloat(r.marginLeft)+parseFloat(r.marginRight)}static innerWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static width(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static getInnerHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),r}static getOuterHeight(t,r){let o=t.offsetHeight;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return o}static getHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),r}static getWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),r}static getViewport(){let t=window,r=document,o=r.documentElement,i=r.getElementsByTagName("body")[0],s=t.innerWidth||o.clientWidth||i.clientWidth,a=t.innerHeight||o.clientHeight||i.clientHeight;return{width:s,height:a}}static getOffset(t){var r=t.getBoundingClientRect();return{top:r.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:r.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,r){let o=t.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(r,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return!0;var o=t.indexOf("Trident/");if(o>0){var i=t.indexOf("rv:");return!0}var s=t.indexOf("Edge/");return s>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,r){if(this.isElement(r))r.appendChild(t);else if(r&&r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(t);else throw"Cannot append "+r+" to "+t}static removeChild(t,r){if(this.isElement(r))r.removeChild(t);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+r}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let r=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let r=document.createElement("div");r.className="p-scrollbar-measure",document.body.appendChild(r);let o=r.offsetWidth-r.clientWidth;return document.body.removeChild(r),this.calculatedScrollbarWidth=o,o}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let r=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=r,r}static invokeElementMethod(t,r,o){t[r].apply(t,o)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),r=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:r[1]||"",version:r[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,r){t&&document.activeElement!==t&&t.focus(r)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
|
|
139
139
|
[href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
|
|
140
140
|
input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
|
|
141
141
|
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
|
|
@@ -149,7 +149,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
149
149
|
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
150
150
|
textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
151
151
|
[tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
152
|
-
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}}return e})();function
|
|
152
|
+
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}}return e})();function g$(){yf({variableName:oc("scrollbar.width").name})}function m$(){vf({variableName:oc("scrollbar.width").name})}var Wv=class{element;listener;scrollableParents;constructor(n,t=()=>{}){this.element=n,this.listener=t}bindScrollListener(){this.scrollableParents=uf.getScrollableParents(this.element);for(let n=0;n<this.scrollableParents.length;n++)this.scrollableParents[n].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let n=0;n<this.scrollableParents.length;n++)this.scrollableParents[n].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}};var zv=(()=>{class e extends et{autofocus=!1;focused=!1;platformId=g(pt);document=g(B);host=g(be);onAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){gi(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=uf.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275dir=te({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[Ee]})}return e})();var We=(()=>{class e{el;renderer;pBind=Ie(void 0);_attrs=$(void 0);attrs=xe(()=>this._attrs()||this.pBind());styles=xe(()=>this.attrs()?.style);classes=xe(()=>Cn(this.attrs()?.class));listeners=[];constructor(t,r){this.el=t,this.renderer=r,_e(()=>{let a=this.attrs()||{},{style:o,class:i}=a,s=ec(a,["style","class"]);for(let[c,l]of Object.entries(s))if(c.startsWith("on")&&typeof l=="function"){let u=c.slice(2).toLowerCase();if(!this.listeners.some(d=>d.eventName===u)){let d=this.renderer.listen(this.el.nativeElement,u,l);this.listeners.push({eventName:u,unlisten:d})}}else l==null?this.renderer.removeAttribute(this.el.nativeElement,c):(this.renderer.setAttribute(this.el.nativeElement,c,l.toString()),c in this.el.nativeElement&&(this.el.nativeElement[c]=l))})}ngOnDestroy(){this.clearListeners()}setAttrs(t){Ci(this._attrs(),t)||this._attrs.set(t)}clearListeners(){this.listeners.forEach(({unlisten:t})=>t()),this.listeners=[]}static \u0275fac=function(r){return new(r||e)(ee(be),ee(Nt))};static \u0275dir=te({type:e,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(r,o){r&2&&(Sd(o.styles()),Ae(o.classes()))},inputs:{pBind:[1,"pBind"]}})}return e})(),Gv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=he({type:e});static \u0275inj=fe({})}return e})();var qv=`
|
|
153
153
|
.p-badge {
|
|
154
154
|
display: inline-flex;
|
|
155
155
|
border-radius: dt('badge.border.radius');
|
|
@@ -225,7 +225,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
225
225
|
height: dt('badge.xl.height');
|
|
226
226
|
}
|
|
227
227
|
`;var iM=`
|
|
228
|
-
${
|
|
228
|
+
${qv}
|
|
229
229
|
|
|
230
230
|
/* For PrimeNG (directive)*/
|
|
231
231
|
.p-overlay-badge {
|
|
@@ -240,7 +240,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
240
240
|
transform-origin: 100% 0;
|
|
241
241
|
margin: 0;
|
|
242
242
|
}
|
|
243
|
-
`,sM={root:({instance:e})=>{let n=typeof e.value=="function"?e.value():e.value,t=typeof e.size=="function"?e.size():e.size,r=typeof e.badgeSize=="function"?e.badgeSize():e.badgeSize,o=typeof e.severity=="function"?e.severity():e.severity;return["p-badge p-component",{"p-badge-circle":uo(n)&&String(n).length===1,"p-badge-dot":
|
|
243
|
+
`,sM={root:({instance:e})=>{let n=typeof e.value=="function"?e.value():e.value,t=typeof e.size=="function"?e.size():e.size,r=typeof e.badgeSize=="function"?e.badgeSize():e.badgeSize,o=typeof e.severity=="function"?e.severity():e.severity;return["p-badge p-component",{"p-badge-circle":uo(n)&&String(n).length===1,"p-badge-dot":Sf(n),"p-badge-sm":t==="small"||r==="small","p-badge-lg":t==="large"||r==="large","p-badge-xl":t==="xlarge"||r==="xlarge","p-badge-info":o==="info","p-badge-success":o==="success","p-badge-warn":o==="warn","p-badge-danger":o==="danger","p-badge-secondary":o==="secondary","p-badge-contrast":o==="contrast"}]}},Zv=(()=>{class e extends Ce{name="badge";style=iM;classes=sM;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var Yv=new D("BADGE_INSTANCE");var ff=(()=>{class e extends et{componentName="Badge";$pcBadge=g(Yv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(We,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=Ie();badgeSize=Ie();size=Ie();severity=Ie();value=Ie();badgeDisabled=Ie(!1,{transform:ce});_componentStyle=g(Zv);get dataP(){return this.cn({circle:this.value()!=null&&String(this.value()).length===1,empty:this.value()==null,disabled:this.badgeDisabled(),[this.severity()]:this.severity(),[this.size()]:this.size()})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Pe({type:e,selectors:[["p-badge"]],hostVars:5,hostBindings:function(r,o){r&2&&(Je("data-p",o.dataP),Ae(o.cn(o.cx("root"),o.styleClass())),no("display",o.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[Ue([Zv,{provide:Yv,useExisting:e},{provide:ur,useExisting:e}]),sr([We]),Ee],decls:1,vars:1,template:function(r,o){r&1&&ai(0),r&2&&ro(o.value())},dependencies:[gt,wn,Gv],encapsulation:2,changeDetection:0})}return e})(),Kv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=he({type:e});static \u0275inj=fe({imports:[ff,wn,wn]})}return e})();var cM=["*"],lM={root:"p-fluid"},Qv=(()=>{class e extends Ce{name="fluid";classes=lM;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var Jv=new D("FLUID_INSTANCE"),Xv=(()=>{class e extends et{componentName="Fluid";$pcFluid=g(Jv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(We,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=g(Qv);static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Pe({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(r,o){r&2&&Ae(o.cx("root"))},features:[Ue([Qv,{provide:Jv,useExisting:e},{provide:ur,useExisting:e}]),sr([We]),Ee],ngContentSelectors:cM,decls:1,vars:0,template:function(r,o){r&1&&(At(),xt(0))},dependencies:[gt],encapsulation:2,changeDetection:0})}return e})();var uM=["*"],dM=`
|
|
244
244
|
.p-icon {
|
|
245
245
|
display: inline-block;
|
|
246
246
|
vertical-align: baseline;
|
|
@@ -273,7 +273,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
273
273
|
transform: rotate(359deg);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
`,
|
|
276
|
+
`,eb=(()=>{class e extends Ce{name="baseicon";css=dM;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tb=(()=>{class e extends et{spin=!1;_componentStyle=g(eb);getClassNames(){return Cn("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Pe({type:e,selectors:[["ng-component"]],hostAttrs:["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],hostVars:2,hostBindings:function(r,o){r&2&&Ae(o.getClassNames())},inputs:{spin:[2,"spin","spin",ce]},features:[Ue([eb]),Ee],ngContentSelectors:uM,decls:1,vars:0,template:function(r,o){r&1&&(At(),xt(0))},encapsulation:2,changeDetection:0})}return e})();var fM=["data-p-icon","spinner"],nb=(()=>{class e extends tb{pathId;onInit(){this.pathId="url(#"+Ii()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Pe({type:e,selectors:[["","data-p-icon","spinner"]],features:[Ee],attrs:fM,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(r,o){r&1&&(kr(),Jr(0,"g"),ii(1,"path",0),Xr(),Jr(2,"defs")(3,"clipPath",1),ii(4,"rect",2),Xr()()),r&2&&(Je("clip-path",o.pathId),De(3),_a("id",o.pathId))},encapsulation:2})}return e})();var rb=`
|
|
277
277
|
.p-ink {
|
|
278
278
|
display: block;
|
|
279
279
|
position: absolute;
|
|
@@ -294,7 +294,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
`;var pM=`
|
|
297
|
-
${
|
|
297
|
+
${rb}
|
|
298
298
|
|
|
299
299
|
/* For PrimeNG */
|
|
300
300
|
.p-ripple {
|
|
@@ -312,7 +312,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
312
312
|
transform: scale(2.5);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
`,hM={root:"p-ink"},
|
|
315
|
+
`,hM={root:"p-ink"},ob=(()=>{class e extends Ce{name="ripple";style=pM;classes=hM;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var ib=(()=>{class e extends et{componentName="Ripple";zone=g(ue);_componentStyle=g(ob);animationListener;mouseDownListener;timeout;constructor(){super(),_e(()=>{gi(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(t){let r=this.getInk();if(!r||this.document.defaultView?.getComputedStyle(r,null).display==="none")return;if(!this.$unstyled()&&dr(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!nc(r)&&!rc(r)){let a=Math.max(Df(this.el.nativeElement),Cf(this.el.nativeElement));r.style.height=a+"px",r.style.width=a+"px"}let o=If(this.el.nativeElement),i=t.pageX-o.left+this.document.body.scrollTop-rc(r)/2,s=t.pageY-o.top+this.document.body.scrollLeft-nc(r)/2;this.renderer.setStyle(r,"top",s+"px"),this.renderer.setStyle(r,"left",i+"px"),!this.$unstyled()&&tc(r,"p-ink-active"),r.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&(!this.$unstyled()&&dr(a,"p-ink-active"),a.setAttribute("data-p-ink-active","false"))},401)}getInk(){let t=this.el.nativeElement.children;for(let r=0;r<t.length;r++)if(typeof t[r].className=="string"&&t[r].className.indexOf("p-ink")!==-1)return t[r];return null}resetInk(){let t=this.getInk();t&&(!this.$unstyled()&&dr(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&dr(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")}create(){let t=this.renderer.createElement("span");this.renderer.addClass(t,"p-ink"),this.renderer.appendChild(this.el.nativeElement,t),this.renderer.setAttribute(t,"data-p-ink","true"),this.renderer.setAttribute(t,"data-p-ink-active","false"),this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(t,"animationend",this.onAnimationEnd.bind(this)))}remove(){let t=this.getInk();t&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,wf(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=te({type:e,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[Ue([ob]),Ee]})}return e})();var sb=`
|
|
316
316
|
.p-button {
|
|
317
317
|
display: inline-flex;
|
|
318
318
|
cursor: pointer;
|
|
@@ -962,4 +962,4 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
962
962
|
border-color: transparent;
|
|
963
963
|
color: dt('button.link.active.color');
|
|
964
964
|
}
|
|
965
|
-
`;var gM=["content"],mM=["loadingicon"],yM=["icon"],vM=["*"],cb=(e,n)=>({class:e,pt:n});function bM(e,n){e&1&&Sa(0)}function DM(e,n){if(e&1&&ar(0,"span",7),e&2){let t=Xe(3);Ae(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon))),ne("pBind",t.ptm("loadingIcon")),Je("aria-hidden",!0)}}function EM(e,n){if(e&1&&(kr(),ar(0,"svg",8)),e&2){let t=Xe(3);Ae(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),ne("pBind",t.ptm("loadingIcon"))("spin",!0),Je("aria-hidden",!0)}}function IM(e,n){if(e&1&&(cr(0),Zt(1,DM,1,4,"span",3)(2,EM,1,5,"svg",6),En()),e&2){let t=Xe(2);De(),ne("ngIf",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon)),De(),ne("ngIf",!(t.loadingIcon||t.buttonProps!=null&&t.buttonProps.loadingIcon))}}function CM(e,n){}function wM(e,n){if(e&1&&Zt(0,CM,0,0,"ng-template",9),e&2){let t=Xe(2);ne("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function TM(e,n){if(e&1&&(cr(0),Zt(1,IM,3,2,"ng-container",2)(2,wM,1,1,null,5),En()),e&2){let t=Xe();De(),ne("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),De(),ne("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",Aa(3,cb,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function SM(e,n){if(e&1&&ar(0,"span",7),e&2){let t=Xe(2);Ae(t.cn(t.cx("icon"),t.icon||(t.buttonProps==null?null:t.buttonProps.icon))),ne("pBind",t.ptm("icon")),Je("data-p",t.dataIconP)}}function _M(e,n){}function MM(e,n){if(e&1&&Zt(0,_M,0,0,"ng-template",9),e&2){let t=Xe(2);ne("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function NM(e,n){if(e&1&&(cr(0),Zt(1,SM,1,4,"span",3)(2,MM,1,1,null,5),En()),e&2){let t=Xe();De(),ne("ngIf",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),De(),ne("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",Aa(3,cb,t.cx("icon"),t.ptm("icon")))}}function AM(e,n){if(e&1&&(rr(0,"span",7),ai(1),Qr()),e&2){let t=Xe();Ae(t.cx("label")),ne("pBind",t.ptm("label")),Je("aria-hidden",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!(t.label||t.buttonProps!=null&&t.buttonProps.label))("data-p",t.dataLabelP),De(),ro(t.label||(t.buttonProps==null?null:t.buttonProps.label))}}function xM(e,n){if(e&1&&ar(0,"p-badge",10),e&2){let t=Xe();ne("value",t.badge||(t.buttonProps==null?null:t.buttonProps.badge))("severity",t.badgeSeverity||(t.buttonProps==null?null:t.buttonProps.badgeSeverity))("pt",t.ptm("pcBadge"))("unstyled",t.unstyled())}}var RM={root:({instance:e})=>["p-button p-component",{"p-button-icon-only":e.hasIcon&&!e.label&&!e.buttonProps?.label&&!e.badge,"p-button-vertical":(e.iconPos==="top"||e.iconPos==="bottom")&&e.label,"p-button-loading":e.loading||e.buttonProps?.loading,"p-button-link":e.link||e.buttonProps?.link,[`p-button-${e.severity||e.buttonProps?.severity}`]:e.severity||e.buttonProps?.severity,"p-button-raised":e.raised||e.buttonProps?.raised,"p-button-rounded":e.rounded||e.buttonProps?.rounded,"p-button-text":e.text||e.variant==="text"||e.buttonProps?.text||e.buttonProps?.variant==="text","p-button-outlined":e.outlined||e.variant==="outlined"||e.buttonProps?.outlined||e.buttonProps?.variant==="outlined","p-button-sm":e.size==="small"||e.buttonProps?.size==="small","p-button-lg":e.size==="large"||e.buttonProps?.size==="large","p-button-plain":e.plain||e.buttonProps?.plain,"p-button-fluid":e.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({instance:e})=>["p-button-icon",{[`p-button-icon-${e.iconPos||e.buttonProps?.iconPos}`]:e.label||e.buttonProps?.label,"p-button-icon-left":(e.iconPos==="left"||e.buttonProps?.iconPos==="left")&&e.label||e.buttonProps?.label,"p-button-icon-right":(e.iconPos==="right"||e.buttonProps?.iconPos==="right")&&e.label||e.buttonProps?.label,"p-button-icon-top":(e.iconPos==="top"||e.buttonProps?.iconPos==="top")&&e.label||e.buttonProps?.label,"p-button-icon-bottom":(e.iconPos==="bottom"||e.buttonProps?.iconPos==="bottom")&&e.label||e.buttonProps?.label},e.icon,e.buttonProps?.icon],spinnerIcon:({instance:e})=>Object.entries(e.cx("icon")).filter(([,n])=>!!n).reduce((n,[t])=>n+` ${t}`,"p-button-loading-icon"),label:"p-button-label"},sb=(()=>{class e extends Ce{name="button";style=ib;classes=RM;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var ab=new I("BUTTON_INSTANCE");var OM=(()=>{class e extends et{componentName="Button";hostName="";$pcButton=g(ab,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(We,{self:!0});_componentStyle=g(sb);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}type="button";badge;disabled;raised=!1;rounded=!1;text=!1;plain=!1;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;iconPos="left";icon;label;loading=!1;loadingIcon;severity;buttonProps;fluid=Ie(void 0,{transform:ce});onClick=new Be;onFocus=new Be;onBlur=new Be;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=g(Jv,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}get hasIcon(){return this.icon||this.buttonProps?.icon||this.iconTemplate||this._iconTemplate||this.loadingIcon||this.loadingIconTemplate||this._loadingIconTemplate}_contentTemplate;_iconTemplate;_loadingIconTemplate;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"loadingicon":this._loadingIconTemplate=t.template;break;default:this._contentTemplate=t.template;break}})}get dataP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge,loading:this.loading,fluid:this.hasFluid,rounded:this.rounded,raised:this.raised,outlined:this.outlined||this.variant==="outlined",text:this.text||this.variant==="text",link:this.link,vertical:(this.iconPos==="top"||this.iconPos==="bottom")&&this.label})}get dataIconP(){return this.cn({[this.iconPos]:this.iconPos,[this.size]:this.size})}get dataLabelP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Pe({type:e,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&Na(i,gM,5)(i,mM,5)(i,yM,5)(i,jv,4),r&2){let s;eo(s=to())&&(o.contentTemplate=s.first),eo(s=to())&&(o.loadingIconTemplate=s.first),eo(s=to())&&(o.iconTemplate=s.first),eo(s=to())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",ce],raised:[2,"raised","raised",ce],rounded:[2,"rounded","rounded",ce],text:[2,"text","text",ce],plain:[2,"plain","plain",ce],outlined:[2,"outlined","outlined",ce],link:[2,"link","link",ce],tabindex:[2,"tabindex","tabindex",fi],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",ce],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",ce],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[Ue([sb,{provide:ab,useExisting:e},{provide:ur,useExisting:e}]),sr([We]),Ee],ngContentSelectors:vM,decls:7,vars:17,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","pAutoFocus","pBind"],[4,"ngTemplateOutlet"],[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"value","severity","pt","unstyled",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","spinner",3,"class","pBind","spin",4,"ngIf"],[3,"pBind"],["data-p-icon","spinner",3,"pBind","spin"],[3,"ngIf"],[3,"value","severity","pt","unstyled"]],template:function(r,o){r&1&&(At(),rr(0,"button",0),Ma("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),xt(1),Zt(2,bM,1,0,"ng-container",1)(3,TM,3,6,"ng-container",2)(4,NM,3,6,"ng-container",2)(5,AM,2,6,"span",3)(6,xM,1,4,"p-badge",4),Qr()),r&2&&(Ae(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),ne("ngStyle",o.style||(o.buttonProps==null?null:o.buttonProps.style))("disabled",o.disabled||o.loading||(o.buttonProps==null?null:o.buttonProps.disabled))("pAutoFocus",o.autofocus||(o.buttonProps==null?null:o.buttonProps.autofocus))("pBind",o.ptm("root")),Je("type",o.type||(o.buttonProps==null?null:o.buttonProps.type))("aria-label",o.ariaLabel||(o.buttonProps==null?null:o.buttonProps.ariaLabel))("tabindex",o.tabindex||(o.buttonProps==null?null:o.buttonProps.tabindex))("data-p",o.dataP)("data-p-disabled",o.disabled||o.loading||(o.buttonProps==null?null:o.buttonProps.disabled))("data-p-severity",o.severity||(o.buttonProps==null?null:o.buttonProps.severity)),De(2),ne("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),De(),ne("ngIf",o.loading||(o.buttonProps==null?null:o.buttonProps.loading)),De(),ne("ngIf",!(o.loading||o.buttonProps!=null&&o.buttonProps.loading)),De(),ne("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.label||(o.buttonProps==null?null:o.buttonProps.label))),De(),ne("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.badge||(o.buttonProps==null?null:o.buttonProps.badge))))},dependencies:[gt,Ud,zd,Wd,ob,Wv,tb,Yv,ff,wn,We],encapsulation:2,changeDetection:0})}return e})(),JU=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=he({type:e});static \u0275inj=fe({imports:[gt,OM,wn,wn]})}return e})();function lb(e){e||(e=g(X));let n=new A(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(Mc(n))}function c8(e,n){let r=!n?.manualCleanup?n?.injector?.get(X)??g(X):null,o=kM(n?.equal),i;n?.requireSync?i=$({kind:0},{equal:o}):i=$({kind:1,value:n?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new E(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),xe(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new E(601,!1)}},{equal:n?.equal})}function kM(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var db=new I("DATA_SOURCE"),ub=class extends Error{code;details;constructor(n,t,r){super(t),this.name="DataSourceError",this.code=n,this.details=r}};function pf(e){if(typeof e!="object"||e===null)return!1;let n=e;if(typeof n.type!="string"||n.type.length===0)return!1;let t=n.timestamp;return!(typeof t!="number"&&typeof t!="string"||!("data"in n))}function fb(e){if(!pf(e)||e.type!=="sidecar.bumped")return!1;let n=e.data;if(typeof n!="object"||n===null||typeof n.nodePath!="string"||n.nodePath.length===0)return!1;let t=n.version;return!(t!==null&&typeof t!="number"||n.status!=="fresh")}var pb=new I("SKILL_MAP_MODE");function g8(){return typeof document>"u"?"live":document.querySelector('meta[name="skill-map-mode"]')?.content==="demo"?"demo":"live"}var mt={connected:e=>`[ws] connected to ${e}`,closed:(e,n)=>`[ws] closed (code=${e}, reason="${n}")`,malformedFrame:e=>`[ws] malformed frame dropped: ${e}`,socketError:e=>`[ws] socket error: ${e}`,reconnectScheduled:(e,n)=>`[ws] reconnect attempt ${n} scheduled in ${e}ms`,reconnectGiveUp:e=>`[ws] giving up after ${e} failed reconnect attempts`};var hb=[1e3,2e3,4e3,8e3,16e3,3e4],hf=10,PM=new Set([1e3,1001]);function FM(){return typeof window>"u"||!window.location?"ws://127.0.0.1:4242/ws":`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}var Ja=class e{mode=g(pb);destroyRef=g(X);subject=new K;socket=null;reconnectTimer=null;reconnectAttempt=0;disposed=!1;socketFactory=n=>new WebSocket(n);url=FM();events$;scanCompleted$;sidecarBumped$;_setSocketFactory(n){this.socketFactory=n}_setUrl(n){this.url=n}constructor(){this.mode!=="live"?this.events$=An:this.events$=new A(n=>{!this.socket&&!this.disposed&&this.connect();let t=this.subject.subscribe(n);return()=>t.unsubscribe()}).pipe(Sc({resetOnRefCountZero:!1})),this.scanCompleted$=this.events$.pipe(sn(n=>n.type==="scan.completed")),this.sidecarBumped$=this.events$.pipe(sn(fb)),this.destroyRef.onDestroy(()=>this.disconnect())}disconnect(){if(!this.disposed){if(this.disposed=!0,this.reconnectTimer!==null&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.socket){try{this.socket.close(1e3,"client disconnect")}catch{}this.socket=null}this.subject.complete()}}ngOnDestroy(){this.disconnect()}connect(){if(this.disposed)return;let n;try{n=this.socketFactory(this.url)}catch(t){let r=t instanceof Error?t.message:String(t);console.warn(mt.socketError(r)),this.scheduleReconnect();return}this.socket=n,n.onopen=()=>{this.reconnectAttempt=0,console.info(mt.connected(this.url))},n.onmessage=t=>{this.handleFrame(t.data)},n.onerror=t=>{let r=typeof t=="object"&&t!==null&&"message"in t?String(t.message??"unknown"):"unknown";console.warn(mt.socketError(r))},n.onclose=t=>{console.info(mt.closed(t.code,t.reason)),this.socket=null,!this.disposed&&(PM.has(t.code)||this.scheduleReconnect())}}handleFrame(n){if(typeof n!="string"){console.warn(mt.malformedFrame("non-string frame"));return}let t;try{t=JSON.parse(n)}catch(r){let o=r instanceof Error?r.message:String(r);console.warn(mt.malformedFrame(o));return}if(!pf(t)){console.warn(mt.malformedFrame("envelope shape"));return}this.subject.next(t)}scheduleReconnect(){if(this.disposed)return;if(this.reconnectAttempt>=hf){console.warn(mt.reconnectGiveUp(hf)),this.subject.error(new Error(mt.reconnectGiveUp(hf)));return}let n=Math.min(this.reconnectAttempt,hb.length-1),t=hb[n];this.reconnectAttempt+=1,console.info(mt.reconnectScheduled(t,this.reconnectAttempt)),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},t)}get _reconnectAttempt(){return this.reconnectAttempt}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var gb=class e{dataSource=g(db);wsEvents=g(Ja);destroyRef=g(X);_nodes=$([]);_scan=$(null);_loading=$(!1);_error=$(null);pendingRefresh=!1;nodes=this._nodes.asReadonly();scan=this._scan.asReadonly();loading=this._loading.asReadonly();error=this._error.asReadonly();count=xe(()=>this._nodes().length);byKind=xe(()=>{let n=new Map;for(let t of this._nodes()){let r=n.get(t.kind);r?r.push(t):n.set(t.kind,[t])}return n});hasAnyFavorites=xe(()=>this._nodes().some(n=>n.isFavorite===!0));constructor(){this.wsEvents.scanCompleted$.pipe(lb(this.destroyRef)).subscribe(()=>{this.load()})}setFavoriteLocal(n,t){this._nodes.update(r=>{let o=!1,i=r.map(s=>s.path!==n||s.isFavorite===t?s:(o=!0,j(y({},s),{isFavorite:t})));return o?i:r})}async toggleFavorite(n,t){this.setFavoriteLocal(n,t);try{return t?await this.dataSource.setFavorite(n):await this.dataSource.unsetFavorite(n),t}catch(r){this.setFavoriteLocal(n,!t);let o=r instanceof Error?r.message:String(r);return this._error.set(o),!t}}patchSidecarFromBump(n){this._nodes.update(t=>{let r=!1,o=t.map(i=>{if(i.path!==n.nodePath)return i;r=!0;let s=i.sidecar,a=y({},s?.annotations??{});return n.version!==null&&(a.version=n.version),j(y({},i),{sidecar:y({present:!0,status:n.status,annotations:a},s?.root===void 0?{}:{root:s.root})})});return r?o:t})}async load(){if(this._loading()){this.pendingRefresh=!0;return}this._loading.set(!0),this._error.set(null);try{let n=await this.dataSource.loadScan();this._scan.set(n),this._nodes.set(n.nodes.map(LM))}catch(n){let t=n instanceof Error?n.message:String(n);this._error.set(t)}finally{this._loading.set(!1),this.pendingRefresh&&(this.pendingRefresh=!1,queueMicrotask(()=>{this.load()}))}}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};function LM(e){let n=e.kind,t=e.frontmatter??{},r=j(y({},t),{name:typeof t.name=="string"?t.name:"",description:typeof t.description=="string"?t.description:""}),o={path:e.path,kind:n,provider:e.provider,frontmatter:r,linksOutCount:e.linksOutCount,linksInCount:e.linksInCount,externalRefsCount:e.externalRefsCount,bytesTotal:e.bytes?.total,tokensTotal:e.tokens?.total,bodyHash:e.bodyHash,frontmatterHash:e.frontmatterHash,isFavorite:e.isFavorite===!0};return e.sidecar&&(o.sidecar=y({},e.sidecar)),e.contributions&&(o.contributions=[...e.contributions]),o}var mb=class e{static isArray(n,t=!0){return Array.isArray(n)&&(t||n.length!==0)}static isObject(n,t=!0){return typeof n=="object"&&!Array.isArray(n)&&n!=null&&(t||Object.keys(n).length!==0)}static equals(n,t,r){return r?this.resolveFieldData(n,r)===this.resolveFieldData(t,r):this.equalsByValue(n,t)}static equalsByValue(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.equalsByValue(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=this.isDate(n),l=this.isDate(t);if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.equalsByValue(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static resolveFieldData(n,t){if(n&&t){if(this.isFunction(t))return t(n);if(t.indexOf(".")==-1)return n[t];{let r=t.split("."),o=n;for(let i=0,s=r.length;i<s;++i){if(o==null)return null;o=o[r[i]]}return o}}else return null}static isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)}static reorderArray(n,t,r){let o;n&&t!==r&&(r>=n.length&&(r%=n.length,t%=n.length),n.splice(r,0,n.splice(t,1)[0]))}static insertIntoOrderedArray(n,t,r,o){if(r.length>0){let i=!1;for(let s=0;s<r.length;s++)if(this.findIndexInList(r[s],o)>t){r.splice(s,0,n),i=!0;break}i||r.push(n)}else r.push(n)}static findIndexInList(n,t){let r=-1;if(t){for(let o=0;o<t.length;o++)if(t[o]==n){r=o;break}}return r}static contains(n,t){if(n!=null&&t&&t.length){for(let r of t)if(this.equals(n,r))return!0}return!1}static removeAccents(n){return n&&(n=n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),n}static isDate(n){return Object.prototype.toString.call(n)==="[object Date]"}static isEmpty(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!this.isDate(n)&&typeof n=="object"&&Object.keys(n).length===0}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,t,r,o=1){let i=-1,s=this.isEmpty(n),a=this.isEmpty(t);return s&&a?i=0:s?i=o:a?i=-o:typeof n=="string"&&typeof t=="string"?i=n.localeCompare(t,r,{numeric:!0}):i=n<t?-1:n>t?1:0,i}static sort(n,t,r=1,o,i=1){let s=e.compare(n,t,o,r),a=r;return(e.isEmpty(n)||e.isEmpty(t))&&(a=i===1?r:i),a*s}static merge(n,t){if(!(n==null&&t==null)){{if((n==null||typeof n=="object")&&(t==null||typeof t=="object"))return y(y({},n||{}),t||{});if((n==null||typeof n=="string")&&(t==null||typeof t=="string"))return[n||"",t||""].join(" ")}return t||n}}static isPrintableCharacter(n=""){return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}static getItemValue(n,...t){return this.isFunction(n)?n(...t):n}static findLastIndex(n,t){let r=-1;if(this.isNotEmpty(n))try{r=n.findLastIndex(t)}catch{r=n.lastIndexOf([...n].reverse().find(t))}return r}static findLast(n,t){let r;if(this.isNotEmpty(n))try{r=n.findLast(t)}catch{r=[...n].reverse().find(t)}return r}static deepEquals(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.deepEquals(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=n instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.deepEquals(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static minifyCSS(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(n){return this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}static isString(n,t=!0){return typeof n=="string"&&(t||n!=="")}},yb=0;function k8(e="pn_id_"){return yb++,`${e}${yb}`}function BM(){let e=[],n=(i,s)=>{let a=e.length>0?e[e.length-1]:{key:i,value:s},c=a.value+(a.key===i?0:s)+2;return e.push({key:i,value:c}),c},t=i=>{e=e.filter(s=>s.value!==i)},r=()=>e.length>0?e[e.length-1].value:0,o=i=>i&&parseInt(i.style.zIndex,10)||0;return{get:o,set:(i,s,a)=>{s&&(s.style.zIndex=String(n(i,a)))},clear:i=>{i&&(t(o(i)),i.style.zIndex="")},getCurrent:()=>r(),generateZIndex:n,revertZIndex:t}}var P8=BM();export{we as a,Mb as b,A as c,K as d,vo as e,An as f,qN as g,on as h,qi as i,jb as j,Vb as k,Rn as l,Hb as m,ze as n,Yb as o,Lt as p,Dc as q,Ki as r,Qb as s,Jb as t,Ec as u,sn as v,ap as w,Ic as x,Cc as y,wc as z,sD as A,aD as B,cD as C,_c as D,Mc as E,lD as F,E as G,jt as H,ss as I,v as J,fe as K,pD as L,I as M,_ as N,g as O,It as P,ve as Q,_r as R,OD as S,jp as T,Vp as U,kr as V,Qp as W,se as X,B as Y,X as Z,qn as _,Be as $,ue as aa,Wt as ba,WD as ca,$ as da,_e as ea,bn as fa,G as ga,Mu as ha,be as ia,pt as ja,nI as ka,Hg as la,iI as ma,sI as na,De as oa,rm as pa,_t as qa,Nt as ra,ee as sa,qt as ta,Zm as ua,hd as va,Pe as wa,he as xa,te as ya,sr as za,Ee as Aa,Zt as Ba,Xm as Ca,ry as Da,Ta as Ea,Ed as Fa,oy as Ga,oi as Ha,qw as Ia,Zw as Ja,Je as Ka,Ps as La,Fs as Ma,eT as Na,tT as Oa,nT as Pa,rT as Qa,oT as Ra,iT as Sa,ne as Ta,rr as Ua,Qr as Va,ar as Wa,Jr as Xa,Xr as Ya,ii as Za,cr as _a,En as $a,Sa as ab,uy as bb,uT as cb,dT as db,_a as eb,Ma as fb,py as gb,Xe as hb,At as ib,xt as jb,Na as kb,gy as lb,eo as mb,to as nb,wd as ob,my as pb,yy as qb,gT as rb,no as sb,Td as tb,Sd as ub,Ae as vb,ai as wb,ro as xb,_d as yb,Ny as zb,Ay as Ab,xy as Bb,$T as Cb,Ry as Db,ky as Eb,UT as Fb,WT as Gb,Ue as Hb,ZT as Ib,YT as Jb,Aa as Kb,KT as Lb,QT as Mb,JT as Nb,XT as Ob,eS as Pb,iS as Qb,sS as Rb,li as Sb,xe as Tb,lS as Ub,Vy as Vb,ij as Wb,Ie as Xb,sj as Yb,MS as Zb,aj as _b,cj as $b,lj as ac,di as bc,ce as cc,fi as dc,dj as ec,fj as fc,Yt as gc,Fa as hc,sv as ic,qS as jc,ZS as kc,uv as lc,Ud as mc,Wd as nc,zd as oc,gt as pc,gi as qc,Y2 as rc,b_ as sc,Rt as tc,Rv as uc,z_ as vc,G_ as wc,pH as xc,q_ as yc,Ii as zc,eM as Ac,IH as Bc,ge as Cc,CH as Dc,wH as Ec,TH as Fc,SH as Gc,_H as Hc,jv as Ic,wn as Jc,MH as Kc,Ce as Lc,lf as Mc,QH as Nc,ur as Oc,et as Pc,uf as Qc,p$ as Rc,h$ as Sc,Uv as Tc,Wv as Uc,We as Vc,zv as Wc,ff as Xc,Yv as Yc,Jv as Zc,eb as _c,tb as $c,ob as ad,OM as bd,JU as cd,mb as dd,k8 as ed,P8 as fd,lb as gd,c8 as hd,db as id,ub as jd,pb as kd,g8 as ld,Ja as md,gb as nd};
|
|
965
|
+
`;var gM=["content"],mM=["loadingicon"],yM=["icon"],vM=["*"],lb=(e,n)=>({class:e,pt:n});function bM(e,n){e&1&&Sa(0)}function DM(e,n){if(e&1&&ar(0,"span",7),e&2){let t=Xe(3);Ae(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon))),ne("pBind",t.ptm("loadingIcon")),Je("aria-hidden",!0)}}function EM(e,n){if(e&1&&(kr(),ar(0,"svg",8)),e&2){let t=Xe(3);Ae(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),ne("pBind",t.ptm("loadingIcon"))("spin",!0),Je("aria-hidden",!0)}}function IM(e,n){if(e&1&&(cr(0),Zt(1,DM,1,4,"span",3)(2,EM,1,5,"svg",6),En()),e&2){let t=Xe(2);De(),ne("ngIf",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon)),De(),ne("ngIf",!(t.loadingIcon||t.buttonProps!=null&&t.buttonProps.loadingIcon))}}function CM(e,n){}function wM(e,n){if(e&1&&Zt(0,CM,0,0,"ng-template",9),e&2){let t=Xe(2);ne("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function TM(e,n){if(e&1&&(cr(0),Zt(1,IM,3,2,"ng-container",2)(2,wM,1,1,null,5),En()),e&2){let t=Xe();De(),ne("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),De(),ne("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",Aa(3,lb,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function SM(e,n){if(e&1&&ar(0,"span",7),e&2){let t=Xe(2);Ae(t.cn(t.cx("icon"),t.icon||(t.buttonProps==null?null:t.buttonProps.icon))),ne("pBind",t.ptm("icon")),Je("data-p",t.dataIconP)}}function _M(e,n){}function MM(e,n){if(e&1&&Zt(0,_M,0,0,"ng-template",9),e&2){let t=Xe(2);ne("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function NM(e,n){if(e&1&&(cr(0),Zt(1,SM,1,4,"span",3)(2,MM,1,1,null,5),En()),e&2){let t=Xe();De(),ne("ngIf",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),De(),ne("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",Aa(3,lb,t.cx("icon"),t.ptm("icon")))}}function AM(e,n){if(e&1&&(rr(0,"span",7),ai(1),Qr()),e&2){let t=Xe();Ae(t.cx("label")),ne("pBind",t.ptm("label")),Je("aria-hidden",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!(t.label||t.buttonProps!=null&&t.buttonProps.label))("data-p",t.dataLabelP),De(),ro(t.label||(t.buttonProps==null?null:t.buttonProps.label))}}function xM(e,n){if(e&1&&ar(0,"p-badge",10),e&2){let t=Xe();ne("value",t.badge||(t.buttonProps==null?null:t.buttonProps.badge))("severity",t.badgeSeverity||(t.buttonProps==null?null:t.buttonProps.badgeSeverity))("pt",t.ptm("pcBadge"))("unstyled",t.unstyled())}}var RM={root:({instance:e})=>["p-button p-component",{"p-button-icon-only":e.hasIcon&&!e.label&&!e.buttonProps?.label&&!e.badge,"p-button-vertical":(e.iconPos==="top"||e.iconPos==="bottom")&&e.label,"p-button-loading":e.loading||e.buttonProps?.loading,"p-button-link":e.link||e.buttonProps?.link,[`p-button-${e.severity||e.buttonProps?.severity}`]:e.severity||e.buttonProps?.severity,"p-button-raised":e.raised||e.buttonProps?.raised,"p-button-rounded":e.rounded||e.buttonProps?.rounded,"p-button-text":e.text||e.variant==="text"||e.buttonProps?.text||e.buttonProps?.variant==="text","p-button-outlined":e.outlined||e.variant==="outlined"||e.buttonProps?.outlined||e.buttonProps?.variant==="outlined","p-button-sm":e.size==="small"||e.buttonProps?.size==="small","p-button-lg":e.size==="large"||e.buttonProps?.size==="large","p-button-plain":e.plain||e.buttonProps?.plain,"p-button-fluid":e.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({instance:e})=>["p-button-icon",{[`p-button-icon-${e.iconPos||e.buttonProps?.iconPos}`]:e.label||e.buttonProps?.label,"p-button-icon-left":(e.iconPos==="left"||e.buttonProps?.iconPos==="left")&&e.label||e.buttonProps?.label,"p-button-icon-right":(e.iconPos==="right"||e.buttonProps?.iconPos==="right")&&e.label||e.buttonProps?.label,"p-button-icon-top":(e.iconPos==="top"||e.buttonProps?.iconPos==="top")&&e.label||e.buttonProps?.label,"p-button-icon-bottom":(e.iconPos==="bottom"||e.buttonProps?.iconPos==="bottom")&&e.label||e.buttonProps?.label},e.icon,e.buttonProps?.icon],spinnerIcon:({instance:e})=>Object.entries(e.cx("icon")).filter(([,n])=>!!n).reduce((n,[t])=>n+` ${t}`,"p-button-loading-icon"),label:"p-button-label"},ab=(()=>{class e extends Ce{name="button";style=sb;classes=RM;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var cb=new D("BUTTON_INSTANCE");var OM=(()=>{class e extends et{componentName="Button";hostName="";$pcButton=g(cb,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(We,{self:!0});_componentStyle=g(ab);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}type="button";badge;disabled;raised=!1;rounded=!1;text=!1;plain=!1;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;iconPos="left";icon;label;loading=!1;loadingIcon;severity;buttonProps;fluid=Ie(void 0,{transform:ce});onClick=new Be;onFocus=new Be;onBlur=new Be;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=g(Xv,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}get hasIcon(){return this.icon||this.buttonProps?.icon||this.iconTemplate||this._iconTemplate||this.loadingIcon||this.loadingIconTemplate||this._loadingIconTemplate}_contentTemplate;_iconTemplate;_loadingIconTemplate;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"loadingicon":this._loadingIconTemplate=t.template;break;default:this._contentTemplate=t.template;break}})}get dataP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge,loading:this.loading,fluid:this.hasFluid,rounded:this.rounded,raised:this.raised,outlined:this.outlined||this.variant==="outlined",text:this.text||this.variant==="text",link:this.link,vertical:(this.iconPos==="top"||this.iconPos==="bottom")&&this.label})}get dataIconP(){return this.cn({[this.iconPos]:this.iconPos,[this.size]:this.size})}get dataLabelP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Pe({type:e,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&Na(i,gM,5)(i,mM,5)(i,yM,5)(i,Vv,4),r&2){let s;eo(s=to())&&(o.contentTemplate=s.first),eo(s=to())&&(o.loadingIconTemplate=s.first),eo(s=to())&&(o.iconTemplate=s.first),eo(s=to())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",ce],raised:[2,"raised","raised",ce],rounded:[2,"rounded","rounded",ce],text:[2,"text","text",ce],plain:[2,"plain","plain",ce],outlined:[2,"outlined","outlined",ce],link:[2,"link","link",ce],tabindex:[2,"tabindex","tabindex",fi],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",ce],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",ce],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[Ue([ab,{provide:cb,useExisting:e},{provide:ur,useExisting:e}]),sr([We]),Ee],ngContentSelectors:vM,decls:7,vars:17,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","pAutoFocus","pBind"],[4,"ngTemplateOutlet"],[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"value","severity","pt","unstyled",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","spinner",3,"class","pBind","spin",4,"ngIf"],[3,"pBind"],["data-p-icon","spinner",3,"pBind","spin"],[3,"ngIf"],[3,"value","severity","pt","unstyled"]],template:function(r,o){r&1&&(At(),rr(0,"button",0),Ma("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),xt(1),Zt(2,bM,1,0,"ng-container",1)(3,TM,3,6,"ng-container",2)(4,NM,3,6,"ng-container",2)(5,AM,2,6,"span",3)(6,xM,1,4,"p-badge",4),Qr()),r&2&&(Ae(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),ne("ngStyle",o.style||(o.buttonProps==null?null:o.buttonProps.style))("disabled",o.disabled||o.loading||(o.buttonProps==null?null:o.buttonProps.disabled))("pAutoFocus",o.autofocus||(o.buttonProps==null?null:o.buttonProps.autofocus))("pBind",o.ptm("root")),Je("type",o.type||(o.buttonProps==null?null:o.buttonProps.type))("aria-label",o.ariaLabel||(o.buttonProps==null?null:o.buttonProps.ariaLabel))("tabindex",o.tabindex||(o.buttonProps==null?null:o.buttonProps.tabindex))("data-p",o.dataP)("data-p-disabled",o.disabled||o.loading||(o.buttonProps==null?null:o.buttonProps.disabled))("data-p-severity",o.severity||(o.buttonProps==null?null:o.buttonProps.severity)),De(2),ne("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),De(),ne("ngIf",o.loading||(o.buttonProps==null?null:o.buttonProps.loading)),De(),ne("ngIf",!(o.loading||o.buttonProps!=null&&o.buttonProps.loading)),De(),ne("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.label||(o.buttonProps==null?null:o.buttonProps.label))),De(),ne("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.badge||(o.buttonProps==null?null:o.buttonProps.badge))))},dependencies:[gt,Ud,zd,Wd,ib,zv,nb,Kv,ff,wn,We],encapsulation:2,changeDetection:0})}return e})(),e8=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=he({type:e});static \u0275inj=fe({imports:[gt,OM,wn,wn]})}return e})();function pf(e){e||(e=g(X));let n=new A(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(Mc(n))}function u8(e,n){let r=!n?.manualCleanup?n?.injector?.get(X)??g(X):null,o=kM(n?.equal),i;n?.requireSync?i=$({kind:0},{equal:o}):i=$({kind:1,value:n?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new I(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),xe(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new I(601,!1)}},{equal:n?.equal})}function kM(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var db=new D("DATA_SOURCE"),ub=class extends Error{code;details;constructor(n,t,r){super(t),this.name="DataSourceError",this.code=n,this.details=r}};function hf(e){if(typeof e!="object"||e===null)return!1;let n=e;if(typeof n.type!="string"||n.type.length===0)return!1;let t=n.timestamp;return!(typeof t!="number"&&typeof t!="string"||!("data"in n))}function fb(e){if(!hf(e)||e.type!=="sidecar.bumped")return!1;let n=e.data;if(typeof n!="object"||n===null||typeof n.nodePath!="string"||n.nodePath.length===0)return!1;let t=n.version;return!(t!==null&&typeof t!="number"||n.status!=="fresh")}var pb=new D("SKILL_MAP_MODE");function y8(){return typeof document>"u"?"live":document.querySelector('meta[name="skill-map-mode"]')?.content==="demo"?"demo":"live"}var mt={connected:e=>`[ws] connected to ${e}`,closed:(e,n)=>`[ws] closed (code=${e}, reason="${n}")`,malformedFrame:e=>`[ws] malformed frame dropped: ${e}`,socketError:e=>`[ws] socket error: ${e}`,reconnectScheduled:(e,n)=>`[ws] reconnect attempt ${n} scheduled in ${e}ms`,reconnectGiveUp:e=>`[ws] giving up after ${e} failed reconnect attempts`};var hb=[1e3,2e3,4e3,8e3,16e3,3e4],gf=10,PM=new Set([1e3,1001]);function FM(){return typeof window>"u"||!window.location?"ws://127.0.0.1:4242/ws":`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}var LM=new D("WS_SOCKET_FACTORY",{providedIn:"root",factory:()=>e=>new WebSocket(e)}),BM=new D("WS_URL",{providedIn:"root",factory:()=>FM()}),Ja=class e{mode=g(pb);destroyRef=g(X);subject=new K;socket=null;reconnectTimer=null;reconnectAttempt=0;disposed=!1;socketFactory=g(LM);url=g(BM);events$;scanCompleted$;sidecarBumped$;constructor(){this.mode!=="live"?this.events$=An:this.events$=new A(n=>{!this.socket&&!this.disposed&&this.connect();let t=this.subject.subscribe(n);return()=>t.unsubscribe()}).pipe(Sc({resetOnRefCountZero:!1})),this.scanCompleted$=this.events$.pipe(sn(n=>n.type==="scan.completed")),this.sidecarBumped$=this.events$.pipe(sn(fb)),this.destroyRef.onDestroy(()=>this.disconnect())}disconnect(){if(!this.disposed){if(this.disposed=!0,this.reconnectTimer!==null&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.socket){try{this.socket.close(1e3,"client disconnect")}catch{}this.socket=null}this.subject.complete()}}ngOnDestroy(){this.disconnect()}connect(){if(this.disposed)return;let n;try{n=this.socketFactory(this.url)}catch(t){let r=t instanceof Error?t.message:String(t);console.warn(mt.socketError(r)),this.scheduleReconnect();return}this.socket=n,n.onopen=()=>{this.reconnectAttempt=0,console.info(mt.connected(this.url))},n.onmessage=t=>{this.handleFrame(t.data)},n.onerror=t=>{let r=typeof t=="object"&&t!==null&&"message"in t?String(t.message??"unknown"):"unknown";console.warn(mt.socketError(r))},n.onclose=t=>{console.info(mt.closed(t.code,t.reason)),this.socket=null,!this.disposed&&(PM.has(t.code)||this.scheduleReconnect())}}handleFrame(n){if(typeof n!="string"){console.warn(mt.malformedFrame("non-string frame"));return}let t;try{t=JSON.parse(n)}catch(r){let o=r instanceof Error?r.message:String(r);console.warn(mt.malformedFrame(o));return}if(!hf(t)){console.warn(mt.malformedFrame("envelope shape"));return}this.subject.next(t)}scheduleReconnect(){if(this.disposed)return;if(this.reconnectAttempt>=gf){console.warn(mt.reconnectGiveUp(gf)),this.subject.error(new Error(mt.reconnectGiveUp(gf)));return}let n=Math.min(this.reconnectAttempt,hb.length-1),t=hb[n];this.reconnectAttempt+=1,console.info(mt.reconnectScheduled(t,this.reconnectAttempt)),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},t)}get _reconnectAttempt(){return this.reconnectAttempt}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var gb=class e{dataSource=g(db);wsEvents=g(Ja);destroyRef=g(X);_nodes=$([]);_scan=$(null);_loading=$(!1);_error=$(null);pendingRefresh=!1;nodes=this._nodes.asReadonly();scan=this._scan.asReadonly();loading=this._loading.asReadonly();error=this._error.asReadonly();count=xe(()=>this._nodes().length);byKind=xe(()=>{let n=new Map;for(let t of this._nodes()){let r=n.get(t.kind);r?r.push(t):n.set(t.kind,[t])}return n});hasAnyFavorites=xe(()=>this._nodes().some(n=>n.isFavorite===!0));constructor(){this.wsEvents.scanCompleted$.pipe(pf(this.destroyRef)).subscribe(()=>{this.load()}),this.wsEvents.sidecarBumped$.pipe(pf(this.destroyRef)).subscribe(n=>{this.patchSidecarFromBump({nodePath:n.data.nodePath,version:n.data.version,status:n.data.status})})}setFavoriteLocal(n,t){this._nodes.update(r=>{let o=!1,i=r.map(s=>s.path!==n||s.isFavorite===t?s:(o=!0,j(y({},s),{isFavorite:t})));return o?i:r})}async toggleFavorite(n,t){this.setFavoriteLocal(n,t);try{return t?await this.dataSource.setFavorite(n):await this.dataSource.unsetFavorite(n),t}catch(r){this.setFavoriteLocal(n,!t);let o=r instanceof Error?r.message:String(r);return this._error.set(o),!t}}patchSidecarFromBump(n){this._nodes.update(t=>{let r=!1,o=t.map(i=>{if(i.path!==n.nodePath)return i;r=!0;let s=i.sidecar,a=y({},s?.annotations??{});return n.version!==null&&(a.version=n.version),j(y({},i),{sidecar:y({present:!0,status:n.status,annotations:a},s?.root===void 0?{}:{root:s.root})})});return r?o:t})}async load(){if(this._loading()){this.pendingRefresh=!0;return}this._loading.set(!0),this._error.set(null);try{let n=await this.dataSource.loadScan();this._scan.set(n),this._nodes.set(n.nodes.map(jM))}catch(n){let t=n instanceof Error?n.message:String(n);this._error.set(t)}finally{this._loading.set(!1),this.pendingRefresh&&(this.pendingRefresh=!1,queueMicrotask(()=>{this.load()}))}}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};function jM(e){let n=e.kind,t=e.frontmatter??{},r=j(y({},t),{name:typeof t.name=="string"?t.name:"",description:typeof t.description=="string"?t.description:""}),o={path:e.path,kind:n,provider:e.provider,frontmatter:r,linksOutCount:e.linksOutCount,linksInCount:e.linksInCount,externalRefsCount:e.externalRefsCount,bytesTotal:e.bytes?.total,tokensTotal:e.tokens?.total,bodyHash:e.bodyHash,frontmatterHash:e.frontmatterHash,isFavorite:e.isFavorite===!0};return e.sidecar&&(o.sidecar=y({},e.sidecar)),e.contributions&&(o.contributions=[...e.contributions]),o}var mb=class e{static isArray(n,t=!0){return Array.isArray(n)&&(t||n.length!==0)}static isObject(n,t=!0){return typeof n=="object"&&!Array.isArray(n)&&n!=null&&(t||Object.keys(n).length!==0)}static equals(n,t,r){return r?this.resolveFieldData(n,r)===this.resolveFieldData(t,r):this.equalsByValue(n,t)}static equalsByValue(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.equalsByValue(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=this.isDate(n),l=this.isDate(t);if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.equalsByValue(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static resolveFieldData(n,t){if(n&&t){if(this.isFunction(t))return t(n);if(t.indexOf(".")==-1)return n[t];{let r=t.split("."),o=n;for(let i=0,s=r.length;i<s;++i){if(o==null)return null;o=o[r[i]]}return o}}else return null}static isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)}static reorderArray(n,t,r){let o;n&&t!==r&&(r>=n.length&&(r%=n.length,t%=n.length),n.splice(r,0,n.splice(t,1)[0]))}static insertIntoOrderedArray(n,t,r,o){if(r.length>0){let i=!1;for(let s=0;s<r.length;s++)if(this.findIndexInList(r[s],o)>t){r.splice(s,0,n),i=!0;break}i||r.push(n)}else r.push(n)}static findIndexInList(n,t){let r=-1;if(t){for(let o=0;o<t.length;o++)if(t[o]==n){r=o;break}}return r}static contains(n,t){if(n!=null&&t&&t.length){for(let r of t)if(this.equals(n,r))return!0}return!1}static removeAccents(n){return n&&(n=n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),n}static isDate(n){return Object.prototype.toString.call(n)==="[object Date]"}static isEmpty(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!this.isDate(n)&&typeof n=="object"&&Object.keys(n).length===0}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,t,r,o=1){let i=-1,s=this.isEmpty(n),a=this.isEmpty(t);return s&&a?i=0:s?i=o:a?i=-o:typeof n=="string"&&typeof t=="string"?i=n.localeCompare(t,r,{numeric:!0}):i=n<t?-1:n>t?1:0,i}static sort(n,t,r=1,o,i=1){let s=e.compare(n,t,o,r),a=r;return(e.isEmpty(n)||e.isEmpty(t))&&(a=i===1?r:i),a*s}static merge(n,t){if(!(n==null&&t==null)){{if((n==null||typeof n=="object")&&(t==null||typeof t=="object"))return y(y({},n||{}),t||{});if((n==null||typeof n=="string")&&(t==null||typeof t=="string"))return[n||"",t||""].join(" ")}return t||n}}static isPrintableCharacter(n=""){return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}static getItemValue(n,...t){return this.isFunction(n)?n(...t):n}static findLastIndex(n,t){let r=-1;if(this.isNotEmpty(n))try{r=n.findLastIndex(t)}catch{r=n.lastIndexOf([...n].reverse().find(t))}return r}static findLast(n,t){let r;if(this.isNotEmpty(n))try{r=n.findLast(t)}catch{r=[...n].reverse().find(t)}return r}static deepEquals(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.deepEquals(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=n instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.deepEquals(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static minifyCSS(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(n){return this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}static isString(n,t=!0){return typeof n=="string"&&(t||n!=="")}},yb=0;function F8(e="pn_id_"){return yb++,`${e}${yb}`}function VM(){let e=[],n=(i,s)=>{let a=e.length>0?e[e.length-1]:{key:i,value:s},c=a.value+(a.key===i?0:s)+2;return e.push({key:i,value:c}),c},t=i=>{e=e.filter(s=>s.value!==i)},r=()=>e.length>0?e[e.length-1].value:0,o=i=>i&&parseInt(i.style.zIndex,10)||0;return{get:o,set:(i,s,a)=>{s&&(s.style.zIndex=String(n(i,a)))},clear:i=>{i&&(t(o(i)),i.style.zIndex="")},getCurrent:()=>r(),generateZIndex:n,revertZIndex:t}}var L8=VM();export{we as a,Mb as b,A as c,K as d,vo as e,An as f,YN as g,on as h,qi as i,jb as j,Vb as k,Rn as l,Hb as m,ze as n,Yb as o,Lt as p,Dc as q,Ki as r,Qb as s,Jb as t,Ec as u,sn as v,cp as w,Ic as x,Cc as y,wc as z,sD as A,aD as B,cD as C,_c as D,Mc as E,lD as F,I as G,jt as H,ss as I,v as J,fe as K,pD as L,D as M,_ as N,g as O,It as P,ve as Q,_r as R,OD as S,Vp as T,Hp as U,kr as V,Jp as W,se as X,B as Y,X as Z,qn as _,Be as $,ue as aa,Wt as ba,WD as ca,$ as da,_e as ea,bn as fa,G as ga,Mu as ha,be as ia,pt as ja,nI as ka,$g as la,iI as ma,sI as na,De as oa,om as pa,_t as qa,Nt as ra,ee as sa,qt as ta,Ym as ua,hd as va,Pe as wa,he as xa,te as ya,sr as za,Ee as Aa,Zt as Ba,ey as Ca,oy as Da,Ta as Ea,Ed as Fa,iy as Ga,oi as Ha,qw as Ia,Zw as Ja,Je as Ka,Ps as La,Fs as Ma,eT as Na,tT as Oa,nT as Pa,rT as Qa,oT as Ra,iT as Sa,ne as Ta,rr as Ua,Qr as Va,ar as Wa,Jr as Xa,Xr as Ya,ii as Za,cr as _a,En as $a,Sa as ab,dy as bb,uT as cb,dT as db,_a as eb,Ma as fb,hy as gb,Xe as hb,At as ib,xt as jb,Na as kb,my as lb,eo as mb,to as nb,wd as ob,yy as pb,vy as qb,gT as rb,no as sb,Td as tb,Sd as ub,Ae as vb,ai as wb,ro as xb,_d as yb,Ay as zb,xy as Ab,Ry as Bb,$T as Cb,Oy as Db,Py as Eb,UT as Fb,WT as Gb,Ue as Hb,ZT as Ib,YT as Jb,Aa as Kb,KT as Lb,QT as Mb,JT as Nb,XT as Ob,eS as Pb,iS as Qb,sS as Rb,li as Sb,xe as Tb,lS as Ub,Hy as Vb,aj as Wb,Ie as Xb,cj as Yb,MS as Zb,lj as _b,uj as $b,dj as ac,di as bc,ce as cc,fi as dc,pj as ec,hj as fc,Yt as gc,Fa as hc,av as ic,qS as jc,ZS as kc,dv as lc,Ud as mc,Wd as nc,zd as oc,gt as pc,gi as qc,Q2 as rc,b_ as sc,Rt as tc,Ov as uc,z_ as vc,G_ as wc,gH as xc,q_ as yc,Ii as zc,eM as Ac,wH as Bc,ge as Cc,TH as Dc,SH as Ec,_H as Fc,MH as Gc,NH as Hc,Vv as Ic,wn as Jc,AH as Kc,Ce as Lc,lf as Mc,XH as Nc,ur as Oc,et as Pc,uf as Qc,g$ as Rc,m$ as Sc,Wv as Tc,zv as Uc,We as Vc,Gv as Wc,ff as Xc,Kv as Yc,Xv as Zc,tb as _c,nb as $c,ib as ad,OM as bd,e8 as cd,mb as dd,F8 as ed,L8 as fd,pf as gd,u8 as hd,db as id,ub as jd,pb as kd,y8 as ld,Ja as md,gb as nd};
|