@skill-map/cli 0.20.0 → 0.21.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 (37) hide show
  1. package/dist/cli/tutorial/sm-tutorial.md +93 -14
  2. package/dist/cli.js +1332 -339
  3. package/dist/cli.js.map +1 -1
  4. package/dist/index.js +300 -238
  5. package/dist/index.js.map +1 -1
  6. package/dist/kernel/index.d.ts +91 -11
  7. package/dist/kernel/index.js +300 -238
  8. package/dist/kernel/index.js.map +1 -1
  9. package/dist/migrations/001_initial.sql +13 -0
  10. package/dist/ui/chunk-25AWRVIC.js +965 -0
  11. package/dist/ui/chunk-6FTVUS57.js +123 -0
  12. package/dist/ui/{chunk-LQTUSDHD.js → chunk-GXRWH2VL.js} +1 -1
  13. package/dist/ui/chunk-MF2M6GYF.js +1 -0
  14. package/dist/ui/{chunk-2W62S3FU.js → chunk-MPMBTIUR.js} +2 -2
  15. package/dist/ui/chunk-N366HMME.js +1 -0
  16. package/dist/ui/{chunk-QICH7GU2.js → chunk-OPPQMCMQ.js} +1 -1
  17. package/dist/ui/chunk-V3SZQETX.js +61 -0
  18. package/dist/ui/{chunk-HJSRMZTK.js → chunk-VVOEPDQD.js} +1 -1
  19. package/dist/ui/{chunk-DLT5AP43.js → chunk-W2EFGI3J.js} +1 -1
  20. package/dist/ui/chunk-W62WVNU4.js +251 -0
  21. package/dist/ui/index.html +2 -10
  22. package/dist/ui/main-NIYE2VFS.js +2 -0
  23. package/dist/ui/media/fa-brands-400-AHOAZHCU.woff2 +0 -0
  24. package/dist/ui/media/fa-regular-400-VRZYIBIZ.woff2 +0 -0
  25. package/dist/ui/media/fa-solid-900-MDEYK55F.woff2 +0 -0
  26. package/dist/ui/media/fa-v4compatibility-ETEVP6IB.woff2 +0 -0
  27. package/dist/ui/styles-M2FETVAG.css +1 -0
  28. package/migrations/001_initial.sql +13 -0
  29. package/package.json +2 -2
  30. package/dist/ui/chunk-C7QWBAYP.js +0 -247
  31. package/dist/ui/chunk-HOBQ4G4O.js +0 -125
  32. package/dist/ui/chunk-IBUV6OG2.js +0 -1
  33. package/dist/ui/chunk-UJRROL5X.js +0 -1
  34. package/dist/ui/chunk-VLNLJAUB.js +0 -61
  35. package/dist/ui/chunk-W3JLG7BI.js +0 -965
  36. package/dist/ui/main-QHE47BCM.js +0 -1
  37. package/dist/ui/styles-VJ5Q6D2X.css +0 -1
