@skill-map/cli 0.43.0 → 0.45.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.
Files changed (46) hide show
  1. package/dist/cli/tutorial/sm-master/SKILL.md +7 -9
  2. package/dist/cli/tutorial/sm-master/references/fixture-templates.md +1 -1
  3. package/dist/cli/tutorial/sm-master/references/tour-plugins.md +10 -9
  4. package/dist/cli/tutorial/sm-master/references/tour-settings.md +4 -4
  5. package/dist/cli/tutorial/sm-tutorial/SKILL.md +263 -369
  6. package/dist/cli.js +945 -256
  7. package/dist/cli.js.map +1 -1
  8. package/dist/index.js +21 -15
  9. package/dist/index.js.map +1 -1
  10. package/dist/kernel/index.d.ts +43 -6
  11. package/dist/kernel/index.js +21 -15
  12. package/dist/kernel/index.js.map +1 -1
  13. package/dist/ui/chunk-27WQPOXP.js +1 -0
  14. package/dist/ui/{chunk-DZBSELHN.js → chunk-43S72FTV.js} +1 -1
  15. package/dist/ui/chunk-555ST76V.js +1 -0
  16. package/dist/ui/{chunk-JPYAASHN.js → chunk-5AD5ZV4I.js} +3 -3
  17. package/dist/ui/{chunk-CFJBTDAA.js → chunk-5ITZXW3A.js} +1 -1
  18. package/dist/ui/chunk-A7PRWMQD.js +1021 -0
  19. package/dist/ui/chunk-CBI77N5U.js +123 -0
  20. package/dist/ui/chunk-F7I6KMHX.js +1 -0
  21. package/dist/ui/{chunk-77J7XU3Y.js → chunk-I5AX4U2N.js} +28 -28
  22. package/dist/ui/chunk-IUZRAD7S.js +1 -0
  23. package/dist/ui/{chunk-XOHD5XWA.js → chunk-IYM26L3O.js} +1 -1
  24. package/dist/ui/{chunk-SBCO7ZSP.js → chunk-LGFABCIA.js} +1 -1
  25. package/dist/ui/{chunk-IUDL3NDH.js → chunk-MFLFIA7C.js} +1 -1
  26. package/dist/ui/chunk-MS6B7344.js +315 -0
  27. package/dist/ui/chunk-P3SNMV4X.js +2 -0
  28. package/dist/ui/chunk-PZQHB7GS.js +4 -0
  29. package/dist/ui/chunk-QDUSFOBE.js +1 -0
  30. package/dist/ui/{chunk-YCR3XCIW.js → chunk-QNTAOR2L.js} +5 -5
  31. package/dist/ui/{chunk-CR3AANNX.js → chunk-S4S5ZMXJ.js} +1 -1
  32. package/dist/ui/{chunk-5WJRN3LD.js → chunk-T3IVIRRJ.js} +1 -1
  33. package/dist/ui/{chunk-HP375T2O.js → chunk-VGPYYAVI.js} +1 -1
  34. package/dist/ui/chunk-X227ITGS.js +499 -0
  35. package/dist/ui/index.html +1 -1
  36. package/dist/ui/main-ERCTR2PR.js +3 -0
  37. package/package.json +10 -9
  38. package/dist/ui/chunk-2IF446BS.js +0 -1
  39. package/dist/ui/chunk-DIKPNZUZ.js +0 -315
  40. package/dist/ui/chunk-KGCJINI6.js +0 -1
  41. package/dist/ui/chunk-PPE3P2JD.js +0 -1
  42. package/dist/ui/chunk-UOCACZLI.js +0 -123
  43. package/dist/ui/chunk-YL6SWAFJ.js +0 -1024
  44. package/dist/ui/main-VHFB7Q2D.js +0 -3
  45. /package/dist/ui/{chunk-C2YUQODZ.js → chunk-4SG4352Z.js} +0 -0
  46. /package/dist/ui/{chunk-VB56BUGO.js → chunk-WCABR6TI.js} +0 -0