@@ -1,965 +0,0 @@
1
- import{$ as yf,C as uf,Ca as Ja,D as df,Da as bi,F as Ka,Fa as lr,Ja as G,L as ff,O as pf,Q as hf,S as gf,T as oo,U as mf,V as mi,Y as Zt,Z as yi,_ as ar,aa as vf,b as Ya,c as of,d as sr,da as vi,e as sf,ea as Oe,f as af,ha as cr,m as cf,q as lf,z as Qa}from"./chunk-3R7E3HPC.js";import{a as b,b as U,c as Za}from"./chunk-Q7L6LLAK.js";function M(e){return typeof e=="function"}function Jv(e){return M(e?.lift)}function O(e){return n=>{if(Jv(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 ur(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 Di=ur(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 io(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Ee=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(M(r))try{r()}catch(i){n=i instanceof Di?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{bf(i)}catch(s){n=n??[],s instanceof Di?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Di(n)}}add(n){var t;if(n&&n!==this)if(this.closed)bf(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&io(t,n)}remove(n){let{_finalizers:t}=this;t&&io(t,n),n instanceof e&&n._removeParent(this)}};Ee.EMPTY=(()=>{let e=new Ee;return e.closed=!0,e})();var Xa=Ee.EMPTY;function Ei(e){return e instanceof Ee||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function bf(e){M(e)?e():e.unsubscribe()}var et={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dr={setTimeout(e,n,...t){let{delegate:r}=dr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=dr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ii(e){dr.setTimeout(()=>{let{onUnhandledError:n}=et;if(n)n(e);else throw e})}function so(){}var Df=ec("C",void 0,void 0);function Ef(e){return ec("E",void 0,e)}function If(e){return ec("N",e,void 0)}function ec(e,n,t){return{kind:e,value:n,error:t}}var En=null;function fr(e){if(et.useDeprecatedSynchronousErrorHandling){let n=!En;if(n&&(En={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=En;if(En=null,t)throw r}}else e()}function Cf(e){et.useDeprecatedSynchronousErrorHandling&&En&&(En.errorThrown=!0,En.error=e)}var In=class extends Ee{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ei(n)&&n.add(this)):this.destination=tb}static create(n,t,r){return new tt(n,t,r)}next(n){this.isStopped?nc(If(n),this):this._next(n)}error(n){this.isStopped?nc(Ef(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?nc(Df,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()}}},Xv=Function.prototype.bind;function tc(e,n){return Xv.call(e,n)}var rc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ci(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ci(r)}else Ci(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ci(t)}}},tt=class extends In{constructor(n,t,r){super();let o;if(M(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&et.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&tc(n.next,i),error:n.error&&tc(n.error,i),complete:n.complete&&tc(n.complete,i)}):o=n}this.destination=new rc(o)}};function Ci(e){et.useDeprecatedSynchronousErrorHandling?Cf(e):Ii(e)}function eb(e){throw e}function nc(e,n){let{onStoppedNotification:t}=et;t&&dr.setTimeout(()=>t(e,n))}var tb={closed:!0,next:so,error:eb,complete:so};function P(e,n,t,r,o){return new oc(e,n,t,r,o)}var oc=class extends In{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function $e(e,n){return O((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var he=null,wi=!1,ic=1,nb=null,q=Symbol("SIGNAL");function T(e){let n=he;return he=e,n}function Ti(){return he}var Yt={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 Rt(e){if(wi)throw new Error("");if(he===null)return;he.consumerOnSignalRead(e);let n=he.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=he.recomputing;if(r&&(t=n!==void 0?n.nextProducer:he.producers,t!==void 0&&t.producer===e)){he.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===he&&(!r||ob(o,he)))return;let i=gr(he),s={producer:e,consumer:he,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};he.producersTail=s,n!==void 0?n.nextProducer=s:he.producers=s,i&&_f(e,s)}function wf(){ic++}function Tn(e){if(!(gr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ic)){if(!e.producerMustRecompute(e)&&!hr(e)){pr(e);return}e.producerRecomputeValue(e),pr(e)}}function sc(e){if(e.consumers===void 0)return;let n=wi;wi=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||rb(r)}}finally{wi=n}}function ac(){return he?.consumerAllowSignalWrites!==!1}function rb(e){e.dirty=!0,sc(e),e.consumerMarkedDirty?.(e)}function pr(e){e.dirty=!1,e.lastCleanEpoch=ic}function Ot(e){return e&&Tf(e),T(e)}function Tf(e){e.producersTail=void 0,e.recomputing=!0}function Qt(e,n){T(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(gr(e))do t=cc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function hr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Tn(t),r!==t.version))return!0}return!1}function Kt(e){if(gr(e)){let n=e.producers;for(;n!==void 0;)n=cc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function _f(e,n){let t=e.consumersTail,r=gr(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)_f(o.producer,o)}function cc(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!gr(n)){let i=n.producers;for(;i!==void 0;)i=cc(i)}return t}function gr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ao(e){nb?.(e)}function ob(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 lo(e,n){let t=Object.create(ib);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Tn(t),Rt(t),t.value===gt)throw t.error;return t.value};return r[q]=t,ao(t),r}var Cn=Symbol("UNSET"),wn=Symbol("COMPUTING"),gt=Symbol("ERRORED"),ib=U(b({},Yt),{value:Cn,dirty:!0,error:null,equal:co,kind:"computed",producerMustRecompute(e){return e.value===Cn||e.value===wn},producerRecomputeValue(e){if(e.value===wn)throw new Error("");let n=e.value;e.value=wn;let t=Ot(e),r,o=!1;try{r=e.computation(),T(null),o=n!==Cn&&n!==gt&&r!==gt&&e.equal(n,r)}catch(i){r=gt,e.error=i}finally{Qt(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function sb(){throw new Error}var Mf=sb;function Nf(e){Mf(e)}function lc(e){Mf=e}var ab=null;function uc(e,n){let t=Object.create(uo);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Af(t);return r[q]=t,ao(t),[r,s=>Jt(t,s),s=>Si(t,s)]}function Af(e){return Rt(e),e.value}function Jt(e,n){ac()||Nf(e),e.equal(e.value,n)||(e.value=n,cb(e))}function Si(e,n){ac()||Nf(e),Jt(e,n(e.value))}var uo=U(b({},Yt),{equal:co,value:void 0,kind:"signal"});function cb(e){e.version++,wf(),sc(e),ab?.(e)}var dc=U(b({},Yt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function fc(e){if(e.dirty=!1,e.version>0&&!hr(e))return;e.version++;let n=Ot(e);try{e.cleanup(),e.fn()}finally{Qt(e,n)}}var mr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function nt(e){return e}function lb(...e){return pc(e)}function pc(e){return e.length===0?nt:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var R=(()=>{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=db(t)?t:new tt(t,r,o);return fr(()=>{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=xf(r),new r((o,i)=>{let s=new tt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[mr](){return this}pipe(...t){return pc(t)(this)}toPromise(t){return t=xf(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 xf(e){var n;return(n=e??et.Promise)!==null&&n!==void 0?n:Promise}function ub(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function db(e){return e&&e instanceof In||ub(e)&&Ei(e)}var Rf=ur(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new _i(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Rf}next(t){fr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){fr(()=>{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(){fr(()=>{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?Xa:(this.currentObservers=null,i.push(t),new Ee(()=>{this.currentObservers=null,io(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new R;return t.source=this,t}}return e.create=(n,t)=>new _i(n,t),e})(),_i=class extends ee{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:Xa}};var fo=class extends ee{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 po=new R(e=>e.complete());function Of(e){return e&&M(e.schedule)}function kf(e){return e[e.length-1]}function Mi(e){return M(kf(e))?e.pop():void 0}function Xt(e){return Of(kf(e))?e.pop():void 0}function dN(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 Ff(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function Pf(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 Sn(e){return this instanceof Sn?(this.v=e,this):new Sn(e)}function Lf(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(p){return function(h){return Promise.resolve(h).then(p,d)}}function a(p,h){r[p]&&(o[p]=function(m){return new Promise(function(y,D){i.push([p,m,y,D])>1||c(p,m)})},h&&(o[p]=h(o[p])))}function c(p,h){try{l(r[p](h))}catch(m){f(i[0][3],m)}}function l(p){p.value instanceof Sn?Promise.resolve(p.value.v).then(u,d):f(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function f(p,h){p(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Bf(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 Pf=="function"?Pf(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Ni=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ai(e){return M(e?.then)}function xi(e){return M(e[mr])}function Ri(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function Oi(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 fb(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ki=fb();function Pi(e){return M(e?.[ki])}function Fi(e){return Lf(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Sn(t.read());if(o)return yield Sn(void 0);yield yield Sn(r)}}finally{t.releaseLock()}})}function Li(e){return M(e?.getReader)}function W(e){if(e instanceof R)return e;if(e!=null){if(xi(e))return pb(e);if(Ni(e))return hb(e);if(Ai(e))return gb(e);if(Ri(e))return jf(e);if(Pi(e))return mb(e);if(Li(e))return yb(e)}throw Oi(e)}function pb(e){return new R(n=>{let t=e[mr]();if(M(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function hb(e){return new R(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function gb(e){return new R(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ii)})}function mb(e){return new R(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function jf(e){return new R(n=>{vb(e,n).catch(t=>n.error(t))})}function yb(e){return jf(Fi(e))}function vb(e,n){var t,r,o,i;return Ff(this,void 0,void 0,function*(){try{for(t=Bf(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 Me(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 Bi(e,n=0){return O((t,r)=>{t.subscribe(P(r,o=>Me(r,e,()=>r.next(o),n),()=>Me(r,e,()=>r.complete(),n),o=>Me(r,e,()=>r.error(o),n)))})}function ji(e,n=0){return O((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Vf(e,n){return W(e).pipe(ji(n),Bi(n))}function Hf(e,n){return W(e).pipe(ji(n),Bi(n))}function $f(e,n){return new R(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Uf(e,n){return new R(t=>{let r;return Me(t,n,()=>{r=e[ki](),Me(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)}),()=>M(r?.return)&&r.return()})}function Vi(e,n){if(!e)throw new Error("Iterable cannot be null");return new R(t=>{Me(t,n,()=>{let r=e[Symbol.asyncIterator]();Me(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function zf(e,n){return Vi(Fi(e),n)}function Wf(e,n){if(e!=null){if(xi(e))return Vf(e,n);if(Ni(e))return $f(e,n);if(Ai(e))return Hf(e,n);if(Ri(e))return Vi(e,n);if(Pi(e))return Uf(e,n);if(Li(e))return zf(e,n)}throw Oi(e)}function en(e,n){return n?Wf(e,n):W(e)}function Hi(...e){let n=Xt(e);return en(e,n)}function bb(e,n){let t=M(e)?e:()=>e,r=o=>o.error(t());return new R(n?o=>n.schedule(r,0,o):r)}function Db(e){return!!e&&(e instanceof R||M(e.lift)&&M(e.subscribe))}var _n=ur(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Eb(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new tt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new _n)}});e.subscribe(i)})}var{isArray:Ib}=Array;function Cb(e,n){return Ib(n)?e(...n):e(n)}function $i(e){return $e(n=>Cb(e,n))}var{isArray:wb}=Array,{getPrototypeOf:Tb,prototype:Sb,keys:_b}=Object;function Ui(e){if(e.length===1){let n=e[0];if(wb(n))return{args:n,keys:null};if(Mb(n)){let t=_b(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Mb(e){return e&&typeof e=="object"&&Tb(e)===Sb}function zi(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Nb(...e){let n=Xt(e),t=Mi(e),{args:r,keys:o}=Ui(e);if(r.length===0)return en([],n);let i=new R(Ab(r,n,o?s=>zi(o,s):nt));return t?i.pipe($i(t)):i}function Ab(e,n,t=nt){return r=>{Gf(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Gf(n,()=>{let l=en(e[c],n),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Gf(e,n,t){e?Me(t,e,n):n()}function qf(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&n.complete()},p=m=>l<r?h(m):c.push(m),h=m=>{i&&n.next(m),l++;let y=!1;W(t(m,u++)).subscribe(P(n,D=>{o?.(D),i?p(D):n.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;c.length&&l<r;){let D=c.shift();s?Me(n,s,()=>h(D)):h(D)}f()}catch(D){n.error(D)}}))};return e.subscribe(P(n,p,()=>{d=!0,f()})),()=>{a?.()}}function Mn(e,n,t=1/0){return M(n)?Mn((r,o)=>$e((i,s)=>n(r,i,o,s))(W(e(r,o))),t):(typeof n=="number"&&(t=n),O((r,o)=>qf(r,o,e,t)))}function hc(e=1/0){return Mn(nt,e)}function Zf(){return hc(1)}function Wi(...e){return Zf()(en(e,Xt(e)))}function xb(e){return new R(n=>{W(e()).subscribe(n)})}function Rb(...e){let n=Mi(e),{args:t,keys:r}=Ui(e),o=new R(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;W(t[u]).subscribe(P(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?zi(r,a):a),i.complete())}))}});return n?o.pipe($i(n)):o}function ho(e,n){return O((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Yf(e){return O((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=W(e(s,Yf(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function gc(e,n){return M(n)?Mn(e,n,1):Mn(e,1)}function Qf(e){return O((n,t)=>{let r=!1;n.subscribe(P(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function mc(e){return e<=0?()=>po:O((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Kf(e=Ob){return O((n,t)=>{let r=!1;n.subscribe(P(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Ob(){return new _n}function yc(e){return O((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function kb(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ho((o,i)=>e(o,i,r)):nt,mc(1),t?Qf(n):Kf(()=>new _n))}function Pb(e){return e<=0?()=>po:O((n,t)=>{let r=[];n.subscribe(P(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Fb(e={}){let{connector:n=()=>new ee,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},h=()=>{let m=s;p(),m?.unsubscribe()};return O((m,y)=>{l++,!d&&!u&&f();let D=c=c??n();y.add(()=>{l--,l===0&&!d&&!u&&(a=vc(h,o))}),D.subscribe(y),!s&&l>0&&(s=new tt({next:A=>D.next(A),error:A=>{d=!0,f(),a=vc(p,t,A),D.error(A)},complete:()=>{u=!0,f(),a=vc(p,r),D.complete()}}),W(m).subscribe(s))})(i)}}function vc(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new tt({next:()=>{r.unsubscribe(),e()}});return W(n(...t)).subscribe(r)}function Lb(...e){let n=Xt(e);return O((t,r)=>{(n?Wi(e,t,n):Wi(e,t)).subscribe(r)})}function bc(e,n){return O((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;W(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Bb(e){return O((n,t)=>{W(e).subscribe(P(t,()=>t.complete(),so)),!t.closed&&n.subscribe(t)})}function jb(e,n,t){let r=M(e)||n||t?{next:e,error:n,complete:t}:e;return r?O((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):nt}var Dc;function Gi(){return Dc}function mt(e){let n=Dc;return Dc=e,n}var Jf=Symbol("NotFound");function yr(e){return e===Jf||e?.name==="\u0275NotFound"}function Ec(e,n,t){let r=Object.create(Vb);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(Tn(r),Rt(r),r.value===gt)throw r.error;return r.value};return i[q]=r,ao(r),i}function Xf(e,n){Tn(e),Jt(e,n),pr(e)}function ep(e,n){if(Tn(e),e.value===gt)throw e.error;Si(e,n),pr(e)}var Vb=U(b({},Yt),{value:Cn,dirty:!0,error:null,equal:co,kind:"linkedSignal",producerMustRecompute(e){return e.value===Cn||e.value===wn},producerRecomputeValue(e){if(e.value===wn)throw new Error("");let n=e.value;e.value=wn;let t=Ot(e),r,o=!1;try{let i=e.source(),s=n!==Cn&&n!==gt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,T(null),o=s&&r!==gt&&e.equal(n,r)}catch(i){r=gt,e.error=i}finally{Qt(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function tp(e){let n=T(null);try{return e()}finally{T(n)}}var Xi="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",I=class extends Error{code;constructor(n,t){super(rn(n,t)),this.code=n}};function Hb(e){return`NG0${Math.abs(e)}`}function rn(e,n){return`${Hb(e)}${n?": "+n:""}`}var on=globalThis;function F(e){for(let n in e)if(e[n]===F)return n;throw Error("")}function sp(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Eo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Eo).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 es(e,n){return e?n?`${e} ${n}`:e:n||""}var $b=F({__forward_ref__:F});function ts(e){return e.__forward_ref__=ts,e}function se(e){return kc(e)?e():e}function kc(e){return typeof e=="function"&&e.hasOwnProperty($b)&&e.__forward_ref__===ts}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function le(e){return{providers:e.providers||[],imports:e.imports||[]}}function Io(e){return zb(e,ns)}function Ub(e){return Io(e)!==null}function zb(e,n){return e.hasOwnProperty(n)&&e[n]||null}function Wb(e){let n=e?.[ns]??null;return n||null}function Cc(e){return e&&e.hasOwnProperty(Zi)?e[Zi]:null}var ns=F({\u0275prov:F}),Zi=F({\u0275inj:F}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Pc(e){return e&&!!e.\u0275providers}var Fc=F({\u0275cmp:F}),Lc=F({\u0275dir:F}),Bc=F({\u0275pipe:F}),jc=F({\u0275mod:F}),mo=F({\u0275fac:F}),kn=F({__NG_ELEMENT_ID__:F}),np=F({__NG_ENV_ID__:F});function Vc(e){return rs(e,"@NgModule"),e[jc]||null}function vt(e){return rs(e,"@Component"),e[Fc]||null}function Co(e){return rs(e,"@Directive"),e[Lc]||null}function Hc(e){return rs(e,"@Pipe"),e[Bc]||null}function rs(e,n){if(e==null)throw new I(-919,!1)}function bt(e){return typeof e=="string"?e:e==null?"":String(e)}var ap=F({ngErrorCode:F}),Gb=F({ngErrorMessage:F}),qb=F({ngTokenPath:F});function $c(e,n){return cp("",-200,n)}function os(e,n){throw new I(-201,!1)}function cp(e,n,t){let r=new I(n,e);return r[ap]=n,r[Gb]=e,t&&(r[qb]=t),r}function Zb(e){return e[ap]}var wc;function lp(){return wc}function ke(e){let n=wc;return wc=e,n}function Uc(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;os(e,"")}var Yb={},Nn=Yb,Qb="__NG_DI_FLAG__",Tc=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=An(t)||0;try{return this.injector.get(n,r&8?null:Nn,r)}catch(o){if(yr(o))return o;throw o}}};function Kb(e,n=0){let t=Gi();if(t===void 0)throw new I(-203,!1);if(t===null)return Uc(e,void 0,n);{let r=Jb(n),o=t.retrieve(e,r);if(yr(o)){if(r.optional)return null;throw o}return o}}function S(e,n=0){return(lp()||Kb)(se(e),n)}function g(e,n){return S(e,An(n))}function An(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Jb(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Sc(e){let n=[];for(let t=0;t<e.length;t++){let r=se(e[t]);if(Array.isArray(r)){if(r.length===0)throw new I(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Xb(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(S(o,i))}else n.push(S(r))}return n}function Xb(e){return e[Qb]}function xn(e,n){let t=e.hasOwnProperty(mo);return t?e[mo]:null}function up(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 dp(e){return e.flat(Number.POSITIVE_INFINITY)}function is(e,n){e.forEach(t=>Array.isArray(t)?is(t,n):n(t))}function zc(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 fp(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function pp(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 To(e,n,t){let r=br(e,n);return r>=0?e[r|1]=t:(r=~r,pp(e,r,n,t)),r}function ss(e,n){let t=br(e,n);if(t>=0)return e[t|1]}function br(e,n){return eD(e,n,1)}function eD(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 rt={},ge=[],Pn=new C(""),Wc=new C("",-1),Gc=new C(""),yo=class{get(n,t=Nn){if(t===Nn){let o=cp("",-201);throw o.name="\u0275NotFound",o}return t}};function Dt(e){return{\u0275providers:e}}function hp(e){return Dt([{provide:Pn,multi:!0,useValue:e}])}function gp(...e){return{\u0275providers:as(!0,e),\u0275fromNgModule:!0}}function as(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return is(n,s=>{let a=s;Yi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&mp(o,i),t}function mp(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];qc(o,i=>{n(i,r)})}}function Yi(e,n,t,r){if(e=se(e),!e)return!1;let o=null,i=Cc(e),s=!i&&vt(e);if(!i&&!s){let c=e.ngModule;if(i=Cc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Yi(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;is(i.imports,u=>{Yi(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&mp(l,n)}if(!a){let l=xn(o)||(()=>new o);n({provide:o,useFactory:l,deps:ge},o),n({provide:Gc,useValue:o,multi:!0},o),n({provide:Pn,useValue:()=>S(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;qc(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function qc(e,n){for(let t of e)Pc(t)&&(t=t.\u0275providers),Array.isArray(t)?qc(t,n):n(t)}var tD=F({provide:String,useValue:F});function yp(e){return e!==null&&typeof e=="object"&&tD in e}function nD(e){return!!(e&&e.useExisting)}function rD(e){return!!(e&&e.useFactory)}function Rn(e){return typeof e=="function"}function vp(e){return!!e.useClass}var So=new C(""),qi={},rp={},Ic;function _o(){return Ic===void 0&&(Ic=new yo),Ic}var me=class{},On=class extends me{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,Mc(n,s=>this.processProvider(s)),this.records.set(Wc,vr(void 0,this)),o.has("environment")&&this.records.set(me,vr(void 0,this));let i=this.records.get(So);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Gc,ge,{self:!0}))}retrieve(n,t){let r=An(t)||0;try{return this.get(n,Nn,r)}catch(o){if(yr(o))return o;throw o}}destroy(){go(this),this._destroyed=!0;let n=T(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(n)}}onDestroy(n){return go(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){go(this);let t=mt(this),r=ke(void 0),o;try{return n()}finally{mt(t),ke(r)}}get(n,t=Nn,r){if(go(this),n.hasOwnProperty(np))return n[np](this);let o=An(r),i,s=mt(this),a=ke(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=cD(n)&&Io(n);u&&this.injectableDefInScope(u)?l=vr(_c(n),qi):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?_o():this.parent;return t=o&8&&t===Nn?null:t,c.get(n,t)}catch(c){let l=Zb(c);throw l===-200||l===-201?new I(l,null):c}finally{ke(a),mt(s)}}resolveInjectorInitializers(){let n=T(null),t=mt(this),r=ke(void 0),o;try{let i=this.get(Pn,ge,{self:!0});for(let s of i)s()}finally{mt(t),ke(r),T(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=se(n);let t=Rn(n)?n:se(n&&n.provide),r=iD(n);if(!Rn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=vr(void 0,qi,!0),o.factory=()=>Sc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=T(null);try{if(t.value===rp)throw $c("");return t.value===qi&&(t.value=rp,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&aD(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{T(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=se(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 _c(e){let n=Io(e),t=n!==null?n.factory:xn(e);if(t!==null)return t;if(e instanceof C)throw new I(-204,!1);if(e instanceof Function)return oD(e);throw new I(-204,!1)}function oD(e){if(e.length>0)throw new I(-204,!1);let t=Wb(e);return t!==null?()=>t.factory(e):()=>new e}function iD(e){if(yp(e))return vr(void 0,e.useValue);{let n=Zc(e);return vr(n,qi)}}function Zc(e,n,t){let r;if(Rn(e)){let o=se(e);return xn(o)||_c(o)}else if(yp(e))r=()=>se(e.useValue);else if(rD(e))r=()=>e.useFactory(...Sc(e.deps||[]));else if(nD(e))r=(o,i)=>S(se(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=se(e&&(e.useClass||e.provide));if(sD(e))r=()=>new o(...Sc(e.deps));else return xn(o)||_c(o)}return r}function go(e){if(e.destroyed)throw new I(-205,!1)}function vr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function sD(e){return!!e.deps}function aD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function cD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Mc(e,n){for(let t of e)Array.isArray(t)?Mc(t,n):t&&Pc(t)?Mc(t.\u0275providers,n):n(t)}function Dr(e,n){let t;e instanceof On?(go(e),t=e):t=new Tc(e);let r,o=mt(t),i=ke(void 0);try{return n()}finally{mt(o),ke(i)}}function bp(){return lp()!==void 0||Gi()!=null}var ot=0,w=1,_=2,te=3,ze=4,Ie=5,Fn=6,Er=7,J=8,ne=9,it=10,L=11,Ir=12,Yc=13,Ln=14,Ce=15,sn=16,Bn=17,Et=18,It=19,Qc=20,kt=21,cs=22,tn=23,Fe=24,jn=25,Ct=26,j=27,Dp=1,an=6,cn=7,Mo=8,Vn=9,Z=10;function Pt(e){return Array.isArray(e)&&typeof e[Dp]=="object"}function st(e){return Array.isArray(e)&&e[Dp]===!0}function Kc(e){return(e.flags&4)!==0}function Ft(e){return e.componentOffset>-1}function Cr(e){return(e.flags&1)===1}function at(e){return!!e.template}function wr(e){return(e[_]&512)!==0}function ln(e){return(e[_]&256)===256}var Jc="svg",Ep="math";function We(e){for(;Array.isArray(e);)e=e[ot];return e}function Xc(e,n){return We(n[e])}function Le(e,n){return We(n[e.index])}function Tr(e,n){return e.data[n]}function el(e,n){return e[n]}function ls(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ge(e,n){let t=n[e];return Pt(t)?t:t[ot]}function Ip(e){return(e[_]&4)===4}function us(e){return(e[_]&128)===128}function Cp(e){return st(e[te])}function Be(e,n){return n==null?null:e[n]}function tl(e){e[Bn]=0}function nl(e){e[_]&1024||(e[_]|=1024,us(e)&&Hn(e))}function wp(e,n){for(;e>0;)n=n[Ln],e--;return n}function No(e){return!!(e[_]&9216||e[Fe]?.dirty)}function ds(e){e[it].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),No(e)&&Hn(e)}function Hn(e){e[it].changeDetectionScheduler?.notify(0);let n=nn(e);for(;n!==null&&!(n[_]&8192||(n[_]|=8192,!us(n)));)n=nn(n)}function fs(e,n){if(ln(e))throw new I(911,!1);e[kt]===null&&(e[kt]=[]),e[kt].push(n)}function rl(e,n){if(e[kt]===null)return;let t=e[kt].indexOf(n);t!==-1&&e[kt].splice(t,1)}function nn(e){let n=e[te];return st(n)?n[te]:n}function ol(e){return e[Er]??=[]}function il(e){return e.cleanup??=[]}function Tp(e,n,t,r){let o=ol(n);o.push(t),e.firstCreatePass&&il(e).push(r,o.length-1)}var N={lFrame:Lp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Nc=!1;function Sp(){return N.lFrame.elementDepthCount}function _p(){N.lFrame.elementDepthCount++}function sl(){N.lFrame.elementDepthCount--}function ps(){return N.bindingsEnabled}function al(){return N.skipHydrationRootTNode!==null}function cl(e){return N.skipHydrationRootTNode===e}function ll(){N.skipHydrationRootTNode=null}function E(){return N.lFrame.lView}function V(){return N.lFrame.tView}function Mp(e){return N.lFrame.contextLView=e,e[J]}function Np(e){return N.lFrame.contextLView=null,e}function Y(){let e=ul();for(;e!==null&&e.type===64;)e=e.parent;return e}function ul(){return N.lFrame.currentTNode}function Ap(){let e=N.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function $n(e,n){let t=N.lFrame;t.currentTNode=e,t.isParent=n}function dl(){return N.lFrame.isParent}function fl(){N.lFrame.isParent=!1}function pl(){return N.lFrame.contextLView}function hl(){return Nc}function vo(e){let n=Nc;return Nc=e,n}function Lt(){let e=N.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function gl(){return N.lFrame.bindingIndex}function xp(e){return N.lFrame.bindingIndex=e}function Bt(){return N.lFrame.bindingIndex++}function Ao(e){let n=N.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Rp(){return N.lFrame.inI18n}function Op(e,n){let t=N.lFrame;t.bindingIndex=t.bindingRootIndex=e,hs(n)}function kp(){return N.lFrame.currentDirectiveIndex}function hs(e){N.lFrame.currentDirectiveIndex=e}function Pp(e){let n=N.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function gs(){return N.lFrame.currentQueryIndex}function xo(e){N.lFrame.currentQueryIndex=e}function lD(e){let n=e[w];return n.type===2?n.declTNode:n.type===1?e[Ie]:null}function ml(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=lD(i),o===null||(i=i[Ln],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=N.lFrame=Fp();return r.currentTNode=n,r.lView=e,!0}function ms(e){let n=Fp(),t=e[w];N.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Fp(){let e=N.lFrame,n=e===null?null:e.child;return n===null?Lp(e):n}function Lp(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 Bp(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var yl=Bp;function ys(){let e=Bp();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 jp(e){return(N.lFrame.contextLView=wp(e,N.lFrame.contextLView))[J]}function qe(){return N.lFrame.selectedIndex}function un(e){N.lFrame.selectedIndex=e}function Sr(){let e=N.lFrame;return Tr(e.tView,e.selectedIndex)}function _r(){N.lFrame.currentNamespace=Jc}function Vp(){return N.lFrame.currentNamespace}var Hp=!0;function vs(){return Hp}function Ro(e){Hp=e}function Ac(e,n=null,t=null,r){let o=vl(e,n,t,r);return o.resolveInjectorInitializers(),o}function vl(e,n=null,t=null,r,o=new Set){let i=[t||ge,gp(e)],s;return new On(i,n||_o(),s||null,o)}var ue=class e{static THROW_IF_NOT_FOUND=Nn;static NULL=new yo;static create(n,t){if(Array.isArray(n))return Ac({name:""},t,n,"");{let r=n.name??"";return Ac({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>S(Wc)});static __NG_ELEMENT_ID__=-1},B=new C(""),Ze=(()=>{class e{static __NG_ELEMENT_ID__=uD;static __NG_ENV_ID__=t=>t}return e})(),Qi=class extends Ze{_lView;constructor(n){super(),this._lView=n}get destroyed(){return ln(this._lView)}onDestroy(n){let t=this._lView;return fs(t,n),()=>rl(t,n)}};function uD(){return new Qi(E())}var $p=!1,Up=new C(""),Un=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new fo(!1);debugTaskTracker=g(Up,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new R(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),xc=class extends ee{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,bp()&&(this.destroyRef=g(Ze,{optional:!0})??void 0,this.pendingTasks=g(Un,{optional:!0})??void 0)}emit(n){let t=T(null);try{super.next(n)}finally{T(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof Ee&&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)}})}}},Pe=xc;function Ki(...e){}function bl(e){let n,t;function r(){e=Ki;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 zp(e){return queueMicrotask(()=>e()),()=>{e=Ki}}var Dl="isAngularZone",bo=Dl+"_ID",dD=0,ae=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Pe(!1);onMicrotaskEmpty=new Pe(!1);onStable=new Pe(!1);onError=new Pe(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=$p}=n;if(typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,hD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Dl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new I(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,fD,Ki,Ki);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)}},fD={};function El(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 pD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){bl(()=>{e.callbackScheduled=!1,Rc(e),e.isCheckStableRunning=!0,El(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Rc(e)}function hD(e){let n=()=>{pD(e)},t=dD++;e._inner=e._inner.fork({name:"angular",properties:{[Dl]:!0,[bo]:t,[bo+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(gD(c))return r.invokeTask(i,s,a,c);try{return op(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),ip(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return op(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!mD(c)&&n(),ip(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Rc(e),El(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 Rc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function op(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ip(e){e._nesting--,El(e)}var Do=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Pe;onMicrotaskEmpty=new Pe;onStable=new Pe;onError=new Pe;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 gD(e){return Wp(e,"__ignore_ng_zone__")}function mD(e){return Wp(e,"__scheduler_tick__")}function Wp(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Ue=class{_console=console;handleError(n){this._console.error("ERROR",n)}},jt=new C("",{factory:()=>{let e=g(ae),n=g(me),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Ue),t.handleError(r))})}}}),Gp={provide:Pn,useValue:()=>{let e=g(Ue,{optional:!0})},multi:!0},yD=new C("",{factory:()=>{let e=g(B).defaultView;if(!e)return;let n=g(jt),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(Ze).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function vD(){return Dt([hp(()=>{g(yD)})])}function re(e,n){let[t,r,o]=uc(e,n?.equal),i=t,s=i[q];return i.set=r,i.update=o,i.asReadonly=Oo.bind(i),i}function Oo(){let e=this[q];if(e.readonlyFn===void 0){let n=()=>this();n[q]=e,e.readonlyFn=n}return e.readonlyFn}var Mr=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=bD}return e})();function bD(){return new Mr(E(),Y())}var yt=class{},ko=new C("",{factory:()=>!0});var Il=new C(""),Nr=(()=>{class e{internalPendingTasks=g(Un);scheduler=g(yt);errorHandler=g(jt);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),bs=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new Oc})}return e})(),Oc=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}},Ji=class{[q];constructor(n){this[q]=n}destroy(){this[q].destroy()}};function Ne(e,n){let t=n?.injector??g(ue),r=n?.manualCleanup!==!0?t.get(Ze):null,o,i=t.get(Mr,null,{optional:!0}),s=t.get(yt);return i!==null?(o=ID(i.view,s,e),r instanceof Qi&&r._lView===i.view&&(r=null)):o=CD(e,t.get(bs),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ji(o)}var qp=U(b({},dc),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=vo(!1);try{fc(this)}finally{vo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=T(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],T(e)}}}),DD=U(b({},qp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Kt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),ED=U(b({},qp),{consumerMarkedDirty(){this.view[_]|=8192,Hn(this.view),this.notifier.notify(13)},destroy(){if(Kt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[tn]?.delete(this)}});function ID(e,n,t){let r=Object.create(ED);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Zp(r,t),e[tn]??=new Set,e[tn].add(r),r.consumerMarkedDirty(r),r}function CD(e,n,t){let r=Object.create(DD);return r.fn=Zp(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 Zp(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function qo(e){return{toString:e}.toString()}function xD(e){return typeof e=="function"}function $h(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Rs=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},jr=(()=>{let e=()=>Uh;return e.ngInherit=!0,e})();function Uh(e){return e.type.prototype.ngOnChanges&&(e.setInput=OD),RD}function RD(){let e=Wh(this),n=e?.current;if(n){let t=e.previous;if(t===rt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function OD(e,n,t,r,o){let i=this.declaredInputs[r],s=Wh(e)||kD(e,{previous:rt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Rs(l&&l.currentValue,t,c===rt),$h(e,n,o,t)}var zh="__ngSimpleChanges__";function Wh(e){return e[zh]||null}function kD(e,n){return e[zh]=n}var Yp=[];var k=function(e,n=null,t){for(let r=0;r<Yp.length;r++){let o=Yp[r];o(e,n,t)}},x=(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})(x||{});function PD(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Uh(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 Gh(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function ws(e,n,t){qh(e,n,3,t)}function Ts(e,n,t,r){(e[_]&3)===t&&qh(e,n,t,r)}function Cl(e,n){let t=e[_];(t&3)===n&&(t&=16383,t+=1,e[_]=t)}function qh(e,n,t,r){let o=r!==void 0?e[Bn]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[Bn]+=65536),(a<i||i==-1)&&(FD(e,t,n,c),e[Bn]=(e[Bn]&4294901760)+c+2),c++}function Qp(e,n){k(x.LifecycleHookStart,e,n);let t=T(null);try{n.call(e)}finally{T(t),k(x.LifecycleHookEnd,e,n)}}function FD(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[_]>>14<e[Bn]>>16&&(e[_]&3)===n&&(e[_]+=16384,Qp(a,i)):Qp(a,i)}var xr=-1,qn=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 BD(e){return(e.flags&16)!==0}function jD(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];VD(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Zh(e){return e===3||e===4||e===6}function VD(e){return e.charCodeAt(0)===64}function Or(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?Kp(e,t,o,null,n[++r]):Kp(e,t,o,null,null))}}return e}function Kp(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 Yh(e){return e!==xr}function Os(e){return e&32767}function HD(e){return e>>16}function ks(e,n){let t=HD(e),r=n;for(;t>0;)r=r[Ln],t--;return r}var Pl=!0;function Jp(e){let n=Pl;return Pl=e,n}var $D=256,Qh=$D-1,Kh=5,UD=0,wt={};function zD(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(kn)&&(r=t[kn]),r==null&&(r=t[kn]=UD++);let o=r&Qh,i=1<<o;n.data[e+(o>>Kh)]|=i}function Ps(e,n){let t=Jh(e,n);if(t!==-1)return t;let r=n[w];r.firstCreatePass&&(e.injectorIndex=n.length,wl(r.data,e),wl(n,null),wl(r.blueprint,null));let o=yu(e,n),i=e.injectorIndex;if(Yh(o)){let s=Os(o),a=ks(o,n),c=a[w].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function wl(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Jh(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function yu(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=rg(o),r===null)return xr;if(t++,o=o[Ln],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return xr}function Fl(e,n,t){zD(e,n,t)}function WD(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(Zh(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 Xh(e,n,t){if(t&8||e!==void 0)return e;os(n,"NodeInjector")}function eg(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[ne],i=ke(void 0);try{return o?o.get(n,r,t&8):Uc(n,r,t&8)}finally{ke(i)}}return Xh(r,n,t)}function tg(e,n,t,r=0,o){if(e!==null){if(n[_]&2048&&!(r&2)){let s=YD(e,n,t,r,wt);if(s!==wt)return s}let i=ng(e,n,t,r,wt);if(i!==wt)return i}return eg(n,t,r,o)}function ng(e,n,t,r,o){let i=qD(t);if(typeof i=="function"){if(!ml(n,e,r))return r&1?Xh(o,t,r):eg(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))os(t);else return s}finally{yl()}}else if(typeof i=="number"){let s=null,a=Jh(e,n),c=xr,l=r&1?n[Ce][Ie]:null;for((a===-1||r&4)&&(c=a===-1?yu(e,n):n[a+8],c===xr||!eh(r,!1)?a=-1:(s=n[w],a=Os(c),n=ks(c,n)));a!==-1;){let u=n[w];if(Xp(i,a,u.data)){let d=GD(a,n,t,s,r,l);if(d!==wt)return d}c=n[a+8],c!==xr&&eh(r,n[w].data[a+8]===l)&&Xp(i,a,n)?(s=u,a=Os(c),n=ks(c,n)):a=-1}}return o}function GD(e,n,t,r,o,i){let s=n[w],a=s.data[e+8],c=r==null?Ft(a)&&Pl:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Ss(a,s,t,c,l);return u!==null?Bo(n,s,u,a,o):wt}function Ss(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p<f;p++){let h=s[p];if(p<c&&t===h||p>=c&&h.type===t)return p}if(o){let p=s[c];if(p&&at(p)&&p.type===t)return c}return null}function Bo(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof qn){let a=i;if(a.resolving)throw $c("");let c=Jp(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?ke(a.injectImpl):null,f=ml(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&PD(t,s[t],n)}finally{d!==null&&ke(d),Jp(c),a.resolving=!1,yl()}}return i}function qD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(kn)?e[kn]:void 0;return typeof n=="number"?n>=0?n&Qh:ZD:n}function Xp(e,n,t){let r=1<<e;return!!(t[n+(e>>Kh)]&r)}function eh(e,n){return!(e&2)&&!(e&1&&n)}var Wn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return tg(this._tNode,this._lView,n,An(r),t)}};function ZD(){return new Wn(Y(),E())}function z(e){return qo(()=>{let n=e.prototype.constructor,t=n[mo]||Ll(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[mo]||Ll(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ll(e){return kc(e)?()=>{let n=Ll(se(e));return n&&n()}:xn(e)}function YD(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[_]&2048&&!wr(s);){let a=ng(i,s,t,r|2,wt);if(a!==wt)return a;let c=i.parent;if(!c){let l=s[Qc];if(l){let u=l.get(t,wt,r&-5);if(u!==wt)return u}c=rg(s),s=s[Ln]}i=c}return o}function rg(e){let n=e[w],t=n.type;return t===2?n.declTNode:t===1?e[Ie]:null}function vu(e){return WD(Y(),e)}function QD(){return Vr(Y(),E())}function Vr(e,n){return new xe(Le(e,n))}var xe=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=QD}return e})();function og(e){return e instanceof xe?e.nativeElement:e}function KD(){return this._results[Symbol.iterator]()}var Fs=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 ee}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=dp(n);(this._changesDetected=!up(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 ig(e){return(e.flags&128)===128}var bu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(bu||{}),sg=new Map,JD=0;function XD(){return JD++}function eE(e){sg.set(e[It],e)}function Bl(e){sg.delete(e[It])}var th="__ngContext__";function kr(e,n){Pt(n)?(e[th]=n[It],eE(n)):e[th]=n}function ag(e){return lg(e[Ir])}function cg(e){return lg(e[ze])}function lg(e){for(;e!==null&&!st(e);)e=e[ze];return e}var jl;function Du(e){jl=e}function ug(){if(jl!==void 0)return jl;if(typeof document<"u")return document;throw new I(210,!1)}var Qs=new C("",{factory:()=>tE}),tE="ng";var Ks=new C(""),dt=new C("",{providedIn:"platform",factory:()=>"unknown"});var Zo=new C("",{factory:()=>g(B).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var dg="r";var Eu="di",Iu="s";var fg=!1,pg=new C("",{factory:()=>fg});var hg=new C("");var nE=(e,n,t,r)=>{};function rE(e,n,t,r){nE(e,n,t,r)}var gg=new C("");function Js(e){return(e.flags&32)===32}var oE=()=>null;function mg(e,n,t=!1){return oE(e,n,t)}function Cu(e){return e.get(hg,!1,{optional:!0})}function yg(e,n){let t=e.contentQueries;if(t!==null){let r=T(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];xo(i),a.contentQueries(2,n[s],s)}}}finally{T(r)}}}function Vl(e,n,t){xo(0);let r=T(null);try{n(e,t)}finally{T(r)}}function wu(e,n,t){if(Kc(n)){let r=T(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{T(r)}}}var lt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(lt||{});var Ds;function iE(){if(Ds===void 0&&(Ds=null,on.trustedTypes))try{Ds=on.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ds}function Xs(e){return iE()?.createHTML(e)||e}var Es;function vg(){if(Es===void 0&&(Es=null,on.trustedTypes))try{Es=on.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Es}function nh(e){return vg()?.createHTML(e)||e}function rh(e){return vg()?.createScriptURL(e)||e}var Vt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xi})`}},Hl=class extends Vt{getTypeName(){return"HTML"}},$l=class extends Vt{getTypeName(){return"Style"}},Ul=class extends Vt{getTypeName(){return"Script"}},zl=class extends Vt{getTypeName(){return"URL"}},Wl=class extends Vt{getTypeName(){return"ResourceURL"}};function je(e){return e instanceof Vt?e.changingThisBreaksApplicationSecurity:e}function St(e,n){let t=bg(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Xi})`)}return t===n}function bg(e){return e instanceof Vt&&e.getTypeName()||null}function Tu(e){return new Hl(e)}function Su(e){return new $l(e)}function _u(e){return new Ul(e)}function Mu(e){return new zl(e)}function Nu(e){return new Wl(e)}function sE(e){let n=new ql(e);return aE()?new Gl(n):n}var Gl=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Xs(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},ql=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=Xs(n),t}};function aE(){try{return!!new window.DOMParser().parseFromString(Xs(""),"text/html")}catch{return!1}}var cE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yo(e){return e=String(e),e.match(cE)?e:"unsafe:"+e}function Ht(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 Dg=Ht("area,br,col,hr,img,wbr"),Eg=Ht("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ig=Ht("rp,rt"),lE=Qo(Ig,Eg),uE=Qo(Eg,Ht("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")),dE=Qo(Ig,Ht("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")),oh=Qo(Dg,uE,dE,lE),Cg=Ht("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fE=Ht("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"),pE=Ht("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"),hE=Qo(Cg,fE,pE),gE=Ht("script,style,template");var Zl=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=vE(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=yE(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=ih(n).toLowerCase();if(!oh.hasOwnProperty(t))return this.sanitizedSomething=!0,!gE.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(!hE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Cg[a]&&(c=Yo(c)),this.buf.push(" ",s,'="',sh(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=ih(n).toLowerCase();oh.hasOwnProperty(t)&&!Dg.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(sh(n))}};function mE(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function yE(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw wg(n);return n}function vE(e){let n=e.firstChild;if(n&&mE(e,n))throw wg(n);return n}function ih(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function wg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var bE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,DE=/([^\#-~ |!])/g;function sh(e){return e.replace(/&/g,"&amp;").replace(bE,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(DE,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Is;function ea(e,n){let t=null;try{Is=Is||sE(e);let r=n?String(n):"";t=Is.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=Is.getInertBodyElement(r)}while(r!==i);let a=new Zl().sanitizeChildren(ah(t)||t);return Xs(a)}finally{if(t){let r=ah(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function ah(e){return"content"in e&&EE(e)?e.content:null}function EE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var IE=/^>|^->|<!--|-->|--!>|<!-$/g,CE=/(<|>)/g,wE="\u200B$1\u200B";function TE(e){return e.replace(IE,n=>n.replace(CE,wE))}function SE(e,n){return e.createText(n)}function _E(e,n,t){e.setValue(n,t)}function ME(e,n){return e.createComment(TE(n))}function Tg(e,n,t){return e.createElement(n,t)}function Ls(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Sg(e,n,t){e.appendChild(n,t)}function ch(e,n,t,r,o){r!==null?Ls(e,n,t,r,o):Sg(e,n,t)}function _g(e,n,t,r){e.removeChild(null,n,t,r)}function NE(e,n,t){e.setAttribute(n,"style",t)}function AE(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&&jD(e,n,r),o!==null&&AE(e,n,o),i!==null&&NE(e,n,i)}var Ye=(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})(Ye||{});function xE(e){let n=Au();return n?nh(n.sanitize(Ye.HTML,e)||""):St(e,"HTML")?nh(je(e)):ea(ug(),bt(e))}function Ng(e){let n=Au();return n?n.sanitize(Ye.URL,e)||"":St(e,"URL")?je(e):Yo(bt(e))}function Ag(e){let n=Au();if(n)return rh(n.sanitize(Ye.RESOURCE_URL,e)||"");if(St(e,"ResourceURL"))return rh(je(e));throw new I(904,!1)}var RE={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 OE(e,n){return RE[e]?.[n]===!0?Ag:Ng}function kE(e,n,t){return OE(n,t)(e)}function Au(){let e=E();return e&&e[it].sanitizer}function PE(e){return e.ownerDocument.defaultView}function FE(e){return e.ownerDocument}function xg(e){return e instanceof Function?e():e}function LE(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 Rg="ng-template";function BE(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&LE(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(xu(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 xu(e){return e.type===4&&e.value!==Rg}function jE(e,n,t){let r=e.type===4&&!t?Rg:e.value;return n===r}function VE(e,n,t){let r=4,o=e.attrs,i=o!==null?UE(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!ct(r)&&!ct(c))return!1;if(s&&ct(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!jE(e,c,t)||c===""&&n.length===1){if(ct(r))return!1;s=!0}}else if(r&8){if(o===null||!BE(e,o,c,t)){if(ct(r))return!1;s=!0}}else{let l=n[++a],u=HE(c,o,xu(e),t);if(u===-1){if(ct(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ct(r))return!1;s=!0}}}}return ct(r)||s}function ct(e){return(e&1)===0}function HE(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 zE(n,e)}function Og(e,n,t=!1){for(let r=0;r<n.length;r++)if(VE(e,n[r],t))return!0;return!1}function $E(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function UE(e){for(let n=0;n<e.length;n++){let t=e[n];if(Zh(t))return n}return e.length}function zE(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 WE(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 lh(e,n){return e?":not("+n.trim()+")":n}function GE(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!==""&&!ct(s)&&(n+=lh(i,o),o=""),r=s,i=i||!ct(r);t++}return o!==""&&(n+=lh(i,o)),n}function qE(e){return e.map(GE).join(",")}function ZE(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(!ct(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var de={};function Ru(e,n,t,r,o,i,s,a,c,l,u){let d=j+r,f=d+o,p=YE(d,f),h=typeof l=="function"?l():l;return p[w]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function YE(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:de);return t}function QE(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Ru(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Ou(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[ot]=o,d[_]=r|4|128|8|64|1024,(l!==null||e&&e[_]&2048)&&(d[_]|=2048),tl(d),d[te]=d[Ln]=e,d[J]=t,d[it]=s||e&&e[it],d[L]=a||e&&e[L],d[ne]=c||e&&e[ne]||null,d[Ie]=i,d[It]=XD(),d[Fn]=u,d[Qc]=l,d[Ce]=n.type==2?e[Ce]:d,d}function KE(e,n,t){let r=Le(n,e),o=QE(t),i=e[it].rendererFactory,s=ku(e,Ou(e,o,null,kg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function kg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Pg(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 ku(e,n){return e[Ir]?e[Yc][ze]=n:e[Ir]=n,e[Yc]=n,n}function ye(e=1){Fg(V(),E(),qe()+e,!1)}function Fg(e,n,t,r){if(!r)if((n[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ws(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Ts(n,i,0,t)}un(t)}var ta=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ta||{});function Yl(e,n,t,r){let o=T(null);try{let[i,s,a]=e.inputs[t],c=null;(s&ta.SignalBased)!==0&&(c=n[i][q]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):$h(n,c,i,r)}finally{T(o)}}var ut=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ut||{}),JE;function Pu(e,n){return JE(e,n)}var Lg=new C("",{factory:()=>!1});var XE=!1,Ko=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Bg(e){return e[ne].get(Lg,XE)}function eI(e,n,t){let r=Pr.get(e);if(r){for(let o of n)r.classList.push(o);for(let o of t)r.cleanupFns.push(o)}else Pr.set(e,{classList:n,cleanupFns:t})}function Fu(e){let n=Pr.get(e);if(n){for(let t of n.cleanupFns)t();Pr.delete(e)}Gn.delete(e)}var Pr=new WeakMap,Gn=new WeakMap,jo=new WeakMap,Po=new WeakSet;function uh(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 tI(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 jg(e,n){let t=jo.get(e);t?t.includes(n)||t.push(n):jo.set(e,[n])}function dh(e){let n=e[Ct]??={};return n.enter??=new Map}function na(e){let n=e[Ct]??={};return n.leave??=new Map}function Vg(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 nI(e,n){if(!Ko)return;let t=Pr.get(e);if(t&&t.classList.length>0&&rI(e,t.classList))for(let r of t.classList)n.removeClass(e,r);Fu(e)}function rI(e,n){for(let t of n)if(e.classList.contains(t))return!0;return!1}function Vo(e){return e.composedPath?e.composedPath()[0]:e.target}function Lu(e,n){let t=Gn.get(n);return t===void 0?!0:n===Vo(e)&&(t.animationName!==void 0&&e.animationName===t.animationName||t.propertyName!==void 0&&(t.propertyName==="all"||e.propertyName===t.propertyName))}function Hg(e,n,t){let r=e.get(n.index)??{animateFns:[]};r.animateFns.push(t),e.set(n.index,r)}function fh(e,n){if(e)for(let t of e)t();for(let t of n)t()}function ph(e,n){let t=na(e).get(n.index);t&&(t.resolvers=void 0)}function Bs(e){if(!e)return 0;let n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function zn(e,n){return e.getPropertyValue(n).split(",").map(r=>r.trim())}function oI(e){let n=zn(e,"transition-property"),t=zn(e,"transition-duration"),r=zn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=Bs(r[i])+Bs(t[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function iI(e){let n=zn(e,"animation-name"),t=zn(e,"animation-delay"),r=zn(e,"animation-duration"),o=zn(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=Bs(t[s])+Bs(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=n[s],i.duration=a)}return i}function $g(e,n){return e!==void 0&&e.duration>n.duration}function Ug(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function sI(e,n){let t=getComputedStyle(e),r=iI(t),o=oI(t),i=r.duration>o.duration?r:o;$g(n.get(e),i)||Ug(i)&&n.set(e,i)}function zg(e,n,t){if(!t)return;let r=e.getAnimations();return r.length===0?sI(e,n):aI(e,n,r)}function aI(e,n,t){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of t){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let l,u;o.animationName?u=o.animationName:l=o.transitionProperty,a>=r.duration&&(r={animationName:u,propertyName:l,duration:a})}$g(n.get(e),r)||Ug(r)&&n.set(e,r)}var fn=new Set,ra=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ra||{}),ft=new C(""),hh=new Set;function pt(e){hh.has(e)||(hh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var oa=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Bu=[0,1,2,3],ju=(()=>{class e{ngZone=g(ae);scheduler=g(yt);errorHandler=g(Ue,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(ft,{optional:!0})}execute(){let t=this.sequences.size>0;t&&k(x.AfterRenderHooksStart),this.executing=!0;for(let r of Bu)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(x.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[jn]??=[]).push(t),Hn(r),r[_]|=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(ra.AFTER_NEXT_RENDER,t):t()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ho=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?.[jn];n&&(this.view[jn]=n.filter(t=>t!==this))}};function Wg(e,n){let t=n?.injector??g(ue);return pt("NgAfterNextRender"),lI(e,t,n,!0)}function cI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function lI(e,n,t,r){let o=n.get(oa);o.impl??=n.get(ju);let i=n.get(ft,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(Ze):null,a=n.get(Mr,null,{optional:!0}),c=new Ho(o.impl,cI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var ia=new C("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(me)})});function Gg(e,n,t){let r=e.get(ia);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 uI(e,n){let t=e.get(ia);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function dI(e){let n=e.get(ia);n.isScheduled||(Wg(()=>{n.isScheduled=!1;for(let t of n.queue)t();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function qg(e){let n=e.get(ia);n.scheduler=dI,n.scheduler(e)}function Zg(e,n){for(let[t,r]of n)Gg(e,r.animateFns)}function gh(e,n,t,r){let o=e?.[Ct]?.enter;n!==null&&o&&o.has(t.index)&&Zg(r,o)}function Ar(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;st(o)?c=o:Pt(o)&&(l=!0,o=o[ot]);let u=We(o);e===0&&r!==null?(gh(a,r,i,t),s==null?Sg(n,r,u):Ls(n,r,u,s||null,!0)):e===1&&r!==null?(gh(a,r,i,t),Ls(n,r,u,s||null,!0),tI(i,u)):e===2?(a?.[Ct]?.leave?.has(i.index)&&jg(i,u),Po.delete(u),mh(a,i,t,d=>{if(Po.has(u)){Po.delete(u);return}_g(n,u,l,d)})):e===3&&(Po.delete(u),mh(a,i,t,()=>{n.destroyNode(u)})),c!=null&&II(n,e,t,c,i,r,s)}}function fI(e,n){Yg(e,n),n[ot]=null,n[Ie]=null}function pI(e,n,t,r,o,i){r[ot]=o,r[Ie]=n,aa(e,r,t,1,o,i)}function Yg(e,n){n[it].changeDetectionScheduler?.notify(9),aa(e,n,n[L],2,null,null)}function hI(e){let n=e[Ir];if(!n)return Tl(e[w],e);for(;n;){let t=null;if(Pt(n))t=n[Ir];else{let r=n[Z];r&&(t=r)}if(!t){for(;n&&!n[ze]&&n!==e;)Pt(n)&&Tl(n[w],n),n=n[te];n===null&&(n=e),Pt(n)&&Tl(n[w],n),t=n&&n[ze]}n=t}}function Vu(e,n){let t=e[Vn],r=t.indexOf(n);t.splice(r,1)}function sa(e,n){if(ln(n))return;let t=n[L];t.destroyNode&&aa(e,n,t,3,null,null),hI(n)}function Tl(e,n){if(ln(n))return;let t=T(null);try{n[_]&=-129,n[_]|=256,n[Fe]&&Kt(n[Fe]),yI(e,n),mI(e,n),n[w].type===1&&n[L].destroy();let r=n[sn];if(r!==null&&st(n[te])){r!==n[te]&&Vu(r,n);let o=n[Et];o!==null&&o.detachView(e)}Bl(n)}finally{T(t)}}function mh(e,n,t,r){let o=e?.[Ct];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&fn.add(e[It]),Gg(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),gI(e,r)}else e&&fn.delete(e[It]),r(!1)},o)}function gI(e,n){let t=e[Ct]?.running;if(t){t.then(()=>{e[Ct].running=void 0,fn.delete(e[It]),n(!0)});return}n(!1)}function mI(e,n){let t=e.cleanup,r=n[Er];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[Er]=null);let o=n[kt];if(o!==null){n[kt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[tn];if(i!==null){n[tn]=null;for(let s of i)s.destroy()}}function yI(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 qn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];k(x.LifecycleHookStart,a,c);try{c.call(a)}finally{k(x.LifecycleHookEnd,a,c)}}else{k(x.LifecycleHookStart,o,i);try{i.call(o)}finally{k(x.LifecycleHookEnd,o,i)}}}}}function Qg(e,n,t){return vI(e,n.parent,t)}function vI(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[ot];if(Ft(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===lt.None||o===lt.Emulated)return null}return Le(r,t)}function Kg(e,n,t){return DI(e,n,t)}function bI(e,n,t){return e.type&40?Le(e,t):null}var DI=bI,yh;function Hu(e,n,t,r){let o=Qg(e,r,n),i=n[L],s=r.parent||n[Ie],a=Kg(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)ch(i,o,t[c],a,!1);else ch(i,o,t,a,!1);yh!==void 0&&yh(i,r,n,t,o)}function Fo(e,n){if(n!==null){let t=n.type;if(t&3)return Le(n,e);if(t&4)return Ql(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Fo(e,r);{let o=e[n.index];return st(o)?Ql(-1,o):We(o)}}else{if(t&128)return Fo(e,n.next);if(t&32)return Pu(n,e)()||We(e[n.index]);{let r=Jg(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=nn(e[Ce]);return Fo(o,r)}else return Fo(e,n.next)}}}return null}function Jg(e,n){if(n!==null){let r=e[Ce][Ie],o=n.projection;return r.projection[o]}return null}function Ql(e,n){let t=Z+e+1;if(t<n.length){let r=n[t],o=r[w].firstChild;if(o!==null)return Fo(r,o)}return n[cn]}function $u(e,n,t,r,o,i,s){for(;t!=null;){let a=r[ne];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&kr(We(c),r),t.flags|=2),!Js(t))if(l&8)$u(e,n,t.child,r,o,i,!1),Ar(n,e,a,o,c,t,i,r);else if(l&32){let u=Pu(t,r),d;for(;d=u();)Ar(n,e,a,o,d,t,i,r);Ar(n,e,a,o,c,t,i,r)}else l&16?Xg(e,n,r,t,o,i):Ar(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function aa(e,n,t,r,o,i){$u(t,r,e.firstChild,n,o,i,!1)}function EI(e,n,t){let r=n[L],o=Qg(e,t,n),i=t.parent||n[Ie],s=Kg(i,t,n);Xg(r,0,n,t,o,s)}function Xg(e,n,t,r,o,i){let s=t[Ce],c=s[Ie].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Ar(n,e,t[ne],o,u,r,i,t)}else{let l=c,u=s[te];ig(r)&&(l.flags|=128),$u(e,n,l,u,o,i,!0)}}function II(e,n,t,r,o,i,s){let a=r[cn],c=We(r);a!==c&&Ar(n,e,t,i,a,o,s);for(let l=Z;l<r.length;l++){let u=r[l];aa(u[w],u,e,n,i,a)}}function CI(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:ut.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ut.Important),e.setStyle(t,r,o,i))}}function em(e,n,t,r,o){let i=qe(),s=r&2;try{un(-1),s&&n.length>j&&Fg(e,n,j,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;k(a,o,t),t(r,o)}finally{un(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;k(a,o,t)}}function ca(e,n,t){NI(e,n,t),(t.flags&64)===64&&AI(e,n,t)}function Hr(e,n,t=Le){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 wI(e,n,t,r){let i=r.get(pg,fg)||t===lt.ShadowDom||t===lt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return TI(s),s}function TI(e){SI(e)}var SI=()=>null;function _I(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function tm(e,n,t,r,o,i){let s=n[w];if(Wu(e,s,n,t,r)){Ft(e)&&MI(n,e.index);return}e.type&3&&(t=_I(t)),nm(e,n,t,r,o,i)}function nm(e,n,t,r,o,i){if(e.type&3){let s=Le(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function MI(e,n){let t=Ge(n,e);t[_]&16||(t[_]|=64)}function NI(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ft(t)&&KE(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Ps(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Bo(n,e,s,t);if(kr(c,n),i!==null&&kI(n,s-r,c,a,t,i),at(a)){let l=Ge(t.index,n);l[J]=Bo(n,e,s,t)}}}function AI(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=kp();try{un(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];hs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&xI(c,l)}}finally{un(-1),hs(s)}}function xI(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Uu(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];Og(n,i.selectors,!1)&&(r??=[],at(i)?r.unshift(i):r.push(i))}return r}function RI(e,n,t,r,o,i){let s=Le(e,n);OI(n[L],s,i,e.value,t,r,o)}function OI(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?bt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function kI(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Yl(r,t,c,l)}}function la(e,n,t,r,o){let i=j+t,s=n[w],a=o(s,n,e,r,t);n[i]=a,$n(e,!0);let c=e.type===2;return c?(Mg(n[L],a,e),(Sp()===0||Cr(e))&&kr(a,n),_p()):kr(a,n),vs()&&(!c||!Js(e))&&Hu(s,n,a,e),e}function ua(e){let n=e;return dl()?fl():(n=n.parent,$n(n,!1)),n}function zu(e,n){let t=e[ne];if(!t)return;let r;try{r=t.get(jt,null)}catch{r=null}r?.(n)}function Wu(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];Yl(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];Yl(u,l,r,o),a=!0}return a}function PI(e,n){let t=Ge(n,e),r=t[w];FI(r,t);let o=t[ot];o!==null&&t[Fn]===null&&(t[Fn]=mg(o,t[ne])),k(x.ComponentStart);try{Gu(r,t,t[J])}finally{k(x.ComponentEnd,t[J])}}function FI(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Gu(e,n,t){ms(n);try{let r=e.viewQuery;r!==null&&Vl(1,r,t);let o=e.template;o!==null&&em(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Et]?.finishViewCreation(e),e.staticContentQueries&&yg(e,n),e.staticViewQueries&&Vl(2,e.viewQuery,t);let i=e.components;i!==null&&LI(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[_]&=-5,ys()}}function LI(e,n){for(let t=0;t<n.length;t++)PI(e,n[t])}function $r(e,n,t,r){let o=T(null);try{let i=n.tView,a=e[_]&4096?4096:16,c=Ou(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[sn]=l;let u=e[Et];return u!==null&&(c[Et]=u.createEmbeddedView(i)),Gu(i,c,t),c}finally{T(o)}}function Zn(e,n){return!n||n.firstChild===null||ig(e)}function $o(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(We(i)),st(i)&&rm(i,r);let s=t.type;if(s&8)$o(e,n,t.child,r);else if(s&32){let a=Pu(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Jg(n,t);if(Array.isArray(a))r.push(...a);else{let c=nn(n[Ce]);$o(c[w],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function rm(e,n){for(let t=Z;t<e.length;t++){let r=e[t],o=r[w].firstChild;o!==null&&$o(r[w],r,o,n)}e[cn]!==e[ot]&&n.push(e[cn])}function om(e){if(e[jn]!==null){for(let n of e[jn])n.impl.addSequence(n);e[jn].length=0}}var im=[];function BI(e){return e[Fe]??jI(e)}function jI(e){let n=im.pop()??Object.create(HI);return n.lView=e,n}function VI(e){e.lView[Fe]!==e&&(e.lView=null,im.push(e))}var HI=U(b({},Yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Hn(e.lView)},consumerOnSignalRead(){this.lView[Fe]=this}});function $I(e){let n=e[Fe]??Object.create(UI);return n.lView=e,n}var UI=U(b({},Yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=nn(e.lView);for(;n&&!sm(n[w]);)n=nn(n);n&&nl(n)},consumerOnSignalRead(){this.lView[Fe]=this}});function sm(e){return e.type!==2}function am(e){if(e[tn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[tn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[_]&8192)}}var zI=100;function cm(e,n=0){let r=e[it].rendererFactory,o=!1;o||r.begin?.();try{WI(e,n)}finally{o||r.end?.()}}function WI(e,n){let t=hl();try{vo(!0),Kl(e,n);let r=0;for(;No(e);){if(r===zI)throw new I(103,!1);r++,Kl(e,1)}}finally{vo(t)}}function GI(e,n,t,r){if(ln(n))return;let o=n[_],i=!1,s=!1;ms(n);let a=!0,c=null,l=null;i||(sm(e)?(l=BI(n),c=Ot(l)):Ti()===null?(a=!1,l=$I(n),c=Ot(l)):n[Fe]&&(Kt(n[Fe]),n[Fe]=null));try{tl(n),xp(e.bindingStartIndex),t!==null&&em(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&ws(n,p,null)}else{let p=e.preOrderHooks;p!==null&&Ts(n,p,0,null),Cl(n,0)}if(s||qI(n),am(n),lm(n,0),e.contentQueries!==null&&yg(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&ws(n,p)}else{let p=e.contentHooks;p!==null&&Ts(n,p,1),Cl(n,1)}YI(e,n);let d=e.components;d!==null&&dm(n,d,0);let f=e.viewQuery;if(f!==null&&Vl(2,f,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&ws(n,p)}else{let p=e.viewHooks;p!==null&&Ts(n,p,2),Cl(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[cs]){for(let p of n[cs])p();n[cs]=null}i||(om(n),n[_]&=-73)}catch(u){throw i||Hn(n),u}finally{l!==null&&(Qt(l,c),a&&VI(l)),ys()}}function lm(e,n){for(let t=ag(e);t!==null;t=cg(t))for(let r=Z;r<t.length;r++){let o=t[r];um(o,n)}}function qI(e){for(let n=ag(e);n!==null;n=cg(n)){if(!(n[_]&2))continue;let t=n[Vn];for(let r=0;r<t.length;r++){let o=t[r];nl(o)}}}function ZI(e,n,t){k(x.ComponentStart);let r=Ge(n,e);try{um(r,t)}finally{k(x.ComponentEnd,r[J])}}function um(e,n){us(e)&&Kl(e,n)}function Kl(e,n){let r=e[w],o=e[_],i=e[Fe],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&hr(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)GI(r,e,r.template,e[J]);else if(o&8192){let a=T(null);try{am(e),lm(e,1);let c=r.components;c!==null&&dm(e,c,1),om(e)}finally{T(a)}}}function dm(e,n,t){for(let r=0;r<n.length;r++)ZI(e,n[r],t)}function YI(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)un(~o);else{let i=o,s=t[++r],a=t[++r];Op(s,i);let c=n[i];k(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{k(x.HostBindingsUpdateEnd,c)}}}}finally{un(-1)}}function da(e,n){let t=hl()?64:1088;for(e[it].changeDetectionScheduler?.notify(n);e;){e[_]|=t;let r=nn(e);if(wr(e)&&!r)return e;e=r}return null}function fm(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function pm(e,n){let t=Z+n;if(t<e.length)return e[t]}function Ur(e,n,t,r=!0){let o=n[w];if(QI(o,n,e,t),r){let s=Ql(t,e),a=n[L],c=a.parentNode(e[cn]);c!==null&&pI(o,e[Ie],a,n,c,s)}let i=n[Fn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function qu(e,n){let t=Uo(e,n);return t!==void 0&&sa(t[w],t),t}function Uo(e,n){if(e.length<=Z)return;let t=Z+n,r=e[t];if(r){let o=r[sn];o!==null&&o!==e&&Vu(o,r),n>0&&(e[t-1][ze]=r[ze]);let i=wo(e,Z+n);fI(r[w],r);let s=i[Et];s!==null&&s.detachView(i[w]),r[te]=null,r[ze]=null,r[_]&=-129}return r}function QI(e,n,t,r){let o=Z+r,i=t.length;r>0&&(t[o-1][ze]=n),r<i-Z?(n[ze]=t[o],zc(t,Z+r,n)):(t.push(n),n[ze]=null),n[te]=t;let s=n[sn];s!==null&&t!==s&&hm(s,n);let a=n[Et];a!==null&&a.insertView(e),ds(n),n[_]|=128}function hm(e,n){let t=e[Vn],r=n[te];if(Pt(r))e[_]|=2;else{let o=r[te][Ce];n[Ce]!==o&&(e[_]|=2)}t===null?e[Vn]=[n]:t.push(n)}var pn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[w];return $o(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[J]}set context(n){this._lView[J]=n}get destroyed(){return ln(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[te];if(st(n)){let t=n[Mo],r=t?t.indexOf(this):-1;r>-1&&(Uo(n,r),wo(t,r))}this._attachedToViewContainer=!1}sa(this._lView[w],this._lView)}onDestroy(n){fs(this._lView,n)}markForCheck(){da(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){ds(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,cm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=wr(this._lView),t=this._lView[sn];t!==null&&!n&&Vu(t,this._lView),Yg(this._lView[w],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=n;let t=wr(this._lView),r=this._lView[sn];r!==null&&!t&&hm(r,this._lView),ds(this._lView)}};var Tt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=KI;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=$r(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new pn(i)}}return e})();function KI(){return fa(Y(),E())}function fa(e,n){return e.type&4?new Tt(n,e,Vr(e,n)):null}function er(e,n,t,r,o){let i=e.data[n];if(i===null)i=JI(e,n,t,r,o),Rp()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Ap();i.injectorIndex=s===null?-1:s.injectorIndex}return $n(i,!0),i}function JI(e,n,t,r,o){let i=ul(),s=dl(),a=s?i:i&&i.parent,c=e.data[n]=eC(e,a,t,n,r,o);return XI(e,c,i,s),c}function XI(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 eC(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return al()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function tC(e){let n=e[an]??[],r=e[te][L],o=[];for(let i of n)i.data[Eu]!==void 0?o.push(i):nC(i,r);e[an]=o}function nC(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[dg];for(;t<o;){let i=r.nextSibling;_g(n,r,!1),r=i,t++}}}var rC=()=>null,oC=()=>null;function js(e,n){return rC(e,n)}function gm(e,n,t){return oC(e,n,t)}var mm=class{},pa=class{},Jl=class{resolveComponentFactory(n){throw new I(917,!1)}},Jo=class{static NULL=new Jl},Yn=class{},gn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>iC()}return e})();function iC(){let e=E(),n=Y(),t=Ge(n.index,e);return(Pt(t)?t:e)[L]}var ym=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var _s={},Rr=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,_s,r);return o!==_s||t===_s?o:this.parentInjector.get(n,t,r)}};function Vs(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=es(o,a);else if(i==2){let c=a,l=n[++s];r=es(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function Q(e,n=0){let t=E();if(t===null)return S(e,n);let r=Y();return tg(r,t,se(e),n)}function vm(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}cC(e,n,t,a,i,c,l)}i!==null&&r!==null&&sC(t,r,i)}function sC(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new I(-301,!1);r.push(n[o],i)}}function aC(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function cC(e,n,t,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let p=r[f];c===null&&at(p)&&(c=p,aC(e,t,f)),Fl(Ps(t,n),e,p.type)}hC(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){let p=r[f];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=Pg(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(t.mergedAttrs=Or(t.mergedAttrs,p.hostAttrs),uC(e,t,n,d,p),pC(d,p,o),s!==null&&s.has(p)){let[m,y]=s.get(p);t.directiveToIndex.set(p.type,[d,m+t.directiveStart,y+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let h=p.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}lC(e,t,i)}function lC(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))vh(0,n,o,r),vh(1,n,o,r),Dh(n,r,!1);else{let i=t.get(o);bh(0,n,i,r),bh(1,n,i,r),Dh(n,r,!0)}}}function vh(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),bm(n,i)}}function bh(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),bm(n,s)}}function bm(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Dh(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||xu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function uC(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=xn(o.type,!0)),s=new qn(i,at(o),Q,null);e.blueprint[r]=s,t[r]=s,dC(e,n,r,Pg(e,t,o.hostVars,de),o)}function dC(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;fC(s)!=a&&s.push(a),s.push(t,r,i)}}function fC(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function pC(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;at(n)&&(t[""]=e)}}function hC(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Zu(e,n,t,r,o,i,s,a){let c=n[w],l=c.consts,u=Be(l,s),d=er(c,e,t,r,u);return i&&vm(c,n,d,Be(l,a),o),d.mergedAttrs=Or(d.mergedAttrs,d.attrs),d.attrs!==null&&Vs(d,d.attrs,!1),d.mergedAttrs!==null&&Vs(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Yu(e,n){Gh(e,n),Kc(n)&&e.queries.elementEnd(n)}function Dm(e,n,t,r,o,i){let s=n.consts,a=Be(s,o),c=er(n,e,t,r,a);if(c.mergedAttrs=Or(c.mergedAttrs,c.attrs),i!=null){let l=Be(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Vs(c,c.attrs,!1),c.mergedAttrs!==null&&Vs(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Qu(e){return ha(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Em(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 ha(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function mn(e,n,t){return e[n]=t}function ga(e,n){return e[n]}function we(e,n,t){if(t===de)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Fr(e,n,t,r){let o=we(e,n,t);return we(e,n+1,r)||o}function Ku(e,n,t,r,o){let i=Fr(e,n,t,r);return we(e,n+2,o)||i}function ma(e,n,t,r,o,i){let s=Fr(e,n,t,r);return Fr(e,n+2,o,i)||s}function Ms(e,n,t){return function r(o){let i=Ft(e)?Ge(e.index,n):n;da(i,5);let s=n[J],a=Eh(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=Eh(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Eh(e,n,t,r){let o=T(null);try{return k(x.OutputStart,n,t),t(r)!==!1}catch(i){return zu(e,i),!1}finally{k(x.OutputEnd,n,t),T(o)}}function Im(e,n,t,r,o,i,s,a){let c=Cr(e),l=!1,u=null;if(!r&&c&&(u=mC(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Le(e,t),f=r?r(d):d;rE(t,f,i,a);let p=o.listen(f,i,a);if(!gC(i)){let h=r?m=>r(We(m[e.index])):e.index;Cm(h,n,t,i,a,p,!1)}}return l}function gC(e){return e.startsWith("animation")||e.startsWith("transition")}function mC(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[Er],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Cm(e,n,t,r,o,i,s){let a=n.firstCreatePass?il(n):null,c=ol(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Ih(e,n,t,r,o,i){let s=n[t],a=n[w],l=a.data[t].outputs[r],d=s[l].subscribe(i);Cm(e.index,a,n,o,i,d,!0)}var Xl=Symbol("BINDING");function wm(e){return e.debugInfo?.className||e.type.name||null}var Hs=class extends Jo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=vt(n);return new Qn(t,this.ngModule)}};function yC(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&ta.SignalBased)!==0};return o&&(i.transform=o),i})}function vC(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function bC(e,n,t){let r=n instanceof me?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Rr(t,r):t}function DC(e){let n=e.get(Yn,null);if(n===null)throw new I(407,!1);let t=e.get(ym,null),r=e.get(yt,null),o=e.get(ft,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function EC(e,n){let t=Tm(e);return Tg(n,t,t==="svg"?Jc:t==="math"?Ep:null)}function Tm(e){return(e.selectors[0][0]||"div").toLowerCase()}var Qn=class extends pa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=yC(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=vC(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=qE(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){k(x.DynamicComponentStart);let a=T(null);try{let c=this.componentDef,l=bC(c,o||this.ngModule,n),u=DC(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(wm(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{T(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=IC(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?wI(l,o,a.encapsulation,t):EC(a,l),d=s?.some(Ch)||i?.some(h=>typeof h!="function"&&h.bindings.some(Ch)),f=Ou(null,c,null,512|kg(a),null,null,n,l,t,null,mg(u,t,!0));f[j]=u,ms(f);let p=null;try{let h=Zu(j,f,2,"#host",()=>c.directiveRegistry,!0,0);Mg(l,u,h),kr(u,f),ca(c,f,h),wu(c,h,f),Yu(c,h),r!==void 0&&wC(h,this.ngContentSelectors,r),p=Ge(h.index,f),f[J]=p[J],Gu(c,f,null)}catch(h){throw p!==null&&Bl(p),Bl(f),h}finally{k(x.DynamicComponentEnd),ys()}return new $s(this.componentType,f,!!d)}};function IC(e,n,t,r){let o=e?["ng-version","21.2.9"]:ZE(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[Xl].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let f of d.bindings){a+=f[Xl].requiredVars;let p=u+1;f.create&&(f.targetIdx=p,(i??=[]).push(f)),f.update&&(f.targetIdx=p,(s??=[]).push(f))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,f=Co(d);c.push(f)}return Ru(0,null,CC(i,s),1,a,c,null,null,null,[o],null)}function CC(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[Xl].kind;return n==="input"||n==="twoWay"}var $s=class extends mm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Tr(t[w],j),this.location=Vr(this._tNode,t),this.instance=Ge(this._tNode.index,t)[J],this.hostView=this.changeDetectorRef=new pn(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=Wu(r,o[w],o,n,t);this.previousInputValues.set(n,t);let s=Ge(r.index,o);da(s,1)}get injector(){return new Wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function wC(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 $t=(()=>{class e{static __NG_ELEMENT_ID__=TC}return e})();function TC(){let e=Y();return Sm(e,E())}var eu=class e extends $t{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Vr(this._hostTNode,this._hostLView)}get injector(){return new Wn(this._hostTNode,this._hostLView)}get parentInjector(){let n=yu(this._hostTNode,this._hostLView);if(Yh(n)){let t=ks(n,this._hostLView),r=Os(n),o=t[w].data[r+8];return new Wn(o,t)}else return new Wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=wh(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Z}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=js(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Zn(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!xD(n),l;if(c)l=t;else{let y=t||{};l=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let u=c?n:new Qn(vt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(me,null);D&&(i=D)}let f=vt(u.componentType??{}),p=js(this._lContainer,f?.id??null),h=p?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,l,Zn(this._hostTNode,p)),m}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Cp(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[te],l=new e(c,c[Ie],c[te]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Ur(s,o,i,r),n.attachToViewContainerRef(),zc(Sl(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=wh(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Uo(this._lContainer,t);r&&(wo(Sl(this._lContainer),t),sa(r[w],r))}detach(n){let t=this._adjustIndex(n,-1),r=Uo(this._lContainer,t);return r&&wo(Sl(this._lContainer),t)!=null?new pn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function wh(e){return e[Mo]}function Sl(e){return e[Mo]||(e[Mo]=[])}function Sm(e,n){let t,r=n[e.index];return st(r)?t=r:(t=fm(r,n,null,e),n[e.index]=t,ku(n,t)),_C(t,n,e,r),new eu(t,e,n)}function SC(e,n){let t=e[L],r=t.createComment(""),o=Le(n,e),i=t.parentNode(o);return Ls(t,i,r,t.nextSibling(o),!1),r}var _C=NC,MC=()=>!1;function _m(e,n,t){return MC(e,n,t)}function NC(e,n,t,r){if(e[cn])return;let o;t.type&8?o=We(r):o=SC(n,t),e[cn]=o}var tu=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},nu=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++)Xu(n,t).matches!==null&&this.queries[t].setDirty()}},Us=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=kC(n):this.predicate=n}},ru=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)}},ou=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,AC(t,i)),this.matchTNodeWithReadOption(n,t,Ss(t,n,i,!1,!1))}else r===Tt?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Ss(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===xe||o===$t||o===Tt&&t.type&4)this.addMatch(t.index,-2);else{let i=Ss(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 AC(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 xC(e,n){return e.type&11?Vr(e,n):e.type&4?fa(e,n):null}function RC(e,n,t,r){return t===-1?xC(n,e):t===-2?OC(e,n,r):Bo(e,e[w],t,n)}function OC(e,n,t){if(t===xe)return Vr(n,e);if(t===Tt)return fa(n,e);if(t===$t)return Sm(n,e)}function Mm(e,n,t,r){let o=n[Et].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(RC(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function iu(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Mm(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=Z;d<u.length;d++){let f=u[d];f[sn]===f[te]&&iu(f[w],f,l,r)}if(u[Vn]!==null){let d=u[Vn];for(let f=0;f<d.length;f++){let p=d[f];iu(p[w],p,l,r)}}}}}return r}function Ju(e,n){return e[Et].queries[n].queryList}function Nm(e,n,t){let r=new Fs((t&4)===4);return Tp(e,n,r,r.destroy),(n[Et]??=new nu).queries.push(new tu(r))-1}function Am(e,n,t){let r=V();return r.firstCreatePass&&(Rm(r,new Us(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),Nm(r,E(),n)}function xm(e,n,t,r){let o=V();if(o.firstCreatePass){let i=Y();Rm(o,new Us(n,t,r),i.index),PC(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Nm(o,E(),t)}function kC(e){return e.split(",").map(n=>n.trim())}function Rm(e,n,t){e.queries===null&&(e.queries=new ru),e.queries.track(new ou(n,t))}function PC(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 Xu(e,n){return e.queries.getByIndex(n)}function Om(e,n){let t=e[w],r=Xu(t,n);return r.crossesNgTemplate?iu(t,e,n,[]):Mm(t,e,r,n)}function ed(e,n,t){let r,o=lo(()=>{r._dirtyCounter();let i=FC(r,e);if(n&&i===void 0)throw new I(-951,!1);return i});return r=o[q],r._dirtyCounter=re(0),r._flatValue=void 0,o}function td(e){return ed(!0,!1,e)}function nd(e){return ed(!0,!0,e)}function km(e){return ed(!1,!1,e)}function Pm(e,n){let t=e[q];t._lView=E(),t._queryIndex=n,t._queryList=Ju(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function FC(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[_]&4)return n?void 0:ge;let o=Ju(t,r),i=Om(t,r);return o.reset(i,og),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var hn=class{},Fm=class{};function rd(e,n){return new zo(e,n??null,[])}var zo=class extends hn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Hs(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Vc(n);this._bootstrapComponents=xg(i.bootstrap),this._r3Injector=vl(n,t,[{provide:hn,useValue:this},{provide:Jo,useValue:this.componentFactoryResolver},...r],Eo(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)}},zs=class extends Fm{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new zo(this.moduleType,n,[])}};var Wo=class extends hn{injector;componentFactoryResolver=new Hs(this);instance=null;constructor(n){super();let t=new On([...n.providers,{provide:hn,useValue:this},{provide:Jo,useValue:this.componentFactoryResolver}],n.parent||_o(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function od(e,n,t=null){return new Wo({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var LC=(()=>{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=as(!1,t.type),o=r.length>0?od([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(S(me))})}return e})();function Re(e){return qo(()=>{let n=Lm(e),t=U(b({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===bu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(LC).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||lt.Emulated,styles:e.styles||ge,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&pt("NgStandalone"),Bm(t);let r=e.dependencies;return t.directiveDefs=Th(r,BC),t.pipeDefs=Th(r,Hc),t.id=HC(t),t})}function BC(e){return vt(e)||Co(e)}function fe(e){return qo(()=>({type:e.type,bootstrap:e.bootstrap||ge,declarations:e.declarations||ge,imports:e.imports||ge,exports:e.exports||ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function jC(e,n){if(e==null)return rt;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ta.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function VC(e){if(e==null)return rt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function oe(e){return qo(()=>{let n=Lm(e);return Bm(n),n})}function Lm(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||rt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ge,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:jC(e.inputs,n),outputs:VC(e.outputs),debugInfo:null}}function Bm(e){e.features?.forEach(n=>n(e))}function Th(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 HC(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 tr(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=$C,t.hostDirectives=r?e.map(su):[e]):r?t.hostDirectives.unshift(...e.map(su)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function $C(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,jm(s,n,r),o.set(s,[a,n.length-1])}i===0&&at(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function jm(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Sh(su(i),n,t)}else Sh(r,n,t)}function Sh(e,n,t){let r=Co(e.directive);UC(r.declaredInputs,e.inputs),jm(r,n,t),t.set(r,e),n.push(r)}function su(e){return typeof e=="function"?{directive:se(e),inputs:rt,outputs:rt}:{directive:se(e.directive),inputs:_h(e.inputs),outputs:_h(e.outputs)}}function _h(e){if(e===void 0||e.length===0)return rt;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function UC(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function zC(e){return Object.getPrototypeOf(e.prototype).constructor}function ve(e){let n=zC(e.type),t=!0,r=[e];for(;n;){let o;if(at(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new I(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=_l(e.inputs),s.declaredInputs=_l(e.declaredInputs),s.outputs=_l(e.outputs);let a=o.hostBindings;a&&YC(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&qC(e,c),l&&ZC(e,l),WC(e,o),sp(e.outputs,o.outputs),at(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===ve&&(t=!1)}}n=Object.getPrototypeOf(n)}GC(r)}function WC(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 GC(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=Or(o.hostAttrs,t=Or(t,o.hostAttrs))}}function _l(e){return e===rt?{}:e===ge?[]:e}function qC(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function ZC(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function YC(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function Vm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Or(e.mergedAttrs,e.attrs);let u=e.tView=Ru(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),$n(e,!1);let c=KC(t,n,e,r);vs()&&Hu(t,n,c,e),kr(c,n);let l=fm(c,n,c,e);n[r+j]=l,ku(n,l),_m(l,e,n)}function QC(e,n,t,r,o,i,s,a,c,l,u){let d=t+j,f;return n.firstCreatePass?(f=er(n,d,4,s||null,a||null),ps()&&vm(n,e,f,Be(n.consts,l),Uu),Gh(n,f)):f=n.data[d],Vm(f,e,n,t,r,o,i,c),Cr(f)&&ca(n,e,f),l!=null&&Hr(e,f,u),f}function Kn(e,n,t,r,o,i,s,a,c,l,u){let d=t+j,f;if(n.firstCreatePass){if(f=er(n,d,4,s||null,a||null),l!=null){let p=Be(n.consts,l);f.localNames=[];for(let h=0;h<p.length;h+=2)f.localNames.push(p[h],-1)}}else f=n.data[d];return Vm(f,e,n,t,r,o,i,c),l!=null&&Hr(e,f,u),f}function Ut(e,n,t,r,o,i,s,a){let c=E(),l=V(),u=Be(l.consts,i);return QC(c,l,e,n,t,r,o,u,void 0,s,a),Ut}function Hm(e,n,t,r,o,i,s,a){let c=E(),l=V(),u=Be(l.consts,i);return Kn(c,l,e,n,t,r,o,u,void 0,s,a),Hm}var KC=JC;function JC(e,n,t,r){return Ro(!0),n[L].createComment("")}var Ae=(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})(Ae||{}),Mh=0,XC=1,X=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(X||{}),Ws=(function(e){return e[e.Initial=-1]="Initial",e})(Ws||{}),ew=0,Xo=1;var tw=4,nw=5,rw=6,ow=7,Ml=8,iw=9,id=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(id||{});function sw(e,n,t){let r=Um(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function Ns(e,n){let t=Um(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function $m(e){Ns(1,e),Ns(0,e),Ns(2,e)}function Um(e){let n=tw;return e===1?n=nw:e===2&&(n=iw),n}function ya(e){return e+1}function zr(e,n){let t=e[w],r=ya(n.index);return e[r]}function aw(e,n,t){let r=e[w],o=ya(n);e[o]=t}function Wr(e,n){let t=ya(n.index);return e.data[t]}function cw(e,n,t){let r=ya(n);e.data[r]=t}function lw(e,n,t){let r=n[w],o=Wr(r,t);switch(e){case X.Complete:return o.primaryTmplIndex;case X.Loading:return o.loadingTmplIndex;case X.Error:return o.errorTmplIndex;case X.Placeholder:return o.placeholderTmplIndex;default:return null}}function Nh(e,n){return n===X.Placeholder?e.placeholderBlockConfig?.[Mh]??null:n===X.Loading?e.loadingBlockConfig?.[Mh]??null:null}function uw(e){return e.loadingBlockConfig?.[XC]??null}function Ah(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 dw(e,n){let t=n.primaryTmplIndex+j;return Tr(e,t)}var fw=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?od(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e})}return e})();var zm=new C("");function Nl(e,n,t){return e.get(fw).getOrCreateInjector(n,e,t,"")}function pw(e,n,t){if(e instanceof Rr){let o=e.injector,i=e.parentInjector,s=Nl(i,n,t);return new Rr(o,s)}let r=e.get(me);if(r!==e){let o=Nl(r,n,t);return new Rr(e,o)}return Nl(e,n,t)}function dn(e,n,t,r=!1){let o=t[te],i=o[w];if(ln(o))return;let s=zr(o,n),a=s[Xo],c=s[ow];if(!(c!==null&&e<c)&&xh(a,e)&&xh(s[ew]??-1,e)){let l=Wr(i,n),d=!r&&!0&&(uw(l)!==null||Nh(l,X.Loading)!==null||Nh(l,X.Placeholder))?yw:gw;try{d(e,s,t,n,o)}catch(f){zu(o,f)}}}function hw(e,n){let t=e[an]?.findIndex(o=>o.data[Iu]===n[Xo])??-1;return{dehydratedView:t>-1?e[an][t]:null,dehydratedViewIx:t}}function gw(e,n,t,r,o){k(x.DeferBlockStateStart);let i=lw(e,o,r);if(i!==null){n[Xo]=e;let s=o[w],a=i+j,c=Tr(s,a),l=0;qu(t,l);let u;if(e===X.Complete){let h=Wr(s,r),m=h.providers;m&&m.length>0&&(u=pw(o[ne],h,m))}let{dehydratedView:d,dehydratedViewIx:f}=hw(t,n),p=$r(o,c,null,{injector:u,dehydratedView:d});if(Ur(t,p,l,Zn(c,d)),da(p,2),f>-1&&t[an]?.splice(f,1),(e===X.Complete||e===X.Error)&&Array.isArray(n[Ml])){for(let h of n[Ml])h();n[Ml]=null}}k(x.DeferBlockStateEnd)}function xh(e,n){return e<n}function mw(e,n){let t=e[n.index];dn(X.Placeholder,n,t)}function Rh(e,n,t){e.loadingPromise.then(()=>{e.loadingState===Ae.COMPLETE?dn(X.Complete,n,t):e.loadingState===Ae.FAILED&&dn(X.Error,n,t)})}var yw=null;var Wm=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sd(e){return typeof e=="function"&&e[q]!==void 0}function ad(e){return sd(e)&&typeof e.set=="function"}var cd=new C("");function va(e){return!!e&&typeof e.then=="function"}function ld(e){return!!e&&typeof e.subscribe=="function"}var ud=new C("");function dd(e){return Dt([{provide:ud,multi:!0,useValue:e}])}var fd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(ud,{optional:!0})??[];injector=g(ue);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Dr(this.injector,o);if(va(i))t.push(i);else if(ld(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gm=new C("");function qm(){lc(()=>{let e="";throw new I(600,e)})}function Zm(e){return e.isBoundToModule}var vw=10;var ei=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(jt);afterRenderManager=g(oa);zonelessEnabled=g(ko);rootEffectScheduler=g(bs);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ee;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Un);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe($e(t=>!t))}constructor(){g(ft,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(me);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=ue.NULL){return this._injector.get(ae).run(()=>{k(x.BootstrapComponentStart);let s=t instanceof pa;if(!this._injector.get(fd).done){let h="";throw new I(405,h)}let c;s?c=t:c=this._injector.get(Jo).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=Zm(c)?void 0:this._injector.get(hn),u=r||c.selector,d=c.create(o,[],u,l),f=d.location.nativeElement,p=d.injector.get(cd,null);return p?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Lo(this.components,d),p?.unregisterApplication(f)}),this._loadComponent(d),k(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ra.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(x.ChangeDetectionEnd),new I(101,!1);let t=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(t),this.afterTick.next(),k(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yn,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<vw;){k(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{k(x.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&&!No(o))continue;let i=r&&!this.zonelessEnabled?0:1;cm(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})=>No(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;Lo(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(Gm,[]).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),()=>Lo(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new I(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lo(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Ym(){let e,n;return{promise:new Promise((r,o)=>{e=r,n=o}),resolve:e,reject:n}}function Qm(e,n,t){let r=n[ne],o=n[w];if(e.loadingState!==Ae.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=zr(n,t),s=dw(o,e);e.loadingState=Ae.IN_PROGRESS,Ns(1,i);let a=e.dependencyResolverFn,c=r.get(Nr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,f=[],p=[];for(let h=0;h<l.length;h++){let m=l[h];if(m.status==="fulfilled"){let y=m.value,D=vt(y)||Co(y);if(D)f.push(D);else{let A=Hc(y);A&&p.push(A)}}else{u=!0,d=m.reason instanceof Error?m.reason:new Error(String(m.reason));break}}if(u){if(e.loadingState=Ae.FAILED,e.errorTmplIndex===null){let m="",y=new I(-750,m);zu(n,y)}}else{e.loadingState=Ae.COMPLETE;let h=s.tView;if(f.length>0){h.directiveRegistry=Ah(h.directiveRegistry,f);let m=f.map(D=>D.type),y=as(!1,...m);e.providers=y}p.length>0&&(h.pipeRegistry=Ah(h.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Ae.COMPLETE,c()}),e.loadingPromise)}function bw(e,n){return n[ne].get(zm,null,{optional:!0})?.behavior!==id.Manual}function Dw(e,n,t){let r=n[w],o=n[t.index];if(!bw(e,n))return;let i=zr(n,t),s=Wr(r,t);switch($m(i),s.loadingState){case Ae.NOT_STARTED:dn(X.Loading,t,o),Qm(s,n,t),s.loadingState===Ae.IN_PROGRESS&&Rh(s,t,o);break;case Ae.IN_PROGRESS:dn(X.Loading,t,o),Rh(s,t,o);break;case Ae.COMPLETE:dn(X.Complete,t,o);break;case Ae.FAILED:dn(X.Error,t,o);break;default:}}function Ew(e,n,t){return e===0?Oh(n,t):e===2?!Oh(n,t):!0}function Iw(e){return e!=null&&(e&1)===1}function Oh(e,n){let t=e[ne],r=Wr(e[w],n),o=Cu(t),i=Iw(r.flags),a=zr(e,n)[rw]!==null;return!(i&&a&&o)}function Cw(e,n,t,r,o,i,s,a,c,l){let u=E(),d=V(),f=e+j,p=Kn(u,d,e,null,0,0),h=u[ne],m=Cu(h);if(d.firstCreatePass){pt("NgDefer");let _e={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:Ae.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,_e,a,s),cw(d,f,_e)}let y=u[f];_m(y,p,u);let D=null,A=null;if(y[an]?.length>0){let _e=y[an][0].data;A=_e[Eu]??null,D=_e[Iu]}let $=[null,Ws.Initial,null,null,null,null,A,D,null,null];aw(u,f,$);let H=null;A!==null&&m&&(H=h.get(gg),H.add(A,{lView:u,tNode:p,lContainer:y}));let Xe=()=>{$m($),A!==null&&H?.cleanup([A])};sw(0,$,()=>rl(u,Xe)),fs(u,Xe)}function ww(e){let n=E(),t=Sr();if(!Ew(0,n,t))return;let r=Bt();if(we(n,r,e)){let o=T(null);try{let i=!!e,a=zr(n,t)[Xo];i===!1&&a===Ws.Initial?mw(n,t):i===!0&&(a===Ws.Initial||a===X.Placeholder)&&Dw(0,n,t)}finally{T(o)}}}function Qe(e,n,t,r){let o=E(),i=Bt();if(we(o,i,n)){let s=V(),a=Sr();RI(a,o,e,n,t,r)}return Qe}function As(e){if(pt("NgAnimateEnter"),!Ko)return As;let n=E();if(Bg(n))return As;let t=Y(),r=n[ne].get(ae);return Hg(dh(n),t,()=>Tw(n,t,e,r)),qg(n[ne]),Zg(n[ne],dh(n)),As}function Tw(e,n,t,r){let o=Le(n,e),i=e[L],s=Vg(t),a=[],c=!1,l=d=>{if(Vo(d)!==o)return;let f=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,f,u)})},u=d=>{Vo(d)===o&&(Lu(d,o)&&(c=!0),Sw(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l))}),eI(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(zg(o,Gn,Ko),!Gn.has(o))){for(let d of s)i.removeClass(o,d);Fu(o)}})})}}function Sw(e,n,t){let r=Pr.get(n);if(!(Vo(e)!==n||!r)&&Lu(e,n)){e.stopPropagation();for(let o of r.classList)t.removeClass(n,o);Fu(n)}}function xs(e){if(pt("NgAnimateLeave"),!Ko)return xs;let n=E();if(Bg(n))return xs;let r=Y(),o=n[ne].get(ae);return Hg(na(n),r,()=>_w(n,r,e,o)),qg(n[ne]),xs}function _w(e,n,t,r){let{promise:o,resolve:i}=Ym(),s=Le(n,e),a=e[L];fn.add(e[It]),(na(e).get(n.index).resolvers??=[]).push(i);let c=Vg(t);return c&&c.length>0?Mw(s,n,e,c,a,r):i(),{promise:o,resolve:i}}function Mw(e,n,t,r,o,i){nI(e,o);let s=[],a=na(t).get(n.index)?.resolvers,c,l=!1,u=d=>{if(!(Vo(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||Lu(d,e))){if(l=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),Gn.delete(e),uh(n,e),Array.isArray(n.projection))for(let p of r)o.removeClass(e,p);fh(a,s),ph(t,n)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u))}),jg(n,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;zg(e,Gn,Ko);let d=Gn.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(uh(n,e),fh(a,s),ph(t,n))})})}var au=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 Al(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function Nw(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){T(r);let l=n.length-1;for(T(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],f=Al(s,u,s,d,t);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),h=n[l],m=Al(a,p,l,h,t);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let y=t(s,u),D=t(a,p),A=t(s,d);if(Object.is(A,D)){let $=t(l,h);Object.is($,y)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Gs,i??=Ph(e,s,a,t),cu(e,o,s,A))e.updateValue(s,d),s++,a++;else if(i.has(A))o.set(y,e.detach(s)),a--;else{let $=e.create(s,n[s]);e.attach(s,$),s++,a++}}for(;s<=l;)kh(e,o,t,s,n[s]),s++}else if(n!=null){T(r);let l=n[Symbol.iterator]();T(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),f=u.value,p=Al(s,d,s,f,t);if(p!==0)p<0&&e.updateValue(s,f),s++,u=l.next();else{o??=new Gs,i??=Ph(e,s,a,t);let h=t(s,f);if(cu(e,o,s,h))e.updateValue(s,f),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,f)),s++,a++,u=l.next();else{let m=t(s,d);o.set(m,e.detach(s)),a--}}}for(;!u.done;)kh(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function cu(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function kh(e,n,t,r,o){if(cu(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ph(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 Gs=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 Aw(e,n,t,r,o,i,s,a){pt("NgControlFlow");let c=E(),l=V(),u=Be(l.consts,i);return Kn(c,l,e,n,t,r,o,u,256,s,a),pd}function pd(e,n,t,r,o,i,s,a){pt("NgControlFlow");let c=E(),l=V(),u=Be(l.consts,i);return Kn(c,l,e,n,t,r,o,u,512,s,a),pd}function xw(e,n){pt("NgControlFlow");let t=E(),r=Bt(),o=t[r]!==de?t[r]:-1,i=o!==-1?qs(t,j+o):void 0,s=0;if(we(t,r,e)){let a=T(null);try{if(i!==void 0&&qu(i,s),e!==-1){let c=j+e,l=qs(t,c),u=fu(t[w],c),d=gm(l,u,t),f=$r(t,u,n,{dehydratedView:d});Ur(l,f,s,Zn(u,d))}}finally{T(a)}}else if(i!==void 0){let a=pm(i,s);a!==void 0&&(a[J]=n)}}var lu=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Z}};function Rw(e){return e}function Ow(e,n){return n}var uu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function kw(e,n,t,r,o,i,s,a,c,l,u,d,f){pt("NgControlFlow");let p=E(),h=V(),m=c!==void 0,y=E(),D=a?s.bind(y[Ce][J]):s,A=new uu(m,D);y[j+e]=A,Kn(p,h,e+1,n,t,r,o,Be(h.consts,i),256),m&&Kn(p,h,e+2,c,l,u,d,Be(h.consts,f),512)}var du=class extends au{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-Z}at(n){return this.getLView(n)[J].$implicit}attach(n,t){let r=t[Fn];this.needsIndexUpdate||=n!==this.length,Ur(this.lContainer,t,n,Zn(this.templateTNode,r)),Fw(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Lw(this.lContainer,n),Bw(this.lContainer,n)}create(n,t){let r=js(this.lContainer,this.templateTNode.tView.ssrId);return $r(this.hostLView,this.templateTNode,new lu(this.lContainer,t,n),{dehydratedView:r})}destroy(n){sa(n[w],n)}updateValue(n,t){this.getLView(n)[J].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[J].$index=n}getLView(n){return jw(this.lContainer,n)}};function Pw(e){let n=T(null),t=qe();try{let r=E(),o=r[w],i=r[t],s=t+1,a=qs(r,s);if(i.liveCollection===void 0){let l=fu(o,s);i.liveCollection=new du(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(Nw(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Bt(),u=c.length===0;if(we(r,l,u)){let d=t+2,f=qs(r,d);if(u){let p=fu(o,d),h=gm(f,p,r),m=$r(r,p,void 0,{dehydratedView:h});Ur(f,m,0,Zn(p,h))}else o.firstUpdatePass&&tC(f),qu(f,0)}}}finally{T(n)}}function qs(e,n){return e[n]}function Fw(e,n){if(e.length<=Z)return;let t=Z+n,r=e[t],o=r?r[Ct]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ne];uI(i,o),fn.delete(r[It]),o.detachedLeaveAnimationFns=void 0}}function Lw(e,n){if(e.length<=Z)return;let t=Z+n,r=e[t],o=r?r[Ct]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function Bw(e,n){return Uo(e,n)}function jw(e,n){return pm(e,n)}function fu(e,n){return Tr(e,n)}function K(e,n,t){let r=E(),o=Bt();if(we(r,o,n)){let i=V(),s=Sr();tm(s,r,e,n,r[L],t)}return K}function pu(e,n,t,r,o){Wu(n,e,t,o?"class":"style",r)}function Jn(e,n,t,r){let o=E(),i=o[w],s=e+j,a=i.firstCreatePass?Zu(s,o,2,n,Uu,ps(),t,r):i.data[s];if(Ft(a)){let c=o[it].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(wm(l),()=>(Fh(e,n,o,a,r),Jn))}}return Fh(e,n,o,a,r),Jn}function Fh(e,n,t,r,o){if(la(r,t,e,n,Km),Cr(r)){let i=t[w];ca(i,t,r),wu(i,r,t)}o!=null&&Hr(t,r)}function Gr(){let e=V(),n=Y(),t=ua(n);return e.firstCreatePass&&Yu(e,t),cl(t)&&ll(),sl(),t.classesWithoutHost!=null&&LD(t)&&pu(e,t,E(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&BD(t)&&pu(e,t,E(),t.stylesWithoutHost,!1),Gr}function nr(e,n,t,r){return Jn(e,n,t,r),Gr(),nr}function qr(e,n,t,r){let o=E(),i=o[w],s=e+j,a=i.firstCreatePass?Dm(s,i,2,n,t,r):i.data[s];return la(a,o,e,n,Km),r!=null&&Hr(o,a),qr}function Zr(){let e=Y(),n=ua(e);return cl(n)&&ll(),sl(),Zr}function ti(e,n,t,r){return qr(e,n,t,r),Zr(),ti}var Km=(e,n,t,r,o)=>(Ro(!0),Tg(n[L],r,Vp()));function rr(e,n,t){let r=E(),o=r[w],i=e+j,s=o.firstCreatePass?Zu(i,r,8,"ng-container",Uu,ps(),n,t):o.data[i];if(la(s,r,e,"ng-container",Xm),Cr(s)){let a=r[w];ca(a,r,s),wu(a,s,r)}return t!=null&&Hr(r,s),rr}function yn(){let e=V(),n=Y(),t=ua(n);return e.firstCreatePass&&Yu(e,t),yn}function ba(e,n,t){return rr(e,n,t),yn(),ba}function Jm(e,n,t){let r=E(),o=r[w],i=e+j,s=o.firstCreatePass?Dm(i,o,8,"ng-container",n,t):o.data[i];return la(s,r,e,"ng-container",Xm),t!=null&&Hr(r,s),Jm}function Vw(){let e=Y(),n=ua(e);return yn}var Xm=(e,n,t,r,o)=>(Ro(!0),ME(n[L],""));function Hw(){return E()}function Da(e,n,t){let r=E(),o=Bt();if(we(r,o,n)){let i=V(),s=Sr();nm(s,r,e,n,r[L],t)}return Da}var ni="en-US";var $w=ni;function ey(e){typeof e=="string"&&($w=e.toLowerCase().replace(/_/g,"-"))}function Ea(e,n,t){let r=E(),o=V(),i=Y();return ny(o,r,r[L],i,e,n,t),Ea}function ty(e,n,t){let r=E(),o=V(),i=Y();return(i.type&3||t)&&Im(i,o,r,t,r[L],e,n,Ms(i,r,n)),ty}function ny(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ms(r,n,i),Im(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let f=u[d],p=u[d+1];c??=Ms(r,n,i),Ih(r,n,f,p,o,c)}if(l&&l.length)for(let d of l)c??=Ms(r,n,i),Ih(r,n,d,o,o,c)}}function Ke(e=1){return jp(e)}function Uw(e,n){let t=null,r=$E(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?Og(e,i,!0):WE(r,i))return o}return t}function _t(e){let n=E()[Ce][Ie];if(!n.projection){let t=e?e.length:1,r=n.projection=fp(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?Uw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Mt(e,n=0,t,r,o,i){let s=E(),a=V(),c=r?e+1:null;c!==null&&Kn(s,a,c,r,o,i,null,t);let l=er(a,j+e,16,null,t||null);l.projection===null&&(l.projection=n),fl();let d=!s[Fn]||al();s[Ce][Ie].projection[l.projection]===null&&c!==null?zw(s,a,c):d&&!Js(l)&&EI(a,s,l)}function zw(e,n,t){let r=j+t,o=n.data[r],i=e[r],s=js(i,o.tView.ssrId),a=$r(e,o,void 0,{dehydratedView:s});Ur(i,a,0,Zn(o,s))}function Ia(e,n,t,r){return xm(e,n,t,r),Ia}function ry(e,n,t){return Am(e,n,t),ry}function Yr(e){let n=E(),t=V(),r=gs();xo(r+1);let o=Xu(t,r);if(e.dirty&&Ip(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Om(n,r);e.reset(i,og),e.notifyOnChanges()}return!0}return!1}function Qr(){return Ju(E(),gs())}function hd(e,n,t,r,o){return Pm(n,xm(e,t,r,o)),hd}function oy(e,n,t,r){return Pm(e,Am(n,t,r)),oy}function iy(e=1){xo(gs()+e)}function Ww(e){let n=pl();return el(n,j+e)}function Cs(e,n){return e<<17|n<<2}function Xn(e){return e>>17&32767}function Gw(e){return(e&2)==2}function qw(e,n){return e&131071|n<<17}function hu(e){return e|2}function Lr(e){return(e&131068)>>2}function xl(e,n){return e&-131069|n<<2}function Zw(e){return(e&1)===1}function gu(e){return e|1}function Yw(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Xn(s),c=Lr(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||br(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let f=Xn(e[a+1]);e[r+1]=Cs(f,a),f!==0&&(e[f+1]=xl(e[f+1],r)),e[a+1]=qw(e[a+1],r)}else e[r+1]=Cs(a,0),a!==0&&(e[a+1]=xl(e[a+1],r)),a=r;else e[r+1]=Cs(c,0),a===0?a=r:e[c+1]=xl(e[c+1],r),c=r;l&&(e[r+1]=hu(e[r+1])),Lh(e,u,r,!0),Lh(e,u,r,!1),Qw(n,u,e,r,i),s=Cs(a,c),i?n.classBindings=s:n.styleBindings=s}function Qw(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&br(i,n)>=0&&(t[r+1]=gu(t[r+1]))}function Lh(e,n,t,r){let o=e[t+1],i=n===null,s=r?Xn(o):Lr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Kw(c,n)&&(a=!0,e[s+1]=r?gu(l):hu(l)),s=r?Xn(l):Lr(l)}a&&(e[t+1]=r?hu(o):gu(o))}function Kw(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?br(e,n)>=0:!1}var ce={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sy(e){return e.substring(ce.key,ce.keyEnd)}function Jw(e){return e.substring(ce.value,ce.valueEnd)}function Xw(e){return ly(e),ay(e,Br(e,0,ce.textEnd))}function ay(e,n){let t=ce.textEnd;return t===n?-1:(n=ce.keyEnd=tT(e,ce.key=n,t),Br(e,n,t))}function eT(e){return ly(e),cy(e,Br(e,0,ce.textEnd))}function cy(e,n){let t=ce.textEnd,r=ce.key=Br(e,n,t);return t===r?-1:(r=ce.keyEnd=nT(e,r,t),r=Bh(e,r,t,58),r=ce.value=Br(e,r,t),r=ce.valueEnd=rT(e,r,t),Bh(e,r,t,59))}function ly(e){ce.key=0,ce.keyEnd=0,ce.value=0,ce.valueEnd=0,ce.textEnd=e.length}function Br(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function tT(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function nT(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 Bh(e,n,t,r){return n=Br(e,n,t),n<t&&n++,n}function rT(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=jh(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=jh(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function jh(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Ca(e,n,t){return uy(e,n,t,!1),Ca}function gd(e,n){return uy(e,n,null,!0),gd}function md(e){dy(hy,oT,e,!1)}function oT(e,n){for(let t=eT(n);t>=0;t=cy(n,t))hy(e,sy(n),Jw(n))}function Te(e){dy(dT,iT,e,!0)}function iT(e,n){for(let t=Xw(n);t>=0;t=ay(n,t))To(e,sy(n),!0)}function uy(e,n,t,r){let o=E(),i=V(),s=Ao(2);if(i.firstUpdatePass&&py(i,e,s,r),n!==de&&we(o,s,n)){let a=i.data[qe()];gy(i,a,o,o[L],e,o[s+1]=pT(n,t),r,s)}}function dy(e,n,t,r){let o=V(),i=Ao(2);o.firstUpdatePass&&py(o,null,i,r);let s=E();if(t!==de&&we(s,i,t)){let a=o.data[qe()];if(my(a,r)&&!fy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=es(c,t||"")),pu(o,a,s,t,r)}else fT(o,a,s,s[L],s[i+1],s[i+1]=uT(e,n,t),r,i)}}function fy(e,n){return n>=e.expandoStartIndex}function py(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[qe()],s=fy(e,t);my(i,r)&&n===null&&!s&&(n=!1),n=sT(o,i,n,r),Yw(o,i,n,t,s,r)}}function sT(e,n,t,r){let o=Pp(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Rl(null,e,n,t,r),t=Go(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Rl(o,e,n,t,r),i===null){let c=aT(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Rl(null,e,n,c[1],r),c=Go(c,n.attrs,r),cT(e,n,r,c))}else i=lT(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function aT(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Lr(r)!==0)return e[Xn(r)]}function cT(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Xn(o)]=r}function lT(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Go(r,s,t)}return Go(r,n.attrs,t)}function Rl(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=Go(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Go(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]),To(e,s,t?!0:n[++i]))}return e===void 0?null:e}function uT(e,n,t){if(t==null||t==="")return ge;let r=[],o=je(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 hy(e,n,t){To(e,n,je(t))}function dT(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&To(e,r,t)}function fT(e,n,t,r,o,i,s,a){o===de&&(o=ge);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,f!==p&&(h=d,m=p)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=p),h!==null&&gy(e,n,t,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function gy(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=Zw(l)?Vh(c,n,t,o,Lr(l),s):void 0;if(!Zs(u)){Zs(i)||Gw(l)&&(i=Vh(c,null,t,o,a,s));let d=Xc(qe(),t);CI(r,s,d,o,i)}}function Vh(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=t[o+1];f===de&&(f=d?ge:void 0);let p=d?ss(f,r):u===r?f:void 0;if(l&&!Zs(p)&&(p=ss(c,r)),Zs(p)&&(a=p,s))return a;let h=e[o+1];o=s?Xn(h):Lr(h)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=ss(c,r))}return a}function Zs(e){return e!==void 0}function pT(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Eo(je(e)))),e}function my(e,n){return(e.flags&(n?8:16))!==0}function ri(e,n=""){let t=E(),r=V(),o=e+j,i=r.firstCreatePass?er(r,o,1,n,null):r.data[o],s=hT(r,t,i,n);t[o]=s,vs()&&Hu(r,t,s,i),$n(i,!1)}var hT=(e,n,t,r)=>(Ro(!0),SE(n[L],r));function gT(e,n,t,r=""){return we(e,Bt(),t)?n+bt(t)+r:de}function mT(e,n,t,r,o,i=""){let s=gl(),a=Fr(e,s,t,o);return Ao(2),a?n+bt(t)+r+bt(o)+i:de}function yT(e,n,t,r,o,i,s,a=""){let c=gl(),l=Ku(e,c,t,o,s);return Ao(3),l?n+bt(t)+r+bt(o)+i+bt(s)+a:de}function Kr(e){return yd("",e),Kr}function yd(e,n,t){let r=E(),o=gT(r,e,n,t);return o!==de&&vd(r,qe(),o),yd}function yy(e,n,t,r,o){let i=E(),s=mT(i,e,n,t,r,o);return s!==de&&vd(i,qe(),s),yy}function vy(e,n,t,r,o,i,s){let a=E(),c=yT(a,e,n,t,r,o,i,s);return c!==de&&vd(a,qe(),c),vy}function vd(e,n,t){let r=Xc(n,e);_E(e[L],r,t)}function by(e,n,t){ad(n)&&(n=n());let r=E(),o=Bt();if(we(r,o,n)){let i=V(),s=Sr();tm(s,r,e,n,r[L],t)}return by}function vT(e,n){let t=ad(e);return t&&e.set(n),t}function Dy(e,n){let t=E(),r=V(),o=Y();return ny(r,t,t[L],o,e,n),Dy}var Ey={};function Iy(e){pt("NgLet");let n=V(),t=E(),r=e+j,o=er(n,r,128,null,null);return $n(o,!1),ls(n,t,r,Ey),Iy}function bT(e){let n=V(),t=E(),r=qe();return ls(n,t,r,e),e}function DT(e){let n=pl(),t=el(n,j+e);if(t===Ey)throw new I(314,!1);return t}function Hh(e,n,t){let r=V();r.firstCreatePass&&Cy(n,r.data,r.blueprint,at(e),t)}function Cy(e,n,t,r,o){if(e=se(e),Array.isArray(e))for(let i=0;i<e.length;i++)Cy(e[i],n,t,r,o);else{let i=V(),s=E(),a=Y(),c=Rn(e)?e:se(e.provide),l=Zc(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Rn(e)||!e.multi){let p=new qn(l,o,Q,null),h=kl(c,n,o?u:u+f,d);h===-1?(Fl(Ps(a,s),i,c),Ol(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[h]=p,s[h]=p)}else{let p=kl(c,n,u+f,d),h=kl(c,n,u,u+f),m=p>=0&&t[p],y=h>=0&&t[h];if(o&&!y||!o&&!m){Fl(Ps(a,s),i,c);let D=CT(o?IT:ET,t.length,o,r,l,e);!o&&y&&(t[h].providerFactory=D),Ol(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(D),s.push(D)}else{let D=wy(t[o?h:p],l,!o&&r);Ol(i,e,p>-1?p:h,D)}!o&&r&&y&&t[h].componentProviders++}}}function Ol(e,n,t,r){let o=Rn(n),i=vp(n);if(o||i){let c=(i?se(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function wy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function kl(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function ET(e,n,t,r,o){return mu(this.multi,[])}function IT(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Bo(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),mu(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],mu(i,s);return s}function mu(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function CT(e,n,t,r,o,i){let s=new qn(e,t,Q,null);return s.multi=[],s.index=n,s.componentProviders=0,wy(s,o,r&&!t),s}function Ve(e,n){return t=>{t.providersResolver=(r,o)=>Hh(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Hh(r,o?o(n):n,!0))}}function wT(e,n){let t=Lt()+e,r=E();return r[t]===de?mn(r,t,n()):ga(r,t)}function TT(e,n,t){return xT(E(),Lt(),e,n,t)}function wa(e,n,t,r){return RT(E(),Lt(),e,n,t,r)}function ST(e,n,t,r,o){return OT(E(),Lt(),e,n,t,r,o)}function _T(e,n,t,r,o,i,s){return kT(E(),Lt(),e,n,t,r,o,i)}function MT(e,n,t,r,o,i,s){let a=Lt()+e,c=E(),l=ma(c,a,t,r,o,i);return we(c,a+4,s)||l?mn(c,a+5,n(t,r,o,i,s)):ga(c,a+5)}function NT(e,n,t,r,o,i,s,a){let c=Lt()+e,l=E(),u=ma(l,c,t,r,o,i);return Fr(l,c+4,s,a)||u?mn(l,c+6,n(t,r,o,i,s,a)):ga(l,c+6)}function AT(e,n,t,r,o,i,s,a,c){let l=Lt()+e,u=E(),d=ma(u,l,t,r,o,i);return Ku(u,l+4,s,a,c)||d?mn(u,l+7,n(t,r,o,i,s,a,c)):ga(u,l+7)}function Ta(e,n){let t=e[n];return t===de?void 0:t}function xT(e,n,t,r,o,i){let s=n+t;return we(e,s,o)?mn(e,s+1,i?r.call(i,o):r(o)):Ta(e,s+1)}function RT(e,n,t,r,o,i,s){let a=n+t;return Fr(e,a,o,i)?mn(e,a+2,s?r.call(s,o,i):r(o,i)):Ta(e,a+2)}function OT(e,n,t,r,o,i,s,a){let c=n+t;return Ku(e,c,o,i,s)?mn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Ta(e,c+3)}function kT(e,n,t,r,o,i,s,a,c){let l=n+t;return ma(e,l,o,i,s,a)?mn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Ta(e,l+4)}function PT(e,n){return fa(e,n)}var Ys=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},FT=(()=>{class e{compileModuleSync(t){return new zs(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Vc(t),i=xg(o.declarations).reduce((s,a)=>{let c=vt(a);return c&&s.push(new Qn(c)),s},[]);return new Ys(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ty=(()=>{class e{applicationErrorHandler=g(jt);appRef=g(ei);taskService=g(Un);ngZone=g(ae);zonelessEnabled=g(ko);tracing=g(ft,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ee;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(bo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Il,{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?zp:bl;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(bo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sy(){return[{provide:yt,useExisting:Ty},{provide:ae,useClass:Do},{provide:ko,useValue:!0}]}function LT(){return typeof $localize<"u"&&$localize.locale||ni}var Sa=new C("",{factory:()=>g(Sa,{optional:!0,skipSelf:!0})||LT()});var oi=class{destroyed=!1;listeners=null;errorHandler=g(Ue,{optional:!0});destroyRef=g(Ze);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new I(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(rn(953,!1));return}if(this.listeners===null)return;let t=T(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{T(t)}}};function _a(e){return tp(e)}function zt(e,n){return lo(e,n?.equal)}var BT=e=>e;function jT(e,n){if(typeof e=="function"){let t=Ec(e,BT,n?.equal);return _y(t,n?.debugName)}else{let t=Ec(e.source,e.computation,e.equal);return _y(t,e.debugName)}}function _y(e,n){let t=e[q],r=e;return r.set=o=>Xf(t,o),r.update=o=>ep(t,o),r.asReadonly=Oo.bind(e),r}var Aa=Symbol("InputSignalNode#UNSET"),Ly=U(b({},uo),{transformFn:void 0,applyValueToInputSignal(e,n){Jt(e,n)}});function By(e,n){let t=Object.create(Ly);t.value=e,t.transformFn=n?.transform;function r(){if(Rt(t),t.value===Aa){let o=null;throw new I(-950,o)}return t.value}return r[q]=t,r}var My=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>vu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function yB(e){return new oi}function Ny(e,n){return By(e,n)}function XT(e){return By(Aa,e)}var be=(Ny.required=XT,Ny);function Ay(e,n){return td(n)}function eS(e,n){return nd(n)}var vB=(Ay.required=eS,Ay);function xy(e,n){return td(n)}function tS(e,n){return nd(n)}var nS=(xy.required=tS,xy);function bB(e,n){return km(n)}function jy(e,n){let t=Object.create(Ly),r=new oi;t.value=e;function o(){return Rt(t),Ry(t.value),t.value}return o[q]=t,o.asReadonly=Oo.bind(o),o.set=i=>{t.equal(t.value,i)||(Jt(t,i),r.emit(i))},o.update=i=>{Ry(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Ry(e){if(e===Aa)throw new I(952,!1)}function Oy(e,n){return jy(e,n)}function rS(e){return jy(Aa,e)}var DB=(Oy.required=rS,Oy);var Dd=new C(""),oS=new C("");function ii(e){return!e.moduleRef}function iS(e){let n=ii(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ae);return t.run(()=>{ii(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(jt),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ii(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Dd);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Dd);s.add(i),e.moduleRef.onDestroy(()=>{Lo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return aS(r,t,()=>{let i=n.get(Un),s=i.add(),a=n.get(fd);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Sa,ni);if(ey(c||ni),!n.get(oS,!0))return ii(e)?n.get(ei):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ii(e)){let u=n.get(ei);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return sS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var sS;function aS(e,n,t){try{let r=t();return va(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Ma=null;function cS(e=[],n){return ue.create({name:n,providers:[{provide:So,useValue:"platform"},{provide:Dd,useValue:new Set([()=>Ma=null])},...e]})}function lS(e=[]){if(Ma)return Ma;let n=cS(e);return Ma=n,qm(),uS(n),n}function uS(e){let n=e.get(Ks,null);Dr(e,()=>{n?.forEach(t=>t())})}var dS=1e4;var EB=dS-1e3;var Nd=(()=>{class e{static __NG_ELEMENT_ID__=fS}return e})();function fS(e){return pS(Y(),E(),(e&16)===16)}function pS(e,n,t){if(Ft(e)&&!t){let r=Ge(e.index,n);return new pn(r,r)}else if(e.type&175){let r=n[Ce];return new pn(r,n)}return null}var Ed=class{supports(n){return Qu(n)}create(n){return new Id(n)}},hS=(e,n)=>n,Id=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||hS}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<ky(r,o,i)?t:r,a=ky(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let f=0;f<l;f++){let p=f<i.length?i[f]:i[f]=0,h=p+f;u<=h&&h<l&&(i[f]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!Qu(n))throw new I(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,Em(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 Na),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 Na),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}},wd=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}},Na=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new wd,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 ky(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 Td=class{supports(n){return n instanceof Map||ha(n)}create(){return new Sd}},Sd=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||ha(n)))throw new I(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new _d(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))}},_d=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Py(){return new Ad([new Ed])}var Ad=(()=>{class e{factories;static \u0275prov=v({token:e,providedIn:"root",factory:Py});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||Py())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new I(901,!1)}}return e})();function Fy(){return new xd([new Td])}var xd=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:Fy});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||Fy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new I(901,!1)}}return e})();function Vy(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;k(x.BootstrapApplicationStart);try{let i=o?.injector??lS(r),s=[Sy(),Gp,...t||[]],a=new Wo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return iS({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{k(x.BootstrapApplicationEnd)}}function Se(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Hy(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var bd=Symbol("NOT_SET"),$y=new Set,gS=U(b({},uo),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:bd,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!==bd&&!hr(this))return this.signal;try{for(let o of this.cleanup??$y)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Ot(this),r;try{r=this.userFn.apply(null,n)}finally{Qt(this,t)}return(this.value===bd||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Md=class extends Ho{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(Ze),s),this.scheduler=o;for(let a of Bu){let c=t[a];if(c===void 0)continue;let l=Object.create(gS);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Rt(l),l.value),l.signal[q]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??$y)t()}finally{Kt(n)}}};function IB(e,n){let t=n?.injector??g(ue),r=t.get(yt),o=t.get(oa),i=t.get(ft,null,{optional:!0});o.impl??=t.get(ju);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Mr,null,{optional:!0}),c=new Md(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function CB(e){let n=vt(e);if(!n)return null;let t=new Qn(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var Uy=null;function Wt(){return Uy}function Rd(e){Uy??=e}var si=class{},Jr=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>g(zy),providedIn:"platform"})}return e})();var zy=(()=>{class e extends Jr{_location;_history;_doc=g(B);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Wt().getBaseHref(this._doc)}onPopState(t){let r=Wt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Wt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function qy(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Wy(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function vn(e){return e&&e[0]!=="?"?`?${e}`:e}var xa=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>g(yS),providedIn:"root"})}return e})(),mS=new C(""),yS=(()=>{class e extends xa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return qy(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+vn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+vn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+vn(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)(S(Jr),S(mS,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Zy=(()=>{class e{_subject=new ee;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=DS(Wy(Gy(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+vn(r))}normalize(t){return e.stripTrailingSlash(bS(this._basePath,Gy(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+vn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+vn(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=vn;static joinWithSlash=qy;static stripTrailingSlash=Wy;static \u0275fac=function(r){return new(r||e)(S(xa))};static \u0275prov=v({token:e,factory:()=>vS(),providedIn:"root"})}return e})();function vS(){return new Zy(S(xa))}function bS(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Gy(e){return e.replace(/\/index.html$/,"")}function DS(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Od=/\s+/,Yy=[],ES=(()=>{class e{_ngEl;_renderer;initialClasses=Yy;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Od):Yy}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Od):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(Od).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)(Q(xe),Q(gn))};static \u0275dir=oe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),IS=(()=>{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=rd(this.ngComponentOutletNgModule,CS(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)(Q($t))};static \u0275dir=oe({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[jr]})}return e})();function CS(e){return e.get(hn).injector}var Ra=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}},Jy=(()=>{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 Ra(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),Qy(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);Qy(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(Q($t),Q(Tt),Q(Ad))};static \u0275dir=oe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Qy(e,n){e.context.$implicit=n.item}var kd=(()=>{class e{_viewContainer;_context=new Oa;_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){Ky(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ky(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)(Q($t),Q(Tt))};static \u0275dir=oe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Oa=class{$implicit=null;ngIf=null};function Ky(e,n){if(e&&!e.createEmbeddedView)throw new I(2020,!1)}var Pd=(()=>{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:ut.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)(Q(xe),Q(xd),Q(gn))};static \u0275dir=oe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Fd=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(ue);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)(Q($t))};static \u0275dir=oe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[jr]})}return e})();var ht=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();function ai(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 or=class{};var Ld="browser",wS="server";function ci(e){return e===Ld}function Bd(e){return e===wS}var li=class{_doc;constructor(n){this._doc=n}manager},ka=(()=>{class e extends li{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(S(B))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),La=new C(""),$d=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof ka));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof ka);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new I(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(S(La),S(ae))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),jd="ng-app-id";function Xy(e){for(let n of e)n.remove()}function ev(e,n){let t=n.createElement("style");return t.textContent=e,t}function SS(e,n,t,r){let o=e.head?.querySelectorAll(`style[${jd}="${n}"],link[${jd}="${n}"]`);if(o)for(let i of o)i.removeAttribute(jd),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Hd(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Ud=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,SS(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,ev);r?.forEach(o=>this.addUsage(o,this.external,Hd))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(Xy(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Xy(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,ev(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Hd(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(S(B),S(Qs),S(Zo,8),S(dt))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Vd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},zd=/%COMP%/g;var nv="%COMP%",_S=`_nghost-${nv}`,MS=`_ngcontent-${nv}`,NS=!0,AS=new C("",{factory:()=>NS});function xS(e){return MS.replace(zd,e)}function RS(e){return _S.replace(zd,e)}function rv(e,n){return n.map(t=>t.replace(zd,e))}var Wd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new ui(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Fa?o.applyToHost(t):o instanceof di&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case lt.Emulated:i=new Fa(c,l,r,this.appId,u,s,a,d);break;case lt.ShadowDom:return new Pa(c,t,r,s,a,this.nonce,d,l);case lt.ExperimentalIsolatedShadowDom:return new Pa(c,t,r,s,a,this.nonce,d);default:i=new di(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(S($d),S(Ud),S(Qs),S(AS),S(B),S(ae),S(Zo),S(ft,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),ui=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Vd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(tv(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(tv(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new I(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Vd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Vd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(ut.DashCase|ut.Important)?n.style.setProperty(t,r,o&ut.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&ut.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Wt().getGlobalEventTarget(this.doc,n),!n))throw new I(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function tv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Pa=class extends ui{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=rv(r.id,l);for(let d of l){let f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}let u=r.getExternalStyles?.();if(u)for(let d of u){let f=Hd(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},di=class extends ui{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?rv(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&fn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Fa=class extends di{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=xS(l),this.hostAttr=RS(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var Ba=class e extends si{supportsDOMEvents=!0;static makeCurrent(){Rd(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=OS();return t==null?null:kS(t)}resetBaseElement(){fi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ai(document.cookie,n)}},fi=null;function OS(){return fi=fi||document.head.querySelector("base"),fi?fi.getAttribute("href"):null}function kS(e){return new URL(e,document.baseURI).pathname}var PS=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),ov=["alt","control","meta","shift"],FS={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},LS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},iv=(()=>{class e extends li{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wt().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),ov.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=FS[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ov.forEach(s=>{if(s!==o){let a=LS[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(S(B))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();async function BS(e,n,t){let r=b({rootComponent:e},jS(n,t));return Vy(r)}function jS(e,n){return{platformRef:n?.platformRef,appProviders:[...zS,...e?.providers??[]],platformProviders:US}}function VS(){Ba.makeCurrent()}function HS(){return new Ue}function $S(){return Du(document),document}var US=[{provide:dt,useValue:Ld},{provide:Ks,useValue:VS,multi:!0},{provide:B,useFactory:$S}];var zS=[{provide:So,useValue:"root"},{provide:Ue,useFactory:HS},{provide:La,useClass:ka,multi:!0},{provide:La,useClass:iv,multi:!0},Wd,Ud,$d,{provide:Yn,useExisting:Wd},{provide:or,useClass:PS},[]];var At=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
5
- `).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Ha=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},$a=class{encodeKey(n){return sv(n)}encodeValue(n){return sv(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function WS(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var GS=/%(\d[a-f0-9])/gi,qS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sv(e){return encodeURIComponent(e).replace(GS,(n,t)=>qS[t]??n)}function ja(e){return`${e}`}var Gt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new $a,n.fromString){if(n.fromObject)throw new I(2805,!1);this.map=WS(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(ja):[ja(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(ja(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(ja(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function ZS(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function av(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function cv(e){return typeof Blob<"u"&&e instanceof Blob}function lv(e){return typeof FormData<"u"&&e instanceof FormData}function YS(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var pi="Content-Type",Ua="Accept",uv="text/plain",dv="application/json",fv=`${dv}, ${uv}, */*`,Xr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(ZS(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new I(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new At,this.context??=new Ha,!this.params)this.params=new Gt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||av(this.body)||cv(this.body)||lv(this.body)||YS(this.body)?this.body:this.body instanceof Gt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||lv(this.body)?null:cv(this.body)?this.body.type||null:av(this.body)?null:typeof this.body=="string"?uv:this.body instanceof Gt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?dv:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer||this.referrer,f=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,h=n.transferCache??this.transferCache,m=n.timeout??this.timeout,y=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,A=n.reportProgress??this.reportProgress,$=n.headers||this.headers,H=n.params||this.params,Xe=n.context??this.context;return n.setHeaders!==void 0&&($=Object.keys(n.setHeaders).reduce((_e,xt)=>_e.set(xt,n.setHeaders[xt]),$)),n.setParams&&(H=Object.keys(n.setParams).reduce((_e,xt)=>_e.set(xt,n.setParams[xt]),H)),new e(t,r,y,{params:H,headers:$,context:Xe,reportProgress:A,responseType:o,withCredentials:D,transferCache:h,keepalive:i,cache:a,priority:s,timeout:m,mode:c,redirect:l,credentials:u,referrer:d,integrity:f,referrerPolicy:p})}},qt=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(qt||{}),eo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new At,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},hi=class e extends eo{constructor(n={}){super(n)}type=qt.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},to=class e extends eo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=qt.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Nt=class extends eo{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},pv=200,QS=204;var KS=/^\)\]\}',?\n/,hv=new C(""),Va=(()=>{class e{fetchImpl=g(qd,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=g(ae);destroyRef=g(Ze);handle(t){return new R(r=>{let o=new AbortController;this.doRequest(t,o.signal,r).then(Zd,s=>r.error(new Nt({error:s})));let i;return t.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},t.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(t,r,o){let i=this.createRequestInit(t),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,b({signal:r},i)));JS(m),o.next({type:qt.Sent}),s=await m}catch(m){o.error(new Nt({error:m,status:m.status??0,statusText:m.statusText,url:t.urlWithParams,headers:m.headers}));return}let a=new At(s.headers),c=s.statusText,l=s.url||t.urlWithParams,u=s.status,d=null;if(t.reportProgress&&o.next(new hi({headers:a,status:u,statusText:c,url:l})),s.body){let m=s.headers.get("content-length"),y=[],D=s.body.getReader(),A=0,$,H,Xe=typeof Zone<"u"&&Zone.current,_e=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await D.cancel(),_e=!0;break}let{done:ro,value:qa}=await D.read();if(ro)break;if(y.push(qa),A+=qa.length,t.reportProgress){H=t.responseType==="text"?(H??"")+($??=new TextDecoder).decode(qa,{stream:!0}):void 0;let rf=()=>o.next({type:qt.DownloadProgress,total:m?+m:void 0,loaded:A,partialText:H});Xe?Xe.run(rf):rf()}}}),_e){o.complete();return}let xt=this.concatChunks(y,A);try{let ro=s.headers.get(pi)??"";d=this.parseBody(t,xt,ro,u)}catch(ro){o.error(new Nt({error:ro,headers:new At(s.headers),status:s.status,statusText:s.statusText,url:s.url||t.urlWithParams}));return}}u===0&&(u=d?pv:0);let f=u>=200&&u<300,p=s.redirected,h=s.type;f?(o.next(new to({body:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:h})),o.complete()):o.error(new Nt({error:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:h}))}parseBody(t,r,o,i){switch(t.responseType){case"json":let s=new TextDecoder().decode(r).replace(KS,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o;if(o=t.credentials,t.withCredentials&&(o="include"),t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has(Ua)||(r[Ua]=fv),!t.headers.has(pi)){let i=t.detectContentTypeHeader();i!==null&&(r[pi]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,referrer:t.referrer,integrity:t.integrity,referrerPolicy:t.referrerPolicy}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),qd=class{};function Zd(){}function JS(e){e.then(Zd,Zd)}var XS=/^\)\]\}',?\n/;var Yd=(()=>{class e{xhrFactory;tracingService=g(ft,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new I(-2800,!1);let r=this.xhrFactory;return Hi(null).pipe(bc(()=>new R(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((y,D)=>s.setRequestHeader(y,D.join(","))),t.headers.has(Ua)||s.setRequestHeader(Ua,fv),!t.headers.has(pi)){let y=t.detectContentTypeHeader();y!==null&&s.setRequestHeader(pi,y)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let y=t.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let y=s.statusText||"OK",D=new At(s.getAllResponseHeaders()),A=s.responseURL||t.url;return c=new hi({headers:D,status:s.status,statusText:y,url:A}),c},u=this.maybePropagateTrace(()=>{let{headers:y,status:D,statusText:A,url:$}=l(),H=null;D!==QS&&(H=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=H?pv:0);let Xe=D>=200&&D<300;if(t.responseType==="json"&&typeof H=="string"){let _e=H;H=H.replace(XS,"");try{H=H!==""?JSON.parse(H):null}catch(xt){H=_e,Xe&&(Xe=!1,H={error:xt,text:H})}}Xe?(i.next(new to({body:H,headers:y,status:D,statusText:A,url:$||void 0})),i.complete()):i.error(new Nt({error:H,headers:y,status:D,statusText:A,url:$||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:D}=l(),A=new Nt({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(A)}),f=d;t.timeout&&(f=this.maybePropagateTrace(y=>{let{url:D}=l(),A=new Nt({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(A)}));let p=!1,h=this.maybePropagateTrace(y=>{p||(i.next(l()),p=!0);let D={type:qt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),m=this.maybePropagateTrace(y=>{let D={type:qt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),i.next(D)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",f),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),i.next({type:qt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",f),t.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(S(or))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function e_(e,n){return n(e)}function t_(e,n,t){return(r,o)=>Dr(t,()=>n(r,i=>e(i,o)))}var gv=new C("",{factory:()=>[]}),mv=new C(""),yv=new C("",{factory:()=>!0});var Wa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=S(Yd),o},providedIn:"root"})}return e})();var za=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Nr);contributeToStability=g(yv);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(gv),...this.injector.get(mv,[])]));this.chain=r.reduceRight((o,i)=>t_(o,i,this.injector),e_)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(yc(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(S(Wa),S(me))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=S(za),o},providedIn:"root"})}return e})();function Gd(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var vv=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Xr)i=t;else{let c;o.headers instanceof At?c=o.headers:c=new At(o.headers);let l;o.params&&(o.params instanceof Gt?l=o.params:l=new Gt({fromObject:o.params})),i=new Xr(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=Hi(i).pipe(gc(c=>this.handler.handle(c)));if(t instanceof Xr||o.observe==="events")return s;let a=s.pipe(ho(c=>c instanceof to));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe($e(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new I(2806,!1);return c.body}));case"blob":return a.pipe($e(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new I(2807,!1);return c.body}));case"text":return a.pipe($e(c=>{if(c.body!==null&&typeof c.body!="string")throw new I(2808,!1);return c.body}));default:return a.pipe($e(c=>c.body))}case"response":return a;default:throw new I(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Gt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Gd(o,r))}post(t,r,o={}){return this.request("POST",t,Gd(o,r))}put(t,r,o={}){return this.request("PUT",t,Gd(o,r))}static \u0275fac=function(r){return new(r||e)(S(Qd))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var n_=new C("",{factory:()=>!0}),r_="XSRF-TOKEN",o_=new C("",{factory:()=>r_}),i_="X-XSRF-TOKEN",s_=new C("",{factory:()=>i_}),a_=(()=>{class e{cookieName=g(o_);doc=g(B);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ai(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=S(a_),o},providedIn:"root"})}return e})();function c_(e,n){if(!g(n_)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=g(Jr).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch{return n(e)}let t=g(bv).getToken(),r=g(s_);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var Kd=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(Kd||{});function l_(e,n){return{\u0275kind:e,\u0275providers:n}}function u_(...e){let n=[vv,za,{provide:Qd,useExisting:za},{provide:Wa,useFactory:()=>g(hv,{optional:!0})??g(Yd)},{provide:gv,useValue:c_,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return Dt(n)}function d_(){return l_(Kd.Fetch,[Va,{provide:hv,useExisting:Va},{provide:Wa,useExisting:Va}])}var yV=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(S(B))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var f_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=S(p_),o},providedIn:"root"})}return e})(),p_=(()=>{class e extends f_{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Ye.NONE:return r;case Ye.HTML:return St(r,"HTML")?je(r):ea(this._doc,String(r)).toString();case Ye.STYLE:return St(r,"Style")?je(r):r;case Ye.SCRIPT:if(St(r,"Script"))return je(r);throw new I(5200,!1);case Ye.URL:return St(r,"URL")?je(r):Yo(String(r));case Ye.RESOURCE_URL:if(St(r,"ResourceURL"))return je(r);throw new I(5201,!1);default:throw new I(5202,!1)}}bypassSecurityTrustHtml(t){return Tu(t)}bypassSecurityTrustStyle(t){return Su(t)}bypassSecurityTrustScript(t){return _u(t)}bypassSecurityTrustUrl(t){return Mu(t)}bypassSecurityTrustResourceUrl(t){return Nu(t)}static \u0275fac=function(r){return new(r||e)(S(B))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bn(...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)?[bn(...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 h_=Object.defineProperty,Dv=Object.getOwnPropertySymbols,g_=Object.prototype.hasOwnProperty,m_=Object.prototype.propertyIsEnumerable,Ev=(e,n,t)=>n in e?h_(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Iv=(e,n)=>{for(var t in n||(n={}))g_.call(n,t)&&Ev(e,t,n[t]);if(Dv)for(var t of Dv(n))m_.call(n,t)&&Ev(e,t,n[t]);return e};function Cv(...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)?[Cv(...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 y_(e){return typeof e=="function"&&"call"in e&&"apply"in e}function v_({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=Iv(Iv({},t.style),r.style);else if(o==="class"||o==="className")t[o]=Cv(t[o],r[o]);else if(y_(i)){let s=t[o];t[o]=s?(...a)=>{s(...a),i(...a)}:i}else t[o]=i}return t},{})}function Jd(...e){return v_({skipUndefined:!1},...e)}var Ga={};function gi(e="pui_id_"){return Object.hasOwn(Ga,e)||(Ga[e]=0),Ga[e]++,`${e}${Ga[e]}`}var wv=["*"],b_=(function(e){return e[e.ACCEPT=0]="ACCEPT",e[e.REJECT=1]="REJECT",e[e.CANCEL=2]="CANCEL",e})(b_||{}),SV=(()=>{class e{requireConfirmationSource=new ee;acceptConfirmationSource=new ee;requireConfirmation$=this.requireConfirmationSource.asObservable();accept=this.acceptConfirmationSource.asObservable();confirm(t){return this.requireConfirmationSource.next(t),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var pe=(()=>{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})(),_V=(()=>{class e{static AND="and";static OR="or"}return e})(),MV=(()=>{class e{filter(t,r,o,i,s){let a=[];if(t)for(let c of t)for(let l of r){let u=mf(c,l);if(this.filters[i](u,o,s)){a.push(c);break}}return a}filters={startsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=Oe(r.toString()).toLocaleLowerCase(o);return Oe(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=Oe(r.toString()).toLocaleLowerCase(o);return Oe(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=Oe(r.toString()).toLocaleLowerCase(o);return Oe(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=Oe(r.toString()).toLocaleLowerCase(o),s=Oe(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:Oe(t.toString()).toLocaleLowerCase(o)==Oe(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:Oe(t.toString()).toLocaleLowerCase(o)!=Oe(r.toString()).toLocaleLowerCase(o),in:(t,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if(mi(t,r[o]))return!0;return!1},between:(t,r)=>r==null||r[0]==null||r[1]==null?!0:t==null?!1:t.getTime?r[0].getTime()<=t.getTime()&&t.getTime()<=r[1].getTime():r[0]<=t&&t<=r[1],lt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<r.getTime():t<r,lte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<=r.getTime():t<=r,gt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>r.getTime():t>r,gte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>=r.getTime():t>=r,is:(t,r,o)=>this.filters.equals(t,r,o),isNot:(t,r,o)=>this.filters.notEquals(t,r,o),before:(t,r,o)=>this.filters.lt(t,r,o),after:(t,r,o)=>this.filters.gt(t,r,o),dateIs:(t,r)=>r==null?!0:t==null?!1:t.toDateString()===r.toDateString(),dateIsNot:(t,r)=>r==null?!0:t==null?!1:t.toDateString()!==r.toDateString(),dateBefore:(t,r)=>r==null?!0:t==null?!1:t.getTime()<r.getTime(),dateAfter:(t,r)=>r==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>r.getTime())};register(t,r){this.filters[t]=r}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var NV=(()=>{class e{clickSource=new ee;parentDragSource=new ee;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(t){t&&this.clickSource.next(t)}emitParentDrag(t){this.parentDragSource.next(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var AV=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Re({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:wv,decls:1,vars:0,template:function(r,o){r&1&&(_t(),Mt(0))},encapsulation:2})}return e})(),xV=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Re({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:wv,decls:1,vars:0,template:function(r,o){r&1&&(_t(),Mt(0))},encapsulation:2})}return e})(),Tv=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(r){return new(r||e)(Q(Tt))};static \u0275dir=oe({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),Dn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[ht]})}return e})(),RV=(()=>{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 Sv=`
6
- *,
7
- ::before,
8
- ::after {
9
- box-sizing: border-box;
10
- }
11
-
12
- .p-collapsible-enter-active {
13
- animation: p-animate-collapsible-expand 0.2s ease-out;
14
- overflow: hidden;
15
- }
16
-
17
- .p-collapsible-leave-active {
18
- animation: p-animate-collapsible-collapse 0.2s ease-out;
19
- overflow: hidden;
20
- }
21
-
22
- @keyframes p-animate-collapsible-expand {
23
- from {
24
- grid-template-rows: 0fr;
25
- }
26
- to {
27
- grid-template-rows: 1fr;
28
- }
29
- }
30
-
31
- @keyframes p-animate-collapsible-collapse {
32
- from {
33
- grid-template-rows: 1fr;
34
- }
35
- to {
36
- grid-template-rows: 0fr;
37
- }
38
- }
39
-
40
- .p-disabled,
41
- .p-disabled * {
42
- cursor: default;
43
- pointer-events: none;
44
- user-select: none;
45
- }
46
-
47
- .p-disabled,
48
- .p-component:disabled {
49
- opacity: dt('disabled.opacity');
50
- }
51
-
52
- .pi {
53
- font-size: dt('icon.size');
54
- }
55
-
56
- .p-icon {
57
- width: dt('icon.size');
58
- height: dt('icon.size');
59
- }
60
-
61
- .p-overlay-mask {
62
- background: var(--px-mask-background, dt('mask.background'));
63
- color: dt('mask.color');
64
- position: fixed;
65
- top: 0;
66
- left: 0;
67
- width: 100%;
68
- height: 100%;
69
- }
70
-
71
- .p-overlay-mask-enter-active {
72
- animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;
73
- }
74
-
75
- .p-overlay-mask-leave-active {
76
- animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;
77
- }
78
-
79
- @keyframes p-animate-overlay-mask-enter {
80
- from {
81
- background: transparent;
82
- }
83
- to {
84
- background: var(--px-mask-background, dt('mask.background'));
85
- }
86
- }
87
- @keyframes p-animate-overlay-mask-leave {
88
- from {
89
- background: var(--px-mask-background, dt('mask.background'));
90
- }
91
- to {
92
- background: transparent;
93
- }
94
- }
95
-
96
- .p-anchored-overlay-enter-active {
97
- animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);
98
- }
99
-
100
- .p-anchored-overlay-leave-active {
101
- animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);
102
- }
103
-
104
- @keyframes p-animate-anchored-overlay-enter {
105
- from {
106
- opacity: 0;
107
- transform: scale(0.93);
108
- }
109
- }
110
-
111
- @keyframes p-animate-anchored-overlay-leave {
112
- to {
113
- opacity: 0;
114
- transform: scale(0.93);
115
- }
116
- }
117
- `;var D_=0,_v=(()=>{class e{document=g(B);use(t,r={}){let o=!1,i=t,s=null,{immediate:a=!0,manual:c=!1,name:l=`style_${++D_}`,id:u=void 0,media:d=void 0,nonce:f=void 0,first:p=!1,props:h={}}=r;if(this.document){if(s=this.document.querySelector(`style[data-primeng-style-id="${l}"]`)||u&&this.document.getElementById(u)||this.document.createElement("style"),s){if(!s.isConnected){i=t;let m=this.document.head;pf(s,"nonce",f),p&&m.firstChild?m.insertBefore(s,m.firstChild):m.appendChild(s),lf(s,{type:"text/css",media:d,nonce:f,"data-primeng-style-id":l})}s.textContent!==i&&(s.textContent=i)}return{id:u,name:l,el:s,css:i}}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var no={_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()}},E_=`
118
- .p-hidden-accessible {
119
- border: 0;
120
- clip: rect(0 0 0 0);
121
- height: 1px;
122
- margin: -1px;
123
- overflow: hidden;
124
- padding: 0;
125
- position: absolute;
126
- width: 1px;
127
- }
128
-
129
- .p-hidden-accessible input,
130
- .p-hidden-accessible select {
131
- transform: scale(0);
132
- }
133
-
134
- .p-overflow-hidden {
135
- overflow: hidden;
136
- padding-right: dt('scrollbar.width');
137
- }
138
- `,De=(()=>{class e{name="base";useStyle=g(_v);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,r={},o=i=>i)=>{let i=o(lr`${Zt(t,{dt:bi})}`);return i?this.useStyle.use(vi(i),b({name:this.name},r)):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},r="")=>this.load(this.style,t,(o="")=>G.transformCSS(t.name||this.name,`${o}${lr`${r}`}`));loadBaseCSS=(t={})=>this.load(E_,t);loadBaseStyle=(t={},r="")=>this.load(Sv,t,(o="")=>G.transformCSS(t.name||this.name,`${o}${lr`${r}`}`));getCommonTheme=t=>G.getCommon(this.name,t);getComponentTheme=t=>G.getComponent(this.name,t);getPresetTheme=(t,r,o)=>G.getCustomPreset(this.name,t,r,o);getLayerOrderThemeCSS=()=>G.getLayerOrderCSS(this.name);getStyleSheet=(t="",r={})=>{if(this.css){let o=Zt(this.css,{dt:bi}),i=vi(lr`${o}${t}`),s=Object.entries(r).reduce((a,[c,l])=>a.push(`${c}="${l}"`)&&a,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${i}</style>`}return""};getCommonThemeStyleSheet=(t,r={})=>G.getCommonStyleSheet(this.name,t,r);getThemeStyleSheet=(t,r={})=>{let o=[G.getStyleSheet(this.name,t,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=lr`${Zt(this.style,{dt:bi})}`,a=vi(G.transformCSS(i,s)),c=Object.entries(r).reduce((l,[u,d])=>l.push(`${u}="${d}"`)&&l,[]).join(" ");o.push(`<style type="text/css" data-primeng-style-id="${i}" ${c}>${a}</style>`)}return o.join("")};static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var I_=(()=>{class e{theme=re(void 0);csp=re({nonce:void 0});isThemeChanged=!1;document=g(B);baseStyle=g(De);constructor(){Ne(()=>{cr.on("theme:change",t=>{_a(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),Ne(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){G.clearLoadedStyleNames(),cr.clear()}onThemeChange(t){G.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!G.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,b({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,b({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,b({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(b({name:"global-style"},s),i),G.setLoadedStyleName("common")}}setThemeConfig(t){let{theme:r,csp:o}=t||{};r&&this.theme.set(r),o&&this.csp.set(o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xd=(()=>{class e extends I_{ripple=re(!1);platformId=g(dt);inputStyle=re(null);inputVariant=re(null);overlayAppendTo=re("self");overlayOptions={};csp=re({nonce:void 0});unstyled=re(void 0);pt=re(void 0);ptOptions=re(void 0);filterMatchModeOptions={text:[pe.STARTS_WITH,pe.CONTAINS,pe.NOT_CONTAINS,pe.ENDS_WITH,pe.EQUALS,pe.NOT_EQUALS],numeric:[pe.EQUALS,pe.NOT_EQUALS,pe.LESS_THAN,pe.LESS_THAN_OR_EQUAL_TO,pe.GREATER_THAN,pe.GREATER_THAN_OR_EQUAL_TO],date:[pe.DATE_IS,pe.DATE_IS_NOT,pe.DATE_BEFORE,pe.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 ee;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=b(b({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:c,translation:l,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:f,ptOptions:p,pt:h,unstyled:m}=t||{};r&&this.csp.set(r),d&&this.overlayAppendTo.set(d),o&&this.ripple.set(o),i&&this.inputStyle.set(i),s&&this.inputVariant.set(s),c&&(this.overlayOptions=c),l&&this.setTranslation(l),u&&(this.filterMatchModeOptions=u),f&&(this.zIndex=f),h&&this.pt.set(h),p&&this.ptOptions.set(p),m&&this.unstyled.set(m),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),C_=new C("PRIME_NG_CONFIG");function tH(...e){let n=e?.map(r=>({provide:C_,useValue:r,multi:!1})),t=dd(()=>{let r=g(Xd);e?.forEach(o=>r.setConfig(o))});return Dt([...n,t])}var Mv=(()=>{class e extends De{name="common";static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ir=new C("PARENT_INSTANCE"),Je=(()=>{class e{document=g(B);platformId=g(dt);el=g(xe);injector=g(ue);cd=g(Nd);renderer=g(gn);config=g(Xd);$parentInstance=g(ir,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=g(Mv);baseStyle=g(De);scopedStyleEl;parent=this.$params.parent;cn=bn;_themeScopedListener;themeChangeListenerMap=new Map;dt=be();unstyled=be();pt=be();ptOptions=be();$attrSelector=gi("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=re(void 0);directiveUnstyled=re(void 0);$unstyled=zt(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=zt(()=>Zt(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>Zt(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||Zt(t,this.$params))}get $style(){return b(b({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(){Ne(t=>{this.document&&!Bd(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")})}),Ne(t=>{this.document&&!Bd(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 gf(t)?t(...r):Jd(...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 yf(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(){no.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),no.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){let t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);oo(t)&&this.baseStyle.load(t,b({name:"global"},this.$styleOptions))}_loadCoreStyles(){!no.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),no.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!G.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,b({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,b({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,b({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(b({name:"global-style"},this.$styleOptions),i),G.setLoadedStyleName("common")}if(!G.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:t,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,b({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(b({name:`${this.$style?.name}-style`},this.$styleOptions),r),G.setLoadedStyleName(this.$style?.name)}if(!G.isStyleNameLoaded("layer-order")){let t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,b({name:"layer-order",first:!0},this.$styleOptions)),G.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){let{css:r}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,b({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,r=()=>{}){this._offThemeChangeListener(t),no.clearLoadedStyleNames();let o=r.bind(this);this.themeChangeListenerMap.set(t,o),cr.on("theme:change",o)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(cr.off("theme:change",this.themeChangeListenerMap.get(t)),this.themeChangeListenerMap.delete(t))}_getPTValue(t={},r="",o={},i=!0){let s=/./g.test(r)&&!!o[r.split(".")[0]],{mergeSections:a=!0,mergeProps:c=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},l=i?s?this._useGlobalPT(this._getPTClassValue,r,o):this._useDefaultPT(this._getPTClassValue,r,o):void 0,u=s?void 0:this._usePT(this._getPT(t,this.$hostName||this.$name),this._getPTClassValue,r,U(b({},o),{global:l||{}})),d=this._getPTDatasets(r);return a||!a&&u?c?this._mergeProps(c,l,u,d):b(b(b({},l),u),d):b(b({},u),d)}_getPTDatasets(t=""){let r="data-pc-",o=t==="root"&&oo(this.$pt()?.["data-pc-section"]);return t!=="transition"&&U(b({},t==="root"&&U(b({[`${r}name`]:ar(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:ar(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:ar(t.includes(".")?t.split(".").at(-1)??"":t)})}_getPTClassValue(t,r,o){let i=this._getOptionValue(t,r,o);return yi(i)||vf(i)?{class:i}:i}_getPT(t,r="",o){let i=(s,a=!1)=>{let c=o?o(s):s,l=ar(r),u=ar(this.$hostName||this.$name);return(a?l!==u?c?.[l]:void 0:c?.[l])??c};return t?.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t,!0)}_usePT(t,r,o,i){let s=a=>r?.call(this,a,o,i);if(t?.hasOwnProperty("_usept")){let{mergeSections:a=!0,mergeProps:c=!1}=t._usept||this.config?.ptOptions()||{},l=s(t.originalValue),u=s(t.value);return l===void 0&&u===void 0?void 0:yi(u)?u:yi(l)?l:a||!a&&u?c?this._mergeProps(c,l,u):b(b({},l),u):u}return s(t)}_useGlobalPT(t,r,o){return this._usePT(this.$globalPT,t,r,o)}_useDefaultPT(t,r,o){return this._usePT(this.$defaultPT,t,r,o)}ptm(t="",r={}){return this._getPTValue(this.$pt(),t,b(b({},this.$params),r))}ptms(t,r={}){return t.reduce((o,i)=>(o=Jd(o,this.ptm(i,r))||{},o),{})}ptmo(t={},r="",o={}){return this._getPTValue(t,r,b({instance:this},o),!1)}cx(t,r={}){return this.$unstyled()?void 0:bn(this._getOptionValue(this.$style.classes,t,b(b({},this.$params),r)))}sx(t="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,t,b(b({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,t,b(b({},this.$params),o));return b(b({},s),i)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=oe({type:e,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[Ve([Mv,De]),jr]})}return e})();var ef=(()=>{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=$=>{if($)return getComputedStyle($).getPropertyValue("position")==="relative"?$:i($.parentElement)},s=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),a=r.offsetHeight,c=r.getBoundingClientRect(),l=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport(),p=i(t)?.getBoundingClientRect()||{top:-1*l,left:-1*u},h,m,y="top";c.top+a+s.height>d.height?(h=c.top-p.top-s.height,y="bottom",c.top+h<0&&(h=-1*c.top)):(h=a+c.top-p.top,y="top");let D=c.left+s.width-d.width,A=c.left-p.left;if(s.width>d.width?m=(c.left-p.left)*-1:D>0?m=A-D:m=c.left-p.left,t.style.top=h+"px",t.style.left=m+"px",t.style.transformOrigin=y,o){let $=af(/-anchor-gutter$/)?.value;t.style.marginTop=y==="bottom"?`calc(${$??"2px"} * -1)`:$??""}}static absolutePosition(t,r,o=!0){let i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=i.height,a=i.width,c=r.offsetHeight,l=r.offsetWidth,u=r.getBoundingClientRect(),d=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport(),h,m;u.top+c+s>p.height?(h=u.top+d-s,t.style.transformOrigin="bottom",h<0&&(h=d)):(h=c+u.top+d,t.style.transformOrigin="top"),u.left+a>p.width?m=Math.max(0,u.left+f+l-a):m=u.left+f,t.style.top=h+"px",t.style.left=m+"px",o&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,r=[]){return t.parentNode===null?r:this.getParents(t.parentNode,r.concat([t.parentNode]))}static getScrollableParents(t){let r=[];if(t){let o=this.getParents(t),i=/(auto|scroll)/,s=a=>{let c=window.getComputedStyle(a,null);return i.test(c.getPropertyValue("overflow"))||i.test(c.getPropertyValue("overflowX"))||i.test(c.getPropertyValue("overflowY"))};for(let a of o){let c=a.nodeType===1&&a.dataset.scrollselectors;if(c){let l=c.split(",");for(let u of l){let d=this.findSingle(a,u);d&&s(d)&&r.push(d)}}a.nodeType!==9&&s(a)&&r.push(a)}}return r}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementDimensions(t){let r={};return t.style.visibility="hidden",t.style.display="block",r.width=t.offsetWidth,r.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",r}static scrollInView(t,r){let o=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=o?parseFloat(o):0,s=getComputedStyle(t).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,c=t.getBoundingClientRect(),u=r.getBoundingClientRect().top+document.body.scrollTop-(c.top+document.body.scrollTop)-i-a,d=t.scrollTop,f=t.clientHeight,p=this.getOuterHeight(r);u<0?t.scrollTop=d+u:u+p>f&&(t.scrollTop=d+u-f+p)}static fadeIn(t,r){t.style.opacity=0;let o=+new Date,i=0,s=function(){i=+t.style.opacity.replace(",",".")+(new Date().getTime()-o)/r,t.style.opacity=i,o=+new Date,+i<1&&(window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,16))};s()}static fadeOut(t,r){var o=1,i=50,s=r,a=i/s;let c=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(c)),t.style.opacity=o},i)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,r){var o=Element.prototype,i=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||function(s){return[].indexOf.call(document.querySelectorAll(s),this)!==-1};return i.call(t,r)}static getOuterWidth(t,r){let o=t.offsetWidth;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return o}static getHorizontalPadding(t){let r=getComputedStyle(t);return parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)}static getHorizontalMargin(t){let r=getComputedStyle(t);return parseFloat(r.marginLeft)+parseFloat(r.marginRight)}static innerWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static width(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static getInnerHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),r}static getOuterHeight(t,r){let o=t.offsetHeight;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return o}static getHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),r}static getWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),r}static getViewport(){let t=window,r=document,o=r.documentElement,i=r.getElementsByTagName("body")[0],s=t.innerWidth||o.clientWidth||i.clientWidth,a=t.innerHeight||o.clientHeight||i.clientHeight;return{width:s,height:a}}static getOffset(t){var r=t.getBoundingClientRect();return{top:r.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:r.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,r){let o=t.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(r,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return!0;var o=t.indexOf("Trident/");if(o>0){var i=t.indexOf("rv:");return!0}var s=t.indexOf("Edge/");return s>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,r){if(this.isElement(r))r.appendChild(t);else if(r&&r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(t);else throw"Cannot append "+r+" to "+t}static removeChild(t,r){if(this.isElement(r))r.removeChild(t);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+r}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let r=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let r=document.createElement("div");r.className="p-scrollbar-measure",document.body.appendChild(r);let o=r.offsetWidth-r.clientWidth;return document.body.removeChild(r),this.calculatedScrollbarWidth=o,o}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let r=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=r,r}static invokeElementMethod(t,r,o){t[r].apply(t,o)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),r=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:r[1]||"",version:r[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,r){t&&document.activeElement!==t&&t.focus(r)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
139
- [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
140
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
141
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
142
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
143
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
144
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
145
- .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
146
- .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((c,l)=>{if(l!=null){let u=typeof l;if(u==="string"||u==="number")c.push(l);else if(u==="object"){let d=Array.isArray(l)?o(i,l):Object.entries(l).map(([f,p])=>i==="style"&&(p||p===0)?`${f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${p}`:p?f:void 0);c=d.length?c.concat(d.filter(f=>!!f)):c}}return c},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},
147
- [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
148
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
149
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
150
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
151
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
152
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}}return e})();function yH(){of({variableName:Ja("scrollbar.width").name})}function vH(){sf({variableName:Ja("scrollbar.width").name})}var Nv=class{element;listener;scrollableParents;constructor(n,t=()=>{}){this.element=n,this.listener=t}bindScrollListener(){this.scrollableParents=ef.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 Av=(()=>{class e extends Je{autofocus=!1;focused=!1;platformId=g(dt);document=g(B);host=g(xe);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(){ci(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=ef.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=z(e)))(o||e)}})();static \u0275dir=oe({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[ve]})}return e})();var He=(()=>{class e{el;renderer;pBind=be(void 0);_attrs=re(void 0);attrs=zt(()=>this._attrs()||this.pBind());styles=zt(()=>this.attrs()?.style);classes=zt(()=>bn(this.attrs()?.class));listeners=[];constructor(t,r){this.el=t,this.renderer=r,Ne(()=>{let a=this.attrs()||{},{style:o,class:i}=a,s=Za(a,["style","class"]);for(let[c,l]of Object.entries(s))if(c.startsWith("on")&&typeof l=="function"){let u=c.slice(2).toLowerCase();if(!this.listeners.some(d=>d.eventName===u)){let d=this.renderer.listen(this.el.nativeElement,u,l);this.listeners.push({eventName:u,unlisten:d})}}else l==null?this.renderer.removeAttribute(this.el.nativeElement,c):(this.renderer.setAttribute(this.el.nativeElement,c,l.toString()),c in this.el.nativeElement&&(this.el.nativeElement[c]=l))})}ngOnDestroy(){this.clearListeners()}setAttrs(t){mi(this._attrs(),t)||this._attrs.set(t)}clearListeners(){this.listeners.forEach(({unlisten:t})=>t()),this.listeners=[]}static \u0275fac=function(r){return new(r||e)(Q(xe),Q(gn))};static \u0275dir=oe({type:e,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(r,o){r&2&&(md(o.styles()),Te(o.classes()))},inputs:{pBind:[1,"pBind"]}})}return e})(),xv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();var Rv=`
153
- .p-badge {
154
- display: inline-flex;
155
- border-radius: dt('badge.border.radius');
156
- align-items: center;
157
- justify-content: center;
158
- padding: dt('badge.padding');
159
- background: dt('badge.primary.background');
160
- color: dt('badge.primary.color');
161
- font-size: dt('badge.font.size');
162
- font-weight: dt('badge.font.weight');
163
- min-width: dt('badge.min.width');
164
- height: dt('badge.height');
165
- }
166
-
167
- .p-badge-dot {
168
- width: dt('badge.dot.size');
169
- min-width: dt('badge.dot.size');
170
- height: dt('badge.dot.size');
171
- border-radius: 50%;
172
- padding: 0;
173
- }
174
-
175
- .p-badge-circle {
176
- padding: 0;
177
- border-radius: 50%;
178
- }
179
-
180
- .p-badge-secondary {
181
- background: dt('badge.secondary.background');
182
- color: dt('badge.secondary.color');
183
- }
184
-
185
- .p-badge-success {
186
- background: dt('badge.success.background');
187
- color: dt('badge.success.color');
188
- }
189
-
190
- .p-badge-info {
191
- background: dt('badge.info.background');
192
- color: dt('badge.info.color');
193
- }
194
-
195
- .p-badge-warn {
196
- background: dt('badge.warn.background');
197
- color: dt('badge.warn.color');
198
- }
199
-
200
- .p-badge-danger {
201
- background: dt('badge.danger.background');
202
- color: dt('badge.danger.color');
203
- }
204
-
205
- .p-badge-contrast {
206
- background: dt('badge.contrast.background');
207
- color: dt('badge.contrast.color');
208
- }
209
-
210
- .p-badge-sm {
211
- font-size: dt('badge.sm.font.size');
212
- min-width: dt('badge.sm.min.width');
213
- height: dt('badge.sm.height');
214
- }
215
-
216
- .p-badge-lg {
217
- font-size: dt('badge.lg.font.size');
218
- min-width: dt('badge.lg.min.width');
219
- height: dt('badge.lg.height');
220
- }
221
-
222
- .p-badge-xl {
223
- font-size: dt('badge.xl.font.size');
224
- min-width: dt('badge.xl.min.width');
225
- height: dt('badge.xl.height');
226
- }
227
- `;var w_=`
228
- ${Rv}
229
-
230
- /* For PrimeNG (directive)*/
231
- .p-overlay-badge {
232
- position: relative;
233
- }
234
-
235
- .p-overlay-badge > .p-badge {
236
- position: absolute;
237
- top: 0;
238
- inset-inline-end: 0;
239
- transform: translate(50%, -50%);
240
- transform-origin: 100% 0;
241
- margin: 0;
242
- }
243
- `,T_={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":oo(n)&&String(n).length===1,"p-badge-dot":hf(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"}]}},Ov=(()=>{class e extends De{name="badge";style=w_;classes=T_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var kv=new C("BADGE_INSTANCE");var nf=(()=>{class e extends Je{componentName="Badge";$pcBadge=g(kv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(He,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=be();badgeSize=be();size=be();severity=be();value=be();badgeDisabled=be(!1,{transform:Se});_componentStyle=g(Ov);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=z(e)))(o||e)}})();static \u0275cmp=Re({type:e,selectors:[["p-badge"]],hostVars:5,hostBindings:function(r,o){r&2&&(Qe("data-p",o.dataP),Te(o.cn(o.cx("root"),o.styleClass())),Ca("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:[Ve([Ov,{provide:kv,useExisting:e},{provide:ir,useExisting:e}]),tr([He]),ve],decls:1,vars:1,template:function(r,o){r&1&&ri(0),r&2&&Kr(o.value())},dependencies:[ht,Dn,xv],encapsulation:2,changeDetection:0})}return e})(),Pv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[nf,Dn,Dn]})}return e})();var __=["*"],M_={root:"p-fluid"},Fv=(()=>{class e extends De{name="fluid";classes=M_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var Lv=new C("FLUID_INSTANCE"),Bv=(()=>{class e extends Je{componentName="Fluid";$pcFluid=g(Lv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(He,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=g(Fv);static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275cmp=Re({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(r,o){r&2&&Te(o.cx("root"))},features:[Ve([Fv,{provide:Lv,useExisting:e},{provide:ir,useExisting:e}]),tr([He]),ve],ngContentSelectors:__,decls:1,vars:0,template:function(r,o){r&1&&(_t(),Mt(0))},dependencies:[ht],encapsulation:2,changeDetection:0})}return e})();var N_=["*"],A_=`
244
- .p-icon {
245
- display: inline-block;
246
- vertical-align: baseline;
247
- flex-shrink: 0;
248
- }
249
-
250
- .p-icon-spin {
251
- -webkit-animation: p-icon-spin 2s infinite linear;
252
- animation: p-icon-spin 2s infinite linear;
253
- }
254
-
255
- @-webkit-keyframes p-icon-spin {
256
- 0% {
257
- -webkit-transform: rotate(0deg);
258
- transform: rotate(0deg);
259
- }
260
- 100% {
261
- -webkit-transform: rotate(359deg);
262
- transform: rotate(359deg);
263
- }
264
- }
265
-
266
- @keyframes p-icon-spin {
267
- 0% {
268
- -webkit-transform: rotate(0deg);
269
- transform: rotate(0deg);
270
- }
271
- 100% {
272
- -webkit-transform: rotate(359deg);
273
- transform: rotate(359deg);
274
- }
275
- }
276
- `,jv=(()=>{class e extends De{name="baseicon";css=A_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vv=(()=>{class e extends Je{spin=!1;_componentStyle=g(jv);getClassNames(){return bn("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275cmp=Re({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&&Te(o.getClassNames())},inputs:{spin:[2,"spin","spin",Se]},features:[Ve([jv]),ve],ngContentSelectors:N_,decls:1,vars:0,template:function(r,o){r&1&&(_t(),Mt(0))},encapsulation:2,changeDetection:0})}return e})();var x_=["data-p-icon","spinner"],Hv=(()=>{class e extends Vv{pathId;onInit(){this.pathId="url(#"+gi()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275cmp=Re({type:e,selectors:[["","data-p-icon","spinner"]],features:[ve],attrs:x_,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&&(_r(),qr(0,"g"),ti(1,"path",0),Zr(),qr(2,"defs")(3,"clipPath",1),ti(4,"rect",2),Zr()()),r&2&&(Qe("clip-path",o.pathId),ye(3),Da("id",o.pathId))},encapsulation:2})}return e})();var $v=`
277
- .p-ink {
278
- display: block;
279
- position: absolute;
280
- background: dt('ripple.background');
281
- border-radius: 100%;
282
- transform: scale(0);
283
- pointer-events: none;
284
- }
285
-
286
- .p-ink-active {
287
- animation: ripple 0.4s linear;
288
- }
289
-
290
- @keyframes ripple {
291
- 100% {
292
- opacity: 0;
293
- transform: scale(2.5);
294
- }
295
- }
296
- `;var R_=`
297
- ${$v}
298
-
299
- /* For PrimeNG */
300
- .p-ripple {
301
- overflow: hidden;
302
- position: relative;
303
- }
304
-
305
- .p-ripple-disabled .p-ink {
306
- display: none !important;
307
- }
308
-
309
- @keyframes ripple {
310
- 100% {
311
- opacity: 0;
312
- transform: scale(2.5);
313
- }
314
- }
315
- `,O_={root:"p-ink"},Uv=(()=>{class e extends De{name="ripple";style=R_;classes=O_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var zv=(()=>{class e extends Je{componentName="Ripple";zone=g(ae);_componentStyle=g(Uv);animationListener;mouseDownListener;timeout;constructor(){super(),Ne(()=>{ci(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()&&sr(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!Qa(r)&&!Ka(r)){let a=Math.max(cf(this.el.nativeElement),df(this.el.nativeElement));r.style.height=a+"px",r.style.width=a+"px"}let o=uf(this.el.nativeElement),i=t.pageX-o.left+this.document.body.scrollTop-Ka(r)/2,s=t.pageY-o.top+this.document.body.scrollLeft-Qa(r)/2;this.renderer.setStyle(r,"top",s+"px"),this.renderer.setStyle(r,"left",i+"px"),!this.$unstyled()&&Ya(r,"p-ink-active"),r.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&(!this.$unstyled()&&sr(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()&&sr(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&sr(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,ff(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=oe({type:e,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[Ve([Uv]),ve]})}return e})();var Wv=`
316
- .p-button {
317
- display: inline-flex;
318
- cursor: pointer;
319
- user-select: none;
320
- align-items: center;
321
- justify-content: center;
322
- overflow: hidden;
323
- position: relative;
324
- color: dt('button.primary.color');
325
- background: dt('button.primary.background');
326
- border: 1px solid dt('button.primary.border.color');
327
- padding: dt('button.padding.y') dt('button.padding.x');
328
- font-size: 1rem;
329
- font-family: inherit;
330
- font-feature-settings: inherit;
331
- transition:
332
- background dt('button.transition.duration'),
333
- color dt('button.transition.duration'),
334
- border-color dt('button.transition.duration'),
335
- outline-color dt('button.transition.duration'),
336
- box-shadow dt('button.transition.duration');
337
- border-radius: dt('button.border.radius');
338
- outline-color: transparent;
339
- gap: dt('button.gap');
340
- }
341
-
342
- .p-button:disabled {
343
- cursor: default;
344
- }
345
-
346
- .p-button-icon-right {
347
- order: 1;
348
- }
349
-
350
- .p-button-icon-right:dir(rtl) {
351
- order: -1;
352
- }
353
-
354
- .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
355
- order: 1;
356
- }
357
-
358
- .p-button-icon-bottom {
359
- order: 2;
360
- }
361
-
362
- .p-button-icon-only {
363
- width: dt('button.icon.only.width');
364
- padding-inline-start: 0;
365
- padding-inline-end: 0;
366
- gap: 0;
367
- }
368
-
369
- .p-button-icon-only.p-button-rounded {
370
- border-radius: 50%;
371
- height: dt('button.icon.only.width');
372
- }
373
-
374
- .p-button-icon-only .p-button-label {
375
- visibility: hidden;
376
- width: 0;
377
- }
378
-
379
- .p-button-icon-only::after {
380
- content: "\xA0";
381
- visibility: hidden;
382
- width: 0;
383
- }
384
-
385
- .p-button-sm {
386
- font-size: dt('button.sm.font.size');
387
- padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
388
- }
389
-
390
- .p-button-sm .p-button-icon {
391
- font-size: dt('button.sm.font.size');
392
- }
393
-
394
- .p-button-sm.p-button-icon-only {
395
- width: dt('button.sm.icon.only.width');
396
- }
397
-
398
- .p-button-sm.p-button-icon-only.p-button-rounded {
399
- height: dt('button.sm.icon.only.width');
400
- }
401
-
402
- .p-button-lg {
403
- font-size: dt('button.lg.font.size');
404
- padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
405
- }
406
-
407
- .p-button-lg .p-button-icon {
408
- font-size: dt('button.lg.font.size');
409
- }
410
-
411
- .p-button-lg.p-button-icon-only {
412
- width: dt('button.lg.icon.only.width');
413
- }
414
-
415
- .p-button-lg.p-button-icon-only.p-button-rounded {
416
- height: dt('button.lg.icon.only.width');
417
- }
418
-
419
- .p-button-vertical {
420
- flex-direction: column;
421
- }
422
-
423
- .p-button-label {
424
- font-weight: dt('button.label.font.weight');
425
- }
426
-
427
- .p-button-fluid {
428
- width: 100%;
429
- }
430
-
431
- .p-button-fluid.p-button-icon-only {
432
- width: dt('button.icon.only.width');
433
- }
434
-
435
- .p-button:not(:disabled):hover {
436
- background: dt('button.primary.hover.background');
437
- border: 1px solid dt('button.primary.hover.border.color');
438
- color: dt('button.primary.hover.color');
439
- }
440
-
441
- .p-button:not(:disabled):active {
442
- background: dt('button.primary.active.background');
443
- border: 1px solid dt('button.primary.active.border.color');
444
- color: dt('button.primary.active.color');
445
- }
446
-
447
- .p-button:focus-visible {
448
- box-shadow: dt('button.primary.focus.ring.shadow');
449
- outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
450
- outline-offset: dt('button.focus.ring.offset');
451
- }
452
-
453
- .p-button .p-badge {
454
- min-width: dt('button.badge.size');
455
- height: dt('button.badge.size');
456
- line-height: dt('button.badge.size');
457
- }
458
-
459
- .p-button-raised {
460
- box-shadow: dt('button.raised.shadow');
461
- }
462
-
463
- .p-button-rounded {
464
- border-radius: dt('button.rounded.border.radius');
465
- }
466
-
467
- .p-button-secondary {
468
- background: dt('button.secondary.background');
469
- border: 1px solid dt('button.secondary.border.color');
470
- color: dt('button.secondary.color');
471
- }
472
-
473
- .p-button-secondary:not(:disabled):hover {
474
- background: dt('button.secondary.hover.background');
475
- border: 1px solid dt('button.secondary.hover.border.color');
476
- color: dt('button.secondary.hover.color');
477
- }
478
-
479
- .p-button-secondary:not(:disabled):active {
480
- background: dt('button.secondary.active.background');
481
- border: 1px solid dt('button.secondary.active.border.color');
482
- color: dt('button.secondary.active.color');
483
- }
484
-
485
- .p-button-secondary:focus-visible {
486
- outline-color: dt('button.secondary.focus.ring.color');
487
- box-shadow: dt('button.secondary.focus.ring.shadow');
488
- }
489
-
490
- .p-button-success {
491
- background: dt('button.success.background');
492
- border: 1px solid dt('button.success.border.color');
493
- color: dt('button.success.color');
494
- }
495
-
496
- .p-button-success:not(:disabled):hover {
497
- background: dt('button.success.hover.background');
498
- border: 1px solid dt('button.success.hover.border.color');
499
- color: dt('button.success.hover.color');
500
- }
501
-
502
- .p-button-success:not(:disabled):active {
503
- background: dt('button.success.active.background');
504
- border: 1px solid dt('button.success.active.border.color');
505
- color: dt('button.success.active.color');
506
- }
507
-
508
- .p-button-success:focus-visible {
509
- outline-color: dt('button.success.focus.ring.color');
510
- box-shadow: dt('button.success.focus.ring.shadow');
511
- }
512
-
513
- .p-button-info {
514
- background: dt('button.info.background');
515
- border: 1px solid dt('button.info.border.color');
516
- color: dt('button.info.color');
517
- }
518
-
519
- .p-button-info:not(:disabled):hover {
520
- background: dt('button.info.hover.background');
521
- border: 1px solid dt('button.info.hover.border.color');
522
- color: dt('button.info.hover.color');
523
- }
524
-
525
- .p-button-info:not(:disabled):active {
526
- background: dt('button.info.active.background');
527
- border: 1px solid dt('button.info.active.border.color');
528
- color: dt('button.info.active.color');
529
- }
530
-
531
- .p-button-info:focus-visible {
532
- outline-color: dt('button.info.focus.ring.color');
533
- box-shadow: dt('button.info.focus.ring.shadow');
534
- }
535
-
536
- .p-button-warn {
537
- background: dt('button.warn.background');
538
- border: 1px solid dt('button.warn.border.color');
539
- color: dt('button.warn.color');
540
- }
541
-
542
- .p-button-warn:not(:disabled):hover {
543
- background: dt('button.warn.hover.background');
544
- border: 1px solid dt('button.warn.hover.border.color');
545
- color: dt('button.warn.hover.color');
546
- }
547
-
548
- .p-button-warn:not(:disabled):active {
549
- background: dt('button.warn.active.background');
550
- border: 1px solid dt('button.warn.active.border.color');
551
- color: dt('button.warn.active.color');
552
- }
553
-
554
- .p-button-warn:focus-visible {
555
- outline-color: dt('button.warn.focus.ring.color');
556
- box-shadow: dt('button.warn.focus.ring.shadow');
557
- }
558
-
559
- .p-button-help {
560
- background: dt('button.help.background');
561
- border: 1px solid dt('button.help.border.color');
562
- color: dt('button.help.color');
563
- }
564
-
565
- .p-button-help:not(:disabled):hover {
566
- background: dt('button.help.hover.background');
567
- border: 1px solid dt('button.help.hover.border.color');
568
- color: dt('button.help.hover.color');
569
- }
570
-
571
- .p-button-help:not(:disabled):active {
572
- background: dt('button.help.active.background');
573
- border: 1px solid dt('button.help.active.border.color');
574
- color: dt('button.help.active.color');
575
- }
576
-
577
- .p-button-help:focus-visible {
578
- outline-color: dt('button.help.focus.ring.color');
579
- box-shadow: dt('button.help.focus.ring.shadow');
580
- }
581
-
582
- .p-button-danger {
583
- background: dt('button.danger.background');
584
- border: 1px solid dt('button.danger.border.color');
585
- color: dt('button.danger.color');
586
- }
587
-
588
- .p-button-danger:not(:disabled):hover {
589
- background: dt('button.danger.hover.background');
590
- border: 1px solid dt('button.danger.hover.border.color');
591
- color: dt('button.danger.hover.color');
592
- }
593
-
594
- .p-button-danger:not(:disabled):active {
595
- background: dt('button.danger.active.background');
596
- border: 1px solid dt('button.danger.active.border.color');
597
- color: dt('button.danger.active.color');
598
- }
599
-
600
- .p-button-danger:focus-visible {
601
- outline-color: dt('button.danger.focus.ring.color');
602
- box-shadow: dt('button.danger.focus.ring.shadow');
603
- }
604
-
605
- .p-button-contrast {
606
- background: dt('button.contrast.background');
607
- border: 1px solid dt('button.contrast.border.color');
608
- color: dt('button.contrast.color');
609
- }
610
-
611
- .p-button-contrast:not(:disabled):hover {
612
- background: dt('button.contrast.hover.background');
613
- border: 1px solid dt('button.contrast.hover.border.color');
614
- color: dt('button.contrast.hover.color');
615
- }
616
-
617
- .p-button-contrast:not(:disabled):active {
618
- background: dt('button.contrast.active.background');
619
- border: 1px solid dt('button.contrast.active.border.color');
620
- color: dt('button.contrast.active.color');
621
- }
622
-
623
- .p-button-contrast:focus-visible {
624
- outline-color: dt('button.contrast.focus.ring.color');
625
- box-shadow: dt('button.contrast.focus.ring.shadow');
626
- }
627
-
628
- .p-button-outlined {
629
- background: transparent;
630
- border-color: dt('button.outlined.primary.border.color');
631
- color: dt('button.outlined.primary.color');
632
- }
633
-
634
- .p-button-outlined:not(:disabled):hover {
635
- background: dt('button.outlined.primary.hover.background');
636
- border-color: dt('button.outlined.primary.border.color');
637
- color: dt('button.outlined.primary.color');
638
- }
639
-
640
- .p-button-outlined:not(:disabled):active {
641
- background: dt('button.outlined.primary.active.background');
642
- border-color: dt('button.outlined.primary.border.color');
643
- color: dt('button.outlined.primary.color');
644
- }
645
-
646
- .p-button-outlined.p-button-secondary {
647
- border-color: dt('button.outlined.secondary.border.color');
648
- color: dt('button.outlined.secondary.color');
649
- }
650
-
651
- .p-button-outlined.p-button-secondary:not(:disabled):hover {
652
- background: dt('button.outlined.secondary.hover.background');
653
- border-color: dt('button.outlined.secondary.border.color');
654
- color: dt('button.outlined.secondary.color');
655
- }
656
-
657
- .p-button-outlined.p-button-secondary:not(:disabled):active {
658
- background: dt('button.outlined.secondary.active.background');
659
- border-color: dt('button.outlined.secondary.border.color');
660
- color: dt('button.outlined.secondary.color');
661
- }
662
-
663
- .p-button-outlined.p-button-success {
664
- border-color: dt('button.outlined.success.border.color');
665
- color: dt('button.outlined.success.color');
666
- }
667
-
668
- .p-button-outlined.p-button-success:not(:disabled):hover {
669
- background: dt('button.outlined.success.hover.background');
670
- border-color: dt('button.outlined.success.border.color');
671
- color: dt('button.outlined.success.color');
672
- }
673
-
674
- .p-button-outlined.p-button-success:not(:disabled):active {
675
- background: dt('button.outlined.success.active.background');
676
- border-color: dt('button.outlined.success.border.color');
677
- color: dt('button.outlined.success.color');
678
- }
679
-
680
- .p-button-outlined.p-button-info {
681
- border-color: dt('button.outlined.info.border.color');
682
- color: dt('button.outlined.info.color');
683
- }
684
-
685
- .p-button-outlined.p-button-info:not(:disabled):hover {
686
- background: dt('button.outlined.info.hover.background');
687
- border-color: dt('button.outlined.info.border.color');
688
- color: dt('button.outlined.info.color');
689
- }
690
-
691
- .p-button-outlined.p-button-info:not(:disabled):active {
692
- background: dt('button.outlined.info.active.background');
693
- border-color: dt('button.outlined.info.border.color');
694
- color: dt('button.outlined.info.color');
695
- }
696
-
697
- .p-button-outlined.p-button-warn {
698
- border-color: dt('button.outlined.warn.border.color');
699
- color: dt('button.outlined.warn.color');
700
- }
701
-
702
- .p-button-outlined.p-button-warn:not(:disabled):hover {
703
- background: dt('button.outlined.warn.hover.background');
704
- border-color: dt('button.outlined.warn.border.color');
705
- color: dt('button.outlined.warn.color');
706
- }
707
-
708
- .p-button-outlined.p-button-warn:not(:disabled):active {
709
- background: dt('button.outlined.warn.active.background');
710
- border-color: dt('button.outlined.warn.border.color');
711
- color: dt('button.outlined.warn.color');
712
- }
713
-
714
- .p-button-outlined.p-button-help {
715
- border-color: dt('button.outlined.help.border.color');
716
- color: dt('button.outlined.help.color');
717
- }
718
-
719
- .p-button-outlined.p-button-help:not(:disabled):hover {
720
- background: dt('button.outlined.help.hover.background');
721
- border-color: dt('button.outlined.help.border.color');
722
- color: dt('button.outlined.help.color');
723
- }
724
-
725
- .p-button-outlined.p-button-help:not(:disabled):active {
726
- background: dt('button.outlined.help.active.background');
727
- border-color: dt('button.outlined.help.border.color');
728
- color: dt('button.outlined.help.color');
729
- }
730
-
731
- .p-button-outlined.p-button-danger {
732
- border-color: dt('button.outlined.danger.border.color');
733
- color: dt('button.outlined.danger.color');
734
- }
735
-
736
- .p-button-outlined.p-button-danger:not(:disabled):hover {
737
- background: dt('button.outlined.danger.hover.background');
738
- border-color: dt('button.outlined.danger.border.color');
739
- color: dt('button.outlined.danger.color');
740
- }
741
-
742
- .p-button-outlined.p-button-danger:not(:disabled):active {
743
- background: dt('button.outlined.danger.active.background');
744
- border-color: dt('button.outlined.danger.border.color');
745
- color: dt('button.outlined.danger.color');
746
- }
747
-
748
- .p-button-outlined.p-button-contrast {
749
- border-color: dt('button.outlined.contrast.border.color');
750
- color: dt('button.outlined.contrast.color');
751
- }
752
-
753
- .p-button-outlined.p-button-contrast:not(:disabled):hover {
754
- background: dt('button.outlined.contrast.hover.background');
755
- border-color: dt('button.outlined.contrast.border.color');
756
- color: dt('button.outlined.contrast.color');
757
- }
758
-
759
- .p-button-outlined.p-button-contrast:not(:disabled):active {
760
- background: dt('button.outlined.contrast.active.background');
761
- border-color: dt('button.outlined.contrast.border.color');
762
- color: dt('button.outlined.contrast.color');
763
- }
764
-
765
- .p-button-outlined.p-button-plain {
766
- border-color: dt('button.outlined.plain.border.color');
767
- color: dt('button.outlined.plain.color');
768
- }
769
-
770
- .p-button-outlined.p-button-plain:not(:disabled):hover {
771
- background: dt('button.outlined.plain.hover.background');
772
- border-color: dt('button.outlined.plain.border.color');
773
- color: dt('button.outlined.plain.color');
774
- }
775
-
776
- .p-button-outlined.p-button-plain:not(:disabled):active {
777
- background: dt('button.outlined.plain.active.background');
778
- border-color: dt('button.outlined.plain.border.color');
779
- color: dt('button.outlined.plain.color');
780
- }
781
-
782
- .p-button-text {
783
- background: transparent;
784
- border-color: transparent;
785
- color: dt('button.text.primary.color');
786
- }
787
-
788
- .p-button-text:not(:disabled):hover {
789
- background: dt('button.text.primary.hover.background');
790
- border-color: transparent;
791
- color: dt('button.text.primary.color');
792
- }
793
-
794
- .p-button-text:not(:disabled):active {
795
- background: dt('button.text.primary.active.background');
796
- border-color: transparent;
797
- color: dt('button.text.primary.color');
798
- }
799
-
800
- .p-button-text.p-button-secondary {
801
- background: transparent;
802
- border-color: transparent;
803
- color: dt('button.text.secondary.color');
804
- }
805
-
806
- .p-button-text.p-button-secondary:not(:disabled):hover {
807
- background: dt('button.text.secondary.hover.background');
808
- border-color: transparent;
809
- color: dt('button.text.secondary.color');
810
- }
811
-
812
- .p-button-text.p-button-secondary:not(:disabled):active {
813
- background: dt('button.text.secondary.active.background');
814
- border-color: transparent;
815
- color: dt('button.text.secondary.color');
816
- }
817
-
818
- .p-button-text.p-button-success {
819
- background: transparent;
820
- border-color: transparent;
821
- color: dt('button.text.success.color');
822
- }
823
-
824
- .p-button-text.p-button-success:not(:disabled):hover {
825
- background: dt('button.text.success.hover.background');
826
- border-color: transparent;
827
- color: dt('button.text.success.color');
828
- }
829
-
830
- .p-button-text.p-button-success:not(:disabled):active {
831
- background: dt('button.text.success.active.background');
832
- border-color: transparent;
833
- color: dt('button.text.success.color');
834
- }
835
-
836
- .p-button-text.p-button-info {
837
- background: transparent;
838
- border-color: transparent;
839
- color: dt('button.text.info.color');
840
- }
841
-
842
- .p-button-text.p-button-info:not(:disabled):hover {
843
- background: dt('button.text.info.hover.background');
844
- border-color: transparent;
845
- color: dt('button.text.info.color');
846
- }
847
-
848
- .p-button-text.p-button-info:not(:disabled):active {
849
- background: dt('button.text.info.active.background');
850
- border-color: transparent;
851
- color: dt('button.text.info.color');
852
- }
853
-
854
- .p-button-text.p-button-warn {
855
- background: transparent;
856
- border-color: transparent;
857
- color: dt('button.text.warn.color');
858
- }
859
-
860
- .p-button-text.p-button-warn:not(:disabled):hover {
861
- background: dt('button.text.warn.hover.background');
862
- border-color: transparent;
863
- color: dt('button.text.warn.color');
864
- }
865
-
866
- .p-button-text.p-button-warn:not(:disabled):active {
867
- background: dt('button.text.warn.active.background');
868
- border-color: transparent;
869
- color: dt('button.text.warn.color');
870
- }
871
-
872
- .p-button-text.p-button-help {
873
- background: transparent;
874
- border-color: transparent;
875
- color: dt('button.text.help.color');
876
- }
877
-
878
- .p-button-text.p-button-help:not(:disabled):hover {
879
- background: dt('button.text.help.hover.background');
880
- border-color: transparent;
881
- color: dt('button.text.help.color');
882
- }
883
-
884
- .p-button-text.p-button-help:not(:disabled):active {
885
- background: dt('button.text.help.active.background');
886
- border-color: transparent;
887
- color: dt('button.text.help.color');
888
- }
889
-
890
- .p-button-text.p-button-danger {
891
- background: transparent;
892
- border-color: transparent;
893
- color: dt('button.text.danger.color');
894
- }
895
-
896
- .p-button-text.p-button-danger:not(:disabled):hover {
897
- background: dt('button.text.danger.hover.background');
898
- border-color: transparent;
899
- color: dt('button.text.danger.color');
900
- }
901
-
902
- .p-button-text.p-button-danger:not(:disabled):active {
903
- background: dt('button.text.danger.active.background');
904
- border-color: transparent;
905
- color: dt('button.text.danger.color');
906
- }
907
-
908
- .p-button-text.p-button-contrast {
909
- background: transparent;
910
- border-color: transparent;
911
- color: dt('button.text.contrast.color');
912
- }
913
-
914
- .p-button-text.p-button-contrast:not(:disabled):hover {
915
- background: dt('button.text.contrast.hover.background');
916
- border-color: transparent;
917
- color: dt('button.text.contrast.color');
918
- }
919
-
920
- .p-button-text.p-button-contrast:not(:disabled):active {
921
- background: dt('button.text.contrast.active.background');
922
- border-color: transparent;
923
- color: dt('button.text.contrast.color');
924
- }
925
-
926
- .p-button-text.p-button-plain {
927
- background: transparent;
928
- border-color: transparent;
929
- color: dt('button.text.plain.color');
930
- }
931
-
932
- .p-button-text.p-button-plain:not(:disabled):hover {
933
- background: dt('button.text.plain.hover.background');
934
- border-color: transparent;
935
- color: dt('button.text.plain.color');
936
- }
937
-
938
- .p-button-text.p-button-plain:not(:disabled):active {
939
- background: dt('button.text.plain.active.background');
940
- border-color: transparent;
941
- color: dt('button.text.plain.color');
942
- }
943
-
944
- .p-button-link {
945
- background: transparent;
946
- border-color: transparent;
947
- color: dt('button.link.color');
948
- }
949
-
950
- .p-button-link:not(:disabled):hover {
951
- background: transparent;
952
- border-color: transparent;
953
- color: dt('button.link.hover.color');
954
- }
955
-
956
- .p-button-link:not(:disabled):hover .p-button-label {
957
- text-decoration: underline;
958
- }
959
-
960
- .p-button-link:not(:disabled):active {
961
- background: transparent;
962
- border-color: transparent;
963
- color: dt('button.link.active.color');
964
- }
965
- `;var k_=["content"],P_=["loadingicon"],F_=["icon"],L_=["*"],Zv=(e,n)=>({class:e,pt:n});function B_(e,n){e&1&&ba(0)}function j_(e,n){if(e&1&&nr(0,"span",7),e&2){let t=Ke(3);Te(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon))),K("pBind",t.ptm("loadingIcon")),Qe("aria-hidden",!0)}}function V_(e,n){if(e&1&&(_r(),nr(0,"svg",8)),e&2){let t=Ke(3);Te(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),K("pBind",t.ptm("loadingIcon"))("spin",!0),Qe("aria-hidden",!0)}}function H_(e,n){if(e&1&&(rr(0),Ut(1,j_,1,4,"span",3)(2,V_,1,5,"svg",6),yn()),e&2){let t=Ke(2);ye(),K("ngIf",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon)),ye(),K("ngIf",!(t.loadingIcon||t.buttonProps!=null&&t.buttonProps.loadingIcon))}}function $_(e,n){}function U_(e,n){if(e&1&&Ut(0,$_,0,0,"ng-template",9),e&2){let t=Ke(2);K("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function z_(e,n){if(e&1&&(rr(0),Ut(1,H_,3,2,"ng-container",2)(2,U_,1,1,null,5),yn()),e&2){let t=Ke();ye(),K("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),ye(),K("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",wa(3,Zv,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function W_(e,n){if(e&1&&nr(0,"span",7),e&2){let t=Ke(2);Te(t.cn(t.cx("icon"),t.icon||(t.buttonProps==null?null:t.buttonProps.icon))),K("pBind",t.ptm("icon")),Qe("data-p",t.dataIconP)}}function G_(e,n){}function q_(e,n){if(e&1&&Ut(0,G_,0,0,"ng-template",9),e&2){let t=Ke(2);K("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function Z_(e,n){if(e&1&&(rr(0),Ut(1,W_,1,4,"span",3)(2,q_,1,1,null,5),yn()),e&2){let t=Ke();ye(),K("ngIf",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),ye(),K("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",wa(3,Zv,t.cx("icon"),t.ptm("icon")))}}function Y_(e,n){if(e&1&&(Jn(0,"span",7),ri(1),Gr()),e&2){let t=Ke();Te(t.cx("label")),K("pBind",t.ptm("label")),Qe("aria-hidden",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!(t.label||t.buttonProps!=null&&t.buttonProps.label))("data-p",t.dataLabelP),ye(),Kr(t.label||(t.buttonProps==null?null:t.buttonProps.label))}}function Q_(e,n){if(e&1&&nr(0,"p-badge",10),e&2){let t=Ke();K("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 K_={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"},Gv=(()=>{class e extends De{name="button";style=Wv;classes=K_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=z(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var qv=new C("BUTTON_INSTANCE");var J_=(()=>{class e extends Je{componentName="Button";hostName="";$pcButton=g(qv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(He,{self:!0});_componentStyle=g(Gv);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=be(void 0,{transform:Se});onClick=new Pe;onFocus=new Pe;onBlur=new Pe;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=g(Bv,{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=z(e)))(o||e)}})();static \u0275cmp=Re({type:e,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&Ia(i,k_,5)(i,P_,5)(i,F_,5)(i,Tv,4),r&2){let s;Yr(s=Qr())&&(o.contentTemplate=s.first),Yr(s=Qr())&&(o.loadingIconTemplate=s.first),Yr(s=Qr())&&(o.iconTemplate=s.first),Yr(s=Qr())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",Se],raised:[2,"raised","raised",Se],rounded:[2,"rounded","rounded",Se],text:[2,"text","text",Se],plain:[2,"plain","plain",Se],outlined:[2,"outlined","outlined",Se],link:[2,"link","link",Se],tabindex:[2,"tabindex","tabindex",Hy],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",Se],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",Se],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[Ve([Gv,{provide:qv,useExisting:e},{provide:ir,useExisting:e}]),tr([He]),ve],ngContentSelectors:L_,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&&(_t(),Jn(0,"button",0),Ea("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),Mt(1),Ut(2,B_,1,0,"ng-container",1)(3,z_,3,6,"ng-container",2)(4,Z_,3,6,"ng-container",2)(5,Y_,2,6,"span",3)(6,Q_,1,4,"p-badge",4),Gr()),r&2&&(Te(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),K("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")),Qe("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)),ye(2),K("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),ye(),K("ngIf",o.loading||(o.buttonProps==null?null:o.buttonProps.loading)),ye(),K("ngIf",!(o.loading||o.buttonProps!=null&&o.buttonProps.loading)),ye(),K("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.label||(o.buttonProps==null?null:o.buttonProps.label))),ye(),K("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.badge||(o.buttonProps==null?null:o.buttonProps.badge))))},dependencies:[ht,kd,Fd,Pd,zv,Av,Hv,Pv,nf,Dn,He],encapsulation:2,changeDetection:0})}return e})(),nU=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[ht,J_,Dn,Dn]})}return e})();var Yv=class e{static isArray(n,t=!0){return Array.isArray(n)&&(t||n.length!==0)}static isObject(n,t=!0){return typeof n=="object"&&!Array.isArray(n)&&n!=null&&(t||Object.keys(n).length!==0)}static equals(n,t,r){return r?this.resolveFieldData(n,r)===this.resolveFieldData(t,r):this.equalsByValue(n,t)}static equalsByValue(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.equalsByValue(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=this.isDate(n),l=this.isDate(t);if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.equalsByValue(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static resolveFieldData(n,t){if(n&&t){if(this.isFunction(t))return t(n);if(t.indexOf(".")==-1)return n[t];{let r=t.split("."),o=n;for(let i=0,s=r.length;i<s;++i){if(o==null)return null;o=o[r[i]]}return o}}else return null}static isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)}static reorderArray(n,t,r){let o;n&&t!==r&&(r>=n.length&&(r%=n.length,t%=n.length),n.splice(r,0,n.splice(t,1)[0]))}static insertIntoOrderedArray(n,t,r,o){if(r.length>0){let i=!1;for(let s=0;s<r.length;s++)if(this.findIndexInList(r[s],o)>t){r.splice(s,0,n),i=!0;break}i||r.push(n)}else r.push(n)}static findIndexInList(n,t){let r=-1;if(t){for(let o=0;o<t.length;o++)if(t[o]==n){r=o;break}}return r}static contains(n,t){if(n!=null&&t&&t.length){for(let r of t)if(this.equals(n,r))return!0}return!1}static removeAccents(n){return n&&(n=n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),n}static isDate(n){return Object.prototype.toString.call(n)==="[object Date]"}static isEmpty(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!this.isDate(n)&&typeof n=="object"&&Object.keys(n).length===0}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,t,r,o=1){let i=-1,s=this.isEmpty(n),a=this.isEmpty(t);return s&&a?i=0:s?i=o:a?i=-o:typeof n=="string"&&typeof t=="string"?i=n.localeCompare(t,r,{numeric:!0}):i=n<t?-1:n>t?1:0,i}static sort(n,t,r=1,o,i=1){let s=e.compare(n,t,o,r),a=r;return(e.isEmpty(n)||e.isEmpty(t))&&(a=i===1?r:i),a*s}static merge(n,t){if(!(n==null&&t==null)){{if((n==null||typeof n=="object")&&(t==null||typeof t=="object"))return b(b({},n||{}),t||{});if((n==null||typeof n=="string")&&(t==null||typeof t=="string"))return[n||"",t||""].join(" ")}return t||n}}static isPrintableCharacter(n=""){return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}static getItemValue(n,...t){return this.isFunction(n)?n(...t):n}static findLastIndex(n,t){let r=-1;if(this.isNotEmpty(n))try{r=n.findLastIndex(t)}catch{r=n.lastIndexOf([...n].reverse().find(t))}return r}static findLast(n,t){let r;if(this.isNotEmpty(n))try{r=n.findLast(t)}catch{r=[...n].reverse().find(t)}return r}static deepEquals(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.deepEquals(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=n instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.deepEquals(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static minifyCSS(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(n){return this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}static isString(n,t=!0){return typeof n=="string"&&(t||n!=="")}},Qv=0;function iU(e="pn_id_"){return Qv++,`${e}${Qv}`}function X_(){let e=[],n=(i,s)=>{let a=e.length>0?e[e.length-1]:{key:i,value:s},c=a.value+(a.key===i?0:s)+2;return e.push({key:i,value:c}),c},t=i=>{e=e.filter(s=>s.value!==i)},r=()=>e.length>0?e[e.length-1].value:0,o=i=>i&&parseInt(i.style.zIndex,10)||0;return{get:o,set:(i,s,a)=>{s&&(s.style.zIndex=String(n(i,a)))},clear:i=>{i&&(t(o(i)),i.style.zIndex="")},getCurrent:()=>r(),generateZIndex:n,revertZIndex:t}}var sU=X_();var uU=new C("DATA_SOURCE"),Kv=class extends Error{code;details;constructor(n,t,r){super(t),this.name="DataSourceError",this.code=n,this.details=r}};export{Ee as a,lb as b,R as c,ee as d,fo as e,po as f,dN as g,en as h,Hi as i,bb as j,Db as k,_n as l,Eb as m,$e as n,Nb as o,Mn as p,hc as q,Wi as r,xb as s,Rb as t,ho as u,Yf as v,gc as w,mc as x,yc as y,kb as z,Pb as A,Fb as B,Lb as C,bc as D,Bb as E,jb as F,I as G,rn as H,ts as I,v as J,le as K,Ub as L,C as M,S as N,g as O,Dt as P,me as Q,Dr as R,Mp as S,Np as T,_r as U,ue as V,B as W,Ze as X,Un as Y,Pe as Z,ae as _,jt as $,vD as aa,re as ba,Ne as ca,jr as da,z as ea,vu as fa,xe as ga,dt as ha,xE as ia,Ng as ja,kE as ka,PE as la,FE as ma,ye as na,Wg as oa,Tt as pa,gn as qa,Q as ra,$t as sa,Fm as ta,od as ua,Re as va,fe as wa,oe as xa,tr as ya,ve as za,Ut as Aa,Hm as Ba,Wm as Ca,va as Da,dd as Ea,Gm as Fa,ei as Ga,Cw as Ha,ww as Ia,Qe as Ja,As as Ka,xs as La,Aw as Ma,xw as Na,Rw as Oa,Ow as Pa,kw as Qa,Pw as Ra,K as Sa,Jn as Ta,Gr as Ua,nr as Va,qr as Wa,Zr as Xa,ti as Ya,rr as Za,yn as _a,ba as $a,Jm as ab,Vw as bb,Hw as cb,Da as db,Ea as eb,ty as fb,Ke as gb,_t as hb,Mt as ib,Ia as jb,ry as kb,Yr as lb,Qr as mb,hd as nb,oy as ob,iy as pb,Ww as qb,Ca as rb,gd as sb,md as tb,Te as ub,ri as vb,Kr as wb,yd as xb,yy as yb,vy as zb,by as Ab,vT as Bb,Dy as Cb,Iy as Db,bT as Eb,DT as Fb,Ve as Gb,wT as Hb,TT as Ib,wa as Jb,ST as Kb,_T as Lb,MT as Mb,NT as Nb,AT as Ob,PT as Pb,FT as Qb,_a as Rb,zt as Sb,jT as Tb,My as Ub,yB as Vb,be as Wb,vB as Xb,nS as Yb,bB as Zb,DB as _b,Nd as $b,Se as ac,Hy as bc,IB as cc,CB as dc,Wt as ec,xa as fc,Zy as gc,ES as hc,IS as ic,Jy as jc,kd as kc,Pd as lc,Fd as mc,ht as nc,ci as oc,BS as pc,Nt as qc,vv as rc,u_ as sc,d_ as tc,yV as uc,f_ as vc,gi as wc,b_ as xc,SV as yc,pe as zc,_V as Ac,MV as Bc,NV as Cc,AV as Dc,xV as Ec,Tv as Fc,Dn as Gc,RV as Hc,De as Ic,Xd as Jc,tH as Kc,ir as Lc,Je as Mc,ef as Nc,yH as Oc,vH as Pc,Nv as Qc,Av as Rc,He as Sc,xv as Tc,nf as Uc,Pv as Vc,Bv as Wc,Vv as Xc,Hv as Yc,zv as Zc,J_ as _c,nU as $c,Yv as ad,iU as bd,sU as cd,uU as dd,Kv as ed};