@@ -1,1024 +0,0 @@
1
- import{$ as tf,B as Zd,C as ut,Ca as Ha,Da as vi,E as ja,Fa as ar,Ja as Y,L as Yd,M as Qd,O as Kd,Q as Jd,S as Xd,T as un,U as ef,V as gi,Y as $t,Z as mi,_ as ir,a as rr,aa as nf,b as La,c as jd,d as or,da as yi,e as Hd,ea as ke,f as $d,h as Ud,ha as sr,i as Wd,j as Gd,m as Ge,p as Va,q as zd,r as ao,s as qd,u as hi,y as Ba}from"./chunk-C2YUQODZ.js";import{a as m,b as N,d as Bd}from"./chunk-VB56BUGO.js";var Ee=null,bi=!1,$a=1,Wv=null,Q=Symbol("SIGNAL");function C(e){let n=Ee;return Ee=e,n}function Di(){return Ee}var Ut={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 St(e){if(bi)throw new Error("");if(Ee===null)return;Ee.consumerOnSignalRead(e);let n=Ee.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=Ee.recomputing;if(r&&(t=n!==void 0?n.nextProducer:Ee.producers,t!==void 0&&t.producer===e)){Ee.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ee&&(!r||zv(o,Ee)))return;let i=ur(Ee),s={producer:e,consumer:Ee,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Ee.producersTail=s,n!==void 0?n.nextProducer=s:Ee.producers=s,i&&af(e,s)}function rf(){$a++}function pn(e){if(!(ur(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===$a)){if(!e.producerMustRecompute(e)&&!cr(e)){lr(e);return}e.producerRecomputeValue(e),lr(e)}}function Ua(e){if(e.consumers===void 0)return;let n=bi;bi=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||Gv(r)}}finally{bi=n}}function Wa(){return Ee?.consumerAllowSignalWrites!==!1}function Gv(e){e.dirty=!0,Ua(e),e.consumerMarkedDirty?.(e)}function lr(e){e.dirty=!1,e.lastCleanEpoch=$a}function Tt(e){return e&&of(e),C(e)}function of(e){e.producersTail=void 0,e.recomputing=!0}function Wt(e,n){C(n),e&&sf(e)}function sf(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(ur(e))do t=Ga(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function cr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(pn(t),r!==t.version))return!0}return!1}function Gt(e){if(ur(e)){let n=e.producers;for(;n!==void 0;)n=Ga(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function af(e,n){let t=e.consumersTail,r=ur(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)af(o.producer,o)}function Ga(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,!ur(n)){let i=n.producers;for(;i!==void 0;)i=Ga(i)}return t}function ur(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function lo(e){Wv?.(e)}function zv(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 co(e,n){return Object.is(e,n)}function uo(e,n){let t=Object.create(qv);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(pn(t),St(t),t.value===dt)throw t.error;return t.value};return r[Q]=t,lo(t),r}var dn=Symbol("UNSET"),fn=Symbol("COMPUTING"),dt=Symbol("ERRORED"),qv=N(m({},Ut),{value:dn,dirty:!0,error:null,equal:co,kind:"computed",producerMustRecompute(e){return e.value===dn||e.value===fn},producerRecomputeValue(e){if(e.value===fn)throw new Error("");let n=e.value;e.value=fn;let t=Tt(e),r,o=!1;try{r=e.computation(),C(null),o=n!==dn&&n!==dt&&r!==dt&&e.equal(n,r)}catch(i){r=dt,e.error=i}finally{Wt(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Zv(){throw new Error}var lf=Zv;function cf(e){lf(e)}function za(e){lf=e}var Yv=null;function qa(e,n){let t=Object.create(fo);t.value=e,n!==void 0&&(t.equal=n);let r=()=>uf(t);return r[Q]=t,lo(t),[r,s=>zt(t,s),s=>Ei(t,s)]}function uf(e){return St(e),e.value}function zt(e,n){Wa()||cf(e),e.equal(e.value,n)||(e.value=n,Qv(e))}function Ei(e,n){Wa()||cf(e),zt(e,n(e.value))}var fo=N(m({},Ut),{equal:co,value:void 0,kind:"signal"});function Qv(e){e.version++,rf(),Ua(e),Yv?.(e)}var Za=N(m({},Ut),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Ya(e){if(e.dirty=!1,e.version>0&&!cr(e))return;e.version++;let n=Tt(e);try{e.cleanup(),e.fn()}finally{Wt(e,n)}}function I(e){return typeof e=="function"}function dr(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 Ci=dr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
2
- ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=t});function po(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Te=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(I(r))try{r()}catch(i){n=i instanceof Ci?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{df(i)}catch(s){n=n??[],s instanceof Ci?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ci(n)}}add(n){var t;if(n&&n!==this)if(this.closed)df(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)&&po(t,n)}remove(n){let{_finalizers:t}=this;t&&po(t,n),n instanceof e&&n._removeParent(this)}};Te.EMPTY=(()=>{let e=new Te;return e.closed=!0,e})();var Qa=Te.EMPTY;function Ii(e){return e instanceof Te||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function df(e){I(e)?e():e.unsubscribe()}var Je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var fr={setTimeout(e,n,...t){let{delegate:r}=fr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=fr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function _i(e){fr.setTimeout(()=>{let{onUnhandledError:n}=Je;if(n)n(e);else throw e})}function ho(){}var ff=Ka("C",void 0,void 0);function pf(e){return Ka("E",void 0,e)}function hf(e){return Ka("N",e,void 0)}function Ka(e,n,t){return{kind:e,value:n,error:t}}var hn=null;function pr(e){if(Je.useDeprecatedSynchronousErrorHandling){let n=!hn;if(n&&(hn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=hn;if(hn=null,t)throw r}}else e()}function gf(e){Je.useDeprecatedSynchronousErrorHandling&&hn&&(hn.errorThrown=!0,hn.error=e)}var gn=class extends Te{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ii(n)&&n.add(this)):this.destination=Xv}static create(n,t,r){return new Xe(n,t,r)}next(n){this.isStopped?Xa(hf(n),this):this._next(n)}error(n){this.isStopped?Xa(pf(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Xa(ff,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()}}},Kv=Function.prototype.bind;function Ja(e,n){return Kv.call(e,n)}var el=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){wi(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){wi(r)}else wi(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){wi(t)}}},Xe=class extends gn{constructor(n,t,r){super();let o;if(I(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&Je.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Ja(n.next,i),error:n.error&&Ja(n.error,i),complete:n.complete&&Ja(n.complete,i)}):o=n}this.destination=new el(o)}};function wi(e){Je.useDeprecatedSynchronousErrorHandling?gf(e):_i(e)}function Jv(e){throw e}function Xa(e,n){let{onStoppedNotification:t}=Je;t&&fr.setTimeout(()=>t(e,n))}var Xv={closed:!0,next:ho,error:Jv,complete:ho};var hr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function et(e){return e}function eb(...e){return tl(e)}function tl(e){return e.length===0?et:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var x=(()=>{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=nb(t)?t:new Xe(t,r,o);return pr(()=>{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=mf(r),new r((o,i)=>{let s=new Xe({next:a=>{try{t(a)}catch(l){i(l),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)}[hr](){return this}pipe(...t){return tl(t)(this)}toPromise(t){return t=mf(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 mf(e){var n;return(n=e??Je.Promise)!==null&&n!==void 0?n:Promise}function tb(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function nb(e){return e&&e instanceof gn||tb(e)&&Ii(e)}function rb(e){return I(e?.lift)}function F(e){return n=>{if(rb(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 L(e,n,t,r,o){return new nl(e,n,t,r,o)}var nl=class extends gn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=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 yf=dr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Si(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new yf}next(t){pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){pr(()=>{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(){pr(()=>{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?Qa:(this.currentObservers=null,i.push(t),new Te(()=>{this.currentObservers=null,po(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new x;return t.source=this,t}}return e.create=(n,t)=>new Si(n,t),e})(),Si=class extends z{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:Qa}};var go=class extends z{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 mn=new x(e=>e.complete());function vf(e){return e&&I(e.schedule)}function bf(e){return e[e.length-1]}function Ti(e){return I(bf(e))?e.pop():void 0}function qt(e){return vf(bf(e))?e.pop():void 0}function b0(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 Ef(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{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):o(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}function Df(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 yn(e){return this instanceof yn?(this.v=e,this):new yn(e)}function Cf(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(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(y){return new Promise(function(S,M){i.push([f,y,S,M])>1||l(f,y)})},h&&(o[f]=h(o[f])))}function l(f,h){try{c(r[f](h))}catch(y){p(i[0][3],y)}}function c(f){f.value instanceof yn?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function p(f,h){f(h),i.shift(),i.length&&l(i[0][0],i[0][1])}}function If(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 Df=="function"?Df(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,l){s=e[i](s),o(a,l,s.done,s.value)})}}function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}}var gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Mi(e){return I(e?.then)}function Ai(e){return I(e[hr])}function Ni(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function xi(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 ob(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Oi=ob();function Ri(e){return I(e?.[Oi])}function Fi(e){return Cf(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield yn(t.read());if(o)return yield yn(void 0);yield yield yn(r)}}finally{t.releaseLock()}})}function ki(e){return I(e?.getReader)}function W(e){if(e instanceof x)return e;if(e!=null){if(Ai(e))return ib(e);if(gr(e))return sb(e);if(Mi(e))return ab(e);if(Ni(e))return _f(e);if(Ri(e))return lb(e);if(ki(e))return cb(e)}throw xi(e)}function ib(e){return new x(n=>{let t=e[hr]();if(I(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function sb(e){return new x(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function ab(e){return new x(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,_i)})}function lb(e){return new x(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function _f(e){return new x(n=>{ub(e,n).catch(t=>n.error(t))})}function cb(e){return _f(Fi(e))}function ub(e,n){var t,r,o,i;return Ef(this,void 0,void 0,function*(){try{for(t=If(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 Pi(e,n=0){return F((t,r)=>{t.subscribe(L(r,o=>Oe(r,e,()=>r.next(o),n),()=>Oe(r,e,()=>r.complete(),n),o=>Oe(r,e,()=>r.error(o),n)))})}function Li(e,n=0){return F((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function wf(e,n){return W(e).pipe(Li(n),Pi(n))}function Sf(e,n){return W(e).pipe(Li(n),Pi(n))}function Tf(e,n){return new x(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Mf(e,n){return new x(t=>{let r;return Oe(t,n,()=>{r=e[Oi](),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)}),()=>I(r?.return)&&r.return()})}function Vi(e,n){if(!e)throw new Error("Iterable cannot be null");return new x(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 Af(e,n){return Vi(Fi(e),n)}function Nf(e,n){if(e!=null){if(Ai(e))return wf(e,n);if(gr(e))return Tf(e,n);if(Mi(e))return Sf(e,n);if(Ni(e))return Vi(e,n);if(Ri(e))return Mf(e,n);if(ki(e))return Af(e,n)}throw xi(e)}function ft(e,n){return n?Nf(e,n):W(e)}function db(...e){let n=qt(e);return ft(e,n)}function fb(e,n){let t=I(e)?e:()=>e,r=o=>o.error(t());return new x(n?o=>n.schedule(r,0,o):r)}function pb(e){return!!e&&(e instanceof x||I(e.lift)&&I(e.subscribe))}var vn=dr(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 Xe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new vn)}});e.subscribe(i)})}function Mt(e,n){return F((t,r)=>{let o=0;t.subscribe(L(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:gb}=Array;function mb(e,n){return gb(n)?e(...n):e(n)}function mr(e){return Mt(n=>mb(e,n))}var{isArray:yb}=Array,{getPrototypeOf:vb,prototype:bb,keys:Db}=Object;function Bi(e){if(e.length===1){let n=e[0];if(yb(n))return{args:n,keys:null};if(Eb(n)){let t=Db(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Eb(e){return e&&typeof e=="object"&&vb(e)===bb}function ji(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Cb(...e){let n=qt(e),t=Ti(e),{args:r,keys:o}=Bi(e);if(r.length===0)return ft([],n);let i=new x(Ib(r,n,o?s=>ji(o,s):et));return t?i.pipe(mr(t)):i}function Ib(e,n,t=et){return r=>{xf(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let l=0;l<o;l++)xf(n,()=>{let c=ft(e[l],n),u=!1;c.subscribe(L(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function xf(e,n,t){e?Oe(t,e,n):n()}function Of(e,n,t,r,o,i,s,a){let l=[],c=0,u=0,d=!1,p=()=>{d&&!l.length&&!c&&n.complete()},f=y=>c<r?h(y):l.push(y),h=y=>{i&&n.next(y),c++;let S=!1;W(t(y,u++)).subscribe(L(n,M=>{o?.(M),i?f(M):n.next(M)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;l.length&&c<r;){let M=l.shift();s?Oe(n,s,()=>h(M)):h(M)}p()}catch(M){n.error(M)}}))};return e.subscribe(L(n,f,()=>{d=!0,p()})),()=>{a?.()}}function At(e,n,t=1/0){return I(n)?At((r,o)=>Mt((i,s)=>n(r,i,o,s))(W(e(r,o))),t):(typeof n=="number"&&(t=n),F((r,o)=>Of(r,o,e,t)))}function rl(e=1/0){return At(et,e)}function Rf(){return rl(1)}function Hi(...e){return Rf()(ft(e,qt(e)))}function _b(e){return new x(n=>{W(e()).subscribe(n)})}function ol(...e){let n=Ti(e),{args:t,keys:r}=Bi(e),o=new x(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u<s;u++){let d=!1;W(t[u]).subscribe(L(i,p=>{d||(d=!0,c--),a[u]=p},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?ji(r,a):a),i.complete())}))}});return n?o.pipe(mr(n)):o}var wb=["addListener","removeListener"],Sb=["addEventListener","removeEventListener"],Tb=["on","off"];function il(e,n,t,r){if(I(t)&&(r=t,t=void 0),r)return il(e,n,t).pipe(mr(r));let[o,i]=Nb(e)?Sb.map(s=>a=>e[s](n,a,t)):Mb(e)?wb.map(Ff(e,n)):Ab(e)?Tb.map(Ff(e,n)):[];if(!o&&gr(e))return At(s=>il(s,n,t))(W(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>i(a)})}function Ff(e,n){return t=>r=>e[t](n,r)}function Mb(e){return I(e.addListener)&&I(e.removeListener)}function Ab(e){return I(e.on)&&I(e.off)}function Nb(e){return I(e.addEventListener)&&I(e.removeEventListener)}function yr(e,n){return F((t,r)=>{let o=0;t.subscribe(L(r,i=>e.call(n,i,o++)&&r.next(i)))})}function kf(e){return F((n,t)=>{let r=null,o=!1,i;r=n.subscribe(L(t,void 0,void 0,s=>{i=W(e(s,kf(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function xb(e,n){return I(n)?At(e,n,1):At(e,1)}function Pf(e){return F((n,t)=>{let r=!1;n.subscribe(L(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function sl(e){return e<=0?()=>mn:F((n,t)=>{let r=0;n.subscribe(L(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Lf(e=Ob){return F((n,t)=>{let r=!1;n.subscribe(L(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Ob(){return new vn}function Rb(e){return F((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Fb(e,n){let t=arguments.length>=2;return r=>r.pipe(e?yr((o,i)=>e(o,i,r)):et,sl(1),t?Pf(n):Lf(()=>new vn))}function kb(e){return e<=0?()=>mn:F((n,t)=>{let r=[];n.subscribe(L(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 ll(e={}){let{connector:n=()=>new z,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,c=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=l=void 0,u=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return F((y,S)=>{c++,!d&&!u&&p();let M=l=l??n();S.add(()=>{c--,c===0&&!d&&!u&&(a=al(h,o))}),M.subscribe(S),!s&&c>0&&(s=new Xe({next:q=>M.next(q),error:q=>{d=!0,p(),a=al(f,t,q),M.error(q)},complete:()=>{u=!0,p(),a=al(f,r),M.complete()}}),W(y).subscribe(s))})(i)}}function al(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Xe({next:()=>{r.unsubscribe(),e()}});return W(n(...t)).subscribe(r)}function Pb(...e){let n=qt(e);return F((t,r)=>{(n?Hi(e,t,n):Hi(e,t)).subscribe(r)})}function Lb(e,n){return F((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(L(r,l=>{o?.unsubscribe();let c=0,u=i++;W(e(l,u)).subscribe(o=L(r,d=>r.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function cl(e){return F((n,t)=>{W(e).subscribe(L(t,()=>t.complete(),ho)),!t.closed&&n.subscribe(t)})}function Vb(e,n,t){let r=I(e)||n||t?{next:e,error:n,complete:t}:e;return r?F((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(L(i,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),i.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),i.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),i.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):et}var ul;function $i(){return ul}function pt(e){let n=ul;return ul=e,n}var Vf=Symbol("NotFound");function vr(e){return e===Vf||e?.name==="\u0275NotFound"}function dl(e,n,t){let r=Object.create(Bb);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(pn(r),St(r),r.value===dt)throw r.error;return r.value};return i[Q]=r,lo(r),i}function Bf(e,n){pn(e),zt(e,n),lr(e)}function jf(e,n){if(pn(e),e.value===dt)throw e.error;Ei(e,n),lr(e)}var Bb=N(m({},Ut),{value:dn,dirty:!0,error:null,equal:co,kind:"linkedSignal",producerMustRecompute(e){return e.value===dn||e.value===fn},producerRecomputeValue(e){if(e.value===fn)throw new Error("");let n=e.value;e.value=fn;let t=Tt(e),r,o=!1;try{let i=e.source(),s=n!==dn&&n!==dt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,C(null),o=s&&r!==dt&&e.equal(n,r)}catch(i){r=dt,e.error=i}finally{Wt(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Hf(e){let n=C(null);try{return e()}finally{C(n)}}var Yi="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_=class extends Error{code;constructor(n,t){super(_n(n,t)),this.code=n}};function jb(e){return`NG0${Math.abs(e)}`}function _n(e,n){return`${jb(e)}${n?": "+n:""}`}var Dr=globalThis;function V(e){for(let n in e)if(e[n]===V)return n;throw Error("")}function zf(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Co(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Co).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 Qi(e,n){return e?n?`${e} ${n}`:e:n||""}var Hb=V({__forward_ref__:V});function wn(e){return e.__forward_ref__=wn,e}function le(e){return _l(e)?e():e}function _l(e){return typeof e=="function"&&e.hasOwnProperty(Hb)&&e.__forward_ref__===wn}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function se(e){return{providers:e.providers||[],imports:e.imports||[]}}function Io(e){return Ub(e,Ki)}function $b(e){return Io(e)!==null}function Ub(e,n){return e.hasOwnProperty(n)&&e[n]||null}function Wb(e){let n=e?.[Ki]??null;return n||null}function pl(e){return e&&e.hasOwnProperty(Wi)?e[Wi]:null}var Ki=V({\u0275prov:V}),Wi=V({\u0275inj:V}),v=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=E({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function wl(e){return e&&!!e.\u0275providers}var Sl=V({\u0275cmp:V}),Tl=V({\u0275dir:V}),Ml=V({\u0275pipe:V}),Al=V({\u0275mod:V}),yo=V({\u0275fac:V}),Sn=V({__NG_ELEMENT_ID__:V}),$f=V({__NG_ENV_ID__:V});function Nl(e){return Ji(e,"@NgModule"),e[Al]||null}function gt(e){return Ji(e,"@Component"),e[Sl]||null}function _o(e){return Ji(e,"@Directive"),e[Tl]||null}function xl(e){return Ji(e,"@Pipe"),e[Ml]||null}function Ji(e,n){if(e==null)throw new _(-919,!1)}function mt(e){return typeof e=="string"?e:e==null?"":String(e)}var qf=V({ngErrorCode:V}),Gb=V({ngErrorMessage:V}),zb=V({ngTokenPath:V});function Ol(e,n){return Zf("",-200,n)}function Xi(e,n){throw new _(-201,!1)}function Zf(e,n,t){let r=new _(n,e);return r[qf]=n,r[Gb]=e,t&&(r[zb]=t),r}function qb(e){return e[qf]}var hl;function Yf(){return hl}function Pe(e){let n=hl;return hl=e,n}function Rl(e,n,t){let r=Io(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;Xi(e,"")}var Zb={},bn=Zb,Yb="__NG_DI_FLAG__",gl=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=Dn(t)||0;try{return this.injector.get(n,r&8?null:bn,r)}catch(o){if(vr(o))return o;throw o}}};function Qb(e,n=0){let t=$i();if(t===void 0)throw new _(-203,!1);if(t===null)return Rl(e,void 0,n);{let r=Kb(n),o=t.retrieve(e,r);if(vr(o)){if(r.optional)return null;throw o}return o}}function ve(e,n=0){return(Yf()||Qb)(le(e),n)}function g(e,n){return ve(e,Dn(n))}function Dn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Kb(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ml(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 _(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],l=Jb(a);typeof l=="number"?l===-1?o=a.token:i|=l:o=a}n.push(ve(o,i))}else n.push(ve(r))}return n}function Jb(e){return e[Yb]}function En(e,n){let t=e.hasOwnProperty(yo);return t?e[yo]:null}function Qf(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 Kf(e){return e.flat(Number.POSITIVE_INFINITY)}function es(e,n){e.forEach(t=>Array.isArray(t)?es(t,n):n(t))}function Fl(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function wo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Jf(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Xf(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 So(e,n,t){let r=Er(e,n);return r>=0?e[r|1]=t:(r=~r,Xf(e,r,n,t)),r}function ts(e,n){let t=Er(e,n);if(t>=0)return e[t|1]}function Er(e,n){return Xb(e,n,1)}function Xb(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 tt={},Ce=[],Cr=new v(""),kl=new v("",-1),Pl=new v(""),vo=class{get(n,t=bn){if(t===bn){let o=Zf("",-201);throw o.name="\u0275NotFound",o}return t}};function Tn(e){return{\u0275providers:e}}function ep(e){return Tn([{provide:Cr,multi:!0,useValue:e}])}function tp(...e){return{\u0275providers:ns(!0,e),\u0275fromNgModule:!0}}function ns(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return es(n,s=>{let a=s;Gi(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];Ll(o,i=>{n(i,r)})}}function Gi(e,n,t,r){if(e=le(e),!e)return!1;let o=null,i=pl(e),s=!i&&gt(e);if(!i&&!s){let l=e.ngModule;if(i=pl(l),i)o=l;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 l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Gi(c,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;es(i.imports,u=>{Gi(u,n,t,r)&&(c||=[],c.push(u))}),c!==void 0&&np(c,n)}if(!a){let c=En(o)||(()=>new o);n({provide:o,useFactory:c,deps:Ce},o),n({provide:Pl,useValue:o,multi:!0},o),n({provide:Cr,useValue:()=>ve(o),multi:!0},o)}let l=i.providers;if(l!=null&&!a){let c=e;Ll(l,u=>{n(u,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Ll(e,n){for(let t of e)wl(t)&&(t=t.\u0275providers),Array.isArray(t)?Ll(t,n):n(t)}var eD=V({provide:String,useValue:V});function rp(e){return e!==null&&typeof e=="object"&&eD in e}function tD(e){return!!(e&&e.useExisting)}function nD(e){return!!(e&&e.useFactory)}function Cn(e){return typeof e=="function"}function op(e){return!!e.useClass}var Vl=new v(""),Ui={},Uf={},fl;function To(){return fl===void 0&&(fl=new vo),fl}var Le=class{},In=class extends Le{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,vl(n,s=>this.processProvider(s)),this.records.set(kl,br(void 0,this)),o.has("environment")&&this.records.set(Le,br(void 0,this));let i=this.records.get(Vl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Pl,Ce,{self:!0}))}retrieve(n,t){let r=Dn(t)||0;try{return this.get(n,bn,r)}catch(o){if(vr(o))return o;throw o}}destroy(){mo(this),this._destroyed=!0;let n=C(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(),C(n)}}onDestroy(n){return mo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){mo(this);let t=pt(this),r=Pe(void 0),o;try{return n()}finally{pt(t),Pe(r)}}get(n,t=bn,r){if(mo(this),n.hasOwnProperty($f))return n[$f](this);let o=Dn(r),i,s=pt(this),a=Pe(void 0);try{if(!(o&4)){let c=this.records.get(n);if(c===void 0){let u=aD(n)&&Io(n);u&&this.injectableDefInScope(u)?c=br(yl(n),Ui):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,o)}let l=o&2?To():this.parent;return t=o&8&&t===bn?null:t,l.get(n,t)}catch(l){let c=qb(l);throw c===-200||c===-201?new _(c,null):l}finally{Pe(a),pt(s)}}resolveInjectorInitializers(){let n=C(null),t=pt(this),r=Pe(void 0),o;try{let i=this.get(Cr,Ce,{self:!0});for(let s of i)s()}finally{pt(t),Pe(r),C(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=le(n);let t=Cn(n)?n:le(n&&n.provide),r=oD(n);if(!Cn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=br(void 0,Ui,!0),o.factory=()=>ml(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=C(null);try{if(t.value===Uf)throw Ol("");return t.value===Ui&&(t.value=Uf,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&sD(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{C(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 yl(e){let n=Io(e),t=n!==null?n.factory:En(e);if(t!==null)return t;if(e instanceof v)throw new _(-204,!1);if(e instanceof Function)return rD(e);throw new _(-204,!1)}function rD(e){if(e.length>0)throw new _(-204,!1);let t=Wb(e);return t!==null?()=>t.factory(e):()=>new e}function oD(e){if(rp(e))return br(void 0,e.useValue);{let n=Bl(e);return br(n,Ui)}}function Bl(e,n,t){let r;if(Cn(e)){let o=le(e);return En(o)||yl(o)}else if(rp(e))r=()=>le(e.useValue);else if(nD(e))r=()=>e.useFactory(...ml(e.deps||[]));else if(tD(e))r=(o,i)=>ve(le(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=le(e&&(e.useClass||e.provide));if(iD(e))r=()=>new o(...ml(e.deps));else return En(o)||yl(o)}return r}function mo(e){if(e.destroyed)throw new _(-205,!1)}function br(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function iD(e){return!!e.deps}function sD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function aD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function vl(e,n){for(let t of e)Array.isArray(t)?vl(t,n):t&&wl(t)?vl(t.\u0275providers,n):n(t)}function rs(e,n){let t;e instanceof In?(mo(e),t=e):t=new gl(e);let r,o=pt(t),i=Pe(void 0);try{return n()}finally{pt(o),Pe(i)}}function jl(){return Yf()!==void 0||$i()!=null}function lD(e){if(!jl())throw new _(-203,!1)}var nt=0,D=1,w=2,ie=3,ze=4,Me=5,Mn=6,Ir=7,te=8,ae=9,rt=10,B=11,_r=12,Hl=13,An=14,Ae=15,Qt=16,Nn=17,yt=18,vt=19,$l=20,Nt=21,os=22,Zt=23,Ve=24,xn=25,bt=26,H=27,ip=1,Kt=6,Jt=7,Mo=8,On=9,K=10;function Ot(e){return Array.isArray(e)&&typeof e[ip]=="object"}function ot(e){return Array.isArray(e)&&e[ip]===!0}function Ul(e){return(e.flags&4)!==0}function Rt(e){return e.componentOffset>-1}function wr(e){return(e.flags&1)===1}function it(e){return!!e.template}function Sr(e){return(e[w]&512)!==0}function Xt(e){return(e[w]&256)===256}var Wl="svg",sp="math";function qe(e){for(;Array.isArray(e);)e=e[nt];return e}function Gl(e,n){return qe(n[e])}function Be(e,n){return qe(n[e.index])}function Tr(e,n){return e.data[n]}function zl(e,n){return e[n]}function is(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ze(e,n){let t=n[e];return Ot(t)?t:t[nt]}function ap(e){return(e[w]&4)===4}function ss(e){return(e[w]&128)===128}function lp(e){return ot(e[ie])}function je(e,n){return n==null?null:e[n]}function ql(e){e[Nn]=0}function Zl(e){e[w]&1024||(e[w]|=1024,ss(e)&&Rn(e))}function cp(e,n){for(;e>0;)n=n[An],e--;return n}function Ao(e){return!!(e[w]&9216||e[Ve]?.dirty)}function as(e){e[rt].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),Ao(e)&&Rn(e)}function Rn(e){e[rt].changeDetectionScheduler?.notify(0);let n=Yt(e);for(;n!==null&&!(n[w]&8192||(n[w]|=8192,!ss(n)));)n=Yt(n)}function ls(e,n){if(Xt(e))throw new _(911,!1);e[Nt]===null&&(e[Nt]=[]),e[Nt].push(n)}function Yl(e,n){if(e[Nt]===null)return;let t=e[Nt].indexOf(n);t!==-1&&e[Nt].splice(t,1)}function Yt(e){let n=e[ie];return ot(n)?n[ie]:n}function Ql(e){return e[Ir]??=[]}function Kl(e){return e.cleanup??=[]}function up(e,n,t,r){let o=Ql(n);o.push(t),e.firstCreatePass&&Kl(e).push(r,o.length-1)}var T={lFrame:Cp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var bl=!1;function dp(){return T.lFrame.elementDepthCount}function fp(){T.lFrame.elementDepthCount++}function Jl(){T.lFrame.elementDepthCount--}function cs(){return T.bindingsEnabled}function Xl(){return T.skipHydrationRootTNode!==null}function ec(e){return T.skipHydrationRootTNode===e}function tc(){T.skipHydrationRootTNode=null}function b(){return T.lFrame.lView}function $(){return T.lFrame.tView}function pp(e){return T.lFrame.contextLView=e,e[te]}function hp(e){return T.lFrame.contextLView=null,e}function J(){let e=nc();for(;e!==null&&e.type===64;)e=e.parent;return e}function nc(){return T.lFrame.currentTNode}function gp(){let e=T.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Fn(e,n){let t=T.lFrame;t.currentTNode=e,t.isParent=n}function rc(){return T.lFrame.isParent}function oc(){T.lFrame.isParent=!1}function ic(){return T.lFrame.contextLView}function sc(){return bl}function bo(e){let n=bl;return bl=e,n}function Ft(){let e=T.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function ac(){return T.lFrame.bindingIndex}function mp(e){return T.lFrame.bindingIndex=e}function kt(){return T.lFrame.bindingIndex++}function No(e){let n=T.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function yp(){return T.lFrame.inI18n}function vp(e,n){let t=T.lFrame;t.bindingIndex=t.bindingRootIndex=e,us(n)}function bp(){return T.lFrame.currentDirectiveIndex}function us(e){T.lFrame.currentDirectiveIndex=e}function Dp(e){let n=T.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function ds(){return T.lFrame.currentQueryIndex}function xo(e){T.lFrame.currentQueryIndex=e}function cD(e){let n=e[D];return n.type===2?n.declTNode:n.type===1?e[Me]:null}function lc(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=cD(i),o===null||(i=i[An],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=T.lFrame=Ep();return r.currentTNode=n,r.lView=e,!0}function fs(e){let n=Ep(),t=e[D];T.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Ep(){let e=T.lFrame,n=e===null?null:e.child;return n===null?Cp(e):n}function Cp(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 Ip(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var cc=Ip;function ps(){let e=Ip();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 _p(e){return(T.lFrame.contextLView=cp(e,T.lFrame.contextLView))[te]}function Ye(){return T.lFrame.selectedIndex}function en(e){T.lFrame.selectedIndex=e}function Mr(){let e=T.lFrame;return Tr(e.tView,e.selectedIndex)}function Ar(){T.lFrame.currentNamespace=Wl}function wp(){uD()}function uD(){T.lFrame.currentNamespace=null}function Sp(){return T.lFrame.currentNamespace}var Tp=!0;function hs(){return Tp}function Oo(e){Tp=e}function Dl(e,n=null,t=null,r){let o=uc(e,n,t,r);return o.resolveInjectorInitializers(),o}function uc(e,n=null,t=null,r,o=new Set){let i=[t||Ce,tp(e)],s;return new In(i,n||To(),s||null,o)}var ce=class e{static THROW_IF_NOT_FOUND=bn;static NULL=new vo;static create(n,t){if(Array.isArray(n))return Dl({name:""},t,n,"");{let r=n.name??"";return Dl({name:r},n.parent,n.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>ve(kl)});static __NG_ELEMENT_ID__=-1},pe=new v(""),ne=(()=>{class e{static __NG_ELEMENT_ID__=dD;static __NG_ENV_ID__=t=>t}return e})(),zi=class extends ne{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Xt(this._lView)}onDestroy(n){let t=this._lView;return ls(t,n),()=>Yl(t,n)}};function dD(){return new zi(b())}var Mp=!1,Ap=new v(""),kn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new go(!1);debugTaskTracker=g(Ap,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(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=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),El=class extends z{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,jl()&&(this.destroyRef=g(ne,{optional:!0})??void 0,this.pendingTasks=g(kn,{optional:!0})??void 0)}emit(n){let t=C(null);try{super.next(n)}finally{C(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}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 Te&&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)}})}}},ye=El;function qi(...e){}function dc(e){let n,t;function r(){e=qi;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 Np(e){return queueMicrotask(()=>e()),()=>{e=qi}}var fc="isAngularZone",Do=fc+"_ID",fD=0,Ie=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ye(!1);onMicrotaskEmpty=new ye(!1);onStable=new ye(!1);onError=new ye(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Mp}=n;if(typeof Zone>"u")throw new _(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,gD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(fc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(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,pD,qi,qi);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)}},pD={};function pc(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 hD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){dc(()=>{e.callbackScheduled=!1,Cl(e),e.isCheckStableRunning=!0,pc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Cl(e)}function gD(e){let n=()=>{hD(e)},t=fD++;e._inner=e._inner.fork({name:"angular",properties:{[fc]:!0,[Do]:t,[Do+t]:!0},onInvokeTask:(r,o,i,s,a,l)=>{if(mD(l))return r.invokeTask(i,s,a,l);try{return Wf(e),r.invokeTask(i,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Gf(e)}},onInvoke:(r,o,i,s,a,l,c)=>{try{return Wf(e),r.invoke(i,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!yD(l)&&n(),Gf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Cl(e),pc(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 Cl(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Wf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gf(e){e._nesting--,pc(e)}var Eo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ye;onMicrotaskEmpty=new ye;onStable=new ye;onError=new ye;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 mD(e){return xp(e,"__ignore_ng_zone__")}function yD(e){return xp(e,"__scheduler_tick__")}function xp(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var xt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Pt=new v("",{factory:()=>{let e=g(Ie),n=g(Le),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(xt),t.handleError(r))})}}}),Op={provide:Cr,useValue:()=>{let e=g(xt,{optional:!0})},multi:!0},vD=new v("",{factory:()=>{let e=g(pe).defaultView;if(!e)return;let n=g(Pt),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(ne).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function bD(){return Tn([ep(()=>{g(vD)})])}function R(e,n){let[t,r,o]=qa(e,n?.equal),i=t,s=i[Q];return i.set=r,i.update=o,i.asReadonly=Ro.bind(i),i}function Ro(){let e=this[Q];if(e.readonlyFn===void 0){let n=()=>this();n[Q]=e,e.readonlyFn=n}return e.readonlyFn}var Nr=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=DD}return e})();function DD(){return new Nr(b(),J())}var ht=class{},Fo=new v("",{factory:()=>!0});var hc=new v(""),ko=(()=>{class e{internalPendingTasks=g(kn);scheduler=g(ht);errorHandler=g(Pt);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=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),gs=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Il})}return e})(),Il=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}},Zi=class{[Q];constructor(n){this[Q]=n}destroy(){this[Q].destroy()}};function he(e,n){let t=n?.injector??g(ce),r=n?.manualCleanup!==!0?t.get(ne):null,o,i=t.get(Nr,null,{optional:!0}),s=t.get(ht);return i!==null?(o=ID(i.view,s,e),r instanceof zi&&r._lView===i.view&&(r=null)):o=_D(e,t.get(gs),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Zi(o)}var Rp=N(m({},Za),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=bo(!1);try{Ya(this)}finally{bo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=C(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],C(e)}}}),ED=N(m({},Rp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Gt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),CD=N(m({},Rp),{consumerMarkedDirty(){this.view[w]|=8192,Rn(this.view),this.notifier.notify(13)},destroy(){if(Gt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Zt]?.delete(this)}});function ID(e,n,t){let r=Object.create(CD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Fp(r,t),e[Zt]??=new Set,e[Zt].add(r),r.consumerMarkedDirty(r),r}function _D(e,n,t){let r=Object.create(ED);return r.fn=Fp(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 Fp(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Yo(e){return{toString:e}.toString()}function xD(e){return typeof e=="function"}function Mh(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Ms=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},Ct=(()=>{let e=()=>Ah;return e.ngInherit=!0,e})();function Ah(e){return e.type.prototype.ngOnChanges&&(e.setInput=RD),OD}function OD(){let e=xh(this),n=e?.current;if(n){let t=e.previous;if(t===tt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function RD(e,n,t,r,o){let i=this.declaredInputs[r],s=xh(e)||FD(e,{previous:tt,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new Ms(c&&c.currentValue,t,l===tt),Mh(e,n,o,t)}var Nh="__ngSimpleChanges__";function xh(e){return e[Nh]||null}function FD(e,n){return e[Nh]=n}var kp=[];var k=function(e,n=null,t){for(let r=0;r<kp.length;r++){let o=kp[r];o(e,n,t)}},O=(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})(O||{});function kD(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Ah(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 Oh(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:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function Ds(e,n,t){Rh(e,n,3,t)}function Es(e,n,t,r){(e[w]&3)===t&&Rh(e,n,t,r)}function gc(e,n){let t=e[w];(t&3)===n&&(t&=16383,t+=1,e[w]=t)}function Rh(e,n,t,r){let o=r!==void 0?e[Nn]&65535:0,i=r??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],r!=null&&a>=r)break}else n[l]<0&&(e[Nn]+=65536),(a<i||i==-1)&&(PD(e,t,n,l),e[Nn]=(e[Nn]&4294901760)+l+2),l++}function Pp(e,n){k(O.LifecycleHookStart,e,n);let t=C(null);try{n.call(e)}finally{C(t),k(O.LifecycleHookEnd,e,n)}}function PD(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[w]>>14<e[Nn]>>16&&(e[w]&3)===n&&(e[w]+=16384,Pp(a,i)):Pp(a,i)}var Or=-1,Bn=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 LD(e){return(e.flags&8)!==0}function VD(e){return(e.flags&16)!==0}function BD(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];jD(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Fh(e){return e===3||e===4||e===6}function jD(e){return e.charCodeAt(0)===64}function Fr(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?Lp(e,t,o,null,n[++r]):Lp(e,t,o,null,null))}}return e}function Lp(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 kh(e){return e!==Or}function As(e){return e&32767}function HD(e){return e>>16}function Ns(e,n){let t=HD(e),r=n;for(;t>0;)r=r[An],t--;return r}var Tc=!0;function Vp(e){let n=Tc;return Tc=e,n}var $D=256,Ph=$D-1,Lh=5,UD=0,Dt={};function WD(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Sn)&&(r=t[Sn]),r==null&&(r=t[Sn]=UD++);let o=r&Ph,i=1<<o;n.data[e+(o>>Lh)]|=i}function xs(e,n){let t=Vh(e,n);if(t!==-1)return t;let r=n[D];r.firstCreatePass&&(e.injectorIndex=n.length,mc(r.data,e),mc(n,null),mc(r.blueprint,null));let o=cu(e,n),i=e.injectorIndex;if(kh(o)){let s=As(o),a=Ns(o,n),l=a[D].data;for(let c=0;c<8;c++)n[i+c]=a[s+c]|l[s+c]}return n[i+8]=o,i}function mc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Vh(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function cu(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=Uh(o),r===null)return Or;if(t++,o=o[An],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Or}function Mc(e,n,t){WD(e,n,t)}function GD(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(Fh(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 Bh(e,n,t){if(t&8||e!==void 0)return e;Xi(n,"NodeInjector")}function jh(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[ae],i=Pe(void 0);try{return o?o.get(n,r,t&8):Rl(n,r,t&8)}finally{Pe(i)}}return Bh(r,n,t)}function Hh(e,n,t,r=0,o){if(e!==null){if(n[w]&2048&&!(r&2)){let s=YD(e,n,t,r,Dt);if(s!==Dt)return s}let i=$h(e,n,t,r,Dt);if(i!==Dt)return i}return jh(n,t,r,o)}function $h(e,n,t,r,o){let i=qD(t);if(typeof i=="function"){if(!lc(n,e,r))return r&1?Bh(o,t,r):jh(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Xi(t);else return s}finally{cc()}}else if(typeof i=="number"){let s=null,a=Vh(e,n),l=Or,c=r&1?n[Ae][Me]:null;for((a===-1||r&4)&&(l=a===-1?cu(e,n):n[a+8],l===Or||!jp(r,!1)?a=-1:(s=n[D],a=As(l),n=Ns(l,n)));a!==-1;){let u=n[D];if(Bp(i,a,u.data)){let d=zD(a,n,t,s,r,c);if(d!==Dt)return d}l=n[a+8],l!==Or&&jp(r,n[D].data[a+8]===c)&&Bp(i,a,n)?(s=u,a=As(l),n=Ns(l,n)):a=-1}}return o}function zD(e,n,t,r,o,i){let s=n[D],a=s.data[e+8],l=r==null?Rt(a)&&Tc:r!=s&&(a.type&3)!==0,c=o&1&&i===a,u=Cs(a,s,t,l,c);return u!==null?Bo(n,s,u,a,o):Dt}function Cs(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,l=e.directiveStart,c=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:c;for(let f=d;f<p;f++){let h=s[f];if(f<l&&t===h||f>=l&&h.type===t)return f}if(o){let f=s[l];if(f&&it(f)&&f.type===t)return l}return null}function Bo(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Bn){let a=i;if(a.resolving)throw Ol("");let l=Vp(a.canSeeViewProviders);a.resolving=!0;let c=s[t].type||s[t],u,d=a.injectImpl?Pe(a.injectImpl):null,p=lc(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&kD(t,s[t],n)}finally{d!==null&&Pe(d),Vp(l),a.resolving=!1,cc()}}return i}function qD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Sn)?e[Sn]:void 0;return typeof n=="number"?n>=0?n&Ph:ZD:n}function Bp(e,n,t){let r=1<<e;return!!(t[n+(e>>Lh)]&r)}function jp(e,n){return!(e&2)&&!(e&1&&n)}var Ln=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Hh(this._tNode,this._lView,n,Dn(r),t)}};function ZD(){return new Ln(J(),b())}function j(e){return Yo(()=>{let n=e.prototype.constructor,t=n[yo]||Ac(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[yo]||Ac(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ac(e){return _l(e)?()=>{let n=Ac(le(e));return n&&n()}:En(e)}function YD(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[w]&2048&&!Sr(s);){let a=$h(i,s,t,r|2,Dt);if(a!==Dt)return a;let l=i.parent;if(!l){let c=s[$l];if(c){let u=c.get(t,Dt,r&-5);if(u!==Dt)return u}l=Uh(s),s=s[An]}i=l}return o}function Uh(e){let n=e[D],t=n.type;return t===2?n.declTNode:t===1?e[Me]:null}function uu(e){return GD(J(),e)}function QD(){return $r(J(),b())}function $r(e,n){return new de(Be(e,n))}var de=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=QD}return e})();function Wh(e){return e instanceof de?e.nativeElement:e}function KD(){return this._results[Symbol.iterator]()}var Os=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 z}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=Kf(n);(this._changesDetected=!Qf(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]=KD};function Gh(e){return(e.flags&128)===128}var du=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(du||{}),zh=new Map,JD=0;function XD(){return JD++}function eE(e){zh.set(e[vt],e)}function Nc(e){zh.delete(e[vt])}var Hp="__ngContext__";function kr(e,n){Ot(n)?(e[Hp]=n[vt],eE(n)):e[Hp]=n}function qh(e){return Yh(e[_r])}function Zh(e){return Yh(e[ze])}function Yh(e){for(;e!==null&&!ot(e);)e=e[ze];return e}var xc;function tE(e){xc=e}function Qh(){if(xc!==void 0)return xc;if(typeof document<"u")return document;throw new _(210,!1)}var nE=new v("",{factory:()=>rE}),rE="ng";var Kh=new v(""),zn=new v("",{providedIn:"platform",factory:()=>"unknown"});var oE=new v("",{factory:()=>g(pe).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),zs={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},qs=new v("",{factory:()=>zs});var Jh="r";var fu="di",pu="s";var Xh=!1,eg=new v("",{factory:()=>Xh});var tg=new v("");var iE=(e,n,t,r)=>{};function sE(e,n,t,r){iE(e,n,t,r)}var ng=new v("");function Zs(e){return(e.flags&32)===32}var aE=()=>null;function rg(e,n,t=!1){return aE(e,n,t)}function hu(e){return e.get(tg,!1,{optional:!0})}function og(e,n){let t=e.contentQueries;if(t!==null){let r=C(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];xo(i),a.contentQueries(2,n[s],s)}}}finally{C(r)}}}function Oc(e,n,t){xo(0);let r=C(null);try{n(e,t)}finally{C(r)}}function gu(e,n,t){if(Ul(n)){let r=C(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 l=t[s];a.contentQueries(1,l,s)}}}finally{C(r)}}}var jn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(jn||{});var ms;function lE(){if(ms===void 0&&(ms=null,Dr.trustedTypes))try{ms=Dr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ms}function Ys(e){return lE()?.createHTML(e)||e}var ys;function ig(){if(ys===void 0&&(ys=null,Dr.trustedTypes))try{ys=Dr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ys}function $p(e){return ig()?.createHTML(e)||e}function Up(e){return ig()?.createScriptURL(e)||e}var Lt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yi})`}},Rc=class extends Lt{getTypeName(){return"HTML"}},Fc=class extends Lt{getTypeName(){return"Style"}},kc=class extends Lt{getTypeName(){return"Script"}},Pc=class extends Lt{getTypeName(){return"URL"}},Lc=class extends Lt{getTypeName(){return"ResourceURL"}};function Vt(e){return e instanceof Lt?e.changingThisBreaksApplicationSecurity:e}function Qs(e,n){let t=sg(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Yi})`)}return t===n}function sg(e){return e instanceof Lt&&e.getTypeName()||null}function cE(e){return new Rc(e)}function uE(e){return new Fc(e)}function dE(e){return new kc(e)}function fE(e){return new Pc(e)}function pE(e){return new Lc(e)}function hE(e){let n=new Bc(e);return gE()?new Vc(n):n}var Vc=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Ys(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},Bc=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=Ys(n),t}};function gE(){try{return!!new window.DOMParser().parseFromString(Ys(""),"text/html")}catch{return!1}}var mE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function mu(e){return e=String(e),e.match(mE)?e:"unsafe:"+e}function Bt(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Qo(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var ag=Bt("area,br,col,hr,img,wbr"),lg=Bt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cg=Bt("rp,rt"),yE=Qo(cg,lg),vE=Qo(lg,Bt("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")),bE=Qo(cg,Bt("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")),Wp=Qo(ag,vE,bE,yE),ug=Bt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),DE=Bt("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"),EE=Bt("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"),CE=Qo(ug,DE,EE),IE=Bt("script,style,template");var jc=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=SE(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=wE(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=Gp(n).toLowerCase();if(!Wp.hasOwnProperty(t))return this.sanitizedSomething=!0,!IE.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(!CE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=i.value;ug[a]&&(l=mu(l)),this.buf.push(" ",s,'="',zp(l),'"')}return this.buf.push(">"),!0}endElement(n){let t=Gp(n).toLowerCase();Wp.hasOwnProperty(t)&&!ag.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(zp(n))}};function _E(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function wE(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw dg(n);return n}function SE(e){let n=e.firstChild;if(n&&_E(e,n))throw dg(n);return n}function Gp(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function dg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var TE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ME=/([^\#-~ |!])/g;function zp(e){return e.replace(/&/g,"&amp;").replace(TE,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(ME,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var vs;function fg(e,n){let t=null;try{vs=vs||hE(e);let r=n?String(n):"";t=vs.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=vs.getInertBodyElement(r)}while(r!==i);let a=new jc().sanitizeChildren(qp(t)||t);return Ys(a)}finally{if(t){let r=qp(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function qp(e){return"content"in e&&AE(e)?e.content:null}function AE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var NE=/^>|^->|<!--|-->|--!>|<!-$/g,xE=/(<|>)/g,OE="\u200B$1\u200B";function RE(e){return e.replace(NE,n=>n.replace(xE,OE))}function FE(e,n){return e.createText(n)}function kE(e,n,t){e.setValue(n,t)}function PE(e,n){return e.createComment(RE(n))}function pg(e,n,t){return e.createElement(n,t)}function Rs(e,n,t,r,o){e.insertBefore(n,t,r,o)}function hg(e,n,t){e.appendChild(n,t)}function Zp(e,n,t,r,o){r!==null?Rs(e,n,t,r,o):hg(e,n,t)}function gg(e,n,t,r){e.removeChild(null,n,t,r)}function LE(e,n,t){e.setAttribute(n,"style",t)}function VE(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function mg(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&BD(e,n,r),o!==null&&VE(e,n,o),i!==null&&LE(e,n,i)}var Ko=(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})(Ko||{});function BE(e){let n=yu();return n?$p(n.sanitize(Ko.HTML,e)||""):Qs(e,"HTML")?$p(Vt(e)):fg(Qh(),mt(e))}function yg(e){let n=yu();return n?n.sanitize(Ko.URL,e)||"":Qs(e,"URL")?Vt(e):mu(mt(e))}function vg(e){let n=yu();if(n)return Up(n.sanitize(Ko.RESOURCE_URL,e)||"");if(Qs(e,"ResourceURL"))return Up(Vt(e));throw new _(904,!1)}var jE={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 HE(e,n){return jE[e]?.[n]===!0?vg:yg}function $E(e,n,t){return HE(n,t)(e)}function yu(){let e=b();return e&&e[rt].sanitizer}function UE(e){return e.ownerDocument}function bg(e){return e instanceof Function?e():e}function WE(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 Dg="ng-template";function GE(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&WE(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(vu(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 vu(e){return e.type===4&&e.value!==Dg}function zE(e,n,t){let r=e.type===4&&!t?Dg:e.value;return n===r}function qE(e,n,t){let r=4,o=e.attrs,i=o!==null?QE(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!st(r)&&!st(l))return!1;if(s&&st(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!zE(e,l,t)||l===""&&n.length===1){if(st(r))return!1;s=!0}}else if(r&8){if(o===null||!GE(e,o,l,t)){if(st(r))return!1;s=!0}}else{let c=n[++a],u=ZE(l,o,vu(e),t);if(u===-1){if(st(r))return!1;s=!0;continue}if(c!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&c!==d){if(st(r))return!1;s=!0}}}}return st(r)||s}function st(e){return(e&1)===0}function ZE(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 KE(n,e)}function Eg(e,n,t=!1){for(let r=0;r<n.length;r++)if(qE(e,n[r],t))return!0;return!1}function YE(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function QE(e){for(let n=0;n<e.length;n++){let t=e[n];if(Fh(t))return n}return e.length}function KE(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 JE(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 Yp(e,n){return e?":not("+n.trim()+")":n}function XE(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!==""&&!st(s)&&(n+=Yp(i,o),o=""),r=s,i=i||!st(r);t++}return o!==""&&(n+=Yp(i,o)),n}function eC(e){return e.map(XE).join(",")}function tC(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(!st(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var be={};function bu(e,n,t,r,o,i,s,a,l,c,u){let d=H+r,p=d+o,f=nC(d,p),h=typeof c=="function"?c():c;return f[D]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1,ssrId:u}}function nC(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:be);return t}function rC(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=bu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Du(e,n,t,r,o,i,s,a,l,c,u){let d=n.blueprint.slice();return d[nt]=o,d[w]=r|4|128|8|64|1024,(c!==null||e&&e[w]&2048)&&(d[w]|=2048),ql(d),d[ie]=d[An]=e,d[te]=t,d[rt]=s||e&&e[rt],d[B]=a||e&&e[B],d[ae]=l||e&&e[ae]||null,d[Me]=i,d[vt]=XD(),d[Mn]=u,d[$l]=c,d[Ae]=n.type==2?e[Ae]:d,d}function oC(e,n,t){let r=Be(n,e),o=rC(t),i=e[rt].rendererFactory,s=Eu(e,Du(e,o,null,Cg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function Cg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Ig(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 Eu(e,n){return e[_r]?e[Hl][ze]=n:e[_r]=n,e[Hl]=n,n}function _e(e=1){_g($(),b(),Ye()+e,!1)}function _g(e,n,t,r){if(!r)if((n[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ds(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Es(n,i,0,t)}en(t)}var Ks=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ks||{});function Hc(e,n,t,r){let o=C(null);try{let[i,s,a]=e.inputs[t],l=null;(s&Ks.SignalBased)!==0&&(l=n[i][Q]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,l,r,t,i):Mh(n,l,i,r)}finally{C(o)}}var Pr=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Pr||{}),iC;function Cu(e,n){return iC(e,n)}var wg=new v("",{factory:()=>!1});var sC=!1,Jo=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Sg(e){return e[ae].get(wg,sC)}function aC(e,n,t){let r=Lr.get(e);if(r){for(let o of n)r.classList.push(o);for(let o of t)r.cleanupFns.push(o)}else Lr.set(e,{classList:n,cleanupFns:t})}function Iu(e){let n=Lr.get(e);if(n){for(let t of n.cleanupFns)t();Lr.delete(e)}Vn.delete(e)}var Lr=new WeakMap,Vn=new WeakMap,jo=new WeakMap,Po=new WeakSet;function Qp(e,n){let t=jo.get(e);if(t&&t.length>0){let r=t.findIndex(o=>o===n);r>-1&&t.splice(r,1)}t?.length===0&&jo.delete(e)}function lC(e,n){let t=jo.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),Po.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 Tg(e,n){let t=jo.get(e);t?t.includes(n)||t.push(n):jo.set(e,[n])}function Kp(e){let n=e[bt]??={};return n.enter??=new Map}function Js(e){let n=e[bt]??={};return n.leave??=new Map}function Mg(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 cC(e,n){if(!Jo)return;let t=Lr.get(e);if(t&&t.classList.length>0&&uC(e,t.classList))for(let r of t.classList)n.removeClass(e,r);Iu(e)}function uC(e,n){for(let t of n)if(e.classList.contains(t))return!0;return!1}function Ho(e){return e.composedPath?e.composedPath()[0]:e.target}function _u(e,n){let t=Vn.get(n);return t===void 0?!0:n===Ho(e)&&(t.animationName!==void 0&&e.animationName===t.animationName||t.propertyName!==void 0&&(t.propertyName==="all"||e.propertyName===t.propertyName))}function Ag(e,n,t){let r=e.get(n.index)??{animateFns:[]};r.animateFns.push(t),e.set(n.index,r)}function Jp(e,n){if(e)for(let t of e)t();for(let t of n)t()}function Xp(e,n){let t=Js(e).get(n.index);t&&(t.resolvers=void 0)}function Fs(e){if(!e)return 0;let n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function Pn(e,n){return e.getPropertyValue(n).split(",").map(r=>r.trim())}function dC(e){let n=Pn(e,"transition-property"),t=Pn(e,"transition-duration"),r=Pn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=Fs(r[i])+Fs(t[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function fC(e){let n=Pn(e,"animation-name"),t=Pn(e,"animation-delay"),r=Pn(e,"animation-duration"),o=Pn(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=Fs(t[s])+Fs(r[s]),l=o[s];a>i.duration&&l!=="infinite"&&(i.animationName=n[s],i.duration=a)}return i}function Ng(e,n){return e!==void 0&&e.duration>n.duration}function xg(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function pC(e,n){let t=getComputedStyle(e),r=fC(t),o=dC(t),i=r.duration>o.duration?r:o;Ng(n.get(e),i)||xg(i)&&n.set(e,i)}function Og(e,n,t){if(!t)return;let r=e.getAnimations();return r.length===0?pC(e,n):hC(e,n,r)}function hC(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,l=o.playbackRate;l!==void 0&&l!==0&&l!==1&&(a/=Math.abs(l));let c,u;o.animationName?u=o.animationName:c=o.transitionProperty,a>=r.duration&&(r={animationName:u,propertyName:c,duration:a})}Ng(n.get(e),r)||xg(r)&&n.set(e,r)}var Vr=new Set,Xs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Xs||{}),qn=new v(""),eh=new Set;function He(e){eh.has(e)||(eh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ea=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),wu=[0,1,2,3],Su=(()=>{class e{ngZone=g(Ie);scheduler=g(ht);errorHandler=g(xt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(qn,{optional:!0})}execute(){let t=this.sequences.size>0;t&&k(O.AfterRenderHooksStart),this.executing=!0;for(let r of wu)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(O.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[xn]??=[]).push(t),Rn(r),r[w]|=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(Xs.AFTER_NEXT_RENDER,t):t()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),$o=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?.[xn];n&&(this.view[xn]=n.filter(t=>t!==this))}};function Tu(e,n){let t=n?.injector??g(ce);return He("NgAfterNextRender"),mC(e,t,n,!0)}function gC(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function mC(e,n,t,r){let o=n.get(ea);o.impl??=n.get(Su);let i=n.get(qn,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(ne):null,a=n.get(Nr,null,{optional:!0}),l=new $o(o.impl,gC(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(l),l}var ta=new v("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(Le)})});function Rg(e,n,t){let r=e.get(ta);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 yC(e,n){let t=e.get(ta);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function vC(e){let n=e.get(ta);n.isScheduled||(Tu(()=>{n.isScheduled=!1;for(let t of n.queue)t();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function Fg(e){let n=e.get(ta);n.scheduler=vC,n.scheduler(e)}function kg(e,n){for(let[t,r]of n)Rg(e,r.animateFns)}function th(e,n,t,r){let o=e?.[bt]?.enter;n!==null&&o&&o.has(t.index)&&kg(r,o)}function xr(e,n,t,r,o,i,s,a){if(o!=null){let l,c=!1;ot(o)?l=o:Ot(o)&&(c=!0,o=o[nt]);let u=qe(o);e===0&&r!==null?(th(a,r,i,t),s==null?hg(n,r,u):Rs(n,r,u,s||null,!0)):e===1&&r!==null?(th(a,r,i,t),Rs(n,r,u,s||null,!0),lC(i,u)):e===2?(a?.[bt]?.leave?.has(i.index)&&Tg(i,u),Po.delete(u),nh(a,i,t,d=>{if(Po.has(u)){Po.delete(u);return}gg(n,u,c,d)})):e===3&&(Po.delete(u),nh(a,i,t,()=>{n.destroyNode(u)})),l!=null&&AC(n,e,t,l,i,r,s)}}function bC(e,n){Pg(e,n),n[nt]=null,n[Me]=null}function DC(e,n,t,r,o,i){r[nt]=o,r[Me]=n,ra(e,r,t,1,o,i)}function Pg(e,n){n[rt].changeDetectionScheduler?.notify(9),ra(e,n,n[B],2,null,null)}function EC(e){let n=e[_r];if(!n)return yc(e[D],e);for(;n;){let t=null;if(Ot(n))t=n[_r];else{let r=n[K];r&&(t=r)}if(!t){for(;n&&!n[ze]&&n!==e;)Ot(n)&&yc(n[D],n),n=n[ie];n===null&&(n=e),Ot(n)&&yc(n[D],n),t=n&&n[ze]}n=t}}function Mu(e,n){let t=e[On],r=t.indexOf(n);t.splice(r,1)}function na(e,n){if(Xt(n))return;let t=n[B];t.destroyNode&&ra(e,n,t,3,null,null),EC(n)}function yc(e,n){if(Xt(n))return;let t=C(null);try{n[w]&=-129,n[w]|=256,n[Ve]&&Gt(n[Ve]),_C(e,n),IC(e,n),n[D].type===1&&n[B].destroy();let r=n[Qt];if(r!==null&&ot(n[ie])){r!==n[ie]&&Mu(r,n);let o=n[yt];o!==null&&o.detachView(e)}Nc(n)}finally{C(t)}}function nh(e,n,t,r){let o=e?.[bt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Vr.add(e[vt]),Rg(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let l=0;l<s.animateFns.length;l++){let c=s.animateFns[l],{promise:u}=c();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),CC(e,r)}else e&&Vr.delete(e[vt]),r(!1)},o)}function CC(e,n){let t=e[bt]?.running;if(t){t.then(()=>{e[bt].running=void 0,Vr.delete(e[vt]),n(!0)});return}n(!1)}function IC(e,n){let t=e.cleanup,r=n[Ir];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[Ir]=null);let o=n[Nt];if(o!==null){n[Nt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Zt];if(i!==null){n[Zt]=null;for(let s of i)s.destroy()}}function _C(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 Bn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],l=i[s+1];k(O.LifecycleHookStart,a,l);try{l.call(a)}finally{k(O.LifecycleHookEnd,a,l)}}else{k(O.LifecycleHookStart,o,i);try{i.call(o)}finally{k(O.LifecycleHookEnd,o,i)}}}}}function Lg(e,n,t){return wC(e,n.parent,t)}function wC(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[nt];if(Rt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===jn.None||o===jn.Emulated)return null}return Be(r,t)}function Vg(e,n,t){return TC(e,n,t)}function SC(e,n,t){return e.type&40?Be(e,t):null}var TC=SC,rh;function Au(e,n,t,r){let o=Lg(e,r,n),i=n[B],s=r.parent||n[Me],a=Vg(s,r,n);if(o!=null)if(Array.isArray(t))for(let l=0;l<t.length;l++)Zp(i,o,t[l],a,!1);else Zp(i,o,t,a,!1);rh!==void 0&&rh(i,r,n,t,o)}function Lo(e,n){if(n!==null){let t=n.type;if(t&3)return Be(n,e);if(t&4)return $c(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Lo(e,r);{let o=e[n.index];return ot(o)?$c(-1,o):qe(o)}}else{if(t&128)return Lo(e,n.next);if(t&32)return Cu(n,e)()||qe(e[n.index]);{let r=Bg(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Yt(e[Ae]);return Lo(o,r)}else return Lo(e,n.next)}}}return null}function Bg(e,n){if(n!==null){let r=e[Ae][Me],o=n.projection;return r.projection[o]}return null}function $c(e,n){let t=K+e+1;if(t<n.length){let r=n[t],o=r[D].firstChild;if(o!==null)return Lo(r,o)}return n[Jt]}function Nu(e,n,t,r,o,i,s){for(;t!=null;){let a=r[ae];if(t.type===128){t=t.next;continue}let l=r[t.index],c=t.type;if(s&&n===0&&(l&&kr(qe(l),r),t.flags|=2),!Zs(t))if(c&8)Nu(e,n,t.child,r,o,i,!1),xr(n,e,a,o,l,t,i,r);else if(c&32){let u=Cu(t,r),d;for(;d=u();)xr(n,e,a,o,d,t,i,r);xr(n,e,a,o,l,t,i,r)}else c&16?jg(e,n,r,t,o,i):xr(n,e,a,o,l,t,i,r);t=s?t.projectionNext:t.next}}function ra(e,n,t,r,o,i){Nu(t,r,e.firstChild,n,o,i,!1)}function MC(e,n,t){let r=n[B],o=Lg(e,t,n),i=t.parent||n[Me],s=Vg(i,t,n);jg(r,0,n,t,o,s)}function jg(e,n,t,r,o,i){let s=t[Ae],l=s[Me].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];xr(n,e,t[ae],o,u,r,i,t)}else{let c=l,u=s[ie];Gh(r)&&(c.flags|=128),Nu(e,n,c,u,o,i,!0)}}function AC(e,n,t,r,o,i,s){let a=r[Jt],l=qe(r);a!==l&&xr(n,e,t,i,a,o,s);for(let c=K;c<r.length;c++){let u=r[c];ra(u[D],u,e,n,i,a)}}function NC(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Pr.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Pr.Important),e.setStyle(t,r,o,i))}}function Hg(e,n,t,r,o){let i=Ye(),s=r&2;try{en(-1),s&&n.length>H&&_g(e,n,H,!1);let a=s?O.TemplateUpdateStart:O.TemplateCreateStart;k(a,o,t),t(r,o)}finally{en(i);let a=s?O.TemplateUpdateEnd:O.TemplateCreateEnd;k(a,o,t)}}function oa(e,n,t){PC(e,n,t),(t.flags&64)===64&&LC(e,n,t)}function Ur(e,n,t=Be){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 xC(e,n,t,r){let i=r.get(eg,Xh)||t===jn.ShadowDom||t===jn.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return OC(s),s}function OC(e){RC(e)}var RC=()=>null;function FC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function $g(e,n,t,r,o,i){let s=n[D];if(Ru(e,s,n,t,r)){Rt(e)&&kC(n,e.index);return}e.type&3&&(t=FC(t)),Ug(e,n,t,r,o,i)}function Ug(e,n,t,r,o,i){if(e.type&3){let s=Be(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function kC(e,n){let t=Ze(n,e);t[w]&16||(t[w]|=64)}function PC(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Rt(t)&&oC(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||xs(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],l=Bo(n,e,s,t);if(kr(l,n),i!==null&&HC(n,s-r,l,a,t,i),it(a)){let c=Ze(t.index,n);c[te]=Bo(n,e,s,t)}}}function LC(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=bp();try{en(i);for(let a=r;a<o;a++){let l=e.data[a],c=n[a];us(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&VC(l,c)}}finally{en(-1),us(s)}}function VC(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];Eg(n,i.selectors,!1)&&(r??=[],it(i)?r.unshift(i):r.push(i))}return r}function BC(e,n,t,r,o,i){let s=Be(e,n);jC(n[B],s,i,e.value,t,r,o)}function jC(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?mt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function HC(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];Hc(r,t,l,c)}}function ia(e,n,t,r,o){let i=H+t,s=n[D],a=o(s,n,e,r,t);n[i]=a,Fn(e,!0);let l=e.type===2;return l?(mg(n[B],a,e),(dp()===0||wr(e))&&kr(a,n),fp()):kr(a,n),hs()&&(!l||!Zs(e))&&Au(s,n,a,e),e}function sa(e){let n=e;return rc()?oc():(n=n.parent,Fn(n,!1)),n}function Ou(e,n){let t=e[ae];if(!t)return;let r;try{r=t.get(Pt,null)}catch{r=null}r?.(n)}function Ru(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],u=s[l+1],d=n.data[c];Hc(d,t[c],u,o),a=!0}if(i)for(let l of i){let c=t[l],u=n.data[l];Hc(u,c,r,o),a=!0}return a}function $C(e,n){let t=Ze(n,e),r=t[D];UC(r,t);let o=t[nt];o!==null&&t[Mn]===null&&(t[Mn]=rg(o,t[ae])),k(O.ComponentStart);try{Fu(r,t,t[te])}finally{k(O.ComponentEnd,t[te])}}function UC(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Fu(e,n,t){fs(n);try{let r=e.viewQuery;r!==null&&Oc(1,r,t);let o=e.template;o!==null&&Hg(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[yt]?.finishViewCreation(e),e.staticContentQueries&&og(e,n),e.staticViewQueries&&Oc(2,e.viewQuery,t);let i=e.components;i!==null&&WC(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[w]&=-5,ps()}}function WC(e,n){for(let t=0;t<n.length;t++)$C(e,n[t])}function Wr(e,n,t,r){let o=C(null);try{let i=n.tView,a=e[w]&4096?4096:16,l=Du(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[n.index];l[Qt]=c;let u=e[yt];return u!==null&&(l[yt]=u.createEmbeddedView(i)),Fu(i,l,t),l}finally{C(o)}}function Hn(e,n){return!n||n.firstChild===null||Gh(e)}function Uo(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(qe(i)),ot(i)&&Wg(i,r);let s=t.type;if(s&8)Uo(e,n,t.child,r);else if(s&32){let a=Cu(t,n),l;for(;l=a();)r.push(l)}else if(s&16){let a=Bg(n,t);if(Array.isArray(a))r.push(...a);else{let l=Yt(n[Ae]);Uo(l[D],l,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Wg(e,n){for(let t=K;t<e.length;t++){let r=e[t],o=r[D].firstChild;o!==null&&Uo(r[D],r,o,n)}e[Jt]!==e[nt]&&n.push(e[Jt])}function Gg(e){if(e[xn]!==null){for(let n of e[xn])n.impl.addSequence(n);e[xn].length=0}}var zg=[];function GC(e){return e[Ve]??zC(e)}function zC(e){let n=zg.pop()??Object.create(ZC);return n.lView=e,n}function qC(e){e.lView[Ve]!==e&&(e.lView=null,zg.push(e))}var ZC=N(m({},Ut),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Rn(e.lView)},consumerOnSignalRead(){this.lView[Ve]=this}});function YC(e){let n=e[Ve]??Object.create(QC);return n.lView=e,n}var QC=N(m({},Ut),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Yt(e.lView);for(;n&&!qg(n[D]);)n=Yt(n);n&&Zl(n)},consumerOnSignalRead(){this.lView[Ve]=this}});function qg(e){return e.type!==2}function Zg(e){if(e[Zt]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Zt])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[w]&8192)}}var KC=100;function Yg(e,n=0){let r=e[rt].rendererFactory,o=!1;o||r.begin?.();try{JC(e,n)}finally{o||r.end?.()}}function JC(e,n){let t=sc();try{bo(!0),Uc(e,n);let r=0;for(;Ao(e);){if(r===KC)throw new _(103,!1);r++,Uc(e,1)}}finally{bo(t)}}function XC(e,n,t,r){if(Xt(n))return;let o=n[w],i=!1,s=!1;fs(n);let a=!0,l=null,c=null;i||(qg(e)?(c=GC(n),l=Tt(c)):Di()===null?(a=!1,c=YC(n),l=Tt(c)):n[Ve]&&(Gt(n[Ve]),n[Ve]=null));try{ql(n),mp(e.bindingStartIndex),t!==null&&Hg(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Ds(n,f,null)}else{let f=e.preOrderHooks;f!==null&&Es(n,f,0,null),gc(n,0)}if(s||eI(n),Zg(n),Qg(n,0),e.contentQueries!==null&&og(e,n),!i)if(u){let f=e.contentCheckHooks;f!==null&&Ds(n,f)}else{let f=e.contentHooks;f!==null&&Es(n,f,1),gc(n,1)}nI(e,n);let d=e.components;d!==null&&Jg(n,d,0);let p=e.viewQuery;if(p!==null&&Oc(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Ds(n,f)}else{let f=e.viewHooks;f!==null&&Es(n,f,2),gc(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[os]){for(let f of n[os])f();n[os]=null}i||(Gg(n),n[w]&=-73)}catch(u){throw i||Rn(n),u}finally{c!==null&&(Wt(c,l),a&&qC(c)),ps()}}function Qg(e,n){for(let t=qh(e);t!==null;t=Zh(t))for(let r=K;r<t.length;r++){let o=t[r];Kg(o,n)}}function eI(e){for(let n=qh(e);n!==null;n=Zh(n)){if(!(n[w]&2))continue;let t=n[On];for(let r=0;r<t.length;r++){let o=t[r];Zl(o)}}}function tI(e,n,t){k(O.ComponentStart);let r=Ze(n,e);try{Kg(r,t)}finally{k(O.ComponentEnd,r[te])}}function Kg(e,n){ss(e)&&Uc(e,n)}function Uc(e,n){let r=e[D],o=e[w],i=e[Ve],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&cr(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)XC(r,e,r.template,e[te]);else if(o&8192){let a=C(null);try{Zg(e),Qg(e,1);let l=r.components;l!==null&&Jg(e,l,1),Gg(e)}finally{C(a)}}}function Jg(e,n,t){for(let r=0;r<n.length;r++)tI(e,n[r],t)}function nI(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)en(~o);else{let i=o,s=t[++r],a=t[++r];vp(s,i);let l=n[i];k(O.HostBindingsUpdateStart,l);try{a(2,l)}finally{k(O.HostBindingsUpdateEnd,l)}}}}finally{en(-1)}}function aa(e,n){let t=sc()?64:1088;for(e[rt].changeDetectionScheduler?.notify(n);e;){e[w]|=t;let r=Yt(e);if(Sr(e)&&!r)return e;e=r}return null}function Xg(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function em(e,n){let t=K+n;if(t<e.length)return e[t]}function Gr(e,n,t,r=!0){let o=n[D];if(rI(o,n,e,t),r){let s=$c(t,e),a=n[B],l=a.parentNode(e[Jt]);l!==null&&DC(o,e[Me],a,n,l,s)}let i=n[Mn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ku(e,n){let t=Wo(e,n);return t!==void 0&&na(t[D],t),t}function Wo(e,n){if(e.length<=K)return;let t=K+n,r=e[t];if(r){let o=r[Qt];o!==null&&o!==e&&Mu(o,r),n>0&&(e[t-1][ze]=r[ze]);let i=wo(e,K+n);bC(r[D],r);let s=i[yt];s!==null&&s.detachView(i[D]),r[ie]=null,r[ze]=null,r[w]&=-129}return r}function rI(e,n,t,r){let o=K+r,i=t.length;r>0&&(t[o-1][ze]=n),r<i-K?(n[ze]=t[o],Fl(t,K+r,n)):(t.push(n),n[ze]=null),n[ie]=t;let s=n[Qt];s!==null&&t!==s&&tm(s,n);let a=n[yt];a!==null&&a.insertView(e),as(n),n[w]|=128}function tm(e,n){let t=e[On],r=n[ie];if(Ot(r))e[w]|=2;else{let o=r[ie][Ae];n[Ae]!==o&&(e[w]|=2)}t===null?e[On]=[n]:t.push(n)}var nn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[D];return Uo(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[te]}set context(n){this._lView[te]=n}get destroyed(){return Xt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ie];if(ot(n)){let t=n[Mo],r=t?t.indexOf(this):-1;r>-1&&(Wo(n,r),wo(t,r))}this._attachedToViewContainer=!1}na(this._lView[D],this._lView)}onDestroy(n){ls(this._lView,n)}markForCheck(){aa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){as(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,Yg(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Sr(this._lView),t=this._lView[Qt];t!==null&&!n&&Mu(t,this._lView),Pg(this._lView[D],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=n;let t=Sr(this._lView),r=this._lView[Qt];r!==null&&!t&&tm(r,this._lView),as(this._lView)}};var Et=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=oI;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=Wr(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new nn(i)}}return e})();function oI(){return la(J(),b())}function la(e,n){return e.type&4?new Et(n,e,$r(e,n)):null}function Zn(e,n,t,r,o){let i=e.data[n];if(i===null)i=iI(e,n,t,r,o),yp()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=gp();i.injectorIndex=s===null?-1:s.injectorIndex}return Fn(i,!0),i}function iI(e,n,t,r,o){let i=nc(),s=rc(),a=s?i:i&&i.parent,l=e.data[n]=aI(e,a,t,n,r,o);return sI(e,l,i,s),l}function sI(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 aI(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Xl()&&(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 lI(e){let n=e[Kt]??[],r=e[ie][B],o=[];for(let i of n)i.data[fu]!==void 0?o.push(i):cI(i,r);e[Kt]=o}function cI(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Jh];for(;t<o;){let i=r.nextSibling;gg(n,r,!1),r=i,t++}}}var uI=()=>null,dI=()=>null;function ks(e,n){return uI(e,n)}function nm(e,n,t){return dI(e,n,t)}var rm=class{},ca=class{},Wc=class{resolveComponentFactory(n){throw new _(917,!1)}},Xo=class{static NULL=new Wc},Go=class{},$e=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>fI()}return e})();function fI(){let e=b(),n=J(),t=Ze(n.index,e);return(Ot(t)?t:e)[B]}var om=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var Is={},Rr=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Is,r);return o!==Is||t===Is?o:this.parentInjector.get(n,t,r)}};function Ps(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=Qi(o,a);else if(i==2){let l=a,c=n[++s];r=Qi(r,l+": "+c+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function A(e,n=0){let t=b();if(t===null)return ve(e,n);let r=J();return Hh(r,t,le(e),n)}function im(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,l=null,c=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,l,c]=u.resolveHostDirectives(s);break}gI(e,n,t,a,i,l,c)}i!==null&&r!==null&&pI(t,r,i)}function pI(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 _(-301,!1);r.push(n[o],i)}}function hI(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function gI(e,n,t,r,o,i,s){let a=r.length,l=null;for(let p=0;p<a;p++){let f=r[p];l===null&&it(f)&&(l=f,hI(e,t,p)),Mc(xs(t,n),e,f.type)}EI(t,e.data.length,a),l?.viewProvidersResolver&&l.viewProvidersResolver(l);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let c=!1,u=!1,d=Ig(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(t.mergedAttrs=Fr(t.mergedAttrs,f.hostAttrs),yI(e,t,n,d,f),DI(d,f,o),s!==null&&s.has(f)){let[y,S]=s.get(f);t.directiveToIndex.set(f.type,[d,y+t.directiveStart,S+t.directiveStart])}else(i===null||!i.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let h=f.type.prototype;!c&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),c=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}mI(e,t,i)}function mI(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))oh(0,n,o,r),oh(1,n,o,r),sh(n,r,!1);else{let i=t.get(o);ih(0,n,i,r),ih(1,n,i,r),sh(n,r,!0)}}}function oh(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),sm(n,i)}}function ih(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),sm(n,s)}}function sm(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function sh(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||vu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!t&&o.hasOwnProperty(l)){let c=o[l];for(let u of c)if(u===n){s??=[],s.push(l,r[a+1]);break}}else if(t&&i.hasOwnProperty(l)){let c=i[l];for(let u=0;u<c.length;u+=2)if(c[u]===n){s??=[],s.push(c[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function yI(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=En(o.type,!0)),s=new Bn(i,it(o),A,null);e.blueprint[r]=s,t[r]=s,vI(e,n,r,Ig(e,t,o.hostVars,be),o)}function vI(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;bI(s)!=a&&s.push(a),s.push(t,r,i)}}function bI(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function DI(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;it(n)&&(t[""]=e)}}function EI(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Pu(e,n,t,r,o,i,s,a){let l=n[D],c=l.consts,u=je(c,s),d=Zn(l,e,t,r,u);return i&&im(l,n,d,je(c,a),o),d.mergedAttrs=Fr(d.mergedAttrs,d.attrs),d.attrs!==null&&Ps(d,d.attrs,!1),d.mergedAttrs!==null&&Ps(d,d.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,d),d}function Lu(e,n){Oh(e,n),Ul(n)&&e.queries.elementEnd(n)}function am(e,n,t,r,o,i){let s=n.consts,a=je(s,o),l=Zn(n,e,t,r,a);if(l.mergedAttrs=Fr(l.mergedAttrs,l.attrs),i!=null){let c=je(s,i);l.localNames=[];for(let u=0;u<c.length;u+=2)l.localNames.push(c[u],-1)}return l.attrs!==null&&Ps(l,l.attrs,!1),l.mergedAttrs!==null&&Ps(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function Vu(e){return ua(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function lm(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 ua(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function on(e,n,t){return e[n]=t}function da(e,n){return e[n]}function Ne(e,n,t){if(t===be)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Br(e,n,t,r){let o=Ne(e,n,t);return Ne(e,n+1,r)||o}function Bu(e,n,t,r,o){let i=Br(e,n,t,r);return Ne(e,n+2,o)||i}function fa(e,n,t,r,o,i){let s=Br(e,n,t,r);return Br(e,n+2,o,i)||s}function _s(e,n,t){return function r(o){let i=Rt(e)?Ze(e.index,n):n;aa(i,5);let s=n[te],a=ah(n,s,t,o),l=r.__ngNextListenerFn__;for(;l;)a=ah(n,s,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function ah(e,n,t,r){let o=C(null);try{return k(O.OutputStart,n,t),t(r)!==!1}catch(i){return Ou(e,i),!1}finally{k(O.OutputEnd,n,t),C(o)}}function cm(e,n,t,r,o,i,s,a){let l=wr(e),c=!1,u=null;if(!r&&l&&(u=II(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,c=!0}else{let d=Be(e,t),p=r?r(d):d;sE(t,p,i,a);let f=o.listen(p,i,a);if(!CI(i)){let h=r?y=>r(qe(y[e.index])):e.index;um(h,n,t,i,a,f,!1)}}return c}function CI(e){return e.startsWith("animation")||e.startsWith("transition")}function II(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[Ir],l=o[i+2];return a&&a.length>l?a[l]:null}typeof s=="string"&&(i+=2)}return null}function um(e,n,t,r,o,i,s){let a=n.firstCreatePass?Kl(n):null,l=Ql(t),c=l.length;l.push(o,i),a&&a.push(r,e,c,(c+1)*(s?-1:1))}function lh(e,n,t,r,o,i){let s=n[t],a=n[D],c=a.data[t].outputs[r],d=s[c].subscribe(i);um(e.index,a,n,o,i,d,!0)}var Gc=Symbol("BINDING");function dm(e){return e.debugInfo?.className||e.type.name||null}var Ls=class extends Xo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=gt(n);return new $n(t,this.ngModule)}};function _I(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ks.SignalBased)!==0};return o&&(i.transform=o),i})}function wI(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function SI(e,n,t){let r=n instanceof Le?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Rr(t,r):t}function TI(e){let n=e.get(Go,null);if(n===null)throw new _(407,!1);let t=e.get(om,null),r=e.get(ht,null),o=e.get(qn,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function MI(e,n){let t=fm(e);return pg(n,t,t==="svg"?Wl:t==="math"?sp:null)}function fm(e){return(e.selectors[0][0]||"div").toLowerCase()}var $n=class extends ca{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=_I(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=wI(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=eC(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){k(O.DynamicComponentStart);let a=C(null);try{let l=this.componentDef,c=SI(l,o||this.ngModule,n),u=TI(c),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(dm(l),()=>this.createComponentRef(u,c,t,r,i,s)):this.createComponentRef(u,c,t,r,i,s)}finally{C(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,l=AI(o,a,s,i),c=n.rendererFactory.createRenderer(null,a),u=o?xC(c,o,a.encapsulation,t):MI(a,c),d=s?.some(ch)||i?.some(h=>typeof h!="function"&&h.bindings.some(ch)),p=Du(null,l,null,512|Cg(a),null,null,n,c,t,null,rg(u,t,!0));p[H]=u,fs(p);let f=null;try{let h=Pu(H,p,2,"#host",()=>l.directiveRegistry,!0,0);mg(c,u,h),kr(u,p),oa(l,p,h),gu(l,h,p),Lu(l,h),r!==void 0&&xI(h,this.ngContentSelectors,r),f=Ze(h.index,p),p[te]=f[te],Fu(l,p,null)}catch(h){throw f!==null&&Nc(f),Nc(p),h}finally{k(O.DynamicComponentEnd),ps()}return new Vs(this.componentType,p,!!d)}};function AI(e,n,t,r){let o=e?["ng-version","21.2.9"]:tC(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[Gc].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 p of d.bindings){a+=p[Gc].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let l=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=_o(d);l.push(p)}return bu(0,null,NI(i,s),1,a,l,null,null,null,[o],null)}function NI(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 ch(e){let n=e[Gc].kind;return n==="input"||n==="twoWay"}var Vs=class extends rm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Tr(t[D],H),this.location=$r(this._tNode,t),this.instance=Ze(this._tNode.index,t)[te],this.hostView=this.changeDetectorRef=new nn(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=Ru(r,o[D],o,n,t);this.previousInputValues.set(n,t);let s=Ze(r.index,o);aa(s,1)}get injector(){return new Ln(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function xI(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 at=(()=>{class e{static __NG_ELEMENT_ID__=OI}return e})();function OI(){let e=J();return pm(e,b())}var zc=class e extends at{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return $r(this._hostTNode,this._hostLView)}get injector(){return new Ln(this._hostTNode,this._hostLView)}get parentInjector(){let n=cu(this._hostTNode,this._hostLView);if(kh(n)){let t=Ns(n,this._hostLView),r=As(n),o=t[D].data[r+8];return new Ln(o,t)}else return new Ln(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=uh(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-K}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ks(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Hn(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let l=n&&!xD(n),c;if(l)c=t;else{let S=t||{};c=S.index,r=S.injector,o=S.projectableNodes,i=S.environmentInjector||S.ngModuleRef,s=S.directives,a=S.bindings}let u=l?n:new $n(gt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let M=(l?d:this.parentInjector).get(Le,null);M&&(i=M)}let p=gt(u.componentType??{}),f=ks(this._lContainer,p?.id??null),h=f?.firstChild??null,y=u.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,c,Hn(this._hostTNode,f)),y}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(lp(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[ie],c=new e(l,l[Me],l[ie]);c.detach(c.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Gr(s,o,i,r),n.attachToViewContainerRef(),Fl(vc(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=uh(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Wo(this._lContainer,t);r&&(wo(vc(this._lContainer),t),na(r[D],r))}detach(n){let t=this._adjustIndex(n,-1),r=Wo(this._lContainer,t);return r&&wo(vc(this._lContainer),t)!=null?new nn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function uh(e){return e[Mo]}function vc(e){return e[Mo]||(e[Mo]=[])}function pm(e,n){let t,r=n[e.index];return ot(r)?t=r:(t=Xg(r,n,null,e),n[e.index]=t,Eu(n,t)),FI(t,n,e,r),new zc(t,e,n)}function RI(e,n){let t=e[B],r=t.createComment(""),o=Be(n,e),i=t.parentNode(o);return Rs(t,i,r,t.nextSibling(o),!1),r}var FI=PI,kI=()=>!1;function hm(e,n,t){return kI(e,n,t)}function PI(e,n,t,r){if(e[Jt])return;let o;t.type&8?o=qe(r):o=RI(n,t),e[Jt]=o}var qc=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Zc=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++)Hu(n,t).matches!==null&&this.queries[t].setDirty()}},Bs=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=HI(n):this.predicate=n}},Yc=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)}},Qc=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,LI(t,i)),this.matchTNodeWithReadOption(n,t,Cs(t,n,i,!1,!1))}else r===Et?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Cs(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===de||o===at||o===Et&&t.type&4)this.addMatch(t.index,-2);else{let i=Cs(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 LI(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 VI(e,n){return e.type&11?$r(e,n):e.type&4?la(e,n):null}function BI(e,n,t,r){return t===-1?VI(n,e):t===-2?jI(e,n,r):Bo(e,e[D],t,n)}function jI(e,n,t){if(t===de)return $r(n,e);if(t===Et)return la(n,e);if(t===at)return pm(n,e)}function gm(e,n,t,r){let o=n[yt].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=i[c];a.push(BI(n,u,s[l+1],t.metadata.read))}}o.matches=a}return o.matches}function Kc(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=gm(e,n,o,t);for(let a=0;a<i.length;a+=2){let l=i[a];if(l>0)r.push(s[a/2]);else{let c=i[a+1],u=n[-l];for(let d=K;d<u.length;d++){let p=u[d];p[Qt]===p[ie]&&Kc(p[D],p,c,r)}if(u[On]!==null){let d=u[On];for(let p=0;p<d.length;p++){let f=d[p];Kc(f[D],f,c,r)}}}}}return r}function ju(e,n){return e[yt].queries[n].queryList}function mm(e,n,t){let r=new Os((t&4)===4);return up(e,n,r,r.destroy),(n[yt]??=new Zc).queries.push(new qc(r))-1}function ym(e,n,t){let r=$();return r.firstCreatePass&&(bm(r,new Bs(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),mm(r,b(),n)}function vm(e,n,t,r){let o=$();if(o.firstCreatePass){let i=J();bm(o,new Bs(n,t,r),i.index),$I(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return mm(o,b(),t)}function HI(e){return e.split(",").map(n=>n.trim())}function bm(e,n,t){e.queries===null&&(e.queries=new Yc),e.queries.track(new Qc(n,t))}function $I(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 Hu(e,n){return e.queries.getByIndex(n)}function Dm(e,n){let t=e[D],r=Hu(t,n);return r.crossesNgTemplate?Kc(t,e,n,[]):gm(t,e,r,n)}function $u(e,n,t){let r,o=uo(()=>{r._dirtyCounter();let i=UI(r,e);if(n&&i===void 0)throw new _(-951,!1);return i});return r=o[Q],r._dirtyCounter=R(0),r._flatValue=void 0,o}function Uu(e){return $u(!0,!1,e)}function Wu(e){return $u(!0,!0,e)}function Em(e){return $u(!1,!1,e)}function Cm(e,n){let t=e[Q];t._lView=b(),t._queryIndex=n,t._queryList=ju(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function UI(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[w]&4)return n?void 0:Ce;let o=ju(t,r),i=Dm(t,r);return o.reset(i,Wh),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var rn=class{},Im=class{};function Gu(e,n){return new zo(e,n??null,[])}var zo=class extends rn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ls(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Nl(n);this._bootstrapComponents=bg(i.bootstrap),this._r3Injector=uc(n,t,[{provide:rn,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver},...r],Co(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)}},js=class extends Im{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new zo(this.moduleType,n,[])}};var qo=class extends rn{injector;componentFactoryResolver=new Ls(this);instance=null;constructor(n){super();let t=new In([...n.providers,{provide:rn,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],n.parent||To(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function zu(e,n,t=null){return new qo({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var WI=(()=>{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=ns(!1,t.type),o=r.length>0?zu([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=E({token:e,providedIn:"environment",factory:()=>new e(ve(Le))})}return e})();function Fe(e){return Yo(()=>{let n=_m(e),t=N(m({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===du.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(WI).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jn.Emulated,styles:e.styles||Ce,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&He("NgStandalone"),wm(t);let r=e.dependencies;return t.directiveDefs=dh(r,GI),t.pipeDefs=dh(r,xl),t.id=ZI(t),t})}function GI(e){return gt(e)||_o(e)}function fe(e){return Yo(()=>({type:e.type,bootstrap:e.bootstrap||Ce,declarations:e.declarations||Ce,imports:e.imports||Ce,exports:e.exports||Ce,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function zI(e,n){if(e==null)return tt;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,l;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,l=o[3]||null):(i=o,s=o,a=Ks.None,l=null),t[i]=[r,a,l],n[i]=s}return t}function qI(e){if(e==null)return tt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function P(e){return Yo(()=>{let n=_m(e);return wm(n),n})}function _m(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||tt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Ce,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:zI(e.inputs,n),outputs:qI(e.outputs),debugInfo:null}}function wm(e){e.features?.forEach(n=>n(e))}function dh(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 ZI(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 Yn(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=YI,t.hostDirectives=r?e.map(Jc):[e]):r?t.hostDirectives.unshift(...e.map(Jc)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function YI(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,Sm(s,n,r),o.set(s,[a,n.length-1])}i===0&&it(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 Sm(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)fh(Jc(i),n,t)}else fh(r,n,t)}function fh(e,n,t){let r=_o(e.directive);QI(r.declaredInputs,e.inputs),Sm(r,n,t),t.set(r,e),n.push(r)}function Jc(e){return typeof e=="function"?{directive:le(e),inputs:tt,outputs:tt}:{directive:le(e.directive),inputs:ph(e.inputs),outputs:ph(e.outputs)}}function ph(e){if(e===void 0||e.length===0)return tt;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function QI(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function KI(e){return Object.getPrototypeOf(e.prototype).constructor}function G(e){let n=KI(e.type),t=!0,r=[e];for(;n;){let o;if(it(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new _(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=bc(e.inputs),s.declaredInputs=bc(e.declaredInputs),s.outputs=bc(e.outputs);let a=o.hostBindings;a&&n_(e,a);let l=o.viewQuery,c=o.contentQueries;if(l&&e_(e,l),c&&t_(e,c),JI(e,o),zf(e.outputs,o.outputs),it(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===G&&(t=!1)}}n=Object.getPrototypeOf(n)}XI(r)}function JI(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 XI(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=Fr(o.hostAttrs,t=Fr(t,o.hostAttrs))}}function bc(e){return e===tt?{}:e===Ce?[]:e}function e_(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function t_(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function n_(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function Tm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Fr(e.mergedAttrs,e.attrs);let u=e.tView=bu(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),Fn(e,!1);let l=o_(t,n,e,r);hs()&&Au(t,n,l,e),kr(l,n);let c=Xg(l,n,l,e);n[r+H]=c,Eu(n,c),hm(c,e,n)}function r_(e,n,t,r,o,i,s,a,l,c,u){let d=t+H,p;return n.firstCreatePass?(p=Zn(n,d,4,s||null,a||null),cs()&&im(n,e,p,je(n.consts,c),xu),Oh(n,p)):p=n.data[d],Tm(p,e,n,t,r,o,i,l),wr(p)&&oa(n,e,p),c!=null&&Ur(e,p,u),p}function Un(e,n,t,r,o,i,s,a,l,c,u){let d=t+H,p;if(n.firstCreatePass){if(p=Zn(n,d,4,s||null,a||null),c!=null){let f=je(n.consts,c);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=n.data[d];return Tm(p,e,n,t,r,o,i,l),c!=null&&Ur(e,p,u),p}function jt(e,n,t,r,o,i,s,a){let l=b(),c=$(),u=je(c.consts,i);return r_(l,c,e,n,t,r,o,u,void 0,s,a),jt}function Mm(e,n,t,r,o,i,s,a){let l=b(),c=$(),u=je(c.consts,i);return Un(l,c,e,n,t,r,o,u,void 0,s,a),Mm}var o_=i_;function i_(e,n,t,r){return Oo(!0),n[B].createComment("")}var Re=(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})(Re||{}),hh=0,s_=1,re=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(re||{}),Hs=(function(e){return e[e.Initial=-1]="Initial",e})(Hs||{}),a_=0,ei=1;var l_=4,c_=5,u_=6,d_=7,Dc=8,f_=9,qu=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(qu||{});function p_(e,n,t){let r=Nm(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function ws(e,n){let t=Nm(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function Am(e){ws(1,e),ws(0,e),ws(2,e)}function Nm(e){let n=l_;return e===1?n=c_:e===2&&(n=f_),n}function pa(e){return e+1}function zr(e,n){let t=e[D],r=pa(n.index);return e[r]}function h_(e,n,t){let r=e[D],o=pa(n);e[o]=t}function qr(e,n){let t=pa(n.index);return e.data[t]}function g_(e,n,t){let r=pa(n);e.data[r]=t}function m_(e,n,t){let r=n[D],o=qr(r,t);switch(e){case re.Complete:return o.primaryTmplIndex;case re.Loading:return o.loadingTmplIndex;case re.Error:return o.errorTmplIndex;case re.Placeholder:return o.placeholderTmplIndex;default:return null}}function gh(e,n){return n===re.Placeholder?e.placeholderBlockConfig?.[hh]??null:n===re.Loading?e.loadingBlockConfig?.[hh]??null:null}function y_(e){return e.loadingBlockConfig?.[s_]??null}function mh(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 v_(e,n){let t=n.primaryTmplIndex+H;return Tr(e,t)}var b_=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?zu(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=E({token:e,providedIn:"environment",factory:()=>new e})}return e})();var xm=new v("");function Ec(e,n,t){return e.get(b_).getOrCreateInjector(n,e,t,"")}function D_(e,n,t){if(e instanceof Rr){let o=e.injector,i=e.parentInjector,s=Ec(i,n,t);return new Rr(o,s)}let r=e.get(Le);if(r!==e){let o=Ec(r,n,t);return new Rr(e,o)}return Ec(e,n,t)}function tn(e,n,t,r=!1){let o=t[ie],i=o[D];if(Xt(o))return;let s=zr(o,n),a=s[ei],l=s[d_];if(!(l!==null&&e<l)&&yh(a,e)&&yh(s[a_]??-1,e)){let c=qr(i,n),d=!r&&!0&&(y_(c)!==null||gh(c,re.Loading)!==null||gh(c,re.Placeholder))?__:C_;try{d(e,s,t,n,o)}catch(p){Ou(o,p)}}}function E_(e,n){let t=e[Kt]?.findIndex(o=>o.data[pu]===n[ei])??-1;return{dehydratedView:t>-1?e[Kt][t]:null,dehydratedViewIx:t}}function C_(e,n,t,r,o){k(O.DeferBlockStateStart);let i=m_(e,o,r);if(i!==null){n[ei]=e;let s=o[D],a=i+H,l=Tr(s,a),c=0;ku(t,c);let u;if(e===re.Complete){let h=qr(s,r),y=h.providers;y&&y.length>0&&(u=D_(o[ae],h,y))}let{dehydratedView:d,dehydratedViewIx:p}=E_(t,n),f=Wr(o,l,null,{injector:u,dehydratedView:d});if(Gr(t,f,c,Hn(l,d)),aa(f,2),p>-1&&t[Kt]?.splice(p,1),(e===re.Complete||e===re.Error)&&Array.isArray(n[Dc])){for(let h of n[Dc])h();n[Dc]=null}}k(O.DeferBlockStateEnd)}function yh(e,n){return e<n}function I_(e,n){let t=e[n.index];tn(re.Placeholder,n,t)}function vh(e,n,t){e.loadingPromise.then(()=>{e.loadingState===Re.COMPLETE?tn(re.Complete,n,t):e.loadingState===Re.FAILED&&tn(re.Error,n,t)})}var __=null;var w_=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Zu(e){return typeof e=="function"&&e[Q]!==void 0}function Yu(e){return Zu(e)&&typeof e.set=="function"}var Om=new v("");function Zr(e){return!!e&&typeof e.then=="function"}function Qu(e){return!!e&&typeof e.subscribe=="function"}var Ku=new v("");function Ju(e){return Tn([{provide:Ku,multi:!0,useValue:e}])}var Xu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(Ku,{optional:!0})??[];injector=g(ce);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=rs(this.injector,o);if(Zr(i))t.push(i);else if(Qu(i)){let s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rm=new v("");function Fm(){za(()=>{let e="";throw new _(600,e)})}function km(e){return e.isBoundToModule}var S_=10;var ti=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Pt);afterRenderManager=g(ea);zonelessEnabled=g(Fo);rootEffectScheduler=g(gs);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new z;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(kn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Mt(t=>!t))}constructor(){g(qn,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(Le);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=ce.NULL){return this._injector.get(Ie).run(()=>{k(O.BootstrapComponentStart);let s=t instanceof ca;if(!this._injector.get(Xu).done){let h="";throw new _(405,h)}let l;s?l=t:l=this._injector.get(Xo).resolveComponentFactory(t),this.componentTypes.push(l.componentType);let c=km(l)?void 0:this._injector.get(rn),u=r||l.selector,d=l.create(o,[],u,c),p=d.location.nativeElement,f=d.injector.get(Om,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Vo(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),k(O.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(O.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Xs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(O.ChangeDetectionEnd),new _(101,!1);let t=C(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(t),this.afterTick.next(),k(O.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Go,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<S_;){k(O.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{k(O.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&&!Ao(o))continue;let i=r&&!this.zonelessEnabled?0:1;Yg(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})=>Ao(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;Vo(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(Rm,[]).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),()=>Vo(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new _(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vo(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Pm(){let e,n;return{promise:new Promise((r,o)=>{e=r,n=o}),resolve:e,reject:n}}function Lm(e,n,t){let r=n[ae],o=n[D];if(e.loadingState!==Re.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=zr(n,t),s=v_(o,e);e.loadingState=Re.IN_PROGRESS,ws(1,i);let a=e.dependencyResolverFn,l=r.get(ko).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(c=>{let u=!1,d=null,p=[],f=[];for(let h=0;h<c.length;h++){let y=c[h];if(y.status==="fulfilled"){let S=y.value,M=gt(S)||_o(S);if(M)p.push(M);else{let q=xl(S);q&&f.push(q)}}else{u=!0,d=y.reason instanceof Error?y.reason:new Error(String(y.reason));break}}if(u){if(e.loadingState=Re.FAILED,e.errorTmplIndex===null){let y="",S=new _(-750,y);Ou(n,S)}}else{e.loadingState=Re.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=mh(h.directiveRegistry,p);let y=p.map(M=>M.type),S=ns(!1,...y);e.providers=S}f.length>0&&(h.pipeRegistry=mh(h.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,l()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Re.COMPLETE,l()}),e.loadingPromise)}function T_(e,n){return n[ae].get(xm,null,{optional:!0})?.behavior!==qu.Manual}function M_(e,n,t){let r=n[D],o=n[t.index];if(!T_(e,n))return;let i=zr(n,t),s=qr(r,t);switch(Am(i),s.loadingState){case Re.NOT_STARTED:tn(re.Loading,t,o),Lm(s,n,t),s.loadingState===Re.IN_PROGRESS&&vh(s,t,o);break;case Re.IN_PROGRESS:tn(re.Loading,t,o),vh(s,t,o);break;case Re.COMPLETE:tn(re.Complete,t,o);break;case Re.FAILED:tn(re.Error,t,o);break;default:}}function A_(e,n,t){return e===0?bh(n,t):e===2?!bh(n,t):!0}function N_(e){return e!=null&&(e&1)===1}function bh(e,n){let t=e[ae],r=qr(e[D],n),o=hu(t),i=N_(r.flags),a=zr(e,n)[u_]!==null;return!(i&&a&&o)}function x_(e,n,t,r,o,i,s,a,l,c){let u=b(),d=$(),p=e+H,f=Un(u,d,e,null,0,0),h=u[ae],y=hu(h);if(d.firstCreatePass){He("NgDefer");let so={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:Re.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:c??0};l?.(d,so,a,s),g_(d,p,so)}let S=u[p];hm(S,f,u);let M=null,q=null;if(S[Kt]?.length>0){let so=S[Kt][0].data;q=so[fu]??null,M=so[pu]}let Se=[null,Hs.Initial,null,null,null,null,q,M,null,null];h_(u,p,Se);let Pa=null;q!==null&&y&&(Pa=h.get(ng),Pa.add(q,{lView:u,tNode:f,lContainer:S}));let Vd=()=>{Am(Se),q!==null&&Pa?.cleanup([q])};p_(0,Se,()=>Yl(u,Vd)),ls(u,Vd)}function O_(e){let n=b(),t=Mr();if(!A_(0,n,t))return;let r=kt();if(Ne(n,r,e)){let o=C(null);try{let i=!!e,a=zr(n,t)[ei];i===!1&&a===Hs.Initial?I_(n,t):i===!0&&(a===Hs.Initial||a===re.Placeholder)&&M_(0,n,t)}finally{C(o)}}}function Ue(e,n,t,r){let o=b(),i=kt();if(Ne(o,i,n)){let s=$(),a=Mr();BC(a,o,e,n,t,r)}return Ue}function Ss(e){if(He("NgAnimateEnter"),!Jo)return Ss;let n=b();if(Sg(n))return Ss;let t=J(),r=n[ae].get(Ie);return Ag(Kp(n),t,()=>R_(n,t,e,r)),Fg(n[ae]),kg(n[ae],Kp(n)),Ss}function R_(e,n,t,r){let o=Be(n,e),i=e[B],s=Mg(t),a=[],l=!1,c=d=>{if(Ho(d)!==o)return;let p=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,p,u)})},u=d=>{Ho(d)===o&&(_u(d,o)&&(l=!0),F_(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",c)),a.push(i.listen(o,"transitionstart",c))}),aC(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!l&&(Og(o,Vn,Jo),!Vn.has(o))){for(let d of s)i.removeClass(o,d);Iu(o)}})})}}function F_(e,n,t){let r=Lr.get(n);if(!(Ho(e)!==n||!r)&&_u(e,n)){e.stopPropagation();for(let o of r.classList)t.removeClass(n,o);Iu(n)}}function Ts(e){if(He("NgAnimateLeave"),!Jo)return Ts;let n=b();if(Sg(n))return Ts;let r=J(),o=n[ae].get(Ie);return Ag(Js(n),r,()=>k_(n,r,e,o)),Fg(n[ae]),Ts}function k_(e,n,t,r){let{promise:o,resolve:i}=Pm(),s=Be(n,e),a=e[B];Vr.add(e[vt]),(Js(e).get(n.index).resolvers??=[]).push(i);let l=Mg(t);return l&&l.length>0?P_(s,n,e,l,a,r):i(),{promise:o,resolve:i}}function P_(e,n,t,r,o,i){cC(e,o);let s=[],a=Js(t).get(n.index)?.resolvers,l,c=!1,u=d=>{if(!(Ho(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||_u(d,e))){if(c=!0,l&&clearTimeout(l),d.type!=="animation-fallback"&&d.stopPropagation(),Vn.delete(e),Qp(n,e),Array.isArray(n.projection))for(let f of r)o.removeClass(e,f);Jp(a,s),Xp(t,n)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u))}),Tg(n,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(c)return;Og(e,Vn,Jo);let d=Vn.get(e);d?(l=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(l))):(Qp(n,e),Jp(a,s),Xp(t,n))})})}var Xc=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 Cc(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function L_(e,n,t,r){let o,i,s=0,a=e.length-1,l=void 0;if(Array.isArray(n)){C(r);let c=n.length-1;for(C(null);s<=a&&s<=c;){let u=e.at(s),d=n[s],p=Cc(s,u,s,d,t);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=n[c],y=Cc(a,f,c,h,t);if(y!==0){y<0&&e.updateValue(a,h),a--,c--;continue}let S=t(s,u),M=t(a,f),q=t(s,d);if(Object.is(q,M)){let Se=t(c,h);Object.is(Se,S)?(e.swap(s,a),e.updateValue(a,h),c--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new $s,i??=Eh(e,s,a,t),eu(e,o,s,q))e.updateValue(s,d),s++,a++;else if(i.has(q))o.set(S,e.detach(s)),a--;else{let Se=e.create(s,n[s]);e.attach(s,Se),s++,a++}}for(;s<=c;)Dh(e,o,t,s,n[s]),s++}else if(n!=null){C(r);let c=n[Symbol.iterator]();C(null);let u=c.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Cc(s,d,s,p,t);if(f!==0)f<0&&e.updateValue(s,p),s++,u=c.next();else{o??=new $s,i??=Eh(e,s,a,t);let h=t(s,p);if(eu(e,o,s,h))e.updateValue(s,p),s++,a++,u=c.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=c.next();else{let y=t(s,d);o.set(y,e.detach(s)),a--}}}for(;!u.done;)Dh(e,o,t,e.length,u.value),u=c.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(c=>{e.destroy(c)})}function eu(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Dh(e,n,t,r,o){if(eu(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Eh(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 $s=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 V_(e,n,t,r,o,i,s,a){He("NgControlFlow");let l=b(),c=$(),u=je(c.consts,i);return Un(l,c,e,n,t,r,o,u,256,s,a),ed}function ed(e,n,t,r,o,i,s,a){He("NgControlFlow");let l=b(),c=$(),u=je(c.consts,i);return Un(l,c,e,n,t,r,o,u,512,s,a),ed}function B_(e,n){He("NgControlFlow");let t=b(),r=kt(),o=t[r]!==be?t[r]:-1,i=o!==-1?Us(t,H+o):void 0,s=0;if(Ne(t,r,e)){let a=C(null);try{if(i!==void 0&&ku(i,s),e!==-1){let l=H+e,c=Us(t,l),u=ou(t[D],l),d=nm(c,u,t),p=Wr(t,u,n,{dehydratedView:d});Gr(c,p,s,Hn(u,d))}}finally{C(a)}}else if(i!==void 0){let a=em(i,s);a!==void 0&&(a[te]=n)}}var tu=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-K}};function j_(e){return e}function H_(e,n){return n}var nu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function $_(e,n,t,r,o,i,s,a,l,c,u,d,p){He("NgControlFlow");let f=b(),h=$(),y=l!==void 0,S=b(),M=a?s.bind(S[Ae][te]):s,q=new nu(y,M);S[H+e]=q,Un(f,h,e+1,n,t,r,o,je(h.consts,i),256),y&&Un(f,h,e+2,l,c,u,d,je(h.consts,p),512)}var ru=class extends Xc{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-K}at(n){return this.getLView(n)[te].$implicit}attach(n,t){let r=t[Mn];this.needsIndexUpdate||=n!==this.length,Gr(this.lContainer,t,n,Hn(this.templateTNode,r)),W_(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,G_(this.lContainer,n),z_(this.lContainer,n)}create(n,t){let r=ks(this.lContainer,this.templateTNode.tView.ssrId);return Wr(this.hostLView,this.templateTNode,new tu(this.lContainer,t,n),{dehydratedView:r})}destroy(n){na(n[D],n)}updateValue(n,t){this.getLView(n)[te].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[te].$index=n}getLView(n){return q_(this.lContainer,n)}};function U_(e){let n=C(null),t=Ye();try{let r=b(),o=r[D],i=r[t],s=t+1,a=Us(r,s);if(i.liveCollection===void 0){let c=ou(o,s);i.liveCollection=new ru(a,r,c)}else i.liveCollection.reset();let l=i.liveCollection;if(L_(l,e,i.trackByFn,n),l.updateIndexes(),i.hasEmptyBlock){let c=kt(),u=l.length===0;if(Ne(r,c,u)){let d=t+2,p=Us(r,d);if(u){let f=ou(o,d),h=nm(p,f,r),y=Wr(r,f,void 0,{dehydratedView:h});Gr(p,y,0,Hn(f,h))}else o.firstUpdatePass&&lI(p),ku(p,0)}}}finally{C(n)}}function Us(e,n){return e[n]}function W_(e,n){if(e.length<=K)return;let t=K+n,r=e[t],o=r?r[bt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ae];yC(i,o),Vr.delete(r[vt]),o.detachedLeaveAnimationFns=void 0}}function G_(e,n){if(e.length<=K)return;let t=K+n,r=e[t],o=r?r[bt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function z_(e,n){return Wo(e,n)}function q_(e,n){return em(e,n)}function ou(e,n){return Tr(e,n)}function X(e,n,t){let r=b(),o=kt();if(Ne(r,o,n)){let i=$(),s=Mr();$g(s,r,e,n,r[B],t)}return X}function iu(e,n,t,r,o){Ru(n,e,t,o?"class":"style",r)}function Wn(e,n,t,r){let o=b(),i=o[D],s=e+H,a=i.firstCreatePass?Pu(s,o,2,n,xu,cs(),t,r):i.data[s];if(Rt(a)){let l=o[rt].tracingService;if(l&&l.componentCreate){let c=i.data[a.directiveStart+a.componentOffset];return l.componentCreate(dm(c),()=>(Ch(e,n,o,a,r),Wn))}}return Ch(e,n,o,a,r),Wn}function Ch(e,n,t,r,o){if(ia(r,t,e,n,Vm),wr(r)){let i=t[D];oa(i,t,r),gu(i,r,t)}o!=null&&Ur(t,r)}function Yr(){let e=$(),n=J(),t=sa(n);return e.firstCreatePass&&Lu(e,t),ec(t)&&tc(),Jl(),t.classesWithoutHost!=null&&LD(t)&&iu(e,t,b(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&VD(t)&&iu(e,t,b(),t.stylesWithoutHost,!1),Yr}function Qn(e,n,t,r){return Wn(e,n,t,r),Yr(),Qn}function Qr(e,n,t,r){let o=b(),i=o[D],s=e+H,a=i.firstCreatePass?am(s,i,2,n,t,r):i.data[s];return ia(a,o,e,n,Vm),r!=null&&Ur(o,a),Qr}function Kr(){let e=J(),n=sa(e);return ec(n)&&tc(),Jl(),Kr}function ni(e,n,t,r){return Qr(e,n,t,r),Kr(),ni}var Vm=(e,n,t,r,o)=>(Oo(!0),pg(n[B],r,Sp()));function Kn(e,n,t){let r=b(),o=r[D],i=e+H,s=o.firstCreatePass?Pu(i,r,8,"ng-container",xu,cs(),n,t):o.data[i];if(ia(s,r,e,"ng-container",jm),wr(s)){let a=r[D];oa(a,r,s),gu(a,s,r)}return t!=null&&Ur(r,s),Kn}function sn(){let e=$(),n=J(),t=sa(n);return e.firstCreatePass&&Lu(e,t),sn}function ha(e,n,t){return Kn(e,n,t),sn(),ha}function Bm(e,n,t){let r=b(),o=r[D],i=e+H,s=o.firstCreatePass?am(i,o,8,"ng-container",n,t):o.data[i];return ia(s,r,e,"ng-container",jm),t!=null&&Ur(r,s),Bm}function Z_(){let e=J(),n=sa(e);return sn}var jm=(e,n,t,r,o)=>(Oo(!0),PE(n[B],""));function Y_(){return b()}function ga(e,n,t){let r=b(),o=kt();if(Ne(r,o,n)){let i=$(),s=Mr();Ug(s,r,e,n,r[B],t)}return ga}var ri="en-US";var Q_=ri;function Hm(e){typeof e=="string"&&(Q_=e.toLowerCase().replace(/_/g,"-"))}function Jr(e,n,t){let r=b(),o=$(),i=J();return Um(o,r,r[B],i,e,n,t),Jr}function $m(e,n,t){let r=b(),o=$(),i=J();return(i.type&3||t)&&cm(i,o,r,t,r[B],e,n,_s(i,r,n)),$m}function Um(e,n,t,r,o,i,s){let a=!0,l=null;if((r.type&3||s)&&(l??=_s(r,n,i),cm(r,e,n,s,t,o,i,l)&&(a=!1)),a){let c=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];l??=_s(r,n,i),lh(r,n,p,f,o,l)}if(c&&c.length)for(let d of c)l??=_s(r,n,i),lh(r,n,d,o,o,l)}}function Qe(e=1){return _p(e)}function K_(e,n){let t=null,r=YE(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?Eg(e,i,!0):JE(r,i))return o}return t}function It(e){let n=b()[Ae][Me];if(!n.projection){let t=e?e.length:1,r=n.projection=Jf(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?K_(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function _t(e,n=0,t,r,o,i){let s=b(),a=$(),l=r?e+1:null;l!==null&&Un(s,a,l,r,o,i,null,t);let c=Zn(a,H+e,16,null,t||null);c.projection===null&&(c.projection=n),oc();let d=!s[Mn]||Xl();s[Ae][Me].projection[c.projection]===null&&l!==null?J_(s,a,l):d&&!Zs(c)&&MC(a,s,c)}function J_(e,n,t){let r=H+t,o=n.data[r],i=e[r],s=ks(i,o.tView.ssrId),a=Wr(e,o,void 0,{dehydratedView:s});Gr(i,a,0,Hn(o,s))}function ma(e,n,t,r){return vm(e,n,t,r),ma}function Wm(e,n,t){return ym(e,n,t),Wm}function Xr(e){let n=b(),t=$(),r=ds();xo(r+1);let o=Hu(t,r);if(e.dirty&&ap(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Dm(n,r);e.reset(i,Wh),e.notifyOnChanges()}return!0}return!1}function eo(){return ju(b(),ds())}function td(e,n,t,r,o){return Cm(n,vm(e,t,r,o)),td}function Gm(e,n,t,r){return Cm(e,ym(n,t,r)),Gm}function zm(e=1){xo(ds()+e)}function X_(e){let n=ic();return zl(n,H+e)}function bs(e,n){return e<<17|n<<2}function Gn(e){return e>>17&32767}function ew(e){return(e&2)==2}function tw(e,n){return e&131071|n<<17}function su(e){return e|2}function jr(e){return(e&131068)>>2}function Ic(e,n){return e&-131069|n<<2}function nw(e){return(e&1)===1}function au(e){return e|1}function rw(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Gn(s),l=jr(s);e[r]=t;let c=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||Er(d,u)>0)&&(c=!0)}else u=t;if(o)if(l!==0){let p=Gn(e[a+1]);e[r+1]=bs(p,a),p!==0&&(e[p+1]=Ic(e[p+1],r)),e[a+1]=tw(e[a+1],r)}else e[r+1]=bs(a,0),a!==0&&(e[a+1]=Ic(e[a+1],r)),a=r;else e[r+1]=bs(l,0),a===0?a=r:e[l+1]=Ic(e[l+1],r),l=r;c&&(e[r+1]=su(e[r+1])),Ih(e,u,r,!0),Ih(e,u,r,!1),ow(n,u,e,r,i),s=bs(a,l),i?n.classBindings=s:n.styleBindings=s}function ow(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Er(i,n)>=0&&(t[r+1]=au(t[r+1]))}function Ih(e,n,t,r){let o=e[t+1],i=n===null,s=r?Gn(o):jr(o),a=!1;for(;s!==0&&(a===!1||i);){let l=e[s],c=e[s+1];iw(l,n)&&(a=!0,e[s+1]=r?au(c):su(c)),s=r?Gn(c):jr(c)}a&&(e[t+1]=r?su(o):au(o))}function iw(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Er(e,n)>=0:!1}var ue={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qm(e){return e.substring(ue.key,ue.keyEnd)}function sw(e){return e.substring(ue.value,ue.valueEnd)}function aw(e){return Qm(e),Zm(e,Hr(e,0,ue.textEnd))}function Zm(e,n){let t=ue.textEnd;return t===n?-1:(n=ue.keyEnd=cw(e,ue.key=n,t),Hr(e,n,t))}function lw(e){return Qm(e),Ym(e,Hr(e,0,ue.textEnd))}function Ym(e,n){let t=ue.textEnd,r=ue.key=Hr(e,n,t);return t===r?-1:(r=ue.keyEnd=uw(e,r,t),r=_h(e,r,t,58),r=ue.value=Hr(e,r,t),r=ue.valueEnd=dw(e,r,t),_h(e,r,t,59))}function Qm(e){ue.key=0,ue.keyEnd=0,ue.value=0,ue.valueEnd=0,ue.textEnd=e.length}function Hr(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function cw(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function uw(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 _h(e,n,t,r){return n=Hr(e,n,t),n<t&&n++,n}function dw(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let l=e.charCodeAt(s++);if(l===59)return a;l===34||l===39?a=s=wh(e,l,s,t):n===s-4&&i===85&&o===82&&r===76&&l===40?a=s=wh(e,41,s,t):l>32&&(a=s),i=o,o=r,r=l&-33}return a}function wh(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 to(e,n,t){return Km(e,n,t,!1),to}function oi(e,n){return Km(e,n,null,!0),oi}function nd(e){Jm(ty,fw,e,!1)}function fw(e,n){for(let t=lw(n);t>=0;t=Ym(n,t))ty(e,qm(n),sw(n))}function xe(e){Jm(bw,pw,e,!0)}function pw(e,n){for(let t=aw(n);t>=0;t=Zm(n,t))So(e,qm(n),!0)}function Km(e,n,t,r){let o=b(),i=$(),s=No(2);if(i.firstUpdatePass&&ey(i,e,s,r),n!==be&&Ne(o,s,n)){let a=i.data[Ye()];ny(i,a,o,o[B],e,o[s+1]=Ew(n,t),r,s)}}function Jm(e,n,t,r){let o=$(),i=No(2);o.firstUpdatePass&&ey(o,null,i,r);let s=b();if(t!==be&&Ne(s,i,t)){let a=o.data[Ye()];if(ry(a,r)&&!Xm(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(t=Qi(l,t||"")),iu(o,a,s,t,r)}else Dw(o,a,s,s[B],s[i+1],s[i+1]=vw(e,n,t),r,i)}}function Xm(e,n){return n>=e.expandoStartIndex}function ey(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Ye()],s=Xm(e,t);ry(i,r)&&n===null&&!s&&(n=!1),n=hw(o,i,n,r),rw(o,i,n,t,s,r)}}function hw(e,n,t,r){let o=Dp(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=_c(null,e,n,t,r),t=Zo(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=_c(o,e,n,t,r),i===null){let l=gw(e,n,r);l!==void 0&&Array.isArray(l)&&(l=_c(null,e,n,l[1],r),l=Zo(l,n.attrs,r),mw(e,n,r,l))}else i=yw(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function gw(e,n,t){let r=t?n.classBindings:n.styleBindings;if(jr(r)!==0)return e[Gn(r)]}function mw(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Gn(o)]=r}function yw(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Zo(r,s,t)}return Zo(r,n.attrs,t)}function _c(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=Zo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Zo(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]),So(e,s,t?!0:n[++i]))}return e===void 0?null:e}function vw(e,n,t){if(t==null||t==="")return Ce;let r=[],o=Vt(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 ty(e,n,t){So(e,n,Vt(t))}function bw(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&So(e,r,t)}function Dw(e,n,t,r,o,i,s,a){o===be&&(o=Ce);let l=0,c=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=l<o.length?o[l+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,y;u===d?(l+=2,c+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(l+=2,h=u):(c+=2,h=d,y=f),h!==null&&ny(e,n,t,r,h,y,s,a),u=l<o.length?o[l]:null,d=c<i.length?i[c]:null}}function ny(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let l=e.data,c=l[a+1],u=nw(c)?Sh(l,n,t,o,jr(c),s):void 0;if(!Ws(u)){Ws(i)||ew(c)&&(i=Sh(l,null,t,o,a,s));let d=Gl(Ye(),t);NC(r,s,d,o,i)}}function Sh(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=u===null,p=t[o+1];p===be&&(p=d?Ce:void 0);let f=d?ts(p,r):u===r?p:void 0;if(c&&!Ws(f)&&(f=ts(l,r)),Ws(f)&&(a=f,s))return a;let h=e[o+1];o=s?Gn(h):jr(h)}if(n!==null){let l=i?n.residualClasses:n.residualStyles;l!=null&&(a=ts(l,r))}return a}function Ws(e){return e!==void 0}function Ew(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Co(Vt(e)))),e}function ry(e,n){return(e.flags&(n?8:16))!==0}function ii(e,n=""){let t=b(),r=$(),o=e+H,i=r.firstCreatePass?Zn(r,o,1,n,null):r.data[o],s=Cw(r,t,i,n);t[o]=s,hs()&&Au(r,t,s,i),Fn(i,!1)}var Cw=(e,n,t,r)=>(Oo(!0),FE(n[B],r));function Iw(e,n,t,r=""){return Ne(e,kt(),t)?n+mt(t)+r:be}function _w(e,n,t,r,o,i=""){let s=ac(),a=Br(e,s,t,o);return No(2),a?n+mt(t)+r+mt(o)+i:be}function ww(e,n,t,r,o,i,s,a=""){let l=ac(),c=Bu(e,l,t,o,s);return No(3),c?n+mt(t)+r+mt(o)+i+mt(s)+a:be}function no(e){return rd("",e),no}function rd(e,n,t){let r=b(),o=Iw(r,e,n,t);return o!==be&&od(r,Ye(),o),rd}function oy(e,n,t,r,o){let i=b(),s=_w(i,e,n,t,r,o);return s!==be&&od(i,Ye(),s),oy}function iy(e,n,t,r,o,i,s){let a=b(),l=ww(a,e,n,t,r,o,i,s);return l!==be&&od(a,Ye(),l),iy}function od(e,n,t){let r=Gl(n,e);kE(e[B],r,t)}function sy(e,n,t){Yu(n)&&(n=n());let r=b(),o=kt();if(Ne(r,o,n)){let i=$(),s=Mr();$g(s,r,e,n,r[B],t)}return sy}function Sw(e,n){let t=Yu(e);return t&&e.set(n),t}function ay(e,n){let t=b(),r=$(),o=J();return Um(r,t,t[B],o,e,n),ay}var ly={};function cy(e){He("NgLet");let n=$(),t=b(),r=e+H,o=Zn(n,r,128,null,null);return Fn(o,!1),is(n,t,r,ly),cy}function Tw(e){let n=$(),t=b(),r=Ye();return is(n,t,r,e),e}function Mw(e){let n=ic(),t=zl(n,H+e);if(t===ly)throw new _(314,!1);return t}function Th(e,n,t){let r=$();r.firstCreatePass&&uy(n,r.data,r.blueprint,it(e),t)}function uy(e,n,t,r,o){if(e=le(e),Array.isArray(e))for(let i=0;i<e.length;i++)uy(e[i],n,t,r,o);else{let i=$(),s=b(),a=J(),l=Cn(e)?e:le(e.provide),c=Bl(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Cn(e)||!e.multi){let f=new Bn(c,o,A,null),h=Sc(l,n,o?u:u+p,d);h===-1?(Mc(xs(a,s),i,l),wc(i,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[h]=f,s[h]=f)}else{let f=Sc(l,n,u+p,d),h=Sc(l,n,u,u+p),y=f>=0&&t[f],S=h>=0&&t[h];if(o&&!S||!o&&!y){Mc(xs(a,s),i,l);let M=xw(o?Nw:Aw,t.length,o,r,c,e);!o&&S&&(t[h].providerFactory=M),wc(i,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(M),s.push(M)}else{let M=dy(t[o?h:f],c,!o&&r);wc(i,e,f>-1?f:h,M)}!o&&r&&S&&t[h].componentProviders++}}}function wc(e,n,t,r){let o=Cn(n),i=op(n);if(o||i){let l=(i?le(n.useClass):n).prototype.ngOnDestroy;if(l){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=c.indexOf(t);u===-1?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function dy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Sc(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function Aw(e,n,t,r,o){return lu(this.multi,[])}function Nw(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=Bo(r,r[D],this.providerFactory.index,o);s=l.slice(0,a),lu(i,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],lu(i,s);return s}function lu(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function xw(e,n,t,r,o,i){let s=new Bn(e,t,A,null);return s.multi=[],s.index=n,s.componentProviders=0,dy(s,o,r&&!t),s}function ge(e,n){return t=>{t.providersResolver=(r,o)=>Th(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Th(r,o?o(n):n,!0))}}function Ow(e,n){let t=Ft()+e,r=b();return r[t]===be?on(r,t,n()):da(r,t)}function Rw(e,n,t){return Bw(b(),Ft(),e,n,t)}function ya(e,n,t,r){return jw(b(),Ft(),e,n,t,r)}function Fw(e,n,t,r,o){return Hw(b(),Ft(),e,n,t,r,o)}function kw(e,n,t,r,o,i,s){return $w(b(),Ft(),e,n,t,r,o,i)}function Pw(e,n,t,r,o,i,s){let a=Ft()+e,l=b(),c=fa(l,a,t,r,o,i);return Ne(l,a+4,s)||c?on(l,a+5,n(t,r,o,i,s)):da(l,a+5)}function Lw(e,n,t,r,o,i,s,a){let l=Ft()+e,c=b(),u=fa(c,l,t,r,o,i);return Br(c,l+4,s,a)||u?on(c,l+6,n(t,r,o,i,s,a)):da(c,l+6)}function Vw(e,n,t,r,o,i,s,a,l){let c=Ft()+e,u=b(),d=fa(u,c,t,r,o,i);return Bu(u,c+4,s,a,l)||d?on(u,c+7,n(t,r,o,i,s,a,l)):da(u,c+7)}function va(e,n){let t=e[n];return t===be?void 0:t}function Bw(e,n,t,r,o,i){let s=n+t;return Ne(e,s,o)?on(e,s+1,i?r.call(i,o):r(o)):va(e,s+1)}function jw(e,n,t,r,o,i,s){let a=n+t;return Br(e,a,o,i)?on(e,a+2,s?r.call(s,o,i):r(o,i)):va(e,a+2)}function Hw(e,n,t,r,o,i,s,a){let l=n+t;return Bu(e,l,o,i,s)?on(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):va(e,l+3)}function $w(e,n,t,r,o,i,s,a,l){let c=n+t;return fa(e,c,o,i,s,a)?on(e,c+4,l?r.call(l,o,i,s,a):r(o,i,s,a)):va(e,c+4)}function Uw(e,n){return la(e,n)}var Gs=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Ww=(()=>{class e{compileModuleSync(t){return new js(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Nl(t),i=bg(o.declarations).reduce((s,a)=>{let l=gt(a);return l&&s.push(new $n(l)),s},[]);return new Gs(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fy=(()=>{class e{applicationErrorHandler=g(Pt);appRef=g(ti);taskService=g(kn);ngZone=g(Ie);zonelessEnabled=g(Fo);tracing=g(qn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Te;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Do):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(hc,{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?Np:dc;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(Do+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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function py(){return[{provide:ht,useExisting:fy},{provide:Ie,useClass:Eo},{provide:Fo,useValue:!0}]}function Gw(){return typeof $localize<"u"&&$localize.locale||ri}var ba=new v("",{factory:()=>g(ba,{optional:!0,skipSelf:!0})||Gw()});var si=class{destroyed=!1;listeners=null;errorHandler=g(xt,{optional:!0});destroyRef=g(ne);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new _(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(_n(953,!1));return}if(this.listeners===null)return;let t=C(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{C(t)}}};function Ke(e){return Hf(e)}function Z(e,n){return uo(e,n?.equal)}var zw=e=>e;function qw(e,n){if(typeof e=="function"){let t=dl(e,zw,n?.equal);return hy(t,n?.debugName)}else{let t=dl(e.source,e.computation,e.equal);return hy(t,e.debugName)}}function hy(e,n){let t=e[Q],r=e;return r.set=o=>Bf(t,o),r.update=o=>jf(t,o),r.asReadonly=Ro.bind(e),r}var Ca=Symbol("InputSignalNode#UNSET"),wy=N(m({},fo),{transformFn:void 0,applyValueToInputSignal(e,n){zt(e,n)}});function Sy(e,n){let t=Object.create(wy);t.value=e,t.transformFn=n?.transform;function r(){if(St(t),t.value===Ca){let o=null;throw new _(-950,o)}return t.value}return r[Q]=t,r}var gy=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>uu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function PV(e){return new si}function my(e,n){return Sy(e,n)}function oS(e){return Sy(Ca,e)}var oe=(my.required=oS,my);function yy(e,n){return Uu(n)}function iS(e,n){return Wu(n)}var LV=(yy.required=iS,yy);function vy(e,n){return Uu(n)}function sS(e,n){return Wu(n)}var aS=(vy.required=sS,vy);function VV(e,n){return Em(n)}function Ty(e,n){let t=Object.create(wy),r=new si;t.value=e;function o(){return St(t),by(t.value),t.value}return o[Q]=t,o.asReadonly=Ro.bind(o),o.set=i=>{t.equal(t.value,i)||(zt(t,i),r.emit(i))},o.update=i=>{by(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function by(e){if(e===Ca)throw new _(952,!1)}function Dy(e,n){return Ty(e,n)}function lS(e){return Ty(Ca,e)}var BV=(Dy.required=lS,Dy);var sd=new v(""),cS=new v("");function ai(e){return!e.moduleRef}function uS(e){let n=ai(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Ie);return t.run(()=>{ai(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Pt),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ai(e)){let i=()=>n.destroy(),s=e.platformInjector.get(sd);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(sd);s.add(i),e.moduleRef.onDestroy(()=>{Vo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return fS(r,t,()=>{let i=n.get(kn),s=i.add(),a=n.get(Xu);return a.runInitializers(),a.donePromise.then(()=>{let l=n.get(ba,ri);if(Hm(l||ri),!n.get(cS,!0))return ai(e)?n.get(ti):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ai(e)){let u=n.get(ti);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return dS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var dS;function fS(e,n,t){try{let r=t();return Zr(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Da=null;function pS(e=[],n){return ce.create({name:n,providers:[{provide:Vl,useValue:"platform"},{provide:sd,useValue:new Set([()=>Da=null])},...e]})}function hS(e=[]){if(Da)return Da;let n=pS(e);return Da=n,Fm(),gS(n),n}function gS(e){let n=e.get(Kh,null);rs(e,()=>{n?.forEach(t=>t())})}function jV(){return!1}var mS=1e4;var HV=mS-1e3;var Jn=(()=>{class e{static __NG_ELEMENT_ID__=yS}return e})();function yS(e){return vS(J(),b(),(e&16)===16)}function vS(e,n,t){if(Rt(e)&&!t){let r=Ze(e.index,n);return new nn(r,r)}else if(e.type&175){let r=n[Ae];return new nn(r,n)}return null}var ad=class{supports(n){return Vu(n)}create(n){return new ld(n)}},bS=(e,n)=>n,ld=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||bS}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<Ey(r,o,i)?t:r,a=Ey(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,u=l-o;if(c!=u){for(let p=0;p<c;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<c&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-c}}a!==l&&n(s,a,l)}}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=[]),!Vu(n))throw new _(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,lm(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 cd(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 Ea),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 Ea),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}},cd=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}},ud=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}},Ea=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new ud,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 Ey(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 dd=class{supports(n){return n instanceof Map||ua(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||ua(n)))throw new _(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 pd(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))}},pd=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Cy(){return new gd([new ad])}var gd=(()=>{class e{factories;static \u0275prov=E({token:e,providedIn:"root",factory:Cy});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||Cy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new _(901,!1)}}return e})();function Iy(){return new md([new dd])}var md=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:Iy});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||Iy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new _(901,!1)}}return e})();function $V(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;k(O.BootstrapApplicationStart);try{let i=o?.injector??hS(r),s=[py(),Op,...t||[]],a=new qo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return uS({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{k(O.BootstrapApplicationEnd)}}function U(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function lt(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var id=Symbol("NOT_SET"),My=new Set,DS=N(m({},fo),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:id,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!==id&&!cr(this))return this.signal;try{for(let o of this.cleanup??My)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Tt(this),r;try{r=this.userFn.apply(null,n)}finally{Wt(this,t)}return(this.value===id||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),hd=class extends $o{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(ne),s),this.scheduler=o;for(let a of wu){let l=t[a];if(l===void 0)continue;let c=Object.create(DS);c.sequence=this,c.phase=a,c.userFn=l,c.dirty=!0,c.signal=()=>(St(c),c.value),c.signal[Q]=c,c.registerCleanupFn=u=>(c.cleanup??=new Set).add(u),this.nodes[a]=c,this.hooks[a]=u=>c.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??My)t()}finally{Gt(n)}}};function UV(e,n){let t=n?.injector??g(ce),r=t.get(ht),o=t.get(ea),i=t.get(qn,null,{optional:!0});o.impl??=t.get(Su);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Nr,null,{optional:!0}),l=new hd(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(l),l}function WV(e){let n=gt(e);if(!n)return null;let t=new $n(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}}}function an(...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)?[an(...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 ES=Object.defineProperty,Ay=Object.getOwnPropertySymbols,CS=Object.prototype.hasOwnProperty,IS=Object.prototype.propertyIsEnumerable,Ny=(e,n,t)=>n in e?ES(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,xy=(e,n)=>{for(var t in n||(n={}))CS.call(n,t)&&Ny(e,t,n[t]);if(Ay)for(var t of Ay(n))IS.call(n,t)&&Ny(e,t,n[t]);return e};function Oy(...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)?[Oy(...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 _S(e){return typeof e=="function"&&"call"in e&&"apply"in e}function wS({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=xy(xy({},t.style),r.style);else if(o==="class"||o==="className")t[o]=Oy(t[o],r[o]);else if(_S(i)){let s=t[o];t[o]=s?(...a)=>{s(...a),i(...a)}:i}else t[o]=i}return t},{})}function yd(...e){return wS({skipUndefined:!1},...e)}var Ia={};function Xn(e="pui_id_"){return Object.hasOwn(Ia,e)||(Ia[e]=0),Ia[e]++,`${e}${Ia[e]}`}var Ry=null;function er(){return Ry}function SS(e){Ry??=e}var vd=class{},_a=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(Fy),providedIn:"platform"})}return e})();var Fy=(()=>{class e extends _a{_location;_history;_doc=g(pe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return er().getBaseHref(this._doc)}onPopState(t){let r=er().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=er().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=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ly(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function ky(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function ln(e){return e&&e[0]!=="?"?`?${e}`:e}var wa=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(MS),providedIn:"root"})}return e})(),TS=new v(""),MS=(()=>{class e extends wa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(pe).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 Ly(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+ln(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+ln(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+ln(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)(ve(_a),ve(TS,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vy=(()=>{class e{_subject=new z;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=xS(ky(Py(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+ln(r))}normalize(t){return e.stripTrailingSlash(NS(this._basePath,Py(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+ln(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ln(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=ln;static joinWithSlash=Ly;static stripTrailingSlash=ky;static \u0275fac=function(r){return new(r||e)(ve(wa))};static \u0275prov=E({token:e,factory:()=>AS(),providedIn:"root"})}return e})();function AS(){return new Vy(ve(wa))}function NS(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Py(e){return e.replace(/\/index.html$/,"")}function xS(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var bd=/\s+/,By=[],OS=(()=>{class e{_ngEl;_renderer;initialClasses=By;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(bd):By}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(bd):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(bd).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)(A(de),A($e))};static \u0275dir=P({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),RS=(()=>{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=Gu(this.ngComponentOutletNgModule,FS(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)(A(at))};static \u0275dir=P({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[Ct]})}return e})();function FS(e){return e.get(rn).injector}var Sa=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}},$y=(()=>{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 Sa(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),jy(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);jy(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(A(at),A(Et),A(gd))};static \u0275dir=P({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function jy(e,n){e.context.$implicit=n.item}var Dd=(()=>{class e{_viewContainer;_context=new Ta;_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){Hy(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Hy(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)(A(at),A(Et))};static \u0275dir=P({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ta=class{$implicit=null;ngIf=null};function Hy(e,n){if(e&&!e.createEmbeddedView)throw new _(2020,!1)}var Ed=(()=>{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:Pr.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)(A(de),A(md),A($e))};static \u0275dir=P({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Cd=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(ce);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)(A(at))};static \u0275dir=P({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ct]})}return e})();var wt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=se({})}return e})();function kS(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 Id=class{};var PS="browser",LS="server";function tr(e){return e===PS}function _d(e){return e===LS}var Wy=e=>e.src,VS=new v("",{factory:()=>Wy});var Uy=/^((\s*\d+w\s*(,|$)){1,})$/;var BS=[1,2],jS=640;var HS=1920,$S=1080;var Nj=(()=>{class e{imageLoader=g(VS);config=US(g(qs));renderer=g($e);imgElement=g(de).nativeElement;injector=g(ce);destroyRef=g(ne);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(){He("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&&Uy.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=Uy.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>=jS)),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 BS.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>HS||this.height>$S),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Wy&&!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(Jn);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()}),WS(t,r)}setHostAttribute(t,r){this.renderer.setAttribute(this.imgElement,t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=P({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&to("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",GS],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",lt],height:[2,"height","height",lt],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",U],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",U],fill:[2,"fill","fill",U],placeholder:[2,"placeholder","placeholder",zS],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Ct]})}return e})();function US(e){let n={};return e.breakpoints&&(n.breakpoints=e.breakpoints.sort((t,r)=>t-r)),Object.assign({},zs,e,n)}function WS(e,n){e.complete&&e.naturalWidth&&n()}function GS(e){return typeof e=="string"?e:Vt(e)}function zS(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:U(e)}var Gy=["*"],ZS=(function(e){return e[e.ACCEPT=0]="ACCEPT",e[e.REJECT=1]="REJECT",e[e.CANCEL=2]="CANCEL",e})(ZS||{}),Bj=(()=>{class e{requireConfirmationSource=new z;acceptConfirmationSource=new z;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=E({token:e,factory:e.\u0275fac})}return e})();var De=(()=>{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})(),jj=(()=>{class e{static AND="and";static OR="or"}return e})(),Hj=(()=>{class e{filter(t,r,o,i,s){let a=[];if(t)for(let l of t)for(let c of r){let u=ef(l,c);if(this.filters[i](u,o,s)){a.push(l);break}}return a}filters={startsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=ke(r.toString()).toLocaleLowerCase(o);return ke(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=ke(r.toString()).toLocaleLowerCase(o);return ke(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=ke(r.toString()).toLocaleLowerCase(o);return ke(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=ke(r.toString()).toLocaleLowerCase(o),s=ke(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:ke(t.toString()).toLocaleLowerCase(o)==ke(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:ke(t.toString()).toLocaleLowerCase(o)!=ke(r.toString()).toLocaleLowerCase(o),in:(t,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if(gi(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $j=(()=>{class e{clickSource=new z;parentDragSource=new z;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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Uj=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Fe({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:Gy,decls:1,vars:0,template:function(r,o){r&1&&(It(),_t(0))},encapsulation:2})}return e})(),Wj=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Fe({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:Gy,decls:1,vars:0,template:function(r,o){r&1&&(It(),_t(0))},encapsulation:2})}return e})(),zy=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(r){return new(r||e)(A(Et))};static \u0275dir=P({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),cn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=se({imports:[wt]})}return e})(),Gj=(()=>{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 qy=`
5
- *,
6
- ::before,
7
- ::after {
8
- box-sizing: border-box;
9
- }
10
-
11
- .p-collapsible-enter-active {
12
- animation: p-animate-collapsible-expand 0.2s ease-out;
13
- overflow: hidden;
14
- }
15
-
16
- .p-collapsible-leave-active {
17
- animation: p-animate-collapsible-collapse 0.2s ease-out;
18
- overflow: hidden;
19
- }
20
-
21
- @keyframes p-animate-collapsible-expand {
22
- from {
23
- grid-template-rows: 0fr;
24
- }
25
- to {
26
- grid-template-rows: 1fr;
27
- }
28
- }
29
-
30
- @keyframes p-animate-collapsible-collapse {
31
- from {
32
- grid-template-rows: 1fr;
33
- }
34
- to {
35
- grid-template-rows: 0fr;
36
- }
37
- }
38
-
39
- .p-disabled,
40
- .p-disabled * {
41
- cursor: default;
42
- pointer-events: none;
43
- user-select: none;
44
- }
45
-
46
- .p-disabled,
47
- .p-component:disabled {
48
- opacity: dt('disabled.opacity');
49
- }
50
-
51
- .pi {
52
- font-size: dt('icon.size');
53
- }
54
-
55
- .p-icon {
56
- width: dt('icon.size');
57
- height: dt('icon.size');
58
- }
59
-
60
- .p-overlay-mask {
61
- background: var(--px-mask-background, dt('mask.background'));
62
- color: dt('mask.color');
63
- position: fixed;
64
- top: 0;
65
- left: 0;
66
- width: 100%;
67
- height: 100%;
68
- }
69
-
70
- .p-overlay-mask-enter-active {
71
- animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;
72
- }
73
-
74
- .p-overlay-mask-leave-active {
75
- animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;
76
- }
77
-
78
- @keyframes p-animate-overlay-mask-enter {
79
- from {
80
- background: transparent;
81
- }
82
- to {
83
- background: var(--px-mask-background, dt('mask.background'));
84
- }
85
- }
86
- @keyframes p-animate-overlay-mask-leave {
87
- from {
88
- background: var(--px-mask-background, dt('mask.background'));
89
- }
90
- to {
91
- background: transparent;
92
- }
93
- }
94
-
95
- .p-anchored-overlay-enter-active {
96
- animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);
97
- }
98
-
99
- .p-anchored-overlay-leave-active {
100
- animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);
101
- }
102
-
103
- @keyframes p-animate-anchored-overlay-enter {
104
- from {
105
- opacity: 0;
106
- transform: scale(0.93);
107
- }
108
- }
109
-
110
- @keyframes p-animate-anchored-overlay-leave {
111
- to {
112
- opacity: 0;
113
- transform: scale(0.93);
114
- }
115
- }
116
- `;var YS=0,Zy=(()=>{class e{document=g(pe);use(t,r={}){let o=!1,i=t,s=null,{immediate:a=!0,manual:l=!1,name:c=`style_${++YS}`,id:u=void 0,media:d=void 0,nonce:p=void 0,first:f=!1,props:h={}}=r;if(this.document){if(s=this.document.querySelector(`style[data-primeng-style-id="${c}"]`)||u&&this.document.getElementById(u)||this.document.createElement("style"),s){if(!s.isConnected){i=t;let y=this.document.head;Kd(s,"nonce",p),f&&y.firstChild?y.insertBefore(s,y.firstChild):y.appendChild(s),zd(s,{type:"text/css",media:d,nonce:p,"data-primeng-style-id":c})}s.textContent!==i&&(s.textContent=i)}return{id:u,name:c,el:s,css:i}}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ro={_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()}},QS=`
117
- .p-hidden-accessible {
118
- border: 0;
119
- clip: rect(0 0 0 0);
120
- height: 1px;
121
- margin: -1px;
122
- overflow: hidden;
123
- padding: 0;
124
- position: absolute;
125
- width: 1px;
126
- }
127
-
128
- .p-hidden-accessible input,
129
- .p-hidden-accessible select {
130
- transform: scale(0);
131
- }
132
-
133
- .p-overflow-hidden {
134
- overflow: hidden;
135
- padding-right: dt('scrollbar.width');
136
- }
137
- `,me=(()=>{class e{name="base";useStyle=g(Zy);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,r={},o=i=>i)=>{let i=o(ar`${$t(t,{dt:vi})}`);return i?this.useStyle.use(yi(i),m({name:this.name},r)):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},r="")=>this.load(this.style,t,(o="")=>Y.transformCSS(t.name||this.name,`${o}${ar`${r}`}`));loadBaseCSS=(t={})=>this.load(QS,t);loadBaseStyle=(t={},r="")=>this.load(qy,t,(o="")=>Y.transformCSS(t.name||this.name,`${o}${ar`${r}`}`));getCommonTheme=t=>Y.getCommon(this.name,t);getComponentTheme=t=>Y.getComponent(this.name,t);getPresetTheme=(t,r,o)=>Y.getCustomPreset(this.name,t,r,o);getLayerOrderThemeCSS=()=>Y.getLayerOrderCSS(this.name);getStyleSheet=(t="",r={})=>{if(this.css){let o=$t(this.css,{dt:vi}),i=yi(ar`${o}${t}`),s=Object.entries(r).reduce((a,[l,c])=>a.push(`${l}="${c}"`)&&a,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${i}</style>`}return""};getCommonThemeStyleSheet=(t,r={})=>Y.getCommonStyleSheet(this.name,t,r);getThemeStyleSheet=(t,r={})=>{let o=[Y.getStyleSheet(this.name,t,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=ar`${$t(this.style,{dt:vi})}`,a=yi(Y.transformCSS(i,s)),l=Object.entries(r).reduce((c,[u,d])=>c.push(`${u}="${d}"`)&&c,[]).join(" ");o.push(`<style type="text/css" data-primeng-style-id="${i}" ${l}>${a}</style>`)}return o.join("")};static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var KS=(()=>{class e{theme=R(void 0);csp=R({nonce:void 0});isThemeChanged=!1;document=g(pe);baseStyle=g(me);constructor(){he(()=>{sr.on("theme:change",t=>{Ke(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),he(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){Y.clearLoadedStyleNames(),sr.clear()}onThemeChange(t){Y.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!Y.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,m({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,m({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,m({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(m({name:"global-style"},s),i),Y.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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wd=(()=>{class e extends KS{ripple=R(!1);platformId=g(zn);inputStyle=R(null);inputVariant=R(null);overlayAppendTo=R("self");overlayOptions={};csp=R({nonce:void 0});unstyled=R(void 0);pt=R(void 0);ptOptions=R(void 0);filterMatchModeOptions={text:[De.STARTS_WITH,De.CONTAINS,De.NOT_CONTAINS,De.ENDS_WITH,De.EQUALS,De.NOT_EQUALS],numeric:[De.EQUALS,De.NOT_EQUALS,De.LESS_THAN,De.LESS_THAN_OR_EQUAL_TO,De.GREATER_THAN,De.GREATER_THAN_OR_EQUAL_TO],date:[De.DATE_IS,De.DATE_IS_NOT,De.DATE_BEFORE,De.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 z;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=m(m({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:l,translation:c,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:p,ptOptions:f,pt:h,unstyled:y}=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),l&&(this.overlayOptions=l),c&&this.setTranslation(c),u&&(this.filterMatchModeOptions=u),p&&(this.zIndex=p),h&&this.pt.set(h),f&&this.ptOptions.set(f),y&&this.unstyled.set(y),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JS=new v("PRIME_NG_CONFIG");function h2(...e){let n=e?.map(r=>({provide:JS,useValue:r,multi:!1})),t=Ju(()=>{let r=g(wd);e?.forEach(o=>r.setConfig(o))});return Tn([...n,t])}var Yy=(()=>{class e extends me{name="common";static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ht=new v("PARENT_INSTANCE"),we=(()=>{class e{document=g(pe);platformId=g(zn);el=g(de);injector=g(ce);cd=g(Jn);renderer=g($e);config=g(wd);$parentInstance=g(Ht,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=g(Yy);baseStyle=g(me);scopedStyleEl;parent=this.$params.parent;cn=an;_themeScopedListener;themeChangeListenerMap=new Map;dt=oe();unstyled=oe();pt=oe();ptOptions=oe();$attrSelector=Xn("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=R(void 0);directiveUnstyled=R(void 0);$unstyled=Z(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=Z(()=>$t(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>$t(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||$t(t,this.$params))}get $style(){return m(m({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(){he(t=>{this.document&&!_d(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")})}),he(t=>{this.document&&!_d(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 Xd(t)?t(...r):yd(...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 tf(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(){ro.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),ro.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){let t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);un(t)&&this.baseStyle.load(t,m({name:"global"},this.$styleOptions))}_loadCoreStyles(){!ro.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),ro.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!Y.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,m({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,m({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,m({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(m({name:"global-style"},this.$styleOptions),i),Y.setLoadedStyleName("common")}if(!Y.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:t,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,m({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(m({name:`${this.$style?.name}-style`},this.$styleOptions),r),Y.setLoadedStyleName(this.$style?.name)}if(!Y.isStyleNameLoaded("layer-order")){let t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,m({name:"layer-order",first:!0},this.$styleOptions)),Y.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){let{css:r}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,m({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,r=()=>{}){this._offThemeChangeListener(t),ro.clearLoadedStyleNames();let o=r.bind(this);this.themeChangeListenerMap.set(t,o),sr.on("theme:change",o)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(sr.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:l=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},c=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,N(m({},o),{global:c||{}})),d=this._getPTDatasets(r);return a||!a&&u?l?this._mergeProps(l,c,u,d):m(m(m({},c),u),d):m(m({},u),d)}_getPTDatasets(t=""){let r="data-pc-",o=t==="root"&&un(this.$pt()?.["data-pc-section"]);return t!=="transition"&&N(m({},t==="root"&&N(m({[`${r}name`]:ir(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:ir(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:ir(t.includes(".")?t.split(".").at(-1)??"":t)})}_getPTClassValue(t,r,o){let i=this._getOptionValue(t,r,o);return mi(i)||nf(i)?{class:i}:i}_getPT(t,r="",o){let i=(s,a=!1)=>{let l=o?o(s):s,c=ir(r),u=ir(this.$hostName||this.$name);return(a?c!==u?l?.[c]:void 0:l?.[c])??l};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:l=!1}=t._usept||this.config?.ptOptions()||{},c=s(t.originalValue),u=s(t.value);return c===void 0&&u===void 0?void 0:mi(u)?u:mi(c)?c:a||!a&&u?l?this._mergeProps(l,c,u):m(m({},c),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,m(m({},this.$params),r))}ptms(t,r={}){return t.reduce((o,i)=>(o=yd(o,this.ptm(i,r))||{},o),{})}ptmo(t={},r="",o={}){return this._getPTValue(t,r,m({instance:this},o),!1)}cx(t,r={}){return this.$unstyled()?void 0:an(this._getOptionValue(this.$style.classes,t,m(m({},this.$params),r)))}sx(t="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,t,m(m({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,t,m(m({},this.$params),o));return m(m({},s),i)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=P({type:e,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[ge([Yy,me]),Ct]})}return e})();var Sd=(()=>{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=Se=>{if(Se)return getComputedStyle(Se).getPropertyValue("position")==="relative"?Se:i(Se.parentElement)},s=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),a=r.offsetHeight,l=r.getBoundingClientRect(),c=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport(),f=i(t)?.getBoundingClientRect()||{top:-1*c,left:-1*u},h,y,S="top";l.top+a+s.height>d.height?(h=l.top-f.top-s.height,S="bottom",l.top+h<0&&(h=-1*l.top)):(h=a+l.top-f.top,S="top");let M=l.left+s.width-d.width,q=l.left-f.left;if(s.width>d.width?y=(l.left-f.left)*-1:M>0?y=q-M:y=l.left-f.left,t.style.top=h+"px",t.style.left=y+"px",t.style.transformOrigin=S,o){let Se=$d(/-anchor-gutter$/)?.value;t.style.marginTop=S==="bottom"?`calc(${Se??"2px"} * -1)`:Se??""}}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,l=r.offsetHeight,c=r.offsetWidth,u=r.getBoundingClientRect(),d=this.getWindowScrollTop(),p=this.getWindowScrollLeft(),f=this.getViewport(),h,y;u.top+l+s>f.height?(h=u.top+d-s,t.style.transformOrigin="bottom",h<0&&(h=d)):(h=l+u.top+d,t.style.transformOrigin="top"),u.left+a>f.width?y=Math.max(0,u.left+p+c-a):y=u.left+p,t.style.top=h+"px",t.style.left=y+"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 l=window.getComputedStyle(a,null);return i.test(l.getPropertyValue("overflow"))||i.test(l.getPropertyValue("overflowX"))||i.test(l.getPropertyValue("overflowY"))};for(let a of o){let l=a.nodeType===1&&a.dataset.scrollselectors;if(l){let c=l.split(",");for(let u of c){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,l=t.getBoundingClientRect(),u=r.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-i-a,d=t.scrollTop,p=t.clientHeight,f=this.getOuterHeight(r);u<0?t.scrollTop=d+u:u+f>p&&(t.scrollTop=d+u-p+f)}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 l=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(l)),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
- [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
139
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
140
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
141
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
142
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
143
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
144
- .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
145
- .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`}static getFocusableElements(t,r=""){let o=this.find(t,this.getFocusableSelectorString(r)),i=[];for(let s of o){let a=getComputedStyle(s);this.isVisible(s)&&a.display!="none"&&a.visibility!="hidden"&&i.push(s)}return i}static getFocusableElement(t,r=""){let o=this.findSingle(t,this.getFocusableSelectorString(r));if(o){let i=getComputedStyle(o);if(this.isVisible(o)&&i.display!="none"&&i.visibility!="hidden")return o}return null}static getFirstFocusableElement(t,r=""){let o=this.getFocusableElements(t,r);return o.length>0?o[0]:null}static getLastFocusableElement(t,r){let o=this.getFocusableElements(t,r);return o.length>0?o[o.length-1]:null}static getNextFocusableElement(t,r=!1){let o=e.getFocusableElements(t),i=0;if(o&&o.length>0){let s=o.indexOf(o[0].ownerDocument.activeElement);r?s==-1||s===0?i=o.length-1:i=s-1:s!=-1&&s!==o.length-1&&(i=s+1)}return o[i]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection()?.toString():document.getSelection?document.getSelection()?.toString():document.selection?document.selection.createRange().text:null}static getTargetElement(t,r){if(!t)return null;switch(t){case"document":return document;case"window":return window;case"@next":return r?.nextElementSibling;case"@prev":return r?.previousElementSibling;case"@parent":return r?.parentElement;case"@grandparent":return r?.parentElement?.parentElement;default:let o=typeof t;if(o==="string")return document.querySelector(t);if(o==="object"&&t.hasOwnProperty("nativeElement"))return this.isExist(t.nativeElement)?t.nativeElement:void 0;let s=(a=>!!(a&&a.constructor&&a.call&&a.apply))(t)?t():t;return s&&s.nodeType===9||this.isExist(s)?s:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(t,r){if(t){let o=t.getAttribute(r);return isNaN(o)?o==="true"||o==="false"?o==="true":o:+o}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(t="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}static unblockBodyScroll(t="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}static createElement(t,r={},...o){if(t){let i=document.createElement(t);return this.setAttributes(i,r),i.append(...o),i}}static setAttribute(t,r="",o){this.isElement(t)&&o!==null&&o!==void 0&&t.setAttribute(r,o)}static setAttributes(t,r={}){if(this.isElement(t)){let o=(i,s)=>{let a=t?.$attrs?.[i]?[t?.$attrs?.[i]]:[];return[s].flat().reduce((l,c)=>{if(c!=null){let u=typeof c;if(u==="string"||u==="number")l.push(c);else if(u==="object"){let d=Array.isArray(c)?o(i,c):Object.entries(c).map(([p,f])=>i==="style"&&(f||f===0)?`${p.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${f}`:f?p:void 0);l=d.length?l.concat(d.filter(p=>!!p)):l}}return l},a)};Object.entries(r).forEach(([i,s])=>{if(s!=null){let a=i.match(/^on(.+)/);a?t.addEventListener(a[1].toLowerCase(),s):i==="pBind"?this.setAttributes(t,s):(s=i==="class"?[...new Set(o("class",s))].join(" ").trim():i==="style"?o("style",s).join(";").trim():s,(t.$attrs=t.$attrs||{})&&(t.$attrs[i]=s),t.setAttribute(i,s))}})}}static isFocusableElement(t,r=""){return this.isElement(t)?t.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
146
- [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
147
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
148
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
149
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
150
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
151
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}}return e})();function N2(){jd({variableName:Ha("scrollbar.width").name})}function x2(){Hd({variableName:Ha("scrollbar.width").name})}var Ma=class{element;listener;scrollableParents;constructor(n,t=()=>{}){this.element=n,this.listener=t}bindScrollListener(){this.scrollableParents=Sd.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 Qy=(()=>{class e extends we{autofocus=!1;focused=!1;platformId=g(zn);document=g(pe);host=g(de);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(){tr(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=Sd.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=j(e)))(o||e)}})();static \u0275dir=P({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[G]})}return e})();var We=(()=>{class e{el;renderer;pBind=oe(void 0);_attrs=R(void 0);attrs=Z(()=>this._attrs()||this.pBind());styles=Z(()=>this.attrs()?.style);classes=Z(()=>an(this.attrs()?.class));listeners=[];constructor(t,r){this.el=t,this.renderer=r,he(()=>{let a=this.attrs()||{},{style:o,class:i}=a,s=Bd(a,["style","class"]);for(let[l,c]of Object.entries(s))if(l.startsWith("on")&&typeof c=="function"){let u=l.slice(2).toLowerCase();if(!this.listeners.some(d=>d.eventName===u)){let d=this.renderer.listen(this.el.nativeElement,u,c);this.listeners.push({eventName:u,unlisten:d})}}else c==null?this.renderer.removeAttribute(this.el.nativeElement,l):(this.renderer.setAttribute(this.el.nativeElement,l,c.toString()),l in this.el.nativeElement&&(this.el.nativeElement[l]=c))})}ngOnDestroy(){this.clearListeners()}setAttrs(t){gi(this._attrs(),t)||this._attrs.set(t)}clearListeners(){this.listeners.forEach(({unlisten:t})=>t()),this.listeners=[]}static \u0275fac=function(r){return new(r||e)(A(de),A($e))};static \u0275dir=P({type:e,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(r,o){r&2&&(nd(o.styles()),xe(o.classes()))},inputs:{pBind:[1,"pBind"]}})}return e})(),li=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=se({})}return e})();var Ky=`
152
- .p-badge {
153
- display: inline-flex;
154
- border-radius: dt('badge.border.radius');
155
- align-items: center;
156
- justify-content: center;
157
- padding: dt('badge.padding');
158
- background: dt('badge.primary.background');
159
- color: dt('badge.primary.color');
160
- font-size: dt('badge.font.size');
161
- font-weight: dt('badge.font.weight');
162
- min-width: dt('badge.min.width');
163
- height: dt('badge.height');
164
- }
165
-
166
- .p-badge-dot {
167
- width: dt('badge.dot.size');
168
- min-width: dt('badge.dot.size');
169
- height: dt('badge.dot.size');
170
- border-radius: 50%;
171
- padding: 0;
172
- }
173
-
174
- .p-badge-circle {
175
- padding: 0;
176
- border-radius: 50%;
177
- }
178
-
179
- .p-badge-secondary {
180
- background: dt('badge.secondary.background');
181
- color: dt('badge.secondary.color');
182
- }
183
-
184
- .p-badge-success {
185
- background: dt('badge.success.background');
186
- color: dt('badge.success.color');
187
- }
188
-
189
- .p-badge-info {
190
- background: dt('badge.info.background');
191
- color: dt('badge.info.color');
192
- }
193
-
194
- .p-badge-warn {
195
- background: dt('badge.warn.background');
196
- color: dt('badge.warn.color');
197
- }
198
-
199
- .p-badge-danger {
200
- background: dt('badge.danger.background');
201
- color: dt('badge.danger.color');
202
- }
203
-
204
- .p-badge-contrast {
205
- background: dt('badge.contrast.background');
206
- color: dt('badge.contrast.color');
207
- }
208
-
209
- .p-badge-sm {
210
- font-size: dt('badge.sm.font.size');
211
- min-width: dt('badge.sm.min.width');
212
- height: dt('badge.sm.height');
213
- }
214
-
215
- .p-badge-lg {
216
- font-size: dt('badge.lg.font.size');
217
- min-width: dt('badge.lg.min.width');
218
- height: dt('badge.lg.height');
219
- }
220
-
221
- .p-badge-xl {
222
- font-size: dt('badge.xl.font.size');
223
- min-width: dt('badge.xl.min.width');
224
- height: dt('badge.xl.height');
225
- }
226
- `;var XS=`
227
- ${Ky}
228
-
229
- /* For PrimeNG (directive)*/
230
- .p-overlay-badge {
231
- position: relative;
232
- }
233
-
234
- .p-overlay-badge > .p-badge {
235
- position: absolute;
236
- top: 0;
237
- inset-inline-end: 0;
238
- transform: translate(50%, -50%);
239
- transform-origin: 100% 0;
240
- margin: 0;
241
- }
242
- `,eT={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":un(n)&&String(n).length===1,"p-badge-dot":Jd(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"}]}},Jy=(()=>{class e extends me{name="badge";style=XS;classes=eT;static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var Xy=new v("BADGE_INSTANCE");var Md=(()=>{class e extends we{componentName="Badge";$pcBadge=g(Xy,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(We,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=oe();badgeSize=oe();size=oe();severity=oe();value=oe();badgeDisabled=oe(!1,{transform:U});_componentStyle=g(Jy);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=j(e)))(o||e)}})();static \u0275cmp=Fe({type:e,selectors:[["p-badge"]],hostVars:5,hostBindings:function(r,o){r&2&&(Ue("data-p",o.dataP),xe(o.cn(o.cx("root"),o.styleClass())),to("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:[ge([Jy,{provide:Xy,useExisting:e},{provide:Ht,useExisting:e}]),Yn([We]),G],decls:1,vars:1,template:function(r,o){r&1&&ii(0),r&2&&no(o.value())},dependencies:[wt,cn,li],encapsulation:2,changeDetection:0})}return e})(),ev=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=se({imports:[Md,cn,cn]})}return e})();var nT=["*"],rT={root:"p-fluid"},tv=(()=>{class e extends me{name="fluid";classes=rT;static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var nv=new v("FLUID_INSTANCE"),rv=(()=>{class e extends we{componentName="Fluid";$pcFluid=g(nv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(We,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=g(tv);static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275cmp=Fe({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(r,o){r&2&&xe(o.cx("root"))},features:[ge([tv,{provide:nv,useExisting:e},{provide:Ht,useExisting:e}]),Yn([We]),G],ngContentSelectors:nT,decls:1,vars:0,template:function(r,o){r&1&&(It(),_t(0))},dependencies:[wt],encapsulation:2,changeDetection:0})}return e})();var oT=["*"],iT=`
243
- .p-icon {
244
- display: inline-block;
245
- vertical-align: baseline;
246
- flex-shrink: 0;
247
- }
248
-
249
- .p-icon-spin {
250
- -webkit-animation: p-icon-spin 2s infinite linear;
251
- animation: p-icon-spin 2s infinite linear;
252
- }
253
-
254
- @-webkit-keyframes p-icon-spin {
255
- 0% {
256
- -webkit-transform: rotate(0deg);
257
- transform: rotate(0deg);
258
- }
259
- 100% {
260
- -webkit-transform: rotate(359deg);
261
- transform: rotate(359deg);
262
- }
263
- }
264
-
265
- @keyframes p-icon-spin {
266
- 0% {
267
- -webkit-transform: rotate(0deg);
268
- transform: rotate(0deg);
269
- }
270
- 100% {
271
- -webkit-transform: rotate(359deg);
272
- transform: rotate(359deg);
273
- }
274
- }
275
- `,ov=(()=>{class e extends me{name="baseicon";css=iT;static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var iv=(()=>{class e extends we{spin=!1;_componentStyle=g(ov);getClassNames(){return an("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275cmp=Fe({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&&xe(o.getClassNames())},inputs:{spin:[2,"spin","spin",U]},features:[ge([ov]),G],ngContentSelectors:oT,decls:1,vars:0,template:function(r,o){r&1&&(It(),_t(0))},encapsulation:2,changeDetection:0})}return e})();var sT=["data-p-icon","spinner"],sv=(()=>{class e extends iv{pathId;onInit(){this.pathId="url(#"+Xn()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275cmp=Fe({type:e,selectors:[["","data-p-icon","spinner"]],features:[G],attrs:sT,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&&(Ar(),Qr(0,"g"),ni(1,"path",0),Kr(),Qr(2,"defs")(3,"clipPath",1),ni(4,"rect",2),Kr()()),r&2&&(Ue("clip-path",o.pathId),_e(3),ga("id",o.pathId))},encapsulation:2})}return e})();var av=`
276
- .p-ink {
277
- display: block;
278
- position: absolute;
279
- background: dt('ripple.background');
280
- border-radius: 100%;
281
- transform: scale(0);
282
- pointer-events: none;
283
- }
284
-
285
- .p-ink-active {
286
- animation: ripple 0.4s linear;
287
- }
288
-
289
- @keyframes ripple {
290
- 100% {
291
- opacity: 0;
292
- transform: scale(2.5);
293
- }
294
- }
295
- `;var aT=`
296
- ${av}
297
-
298
- /* For PrimeNG */
299
- .p-ripple {
300
- overflow: hidden;
301
- position: relative;
302
- }
303
-
304
- .p-ripple-disabled .p-ink {
305
- display: none !important;
306
- }
307
-
308
- @keyframes ripple {
309
- 100% {
310
- opacity: 0;
311
- transform: scale(2.5);
312
- }
313
- }
314
- `,lT={root:"p-ink"},lv=(()=>{class e extends me{name="ripple";style=aT;classes=lT;static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var cv=(()=>{class e extends we{componentName="Ripple";zone=g(Ie);_componentStyle=g(lv);animationListener;mouseDownListener;timeout;constructor(){super(),he(()=>{tr(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()&&or(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!Ba(r)&&!ja(r)){let a=Math.max(Ge(this.el.nativeElement),ut(this.el.nativeElement));r.style.height=a+"px",r.style.width=a+"px"}let o=Zd(this.el.nativeElement),i=t.pageX-o.left+this.document.body.scrollTop-ja(r)/2,s=t.pageY-o.top+this.document.body.scrollLeft-Ba(r)/2;this.renderer.setStyle(r,"top",s+"px"),this.renderer.setStyle(r,"left",i+"px"),!this.$unstyled()&&La(r,"p-ink-active"),r.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&(!this.$unstyled()&&or(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()&&or(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&or(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,Yd(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=P({type:e,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[ge([lv]),G]})}return e})();var uv=`
315
- .p-button {
316
- display: inline-flex;
317
- cursor: pointer;
318
- user-select: none;
319
- align-items: center;
320
- justify-content: center;
321
- overflow: hidden;
322
- position: relative;
323
- color: dt('button.primary.color');
324
- background: dt('button.primary.background');
325
- border: 1px solid dt('button.primary.border.color');
326
- padding: dt('button.padding.y') dt('button.padding.x');
327
- font-size: 1rem;
328
- font-family: inherit;
329
- font-feature-settings: inherit;
330
- transition:
331
- background dt('button.transition.duration'),
332
- color dt('button.transition.duration'),
333
- border-color dt('button.transition.duration'),
334
- outline-color dt('button.transition.duration'),
335
- box-shadow dt('button.transition.duration');
336
- border-radius: dt('button.border.radius');
337
- outline-color: transparent;
338
- gap: dt('button.gap');
339
- }
340
-
341
- .p-button:disabled {
342
- cursor: default;
343
- }
344
-
345
- .p-button-icon-right {
346
- order: 1;
347
- }
348
-
349
- .p-button-icon-right:dir(rtl) {
350
- order: -1;
351
- }
352
-
353
- .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
354
- order: 1;
355
- }
356
-
357
- .p-button-icon-bottom {
358
- order: 2;
359
- }
360
-
361
- .p-button-icon-only {
362
- width: dt('button.icon.only.width');
363
- padding-inline-start: 0;
364
- padding-inline-end: 0;
365
- gap: 0;
366
- }
367
-
368
- .p-button-icon-only.p-button-rounded {
369
- border-radius: 50%;
370
- height: dt('button.icon.only.width');
371
- }
372
-
373
- .p-button-icon-only .p-button-label {
374
- visibility: hidden;
375
- width: 0;
376
- }
377
-
378
- .p-button-icon-only::after {
379
- content: "\xA0";
380
- visibility: hidden;
381
- width: 0;
382
- }
383
-
384
- .p-button-sm {
385
- font-size: dt('button.sm.font.size');
386
- padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
387
- }
388
-
389
- .p-button-sm .p-button-icon {
390
- font-size: dt('button.sm.font.size');
391
- }
392
-
393
- .p-button-sm.p-button-icon-only {
394
- width: dt('button.sm.icon.only.width');
395
- }
396
-
397
- .p-button-sm.p-button-icon-only.p-button-rounded {
398
- height: dt('button.sm.icon.only.width');
399
- }
400
-
401
- .p-button-lg {
402
- font-size: dt('button.lg.font.size');
403
- padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
404
- }
405
-
406
- .p-button-lg .p-button-icon {
407
- font-size: dt('button.lg.font.size');
408
- }
409
-
410
- .p-button-lg.p-button-icon-only {
411
- width: dt('button.lg.icon.only.width');
412
- }
413
-
414
- .p-button-lg.p-button-icon-only.p-button-rounded {
415
- height: dt('button.lg.icon.only.width');
416
- }
417
-
418
- .p-button-vertical {
419
- flex-direction: column;
420
- }
421
-
422
- .p-button-label {
423
- font-weight: dt('button.label.font.weight');
424
- }
425
-
426
- .p-button-fluid {
427
- width: 100%;
428
- }
429
-
430
- .p-button-fluid.p-button-icon-only {
431
- width: dt('button.icon.only.width');
432
- }
433
-
434
- .p-button:not(:disabled):hover {
435
- background: dt('button.primary.hover.background');
436
- border: 1px solid dt('button.primary.hover.border.color');
437
- color: dt('button.primary.hover.color');
438
- }
439
-
440
- .p-button:not(:disabled):active {
441
- background: dt('button.primary.active.background');
442
- border: 1px solid dt('button.primary.active.border.color');
443
- color: dt('button.primary.active.color');
444
- }
445
-
446
- .p-button:focus-visible {
447
- box-shadow: dt('button.primary.focus.ring.shadow');
448
- outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
449
- outline-offset: dt('button.focus.ring.offset');
450
- }
451
-
452
- .p-button .p-badge {
453
- min-width: dt('button.badge.size');
454
- height: dt('button.badge.size');
455
- line-height: dt('button.badge.size');
456
- }
457
-
458
- .p-button-raised {
459
- box-shadow: dt('button.raised.shadow');
460
- }
461
-
462
- .p-button-rounded {
463
- border-radius: dt('button.rounded.border.radius');
464
- }
465
-
466
- .p-button-secondary {
467
- background: dt('button.secondary.background');
468
- border: 1px solid dt('button.secondary.border.color');
469
- color: dt('button.secondary.color');
470
- }
471
-
472
- .p-button-secondary:not(:disabled):hover {
473
- background: dt('button.secondary.hover.background');
474
- border: 1px solid dt('button.secondary.hover.border.color');
475
- color: dt('button.secondary.hover.color');
476
- }
477
-
478
- .p-button-secondary:not(:disabled):active {
479
- background: dt('button.secondary.active.background');
480
- border: 1px solid dt('button.secondary.active.border.color');
481
- color: dt('button.secondary.active.color');
482
- }
483
-
484
- .p-button-secondary:focus-visible {
485
- outline-color: dt('button.secondary.focus.ring.color');
486
- box-shadow: dt('button.secondary.focus.ring.shadow');
487
- }
488
-
489
- .p-button-success {
490
- background: dt('button.success.background');
491
- border: 1px solid dt('button.success.border.color');
492
- color: dt('button.success.color');
493
- }
494
-
495
- .p-button-success:not(:disabled):hover {
496
- background: dt('button.success.hover.background');
497
- border: 1px solid dt('button.success.hover.border.color');
498
- color: dt('button.success.hover.color');
499
- }
500
-
501
- .p-button-success:not(:disabled):active {
502
- background: dt('button.success.active.background');
503
- border: 1px solid dt('button.success.active.border.color');
504
- color: dt('button.success.active.color');
505
- }
506
-
507
- .p-button-success:focus-visible {
508
- outline-color: dt('button.success.focus.ring.color');
509
- box-shadow: dt('button.success.focus.ring.shadow');
510
- }
511
-
512
- .p-button-info {
513
- background: dt('button.info.background');
514
- border: 1px solid dt('button.info.border.color');
515
- color: dt('button.info.color');
516
- }
517
-
518
- .p-button-info:not(:disabled):hover {
519
- background: dt('button.info.hover.background');
520
- border: 1px solid dt('button.info.hover.border.color');
521
- color: dt('button.info.hover.color');
522
- }
523
-
524
- .p-button-info:not(:disabled):active {
525
- background: dt('button.info.active.background');
526
- border: 1px solid dt('button.info.active.border.color');
527
- color: dt('button.info.active.color');
528
- }
529
-
530
- .p-button-info:focus-visible {
531
- outline-color: dt('button.info.focus.ring.color');
532
- box-shadow: dt('button.info.focus.ring.shadow');
533
- }
534
-
535
- .p-button-warn {
536
- background: dt('button.warn.background');
537
- border: 1px solid dt('button.warn.border.color');
538
- color: dt('button.warn.color');
539
- }
540
-
541
- .p-button-warn:not(:disabled):hover {
542
- background: dt('button.warn.hover.background');
543
- border: 1px solid dt('button.warn.hover.border.color');
544
- color: dt('button.warn.hover.color');
545
- }
546
-
547
- .p-button-warn:not(:disabled):active {
548
- background: dt('button.warn.active.background');
549
- border: 1px solid dt('button.warn.active.border.color');
550
- color: dt('button.warn.active.color');
551
- }
552
-
553
- .p-button-warn:focus-visible {
554
- outline-color: dt('button.warn.focus.ring.color');
555
- box-shadow: dt('button.warn.focus.ring.shadow');
556
- }
557
-
558
- .p-button-help {
559
- background: dt('button.help.background');
560
- border: 1px solid dt('button.help.border.color');
561
- color: dt('button.help.color');
562
- }
563
-
564
- .p-button-help:not(:disabled):hover {
565
- background: dt('button.help.hover.background');
566
- border: 1px solid dt('button.help.hover.border.color');
567
- color: dt('button.help.hover.color');
568
- }
569
-
570
- .p-button-help:not(:disabled):active {
571
- background: dt('button.help.active.background');
572
- border: 1px solid dt('button.help.active.border.color');
573
- color: dt('button.help.active.color');
574
- }
575
-
576
- .p-button-help:focus-visible {
577
- outline-color: dt('button.help.focus.ring.color');
578
- box-shadow: dt('button.help.focus.ring.shadow');
579
- }
580
-
581
- .p-button-danger {
582
- background: dt('button.danger.background');
583
- border: 1px solid dt('button.danger.border.color');
584
- color: dt('button.danger.color');
585
- }
586
-
587
- .p-button-danger:not(:disabled):hover {
588
- background: dt('button.danger.hover.background');
589
- border: 1px solid dt('button.danger.hover.border.color');
590
- color: dt('button.danger.hover.color');
591
- }
592
-
593
- .p-button-danger:not(:disabled):active {
594
- background: dt('button.danger.active.background');
595
- border: 1px solid dt('button.danger.active.border.color');
596
- color: dt('button.danger.active.color');
597
- }
598
-
599
- .p-button-danger:focus-visible {
600
- outline-color: dt('button.danger.focus.ring.color');
601
- box-shadow: dt('button.danger.focus.ring.shadow');
602
- }
603
-
604
- .p-button-contrast {
605
- background: dt('button.contrast.background');
606
- border: 1px solid dt('button.contrast.border.color');
607
- color: dt('button.contrast.color');
608
- }
609
-
610
- .p-button-contrast:not(:disabled):hover {
611
- background: dt('button.contrast.hover.background');
612
- border: 1px solid dt('button.contrast.hover.border.color');
613
- color: dt('button.contrast.hover.color');
614
- }
615
-
616
- .p-button-contrast:not(:disabled):active {
617
- background: dt('button.contrast.active.background');
618
- border: 1px solid dt('button.contrast.active.border.color');
619
- color: dt('button.contrast.active.color');
620
- }
621
-
622
- .p-button-contrast:focus-visible {
623
- outline-color: dt('button.contrast.focus.ring.color');
624
- box-shadow: dt('button.contrast.focus.ring.shadow');
625
- }
626
-
627
- .p-button-outlined {
628
- background: transparent;
629
- border-color: dt('button.outlined.primary.border.color');
630
- color: dt('button.outlined.primary.color');
631
- }
632
-
633
- .p-button-outlined:not(:disabled):hover {
634
- background: dt('button.outlined.primary.hover.background');
635
- border-color: dt('button.outlined.primary.border.color');
636
- color: dt('button.outlined.primary.color');
637
- }
638
-
639
- .p-button-outlined:not(:disabled):active {
640
- background: dt('button.outlined.primary.active.background');
641
- border-color: dt('button.outlined.primary.border.color');
642
- color: dt('button.outlined.primary.color');
643
- }
644
-
645
- .p-button-outlined.p-button-secondary {
646
- border-color: dt('button.outlined.secondary.border.color');
647
- color: dt('button.outlined.secondary.color');
648
- }
649
-
650
- .p-button-outlined.p-button-secondary:not(:disabled):hover {
651
- background: dt('button.outlined.secondary.hover.background');
652
- border-color: dt('button.outlined.secondary.border.color');
653
- color: dt('button.outlined.secondary.color');
654
- }
655
-
656
- .p-button-outlined.p-button-secondary:not(:disabled):active {
657
- background: dt('button.outlined.secondary.active.background');
658
- border-color: dt('button.outlined.secondary.border.color');
659
- color: dt('button.outlined.secondary.color');
660
- }
661
-
662
- .p-button-outlined.p-button-success {
663
- border-color: dt('button.outlined.success.border.color');
664
- color: dt('button.outlined.success.color');
665
- }
666
-
667
- .p-button-outlined.p-button-success:not(:disabled):hover {
668
- background: dt('button.outlined.success.hover.background');
669
- border-color: dt('button.outlined.success.border.color');
670
- color: dt('button.outlined.success.color');
671
- }
672
-
673
- .p-button-outlined.p-button-success:not(:disabled):active {
674
- background: dt('button.outlined.success.active.background');
675
- border-color: dt('button.outlined.success.border.color');
676
- color: dt('button.outlined.success.color');
677
- }
678
-
679
- .p-button-outlined.p-button-info {
680
- border-color: dt('button.outlined.info.border.color');
681
- color: dt('button.outlined.info.color');
682
- }
683
-
684
- .p-button-outlined.p-button-info:not(:disabled):hover {
685
- background: dt('button.outlined.info.hover.background');
686
- border-color: dt('button.outlined.info.border.color');
687
- color: dt('button.outlined.info.color');
688
- }
689
-
690
- .p-button-outlined.p-button-info:not(:disabled):active {
691
- background: dt('button.outlined.info.active.background');
692
- border-color: dt('button.outlined.info.border.color');
693
- color: dt('button.outlined.info.color');
694
- }
695
-
696
- .p-button-outlined.p-button-warn {
697
- border-color: dt('button.outlined.warn.border.color');
698
- color: dt('button.outlined.warn.color');
699
- }
700
-
701
- .p-button-outlined.p-button-warn:not(:disabled):hover {
702
- background: dt('button.outlined.warn.hover.background');
703
- border-color: dt('button.outlined.warn.border.color');
704
- color: dt('button.outlined.warn.color');
705
- }
706
-
707
- .p-button-outlined.p-button-warn:not(:disabled):active {
708
- background: dt('button.outlined.warn.active.background');
709
- border-color: dt('button.outlined.warn.border.color');
710
- color: dt('button.outlined.warn.color');
711
- }
712
-
713
- .p-button-outlined.p-button-help {
714
- border-color: dt('button.outlined.help.border.color');
715
- color: dt('button.outlined.help.color');
716
- }
717
-
718
- .p-button-outlined.p-button-help:not(:disabled):hover {
719
- background: dt('button.outlined.help.hover.background');
720
- border-color: dt('button.outlined.help.border.color');
721
- color: dt('button.outlined.help.color');
722
- }
723
-
724
- .p-button-outlined.p-button-help:not(:disabled):active {
725
- background: dt('button.outlined.help.active.background');
726
- border-color: dt('button.outlined.help.border.color');
727
- color: dt('button.outlined.help.color');
728
- }
729
-
730
- .p-button-outlined.p-button-danger {
731
- border-color: dt('button.outlined.danger.border.color');
732
- color: dt('button.outlined.danger.color');
733
- }
734
-
735
- .p-button-outlined.p-button-danger:not(:disabled):hover {
736
- background: dt('button.outlined.danger.hover.background');
737
- border-color: dt('button.outlined.danger.border.color');
738
- color: dt('button.outlined.danger.color');
739
- }
740
-
741
- .p-button-outlined.p-button-danger:not(:disabled):active {
742
- background: dt('button.outlined.danger.active.background');
743
- border-color: dt('button.outlined.danger.border.color');
744
- color: dt('button.outlined.danger.color');
745
- }
746
-
747
- .p-button-outlined.p-button-contrast {
748
- border-color: dt('button.outlined.contrast.border.color');
749
- color: dt('button.outlined.contrast.color');
750
- }
751
-
752
- .p-button-outlined.p-button-contrast:not(:disabled):hover {
753
- background: dt('button.outlined.contrast.hover.background');
754
- border-color: dt('button.outlined.contrast.border.color');
755
- color: dt('button.outlined.contrast.color');
756
- }
757
-
758
- .p-button-outlined.p-button-contrast:not(:disabled):active {
759
- background: dt('button.outlined.contrast.active.background');
760
- border-color: dt('button.outlined.contrast.border.color');
761
- color: dt('button.outlined.contrast.color');
762
- }
763
-
764
- .p-button-outlined.p-button-plain {
765
- border-color: dt('button.outlined.plain.border.color');
766
- color: dt('button.outlined.plain.color');
767
- }
768
-
769
- .p-button-outlined.p-button-plain:not(:disabled):hover {
770
- background: dt('button.outlined.plain.hover.background');
771
- border-color: dt('button.outlined.plain.border.color');
772
- color: dt('button.outlined.plain.color');
773
- }
774
-
775
- .p-button-outlined.p-button-plain:not(:disabled):active {
776
- background: dt('button.outlined.plain.active.background');
777
- border-color: dt('button.outlined.plain.border.color');
778
- color: dt('button.outlined.plain.color');
779
- }
780
-
781
- .p-button-text {
782
- background: transparent;
783
- border-color: transparent;
784
- color: dt('button.text.primary.color');
785
- }
786
-
787
- .p-button-text:not(:disabled):hover {
788
- background: dt('button.text.primary.hover.background');
789
- border-color: transparent;
790
- color: dt('button.text.primary.color');
791
- }
792
-
793
- .p-button-text:not(:disabled):active {
794
- background: dt('button.text.primary.active.background');
795
- border-color: transparent;
796
- color: dt('button.text.primary.color');
797
- }
798
-
799
- .p-button-text.p-button-secondary {
800
- background: transparent;
801
- border-color: transparent;
802
- color: dt('button.text.secondary.color');
803
- }
804
-
805
- .p-button-text.p-button-secondary:not(:disabled):hover {
806
- background: dt('button.text.secondary.hover.background');
807
- border-color: transparent;
808
- color: dt('button.text.secondary.color');
809
- }
810
-
811
- .p-button-text.p-button-secondary:not(:disabled):active {
812
- background: dt('button.text.secondary.active.background');
813
- border-color: transparent;
814
- color: dt('button.text.secondary.color');
815
- }
816
-
817
- .p-button-text.p-button-success {
818
- background: transparent;
819
- border-color: transparent;
820
- color: dt('button.text.success.color');
821
- }
822
-
823
- .p-button-text.p-button-success:not(:disabled):hover {
824
- background: dt('button.text.success.hover.background');
825
- border-color: transparent;
826
- color: dt('button.text.success.color');
827
- }
828
-
829
- .p-button-text.p-button-success:not(:disabled):active {
830
- background: dt('button.text.success.active.background');
831
- border-color: transparent;
832
- color: dt('button.text.success.color');
833
- }
834
-
835
- .p-button-text.p-button-info {
836
- background: transparent;
837
- border-color: transparent;
838
- color: dt('button.text.info.color');
839
- }
840
-
841
- .p-button-text.p-button-info:not(:disabled):hover {
842
- background: dt('button.text.info.hover.background');
843
- border-color: transparent;
844
- color: dt('button.text.info.color');
845
- }
846
-
847
- .p-button-text.p-button-info:not(:disabled):active {
848
- background: dt('button.text.info.active.background');
849
- border-color: transparent;
850
- color: dt('button.text.info.color');
851
- }
852
-
853
- .p-button-text.p-button-warn {
854
- background: transparent;
855
- border-color: transparent;
856
- color: dt('button.text.warn.color');
857
- }
858
-
859
- .p-button-text.p-button-warn:not(:disabled):hover {
860
- background: dt('button.text.warn.hover.background');
861
- border-color: transparent;
862
- color: dt('button.text.warn.color');
863
- }
864
-
865
- .p-button-text.p-button-warn:not(:disabled):active {
866
- background: dt('button.text.warn.active.background');
867
- border-color: transparent;
868
- color: dt('button.text.warn.color');
869
- }
870
-
871
- .p-button-text.p-button-help {
872
- background: transparent;
873
- border-color: transparent;
874
- color: dt('button.text.help.color');
875
- }
876
-
877
- .p-button-text.p-button-help:not(:disabled):hover {
878
- background: dt('button.text.help.hover.background');
879
- border-color: transparent;
880
- color: dt('button.text.help.color');
881
- }
882
-
883
- .p-button-text.p-button-help:not(:disabled):active {
884
- background: dt('button.text.help.active.background');
885
- border-color: transparent;
886
- color: dt('button.text.help.color');
887
- }
888
-
889
- .p-button-text.p-button-danger {
890
- background: transparent;
891
- border-color: transparent;
892
- color: dt('button.text.danger.color');
893
- }
894
-
895
- .p-button-text.p-button-danger:not(:disabled):hover {
896
- background: dt('button.text.danger.hover.background');
897
- border-color: transparent;
898
- color: dt('button.text.danger.color');
899
- }
900
-
901
- .p-button-text.p-button-danger:not(:disabled):active {
902
- background: dt('button.text.danger.active.background');
903
- border-color: transparent;
904
- color: dt('button.text.danger.color');
905
- }
906
-
907
- .p-button-text.p-button-contrast {
908
- background: transparent;
909
- border-color: transparent;
910
- color: dt('button.text.contrast.color');
911
- }
912
-
913
- .p-button-text.p-button-contrast:not(:disabled):hover {
914
- background: dt('button.text.contrast.hover.background');
915
- border-color: transparent;
916
- color: dt('button.text.contrast.color');
917
- }
918
-
919
- .p-button-text.p-button-contrast:not(:disabled):active {
920
- background: dt('button.text.contrast.active.background');
921
- border-color: transparent;
922
- color: dt('button.text.contrast.color');
923
- }
924
-
925
- .p-button-text.p-button-plain {
926
- background: transparent;
927
- border-color: transparent;
928
- color: dt('button.text.plain.color');
929
- }
930
-
931
- .p-button-text.p-button-plain:not(:disabled):hover {
932
- background: dt('button.text.plain.hover.background');
933
- border-color: transparent;
934
- color: dt('button.text.plain.color');
935
- }
936
-
937
- .p-button-text.p-button-plain:not(:disabled):active {
938
- background: dt('button.text.plain.active.background');
939
- border-color: transparent;
940
- color: dt('button.text.plain.color');
941
- }
942
-
943
- .p-button-link {
944
- background: transparent;
945
- border-color: transparent;
946
- color: dt('button.link.color');
947
- }
948
-
949
- .p-button-link:not(:disabled):hover {
950
- background: transparent;
951
- border-color: transparent;
952
- color: dt('button.link.hover.color');
953
- }
954
-
955
- .p-button-link:not(:disabled):hover .p-button-label {
956
- text-decoration: underline;
957
- }
958
-
959
- .p-button-link:not(:disabled):active {
960
- background: transparent;
961
- border-color: transparent;
962
- color: dt('button.link.active.color');
963
- }
964
- `;var cT=["content"],uT=["loadingicon"],dT=["icon"],fT=["*"],pv=(e,n)=>({class:e,pt:n});function pT(e,n){e&1&&ha(0)}function hT(e,n){if(e&1&&Qn(0,"span",7),e&2){let t=Qe(3);xe(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon))),X("pBind",t.ptm("loadingIcon")),Ue("aria-hidden",!0)}}function gT(e,n){if(e&1&&(Ar(),Qn(0,"svg",8)),e&2){let t=Qe(3);xe(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),X("pBind",t.ptm("loadingIcon"))("spin",!0),Ue("aria-hidden",!0)}}function mT(e,n){if(e&1&&(Kn(0),jt(1,hT,1,4,"span",3)(2,gT,1,5,"svg",6),sn()),e&2){let t=Qe(2);_e(),X("ngIf",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon)),_e(),X("ngIf",!(t.loadingIcon||t.buttonProps!=null&&t.buttonProps.loadingIcon))}}function yT(e,n){}function vT(e,n){if(e&1&&jt(0,yT,0,0,"ng-template",9),e&2){let t=Qe(2);X("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function bT(e,n){if(e&1&&(Kn(0),jt(1,mT,3,2,"ng-container",2)(2,vT,1,1,null,5),sn()),e&2){let t=Qe();_e(),X("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),_e(),X("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",ya(3,pv,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function DT(e,n){if(e&1&&Qn(0,"span",7),e&2){let t=Qe(2);xe(t.cn(t.cx("icon"),t.icon||(t.buttonProps==null?null:t.buttonProps.icon))),X("pBind",t.ptm("icon")),Ue("data-p",t.dataIconP)}}function ET(e,n){}function CT(e,n){if(e&1&&jt(0,ET,0,0,"ng-template",9),e&2){let t=Qe(2);X("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function IT(e,n){if(e&1&&(Kn(0),jt(1,DT,1,4,"span",3)(2,CT,1,1,null,5),sn()),e&2){let t=Qe();_e(),X("ngIf",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),_e(),X("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",ya(3,pv,t.cx("icon"),t.ptm("icon")))}}function _T(e,n){if(e&1&&(Wn(0,"span",7),ii(1),Yr()),e&2){let t=Qe();xe(t.cx("label")),X("pBind",t.ptm("label")),Ue("aria-hidden",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!(t.label||t.buttonProps!=null&&t.buttonProps.label))("data-p",t.dataLabelP),_e(),no(t.label||(t.buttonProps==null?null:t.buttonProps.label))}}function wT(e,n){if(e&1&&Qn(0,"p-badge",10),e&2){let t=Qe();X("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 ST={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"},dv=(()=>{class e extends me{name="button";style=uv;classes=ST;static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var fv=new v("BUTTON_INSTANCE");var TT=(()=>{class e extends we{componentName="Button";hostName="";$pcButton=g(fv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(We,{self:!0});_componentStyle=g(dv);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=oe(void 0,{transform:U});onClick=new ye;onFocus=new ye;onBlur=new ye;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=g(rv,{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=j(e)))(o||e)}})();static \u0275cmp=Fe({type:e,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&ma(i,cT,5)(i,uT,5)(i,dT,5)(i,zy,4),r&2){let s;Xr(s=eo())&&(o.contentTemplate=s.first),Xr(s=eo())&&(o.loadingIconTemplate=s.first),Xr(s=eo())&&(o.iconTemplate=s.first),Xr(s=eo())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",U],raised:[2,"raised","raised",U],rounded:[2,"rounded","rounded",U],text:[2,"text","text",U],plain:[2,"plain","plain",U],outlined:[2,"outlined","outlined",U],link:[2,"link","link",U],tabindex:[2,"tabindex","tabindex",lt],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",U],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",U],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[ge([dv,{provide:fv,useExisting:e},{provide:Ht,useExisting:e}]),Yn([We]),G],ngContentSelectors:fT,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&&(It(),Wn(0,"button",0),Jr("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),_t(1),jt(2,pT,1,0,"ng-container",1)(3,bT,3,6,"ng-container",2)(4,IT,3,6,"ng-container",2)(5,_T,2,6,"span",3)(6,wT,1,4,"p-badge",4),Yr()),r&2&&(xe(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),X("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")),Ue("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)),_e(2),X("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),_e(),X("ngIf",o.loading||(o.buttonProps==null?null:o.buttonProps.loading)),_e(),X("ngIf",!(o.loading||o.buttonProps!=null&&o.buttonProps.loading)),_e(),X("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.label||(o.buttonProps==null?null:o.buttonProps.label))),_e(),X("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.badge||(o.buttonProps==null?null:o.buttonProps.badge))))},dependencies:[wt,Dd,Cd,Ed,cv,Qy,sv,ev,Md,cn,We],encapsulation:2,changeDetection:0})}return e})(),p$=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=se({imports:[wt,TT,cn,cn]})}return e})();var hv=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 l=this.isDate(n),c=this.isDate(t);if(l!=c)return!1;if(l&&c)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 p=Object.keys(n);if(s=p.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,p[i]))return!1;for(i=s;i--!==0;)if(a=p[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 m(m({},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 l=n instanceof Date,c=t instanceof Date;if(l!=c)return!1;if(l&&c)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 p=Object.keys(n);if(s=p.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,p[i]))return!1;for(i=s;i--!==0;)if(a=p[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!=="")}},gv=0;function m$(e="pn_id_"){return gv++,`${e}${gv}`}function MT(){let e=[],n=(i,s)=>{let a=e.length>0?e[e.length-1]:{key:i,value:s},l=a.value+(a.key===i?0:s)+2;return e.push({key:i,value:l}),l},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 Aa=MT();var mv=`
965
- .p-tooltip {
966
- position: absolute;
967
- display: none;
968
- max-width: dt('tooltip.max.width');
969
- }
970
-
971
- .p-tooltip-right,
972
- .p-tooltip-left {
973
- padding: 0 dt('tooltip.gutter');
974
- }
975
-
976
- .p-tooltip-top,
977
- .p-tooltip-bottom {
978
- padding: dt('tooltip.gutter') 0;
979
- }
980
-
981
- .p-tooltip-text {
982
- white-space: pre-line;
983
- word-break: break-word;
984
- background: dt('tooltip.background');
985
- color: dt('tooltip.color');
986
- padding: dt('tooltip.padding');
987
- box-shadow: dt('tooltip.shadow');
988
- border-radius: dt('tooltip.border.radius');
989
- }
990
-
991
- .p-tooltip-arrow {
992
- position: absolute;
993
- width: 0;
994
- height: 0;
995
- border-color: transparent;
996
- border-style: solid;
997
- }
998
-
999
- .p-tooltip-right .p-tooltip-arrow {
1000
- margin-top: calc(-1 * dt('tooltip.gutter'));
1001
- border-width: dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter') 0;
1002
- border-right-color: dt('tooltip.background');
1003
- }
1004
-
1005
- .p-tooltip-left .p-tooltip-arrow {
1006
- margin-top: calc(-1 * dt('tooltip.gutter'));
1007
- border-width: dt('tooltip.gutter') 0 dt('tooltip.gutter') dt('tooltip.gutter');
1008
- border-left-color: dt('tooltip.background');
1009
- }
1010
-
1011
- .p-tooltip-top .p-tooltip-arrow {
1012
- margin-left: calc(-1 * dt('tooltip.gutter'));
1013
- border-width: dt('tooltip.gutter') dt('tooltip.gutter') 0 dt('tooltip.gutter');
1014
- border-top-color: dt('tooltip.background');
1015
- border-bottom-color: dt('tooltip.background');
1016
- }
1017
-
1018
- .p-tooltip-bottom .p-tooltip-arrow {
1019
- margin-left: calc(-1 * dt('tooltip.gutter'));
1020
- border-width: 0 dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter');
1021
- border-top-color: dt('tooltip.background');
1022
- border-bottom-color: dt('tooltip.background');
1023
- }
1024
- `;var AT={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},yv=(()=>{class e extends me{name="tooltip";style=mv;classes=AT;static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var vv=new v("TOOLTIP_INSTANCE"),R$=(()=>{class e extends we{zone;viewContainer;componentName="Tooltip";$pcTooltip=g(vv,{optional:!0,skipSelf:!0})??void 0;tooltipPosition;tooltipEvent="hover";positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;showOnEllipsis=!1;content;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this.deactivate()}tooltipOptions;appendTo=oe(void 0);$appendTo=Z(()=>this.appendTo()||this.config.overlayAppendTo());_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,showOnEllipsis:!1,id:Xn("pn_id_")+"_tooltip"};_disabled;container;styleClass;tooltipText;rootPTClasses="";showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;touchStartListener;touchEndListener;documentTouchListener;documentEscapeListener;scrollHandler;resizeListener;_componentStyle=g(yv);interactionInProgress=!1;ptTooltip=oe();pTooltipPT=oe();pTooltipUnstyled=oe();constructor(t,r){super(),this.zone=t,this.viewContainer=r,he(()=>{let o=this.ptTooltip()||this.pTooltipPT();o&&this.directivePT.set(o)}),he(()=>{this.pTooltipUnstyled()&&this.directiveUnstyled.set(this.pTooltipUnstyled())})}onAfterViewInit(){tr(this.platformId)&&this.zone.runOutsideAngular(()=>{let t=this.getOption("tooltipEvent");if((t==="hover"||t==="both")&&(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener),this.touchStartListener=this.onTouchStart.bind(this),this.touchEndListener=this.onTouchEnd.bind(this),this.el.nativeElement.addEventListener("touchstart",this.touchStartListener,{passive:!0}),this.el.nativeElement.addEventListener("touchend",this.touchEndListener,{passive:!0})),t==="focus"||t==="both"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let r=this.el.nativeElement.querySelector(".p-component");r||(r=this.getTarget(this.el.nativeElement)),r.addEventListener("focus",this.focusListener),r.addEventListener("blur",this.blurListener)}})}onChanges(t){t.tooltipPosition&&this.setOption({tooltipPosition:t.tooltipPosition.currentValue}),t.tooltipEvent&&this.setOption({tooltipEvent:t.tooltipEvent.currentValue}),t.appendTo&&this.setOption({appendTo:t.appendTo.currentValue}),t.positionStyle&&this.setOption({positionStyle:t.positionStyle.currentValue}),t.tooltipStyleClass&&this.setOption({tooltipStyleClass:t.tooltipStyleClass.currentValue}),t.tooltipZIndex&&this.setOption({tooltipZIndex:t.tooltipZIndex.currentValue}),t.escape&&this.setOption({escape:t.escape.currentValue}),t.showDelay&&this.setOption({showDelay:t.showDelay.currentValue}),t.hideDelay&&this.setOption({hideDelay:t.hideDelay.currentValue}),t.life&&this.setOption({life:t.life.currentValue}),t.positionTop&&this.setOption({positionTop:t.positionTop.currentValue}),t.positionLeft&&this.setOption({positionLeft:t.positionLeft.currentValue}),t.disabled&&this.setOption({disabled:t.disabled.currentValue}),t.content&&(this.setOption({tooltipLabel:t.content.currentValue}),this.active&&(t.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),t.autoHide&&this.setOption({autoHide:t.autoHide.currentValue}),t.showOnEllipsis&&this.setOption({showOnEllipsis:t.showOnEllipsis.currentValue}),t.id&&this.setOption({id:t.id.currentValue}),t.tooltipOptions&&(this._tooltipOptions=m(m({},this._tooltipOptions),t.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(t){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(t){this.isAutoHide()?this.deactivate():!(rr(t.relatedTarget,"p-tooltip")||rr(t.relatedTarget,"p-tooltip-text")||rr(t.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onTouchStart(t){!this.container&&!this.showTimeout&&(this.activate(),this.isAutoHide()||this.bindDocumentTouchListener())}onTouchEnd(t){this.isAutoHide()&&this.deactivate()}bindDocumentTouchListener(){this.documentTouchListener||(this.documentTouchListener=this.renderer.listen("document","touchstart",t=>{this.container&&!this.container.contains(t.target)&&!this.el.nativeElement.contains(t.target)&&(this.deactivate(),this.unbindDocumentTouchListener())}))}unbindDocumentTouchListener(){this.documentTouchListener&&(this.documentTouchListener(),this.documentTouchListener=null)}onFocus(t){this.activate()}onBlur(t){this.deactivate()}onInputClick(t){this.deactivate()}hasEllipsis(){let t=this.el.nativeElement;return t.offsetWidth<t.scrollWidth||t.offsetHeight<t.scrollHeight}activate(){if(!this.interactionInProgress){if(this.getOption("showOnEllipsis")&&!this.hasEllipsis())return;if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let t=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},t)}this.getOption("hideOnEscape")&&(this.documentEscapeListener=this.renderer.listen("document","keydown.escape",()=>{this.deactivate(),this.documentEscapeListener?.()})),this.interactionInProgress=!0}}deactivate(){this.interactionInProgress=!1,this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide(),this.documentEscapeListener&&this.documentEscapeListener()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=ao("div",{class:this.cx("root"),"p-bind":this.ptm("root"),"data-pc-section":"root"}),this.container.setAttribute("role","tooltip");let t=ao("div",{class:this.cx("arrow"),"p-bind":this.ptm("arrow"),"data-pc-section":"arrow"});this.container.appendChild(t),this.tooltipText=ao("div",{class:this.cx("text"),"p-bind":this.ptm("text"),"data-pc-section":"text"}),this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),this.getOption("appendTo")==="body"?document.body.appendChild(this.container):this.getOption("appendTo")==="target"?Va(this.container,this.el.nativeElement):Va(this.getOption("appendTo"),this.container),this.container.style.display="none",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){if(!this.containerMouseleaveListener){let t=this.container??this.container.nativeElement;this.containerMouseleaveListener=this.renderer.listen(t,"mouseleave",r=>{this.deactivate()})}}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){if(!this.getOption("tooltipLabel")||this.getOption("disabled"))return;this.create(),this.el.nativeElement.closest("p-dialog")?setTimeout(()=>{this.container&&(this.container.style.display="inline-block"),this.container&&this.align()},100):(this.container.style.display="inline-block",this.align()),qd(this.container,250),this.getOption("tooltipZIndex")==="auto"?Aa.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&Aa.clear(this.container),this.remove()}updateText(){let t=this.getOption("tooltipLabel");if(t&&typeof t.createEmbeddedView=="function"){let r=this.viewContainer.createEmbeddedView(t);r.detectChanges(),r.rootNodes.forEach(o=>this.tooltipText.appendChild(o))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(t))):this.tooltipText.innerHTML=t}align(){let t=this.getOption("tooltipPosition"),o={top:[this.alignTop,this.alignBottom,this.alignRight,this.alignLeft],bottom:[this.alignBottom,this.alignTop,this.alignRight,this.alignLeft],left:[this.alignLeft,this.alignRight,this.alignTop,this.alignBottom],right:[this.alignRight,this.alignLeft,this.alignTop,this.alignBottom]}[t]||[];for(let[i,s]of o.entries())if(i===0)s.call(this);else if(this.isOutOfBounds())s.call(this);else break}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let t=this.el.nativeElement.getBoundingClientRect(),r=t.left+Wd(),o=t.top+Gd();return{left:r,top:o}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.startsWith("P-")?hi(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let t=this.activeElement,r=Ge(t),o=(ut(t)-ut(this.container))/2;this.alignTooltip(r,o);let i=this.getArrowElement();i.style.top="50%",i.style.right=null,i.style.bottom=null,i.style.left="0"}alignLeft(){this.preAlign("left");let t=this.getArrowElement(),r=Ge(this.container),o=(ut(this.el.nativeElement)-ut(this.container))/2;this.alignTooltip(-r,o),t.style.top="50%",t.style.right="0",t.style.bottom=null,t.style.left=null}alignTop(){this.preAlign("top");let t=this.getArrowElement(),r=this.getHostOffset(),o=Ge(this.container),i=(Ge(this.el.nativeElement)-Ge(this.container))/2,s=ut(this.container);this.alignTooltip(i,-s);let a=r.left-this.getHostOffset().left+o/2;t.style.top=null,t.style.right=null,t.style.bottom="0",t.style.left=a+"px"}getArrowElement(){return hi(this.container,'[data-pc-section="arrow"]')}alignBottom(){this.preAlign("bottom");let t=this.getArrowElement(),r=Ge(this.container),o=this.getHostOffset(),i=(Ge(this.el.nativeElement)-Ge(this.container))/2,s=ut(this.el.nativeElement);this.alignTooltip(i,s);let a=o.left-this.getHostOffset().left+r/2;t.style.top="0",t.style.right=null,t.style.bottom=null,t.style.left=a+"px"}alignTooltip(t,r){let o=this.getHostOffset(),i=o.left+t,s=o.top+r;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}setOption(t){this._tooltipOptions=m(m({},this._tooltipOptions),t)}getOption(t){return this._tooltipOptions[t]}getTarget(t){return rr(t,"p-inputwrapper")?hi(t,"input"):t}preAlign(t){this.container.style.left="-999px",this.container.style.top="-999px",this.container.className=this.cn(this.cx("root"),this.ptm("root")?.class,"p-tooltip-"+t,this.getOption("tooltipStyleClass"))}isOutOfBounds(){let t=this.container.getBoundingClientRect(),r=t.top,o=t.left,i=Ge(this.container),s=ut(this.container),a=Ud();return o+i>a.width||o<0||r<0||r+s>a.height}onWindowResize(t){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new Ma(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){let t=this.getOption("tooltipEvent");if((t==="hover"||t==="both")&&(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener),this.el.nativeElement.removeEventListener("touchstart",this.touchStartListener),this.el.nativeElement.removeEventListener("touchend",this.touchEndListener),this.unbindDocumentTouchListener()),t==="focus"||t==="both"){let r=this.el.nativeElement.querySelector(".p-component");r||(r=this.getTarget(this.el.nativeElement)),r.removeEventListener("focus",this.focusListener),r.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):Qd(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.unbindDocumentTouchListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}onDestroy(){this.unbindEvents(),this.container&&Aa.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(r){return new(r||e)(A(Ie),A(at))};static \u0275dir=P({type:e,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:[2,"escape","escape",U],showDelay:[2,"showDelay","showDelay",lt],hideDelay:[2,"hideDelay","hideDelay",lt],life:[2,"life","life",lt],positionTop:[2,"positionTop","positionTop",lt],positionLeft:[2,"positionLeft","positionLeft",lt],autoHide:[2,"autoHide","autoHide",U],fitContent:[2,"fitContent","fitContent",U],hideOnEscape:[2,"hideOnEscape","hideOnEscape",U],showOnEllipsis:[2,"showOnEllipsis","showOnEllipsis",U],content:[0,"pTooltip","content"],disabled:[0,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions",appendTo:[1,"appendTo"],ptTooltip:[1,"ptTooltip"],pTooltipPT:[1,"pTooltipPT"],pTooltipUnstyled:[1,"pTooltipUnstyled"]},features:[ge([yv,{provide:vv,useExisting:e},{provide:Ht,useExisting:e}]),G]})}return e})(),F$=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=se({imports:[li,li]})}return e})();function Ad(e){e||(e=g(ne));let n=new x(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(cl(n))}function W$(e,n){let r=!n?.manualCleanup?n?.injector?.get(ne)??g(ne):null,o=NT(n?.equal),i;n?.requireSync?i=R({kind:0},{equal:o}):i=R({kind:1,value:n?.initialValue},{equal:o});let s,a=e.subscribe({next:l=>i.set({kind:1,value:l}),error:l=>{i.set({kind:2,error:l}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new _(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),Z(()=>{let l=i();switch(l.kind){case 1:return l.value;case 2:throw l.error;case 0:throw new _(601,!1)}},{equal:n?.equal})}function NT(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var Dv=new v("DATA_SOURCE"),bv=class extends Error{code;details;constructor(n,t,r){super(t),this.name="DataSourceError",this.code=n,this.details=r}};function Nd(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 Ev(e){if(!Nd(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 Cv=new v("SKILL_MAP_MODE");function K$(){return typeof document>"u"?"live":document.querySelector('meta[name="skill-map-mode"]')?.content==="demo"?"demo":"live"}var ct={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 Iv=[1e3,2e3,4e3,8e3,16e3,3e4],xd=10,xT=new Set([1e3]);function OT(){return typeof window>"u"||!window.location?"ws://127.0.0.1:4242/ws":`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}var RT=new v("WS_SOCKET_FACTORY",{providedIn:"root",factory:()=>e=>new WebSocket(e)}),FT=new v("WS_URL",{providedIn:"root",factory:()=>OT()}),Na=class e{mode=g(Cv);destroyRef=g(ne);subject=new z;socket=null;reconnectTimer=null;reconnectAttempt=0;disposed=!1;socketFactory=g(RT);url=g(FT);events$;scanCompleted$;sidecarBumped$;constructor(){this.mode!=="live"?this.events$=mn:this.events$=new x(n=>{!this.socket&&!this.disposed&&this.connect();let t=this.subject.subscribe(n);return()=>t.unsubscribe()}).pipe(ll({resetOnRefCountZero:!1})),this.scanCompleted$=this.events$.pipe(yr(n=>n.type==="scan.completed")),this.sidecarBumped$=this.events$.pipe(yr(Ev)),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(ct.socketError(r)),this.scheduleReconnect();return}this.socket=n,n.onopen=()=>{this.reconnectAttempt=0,console.info(ct.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(ct.socketError(r))},n.onclose=t=>{console.info(ct.closed(t.code,t.reason)),this.socket=null,!this.disposed&&(xT.has(t.code)||this.scheduleReconnect())}}handleFrame(n){if(typeof n!="string"){console.warn(ct.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(ct.malformedFrame(o));return}if(!Nd(t)){console.warn(ct.malformedFrame("envelope shape"));return}this.subject.next(t)}scheduleReconnect(){if(this.disposed)return;if(this.reconnectAttempt>=xd){console.warn(ct.reconnectGiveUp(xd)),this.subject.error(new Error(ct.reconnectGiveUp(xd)));return}let n=Math.min(this.reconnectAttempt,Iv.length-1),t=Iv[n];this.reconnectAttempt+=1,console.info(ct.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=E({token:e,factory:e.\u0275fac,providedIn:"root"})};var _v=class e{dataSource=g(Dv);wsEvents=g(Na);destroyRef=g(ne);_nodes=R([]);_scan=R(null);_loading=R(!1);_error=R(null);pendingRefresh=!1;nodes=this._nodes.asReadonly();scan=this._scan.asReadonly();loading=this._loading.asReadonly();error=this._error.asReadonly();count=Z(()=>this._nodes().length);byKind=Z(()=>{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=Z(()=>this._nodes().some(n=>n.isFavorite===!0));constructor(){this.wsEvents.scanCompleted$.pipe(Ad(this.destroyRef)).subscribe(()=>{this.load()}),this.wsEvents.sidecarBumped$.pipe(Ad(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,N(m({},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=m({},s?.annotations??{});return n.version!==null&&(a.version=n.version),N(m({},i),{sidecar:m({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(kT))}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=E({token:e,factory:e.\u0275fac,providedIn:"root"})};function kT(e){let n=e.kind,t=e.frontmatter??{},r=N(m({},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=m({},e.sidecar)),e.contributions&&(o.contributions=[...e.contributions]),o}var Ov=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||e)(A($e),A(de))};static \u0275dir=P({type:e})}return e})(),PT=(()=>{class e extends Ov{static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275dir=P({type:e,features:[G]})}return e})(),Rv=new v("");var LT={provide:Rv,useExisting:wn(()=>Fv),multi:!0};function VT(){let e=er()?er().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var BT=new v(""),Fv=(()=>{class e extends Ov{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!VT())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(A($e),A(de),A(BT,8))};static \u0275dir=P({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Jr("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[ge([LT]),G]})}return e})();var jT=new v(""),HT=new v("");function kv(e){return e!=null}function Pv(e){return Zr(e)?ft(e):e}function Lv(e){let n={};return e.forEach(t=>{n=t!=null?m(m({},n),t):n}),Object.keys(n).length===0?null:n}function Vv(e,n){return n.map(t=>t(e))}function $T(e){return!e.validate}function Bv(e){return e.map(n=>$T(n)?n:t=>n.validate(t))}function UT(e){if(!e)return null;let n=e.filter(kv);return n.length==0?null:function(t){return Lv(Vv(t,n))}}function jv(e){return e!=null?UT(Bv(e)):null}function WT(e){if(!e)return null;let n=e.filter(kv);return n.length==0?null:function(t){let r=Vv(t,n).map(Pv);return ol(r).pipe(Mt(Lv))}}function Hv(e){return e!=null?WT(Bv(e)):null}function wv(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function GT(e){return e._rawValidators}function zT(e){return e._rawAsyncValidators}function Od(e){return e?Array.isArray(e)?e:[e]:[]}function Oa(e,n){return Array.isArray(e)?e.includes(n):e===n}function Sv(e,n){let t=Od(n);return Od(e).forEach(o=>{Oa(t,o)||t.push(o)}),t}function Tv(e,n){return Od(n).filter(t=>!Oa(e,t))}var Ra=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=jv(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Hv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},Rd=class extends Ra{name;get formDirective(){return null}get path(){return null}},pi=class extends Ra{_parent=null;name=null;valueAccessor=null},Fd=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var xU=(()=>{class e extends Fd{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(A(pi,2))};static \u0275dir=P({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&oi("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[G]})}return e})();var ci="VALID",xa="INVALID",oo="PENDING",ui="DISABLED",nr=class{},Fa=class extends nr{value;source;constructor(n,t){super(),this.value=n,this.source=t}},di=class extends nr{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},fi=class extends nr{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},io=class extends nr{status;source;constructor(n,t){super(),this.status=n,this.source=t}};var kd=class extends nr{source;constructor(n){super(),this.source=n}};function qT(e){return(ka(e)?e.validators:e)||null}function ZT(e){return Array.isArray(e)?jv(e):e||null}function YT(e,n){return(ka(n)?n.asyncValidators:e)||null}function QT(e){return Array.isArray(e)?Hv(e):e||null}function ka(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var Pd=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Ke(this.statusReactive)}set status(n){Ke(()=>this.statusReactive.set(n))}_status=Z(()=>this.statusReactive());statusReactive=R(void 0);get valid(){return this.status===ci}get invalid(){return this.status===xa}get pending(){return this.status===oo}get disabled(){return this.status===ui}get enabled(){return this.status!==ui}errors;get pristine(){return Ke(this.pristineReactive)}set pristine(n){Ke(()=>this.pristineReactive.set(n))}_pristine=Z(()=>this.pristineReactive());pristineReactive=R(!0);get dirty(){return!this.pristine}get touched(){return Ke(this.touchedReactive)}set touched(n){Ke(()=>this.touchedReactive.set(n))}_touched=Z(()=>this.touchedReactive());touchedReactive=R(!1);get untouched(){return!this.touched}_events=new z;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Sv(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Sv(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Tv(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Tv(n,this._rawAsyncValidators))}hasValidator(n){return Oa(this._rawValidators,n)}hasAsyncValidator(n){return Oa(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(N(m({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new fi(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new fi(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(N(m({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new di(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new di(!0,r))}markAsPending(n={}){this.status=oo;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new io(this.status,t)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(N(m({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=ui,this.errors=null,this._forEachChild(o=>{o.disable(N(m({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Fa(this.value,r)),this._events.next(new io(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(m({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=ci,this._forEachChild(r=>{r.enable(N(m({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(N(m({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ci||this.status===oo)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Fa(this.value,t)),this._events.next(new io(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(N(m({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ui:ci}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=oo,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=Pv(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){let r=t?this.get(t):this;return r?.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new io(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?ui:this.errors?xa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(oo)?oo:this._anyControlsHaveStatus(xa)?xa:ci}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,t),o&&this._events.next(new di(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new fi(this.touched,t)),n.onlySelf||this._parent?._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ka(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=ZT(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=QT(this._rawAsyncValidators)}};var $v=new v("",{factory:()=>Ld}),Ld="always";function KT(e,n){return[...n.path,e]}function JT(e,n,t=Ld){eM(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),tM(e,n),rM(e,n),nM(e,n),XT(e,n)}function Mv(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function XT(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function eM(e,n){let t=GT(e);n.validator!==null?e.setValidators(wv(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=zT(e);n.asyncValidator!==null?e.setAsyncValidators(wv(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();Mv(n._rawValidators,o),Mv(n._rawAsyncValidators,o)}function tM(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Uv(e,n)})}function nM(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Uv(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function Uv(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function rM(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function oM(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function iM(e){return Object.getPrototypeOf(e.constructor)===PT}function sM(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===Fv?t=i:iM(i)?r=i:o=i}),o||r||t||null}function Av(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Nv(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var aM=class extends Pd{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(qT(t),YT(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ka(t)&&(t.nonNullable||t.initialValueIsDefault)&&(Nv(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new kd(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Av(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Av(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){Nv(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var lM={provide:pi,useExisting:wn(()=>cM)},xv=Promise.resolve(),cM=(()=>{class e extends pi{_changeDetectorRef;callSetDisabledState;control=new aM;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ye;constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=sM(this,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),oM(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){JT(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){xv.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&U(r);xv.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?KT(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(A(Rd,9),A(jT,10),A(HT,10),A(Rv,10),A(Jn,8),A($v,8))};static \u0275dir=P({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ge([lM]),G,Ct]})}return e})();var uM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=se({})}return e})();var RU=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:$v,useValue:t.callSetDisabledState??Ld}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=se({imports:[uM]})}return e})();var jU=(()=>{class e extends we{modelValue=R(void 0);$filled=Z(()=>un(this.modelValue()));writeModelValue(t){this.modelValue.set(t)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=j(e)))(o||e)}})();static \u0275dir=P({type:e,features:[G]})}return e})();export{Te as a,eb as b,x as c,z as d,go as e,mn as f,b0 as g,ft as h,db as i,fb as j,pb as k,vn as l,hb as m,Mt as n,Cb as o,At as p,rl as q,Hi as r,_b as s,il as t,yr as u,kf as v,xb as w,sl as x,Rb as y,Fb as z,kb as A,Pb as B,Lb as C,cl as D,Vb as E,_ as F,_n as G,wn as H,E as I,se as J,$b as K,v as L,ve as M,g as N,Tn as O,Vl as P,Le as Q,rs as R,lD as S,pp as T,hp as U,Ar as V,wp as W,ce as X,pe as Y,ne as Z,kn as _,ye as $,Ie as aa,xt as ba,Pt as ca,bD as da,R as ea,ko as fa,he as ga,Ct as ha,j as ia,uu as ja,de as ka,tE as la,nE as ma,Kh as na,zn as oa,oE as pa,jn as qa,Vt as ra,Qs as sa,cE as ta,uE as ua,dE as va,fE as wa,pE as xa,mu as ya,fg as za,Ko as Aa,BE as Ba,yg as Ca,$E as Da,UE as Ea,_e as Fa,Pr as Ga,Vr as Ha,qn as Ia,Tu as Ja,Et as Ka,Go as La,$e as Ma,A as Na,at as Oa,Im as Pa,zu as Qa,Fe as Ra,fe as Sa,P as Ta,Yn as Ua,G as Va,jt as Wa,Mm as Xa,w_ as Ya,Zr as Za,Ju as _a,Rm as $a,ti as ab,x_ as bb,O_ as cb,Ue as db,Ss as eb,Ts as fb,V_ as gb,B_ as hb,j_ as ib,H_ as jb,$_ as kb,U_ as lb,X as mb,Wn as nb,Yr as ob,Qn as pb,Qr as qb,Kr as rb,ni as sb,Kn as tb,sn as ub,ha as vb,Bm as wb,Z_ as xb,Y_ as yb,ga as zb,Jr as Ab,$m as Bb,Qe as Cb,It as Db,_t as Eb,ma as Fb,Wm as Gb,Xr as Hb,eo as Ib,td as Jb,Gm as Kb,zm as Lb,X_ as Mb,to as Nb,oi as Ob,nd as Pb,xe as Qb,ii as Rb,no as Sb,rd as Tb,oy as Ub,iy as Vb,sy as Wb,Sw as Xb,ay as Yb,cy as Zb,Tw as _b,Mw as $b,ge as ac,Ow as bc,Rw as cc,ya as dc,Fw as ec,kw as fc,Pw as gc,Lw as hc,Vw as ic,Uw as jc,Ww as kc,Ke as lc,Z as mc,qw as nc,gy as oc,PV as pc,oe as qc,LV as rc,aS as sc,VV as tc,BV as uc,jV as vc,Jn as wc,$V as xc,U as yc,lt as zc,UV as Ac,WV as Bc,er as Cc,SS as Dc,vd as Ec,_a as Fc,wa as Gc,Vy as Hc,OS as Ic,RS as Jc,$y as Kc,Dd as Lc,Ed as Mc,Cd as Nc,wt as Oc,kS as Pc,Id as Qc,PS as Rc,tr as Sc,Nj as Tc,Xn as Uc,ZS as Vc,Bj as Wc,De as Xc,jj as Yc,Hj as Zc,$j as _c,Uj as $c,Wj as ad,zy as bd,cn as cd,Gj as dd,me as ed,wd as fd,h2 as gd,Ht as hd,we as id,Sd as jd,N2 as kd,x2 as ld,Ma as md,Qy as nd,We as od,li as pd,ev as qd,rv as rd,iv as sd,sv as td,cv as ud,TT as vd,p$ as wd,hv as xd,m$ as yd,Aa as zd,R$ as Ad,F$ as Bd,Ad as Cd,W$ as Dd,Dv as Ed,bv as Fd,Cv as Gd,K$ as Hd,Na as Id,_v as Jd,Rv as Kd,Fv as Ld,pi as Md,xU as Nd,cM as Od,RU as Pd,jU as Qd};