@skill-map/cli 0.20.1 → 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-4NLC7QD2.js → chunk-GXRWH2VL.js} +1 -1
  13. package/dist/ui/chunk-MF2M6GYF.js +1 -0
  14. package/dist/ui/{chunk-EZZF5RL5.js → chunk-MPMBTIUR.js} +2 -2
  15. package/dist/ui/chunk-N366HMME.js +1 -0
  16. package/dist/ui/{chunk-6GUHSAP5.js → chunk-OPPQMCMQ.js} +1 -1
  17. package/dist/ui/chunk-V3SZQETX.js +61 -0
  18. package/dist/ui/{chunk-E4ALROJS.js → chunk-VVOEPDQD.js} +1 -1
  19. package/dist/ui/{chunk-6BZZQV42.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-FWX4RRDF.js +0 -125
  31. package/dist/ui/chunk-GGMXMGRJ.js +0 -1
  32. package/dist/ui/chunk-K5PULFK7.js +0 -1
  33. package/dist/ui/chunk-OJ6W6OIB.js +0 -61
  34. package/dist/ui/chunk-PTCD42GB.js +0 -247
  35. package/dist/ui/chunk-ZSRIBCAW.js +0 -965
  36. package/dist/ui/main-5FJWWH5I.js +0 -1
  37. package/dist/ui/styles-VJ5Q6D2X.css +0 -1
@@ -0,0 +1,965 @@
1
+ import{$ as vf,C as df,Ca as Ja,D as ff,Da as Di,F as Qa,Fa as dr,Ja as q,L as pf,O as hf,Q as gf,S as mf,T as io,U as yf,V as yi,Y as Zt,Z as vi,_ as lr,aa as bf,b as Ya,c as sf,d as cr,da as bi,e as af,ea as Pe,f as cf,ha as ur,m as lf,q as uf,z as Ka}from"./chunk-3R7E3HPC.js";import{a as y,b as B,c as Za}from"./chunk-Q7L6LLAK.js";function M(e){return typeof e=="function"}function nb(e){return M(e?.lift)}function O(e){return n=>{if(nb(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 fr(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 Ei=fr(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 so(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Ie=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 Ei?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Df(i)}catch(s){n=n??[],s instanceof Ei?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ei(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Df(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&so(t,n)}remove(n){let{_finalizers:t}=this;t&&so(t,n),n instanceof e&&n._removeParent(this)}};Ie.EMPTY=(()=>{let e=new Ie;return e.closed=!0,e})();var Xa=Ie.EMPTY;function Ii(e){return e instanceof Ie||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function Df(e){M(e)?e():e.unsubscribe()}var tt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var pr={setTimeout(e,n,...t){let{delegate:r}=pr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=pr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ci(e){pr.setTimeout(()=>{let{onUnhandledError:n}=tt;if(n)n(e);else throw e})}function ao(){}var Ef=ec("C",void 0,void 0);function If(e){return ec("E",void 0,e)}function Cf(e){return ec("N",e,void 0)}function ec(e,n,t){return{kind:e,value:n,error:t}}var En=null;function hr(e){if(tt.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 wf(e){tt.useDeprecatedSynchronousErrorHandling&&En&&(En.errorThrown=!0,En.error=e)}var In=class extends Ie{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ii(n)&&n.add(this)):this.destination=ib}static create(n,t,r){return new nt(n,t,r)}next(n){this.isStopped?nc(Cf(n),this):this._next(n)}error(n){this.isStopped?nc(If(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?nc(Ef,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()}}},rb=Function.prototype.bind;function tc(e,n){return rb.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){wi(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){wi(r)}else wi(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){wi(t)}}},nt=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&&tt.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 wi(e){tt.useDeprecatedSynchronousErrorHandling?wf(e):Ci(e)}function ob(e){throw e}function nc(e,n){let{onStoppedNotification:t}=tt;t&&pr.setTimeout(()=>t(e,n))}var ib={closed:!0,next:ao,error:ob,complete:ao};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 ze(e,n){return O((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var ge=null,Ti=!1,ic=1,sb=null,Z=Symbol("SIGNAL");function T(e){let n=ge;return ge=e,n}function Si(){return ge}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 Ot(e){if(Ti)throw new Error("");if(ge===null)return;ge.consumerOnSignalRead(e);let n=ge.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=ge.recomputing;if(r&&(t=n!==void 0?n.nextProducer:ge.producers,t!==void 0&&t.producer===e)){ge.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ge&&(!r||cb(o,ge)))return;let i=yr(ge),s={producer:e,consumer:ge,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ge.producersTail=s,n!==void 0?n.nextProducer=s:ge.producers=s,i&&Mf(e,s)}function Tf(){ic++}function Tn(e){if(!(yr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ic)){if(!e.producerMustRecompute(e)&&!mr(e)){gr(e);return}e.producerRecomputeValue(e),gr(e)}}function sc(e){if(e.consumers===void 0)return;let n=Ti;Ti=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||ab(r)}}finally{Ti=n}}function ac(){return ge?.consumerAllowSignalWrites!==!1}function ab(e){e.dirty=!0,sc(e),e.consumerMarkedDirty?.(e)}function gr(e){e.dirty=!1,e.lastCleanEpoch=ic}function kt(e){return e&&Sf(e),T(e)}function Sf(e){e.producersTail=void 0,e.recomputing=!0}function Kt(e,n){T(n),e&&_f(e)}function _f(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(yr(e))do t=cc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function mr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Tn(t),r!==t.version))return!0}return!1}function Qt(e){if(yr(e)){let n=e.producers;for(;n!==void 0;)n=cc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Mf(e,n){let t=e.consumersTail,r=yr(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Mf(o.producer,o)}function cc(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!yr(n)){let i=n.producers;for(;i!==void 0;)i=cc(i)}return t}function yr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function co(e){sb?.(e)}function cb(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 lo(e,n){return Object.is(e,n)}function uo(e,n){let t=Object.create(lb);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Tn(t),Ot(t),t.value===mt)throw t.error;return t.value};return r[Z]=t,co(t),r}var Cn=Symbol("UNSET"),wn=Symbol("COMPUTING"),mt=Symbol("ERRORED"),lb=B(y({},Yt),{value:Cn,dirty:!0,error:null,equal:lo,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=kt(e),r,o=!1;try{r=e.computation(),T(null),o=n!==Cn&&n!==mt&&r!==mt&&e.equal(n,r)}catch(i){r=mt,e.error=i}finally{Kt(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function ub(){throw new Error}var Nf=ub;function Af(e){Nf(e)}function lc(e){Nf=e}var db=null;function uc(e,n){let t=Object.create(fo);t.value=e,n!==void 0&&(t.equal=n);let r=()=>xf(t);return r[Z]=t,co(t),[r,s=>Jt(t,s),s=>_i(t,s)]}function xf(e){return Ot(e),e.value}function Jt(e,n){ac()||Af(e),e.equal(e.value,n)||(e.value=n,fb(e))}function _i(e,n){ac()||Af(e),Jt(e,n(e.value))}var fo=B(y({},Yt),{equal:lo,value:void 0,kind:"signal"});function fb(e){e.version++,Tf(),sc(e),db?.(e)}var dc=B(y({},Yt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function fc(e){if(e.dirty=!1,e.version>0&&!mr(e))return;e.version++;let n=kt(e);try{e.cleanup(),e.fn()}finally{Kt(e,n)}}var vr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function rt(e){return e}function pb(...e){return pc(e)}function pc(e){return e.length===0?rt:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var x=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=gb(t)?t:new nt(t,r,o);return hr(()=>{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=Rf(r),new r((o,i)=>{let s=new nt({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)}[vr](){return this}pipe(...t){return pc(t)(this)}toPromise(t){return t=Rf(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 Rf(e){var n;return(n=e??tt.Promise)!==null&&n!==void 0?n:Promise}function hb(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function gb(e){return e&&e instanceof In||hb(e)&&Ii(e)}var Of=fr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Mi(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Of}next(t){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){hr(()=>{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(){hr(()=>{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 Ie(()=>{this.currentObservers=null,so(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new x;return t.source=this,t}}return e.create=(n,t)=>new Mi(n,t),e})(),Mi=class extends ne{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 po=class extends ne{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 ho=new x(e=>e.complete());function kf(e){return e&&M(e.schedule)}function Pf(e){return e[e.length-1]}function Ni(e){return M(Pf(e))?e.pop():void 0}function Xt(e){return kf(Pf(e))?e.pop():void 0}function bN(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 Lf(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 Ff(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 Bf(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(v,D){i.push([p,m,v,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 jf(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 Ff=="function"?Ff(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 Ai=e=>e&&typeof e.length=="number"&&typeof e!="function";function xi(e){return M(e?.then)}function Ri(e){return M(e[vr])}function Oi(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function ki(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 mb(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Pi=mb();function Fi(e){return M(e?.[Pi])}function Li(e){return Bf(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 Bi(e){return M(e?.getReader)}function G(e){if(e instanceof x)return e;if(e!=null){if(Ri(e))return yb(e);if(Ai(e))return vb(e);if(xi(e))return bb(e);if(Oi(e))return Vf(e);if(Fi(e))return Db(e);if(Bi(e))return Eb(e)}throw ki(e)}function yb(e){return new x(n=>{let t=e[vr]();if(M(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function vb(e){return new x(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function bb(e){return new x(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ci)})}function Db(e){return new x(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Vf(e){return new x(n=>{Ib(e,n).catch(t=>n.error(t))})}function Eb(e){return Vf(Li(e))}function Ib(e,n){var t,r,o,i;return Lf(this,void 0,void 0,function*(){try{for(t=jf(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 xe(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 ji(e,n=0){return O((t,r)=>{t.subscribe(P(r,o=>xe(r,e,()=>r.next(o),n),()=>xe(r,e,()=>r.complete(),n),o=>xe(r,e,()=>r.error(o),n)))})}function Vi(e,n=0){return O((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Hf(e,n){return G(e).pipe(Vi(n),ji(n))}function Uf(e,n){return G(e).pipe(Vi(n),ji(n))}function $f(e,n){return new x(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function zf(e,n){return new x(t=>{let r;return xe(t,n,()=>{r=e[Pi](),xe(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 Hi(e,n){if(!e)throw new Error("Iterable cannot be null");return new x(t=>{xe(t,n,()=>{let r=e[Symbol.asyncIterator]();xe(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Wf(e,n){return Hi(Li(e),n)}function Gf(e,n){if(e!=null){if(Ri(e))return Hf(e,n);if(Ai(e))return $f(e,n);if(xi(e))return Uf(e,n);if(Oi(e))return Hi(e,n);if(Fi(e))return zf(e,n);if(Bi(e))return Wf(e,n)}throw ki(e)}function en(e,n){return n?Gf(e,n):G(e)}function Ui(...e){let n=Xt(e);return en(e,n)}function Cb(e,n){let t=M(e)?e:()=>e,r=o=>o.error(t());return new x(n?o=>n.schedule(r,0,o):r)}function wb(e){return!!e&&(e instanceof x||M(e.lift)&&M(e.subscribe))}var _n=fr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Tb(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new nt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new _n)}});e.subscribe(i)})}var{isArray:Sb}=Array;function _b(e,n){return Sb(n)?e(...n):e(n)}function $i(e){return ze(n=>_b(e,n))}var{isArray:Mb}=Array,{getPrototypeOf:Nb,prototype:Ab,keys:xb}=Object;function zi(e){if(e.length===1){let n=e[0];if(Mb(n))return{args:n,keys:null};if(Rb(n)){let t=xb(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Rb(e){return e&&typeof e=="object"&&Nb(e)===Ab}function Wi(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Ob(...e){let n=Xt(e),t=Ni(e),{args:r,keys:o}=zi(e);if(r.length===0)return en([],n);let i=new x(kb(r,n,o?s=>Wi(o,s):rt));return t?i.pipe($i(t)):i}function kb(e,n,t=rt){return r=>{qf(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)qf(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 qf(e,n,t){e?xe(t,e,n):n()}function Zf(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 v=!1;G(t(m,u++)).subscribe(P(n,D=>{o?.(D),i?p(D):n.next(D)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;c.length&&l<r;){let D=c.shift();s?xe(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)=>ze((i,s)=>n(r,i,o,s))(G(e(r,o))),t):(typeof n=="number"&&(t=n),O((r,o)=>Zf(r,o,e,t)))}function hc(e=1/0){return Mn(rt,e)}function Yf(){return hc(1)}function Gi(...e){return Yf()(en(e,Xt(e)))}function Pb(e){return new x(n=>{G(e()).subscribe(n)})}function Fb(...e){let n=Ni(e),{args:t,keys:r}=zi(e),o=new x(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;G(t[u]).subscribe(P(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Wi(r,a):a),i.complete())}))}});return n?o.pipe($i(n)):o}function Nn(e,n){return O((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Kf(e){return O((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=G(e(s,Kf(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?()=>ho:O((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Jf(e=Lb){return O((n,t)=>{let r=!1;n.subscribe(P(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Lb(){return new _n}function yc(e){return O((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Bb(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Nn((o,i)=>e(o,i,r)):rt,mc(1),t?Qf(n):Jf(()=>new _n))}function jb(e){return e<=0?()=>ho: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 Vb(e={}){let{connector:n=()=>new ne,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,v)=>{l++,!d&&!u&&f();let D=c=c??n();v.add(()=>{l--,l===0&&!d&&!u&&(a=vc(h,o))}),D.subscribe(v),!s&&l>0&&(s=new nt({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()}}),G(m).subscribe(s))})(i)}}function vc(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new nt({next:()=>{r.unsubscribe(),e()}});return G(n(...t)).subscribe(r)}function Hb(...e){let n=Xt(e);return O((t,r)=>{(n?Gi(e,t,n):Gi(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++;G(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Dc(e){return O((n,t)=>{G(e).subscribe(P(t,()=>t.complete(),ao)),!t.closed&&n.subscribe(t)})}function Ub(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)}))}):rt}var Ec;function qi(){return Ec}function yt(e){let n=Ec;return Ec=e,n}var Xf=Symbol("NotFound");function br(e){return e===Xf||e?.name==="\u0275NotFound"}function Ic(e,n,t){let r=Object.create($b);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(Tn(r),Ot(r),r.value===mt)throw r.error;return r.value};return i[Z]=r,co(r),i}function ep(e,n){Tn(e),Jt(e,n),gr(e)}function tp(e,n){if(Tn(e),e.value===mt)throw e.error;_i(e,n),gr(e)}var $b=B(y({},Yt),{value:Cn,dirty:!0,error:null,equal:lo,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=kt(e),r,o=!1;try{let i=e.source(),s=n!==Cn&&n!==mt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,T(null),o=s&&r!==mt&&e.equal(n,r)}catch(i){r=mt,e.error=i}finally{Kt(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function np(e){let n=T(null);try{return e()}finally{T(n)}}var es="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(n,t){super(rn(n,t)),this.code=n}};function zb(e){return`NG0${Math.abs(e)}`}function rn(e,n){return`${zb(e)}${n?": "+n:""}`}var on=globalThis;function F(e){for(let n in e)if(e[n]===F)return n;throw Error("")}function ap(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 ts(e,n){return e?n?`${e} ${n}`:e:n||""}var Wb=F({__forward_ref__:F});function ns(e){return e.__forward_ref__=ns,e}function se(e){return Pc(e)?e():e}function Pc(e){return typeof e=="function"&&e.hasOwnProperty(Wb)&&e.__forward_ref__===ns}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ue(e){return{providers:e.providers||[],imports:e.imports||[]}}function Io(e){return qb(e,rs)}function Gb(e){return Io(e)!==null}function qb(e,n){return e.hasOwnProperty(n)&&e[n]||null}function Zb(e){let n=e?.[rs]??null;return n||null}function wc(e){return e&&e.hasOwnProperty(Yi)?e[Yi]:null}var rs=F({\u0275prov:F}),Yi=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=b({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Fc(e){return e&&!!e.\u0275providers}var Lc=F({\u0275cmp:F}),Bc=F({\u0275dir:F}),jc=F({\u0275pipe:F}),Vc=F({\u0275mod:F}),mo=F({\u0275fac:F}),Pn=F({__NG_ELEMENT_ID__:F}),rp=F({__NG_ENV_ID__:F});function Hc(e){return os(e,"@NgModule"),e[Vc]||null}function bt(e){return os(e,"@Component"),e[Lc]||null}function Co(e){return os(e,"@Directive"),e[Bc]||null}function Uc(e){return os(e,"@Pipe"),e[jc]||null}function os(e,n){if(e==null)throw new E(-919,!1)}function Dt(e){return typeof e=="string"?e:e==null?"":String(e)}var cp=F({ngErrorCode:F}),Yb=F({ngErrorMessage:F}),Kb=F({ngTokenPath:F});function $c(e,n){return lp("",-200,n)}function is(e,n){throw new E(-201,!1)}function lp(e,n,t){let r=new E(n,e);return r[cp]=n,r[Yb]=e,t&&(r[Kb]=t),r}function Qb(e){return e[cp]}var Tc;function up(){return Tc}function Fe(e){let n=Tc;return Tc=e,n}function zc(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;is(e,"")}var Jb={},An=Jb,Xb="__NG_DI_FLAG__",Sc=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=xn(t)||0;try{return this.injector.get(n,r&8?null:An,r)}catch(o){if(br(o))return o;throw o}}};function eD(e,n=0){let t=qi();if(t===void 0)throw new E(-203,!1);if(t===null)return zc(e,void 0,n);{let r=tD(n),o=t.retrieve(e,r);if(br(o)){if(r.optional)return null;throw o}return o}}function S(e,n=0){return(up()||eD)(se(e),n)}function g(e,n){return S(e,xn(n))}function xn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function tD(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function _c(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 E(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=nD(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 nD(e){return e[Xb]}function Rn(e,n){let t=e.hasOwnProperty(mo);return t?e[mo]:null}function dp(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 fp(e){return e.flat(Number.POSITIVE_INFINITY)}function ss(e,n){e.forEach(t=>Array.isArray(t)?ss(t,n):n(t))}function Wc(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 pp(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function hp(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=Er(e,n);return r>=0?e[r|1]=t:(r=~r,hp(e,r,n,t)),r}function as(e,n){let t=Er(e,n);if(t>=0)return e[t|1]}function Er(e,n){return rD(e,n,1)}function rD(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 ot={},me=[],Fn=new C(""),Gc=new C("",-1),qc=new C(""),yo=class{get(n,t=An){if(t===An){let o=lp("",-201);throw o.name="\u0275NotFound",o}return t}};function Et(e){return{\u0275providers:e}}function gp(e){return Et([{provide:Fn,multi:!0,useValue:e}])}function mp(...e){return{\u0275providers:cs(!0,e),\u0275fromNgModule:!0}}function cs(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return ss(n,s=>{let a=s;Ki(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&yp(o,i),t}function yp(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];Zc(o,i=>{n(i,r)})}}function Ki(e,n,t,r){if(e=se(e),!e)return!1;let o=null,i=wc(e),s=!i&&bt(e);if(!i&&!s){let c=e.ngModule;if(i=wc(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)Ki(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ss(i.imports,u=>{Ki(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&yp(l,n)}if(!a){let l=Rn(o)||(()=>new o);n({provide:o,useFactory:l,deps:me},o),n({provide:qc,useValue:o,multi:!0},o),n({provide:Fn,useValue:()=>S(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Zc(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Zc(e,n){for(let t of e)Fc(t)&&(t=t.\u0275providers),Array.isArray(t)?Zc(t,n):n(t)}var oD=F({provide:String,useValue:F});function vp(e){return e!==null&&typeof e=="object"&&oD in e}function iD(e){return!!(e&&e.useExisting)}function sD(e){return!!(e&&e.useFactory)}function On(e){return typeof e=="function"}function bp(e){return!!e.useClass}var So=new C(""),Zi={},op={},Cc;function _o(){return Cc===void 0&&(Cc=new yo),Cc}var ye=class{},kn=class extends ye{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,Nc(n,s=>this.processProvider(s)),this.records.set(Gc,Dr(void 0,this)),o.has("environment")&&this.records.set(ye,Dr(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(qc,me,{self:!0}))}retrieve(n,t){let r=xn(t)||0;try{return this.get(n,An,r)}catch(o){if(br(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=yt(this),r=Fe(void 0),o;try{return n()}finally{yt(t),Fe(r)}}get(n,t=An,r){if(go(this),n.hasOwnProperty(rp))return n[rp](this);let o=xn(r),i,s=yt(this),a=Fe(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=dD(n)&&Io(n);u&&this.injectableDefInScope(u)?l=Dr(Mc(n),Zi):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===An?null:t,c.get(n,t)}catch(c){let l=Qb(c);throw l===-200||l===-201?new E(l,null):c}finally{Fe(a),yt(s)}}resolveInjectorInitializers(){let n=T(null),t=yt(this),r=Fe(void 0),o;try{let i=this.get(Fn,me,{self:!0});for(let s of i)s()}finally{yt(t),Fe(r),T(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=se(n);let t=On(n)?n:se(n&&n.provide),r=cD(n);if(!On(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Dr(void 0,Zi,!0),o.factory=()=>_c(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===op)throw $c("");return t.value===Zi&&(t.value=op,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&uD(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 Mc(e){let n=Io(e),t=n!==null?n.factory:Rn(e);if(t!==null)return t;if(e instanceof C)throw new E(-204,!1);if(e instanceof Function)return aD(e);throw new E(-204,!1)}function aD(e){if(e.length>0)throw new E(-204,!1);let t=Zb(e);return t!==null?()=>t.factory(e):()=>new e}function cD(e){if(vp(e))return Dr(void 0,e.useValue);{let n=Yc(e);return Dr(n,Zi)}}function Yc(e,n,t){let r;if(On(e)){let o=se(e);return Rn(o)||Mc(o)}else if(vp(e))r=()=>se(e.useValue);else if(sD(e))r=()=>e.useFactory(..._c(e.deps||[]));else if(iD(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(lD(e))r=()=>new o(..._c(e.deps));else return Rn(o)||Mc(o)}return r}function go(e){if(e.destroyed)throw new E(-205,!1)}function Dr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function lD(e){return!!e.deps}function uD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function dD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Nc(e,n){for(let t of e)Array.isArray(t)?Nc(t,n):t&&Fc(t)?Nc(t.\u0275providers,n):n(t)}function Ir(e,n){let t;e instanceof kn?(go(e),t=e):t=new Sc(e);let r,o=yt(t),i=Fe(void 0);try{return n()}finally{yt(o),Fe(i)}}function Dp(){return up()!==void 0||qi()!=null}var it=0,w=1,_=2,re=3,Ge=4,Ce=5,Ln=6,Cr=7,X=8,oe=9,st=10,L=11,wr=12,Kc=13,Bn=14,we=15,sn=16,jn=17,It=18,Ct=19,Qc=20,Pt=21,ls=22,tn=23,Be=24,Vn=25,wt=26,V=27,Ep=1,an=6,cn=7,Mo=8,Hn=9,Y=10;function Ft(e){return Array.isArray(e)&&typeof e[Ep]=="object"}function at(e){return Array.isArray(e)&&e[Ep]===!0}function Jc(e){return(e.flags&4)!==0}function Lt(e){return e.componentOffset>-1}function Tr(e){return(e.flags&1)===1}function ct(e){return!!e.template}function Sr(e){return(e[_]&512)!==0}function ln(e){return(e[_]&256)===256}var Xc="svg",Ip="math";function qe(e){for(;Array.isArray(e);)e=e[it];return e}function el(e,n){return qe(n[e])}function je(e,n){return qe(n[e.index])}function _r(e,n){return e.data[n]}function tl(e,n){return e[n]}function us(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ze(e,n){let t=n[e];return Ft(t)?t:t[it]}function Cp(e){return(e[_]&4)===4}function ds(e){return(e[_]&128)===128}function wp(e){return at(e[re])}function Ve(e,n){return n==null?null:e[n]}function nl(e){e[jn]=0}function rl(e){e[_]&1024||(e[_]|=1024,ds(e)&&Un(e))}function Tp(e,n){for(;e>0;)n=n[Bn],e--;return n}function No(e){return!!(e[_]&9216||e[Be]?.dirty)}function fs(e){e[st].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),No(e)&&Un(e)}function Un(e){e[st].changeDetectionScheduler?.notify(0);let n=nn(e);for(;n!==null&&!(n[_]&8192||(n[_]|=8192,!ds(n)));)n=nn(n)}function ps(e,n){if(ln(e))throw new E(911,!1);e[Pt]===null&&(e[Pt]=[]),e[Pt].push(n)}function ol(e,n){if(e[Pt]===null)return;let t=e[Pt].indexOf(n);t!==-1&&e[Pt].splice(t,1)}function nn(e){let n=e[re];return at(n)?n[re]:n}function il(e){return e[Cr]??=[]}function sl(e){return e.cleanup??=[]}function Sp(e,n,t,r){let o=il(n);o.push(t),e.firstCreatePass&&sl(e).push(r,o.length-1)}var N={lFrame:Bp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ac=!1;function _p(){return N.lFrame.elementDepthCount}function Mp(){N.lFrame.elementDepthCount++}function al(){N.lFrame.elementDepthCount--}function hs(){return N.bindingsEnabled}function cl(){return N.skipHydrationRootTNode!==null}function ll(e){return N.skipHydrationRootTNode===e}function ul(){N.skipHydrationRootTNode=null}function I(){return N.lFrame.lView}function H(){return N.lFrame.tView}function Np(e){return N.lFrame.contextLView=e,e[X]}function Ap(e){return N.lFrame.contextLView=null,e}function K(){let e=dl();for(;e!==null&&e.type===64;)e=e.parent;return e}function dl(){return N.lFrame.currentTNode}function xp(){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 fl(){return N.lFrame.isParent}function pl(){N.lFrame.isParent=!1}function hl(){return N.lFrame.contextLView}function gl(){return Ac}function vo(e){let n=Ac;return Ac=e,n}function Bt(){let e=N.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function ml(){return N.lFrame.bindingIndex}function Rp(e){return N.lFrame.bindingIndex=e}function jt(){return N.lFrame.bindingIndex++}function Ao(e){let n=N.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Op(){return N.lFrame.inI18n}function kp(e,n){let t=N.lFrame;t.bindingIndex=t.bindingRootIndex=e,gs(n)}function Pp(){return N.lFrame.currentDirectiveIndex}function gs(e){N.lFrame.currentDirectiveIndex=e}function Fp(e){let n=N.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function ms(){return N.lFrame.currentQueryIndex}function xo(e){N.lFrame.currentQueryIndex=e}function fD(e){let n=e[w];return n.type===2?n.declTNode:n.type===1?e[Ce]:null}function yl(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=fD(i),o===null||(i=i[Bn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=N.lFrame=Lp();return r.currentTNode=n,r.lView=e,!0}function ys(e){let n=Lp(),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 Lp(){let e=N.lFrame,n=e===null?null:e.child;return n===null?Bp(e):n}function Bp(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 jp(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var vl=jp;function vs(){let e=jp();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 Vp(e){return(N.lFrame.contextLView=Tp(e,N.lFrame.contextLView))[X]}function Ye(){return N.lFrame.selectedIndex}function un(e){N.lFrame.selectedIndex=e}function Mr(){let e=N.lFrame;return _r(e.tView,e.selectedIndex)}function Nr(){N.lFrame.currentNamespace=Xc}function Hp(){return N.lFrame.currentNamespace}var Up=!0;function bs(){return Up}function Ro(e){Up=e}function xc(e,n=null,t=null,r){let o=bl(e,n,t,r);return o.resolveInjectorInitializers(),o}function bl(e,n=null,t=null,r,o=new Set){let i=[t||me,mp(e)],s;return new kn(i,n||_o(),s||null,o)}var le=class e{static THROW_IF_NOT_FOUND=An;static NULL=new yo;static create(n,t){if(Array.isArray(n))return xc({name:""},t,n,"");{let r=n.name??"";return xc({name:r},n.parent,n.providers,r)}}static \u0275prov=b({token:e,providedIn:"any",factory:()=>S(Gc)});static __NG_ELEMENT_ID__=-1},j=new C(""),de=(()=>{class e{static __NG_ELEMENT_ID__=pD;static __NG_ENV_ID__=t=>t}return e})(),Qi=class extends de{_lView;constructor(n){super(),this._lView=n}get destroyed(){return ln(this._lView)}onDestroy(n){let t=this._lView;return ps(t,n),()=>ol(t,n)}};function pD(){return new Qi(I())}var $p=!1,zp=new C(""),zn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new po(!1);debugTaskTracker=g(zp,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=b({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rc=class extends ne{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Dp()&&(this.destroyRef=g(de,{optional:!0})??void 0,this.pendingTasks=g(zn,{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 Ie&&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)}})}}},Le=Rc;function Ji(...e){}function Dl(e){let n,t;function r(){e=Ji;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 Wp(e){return queueMicrotask(()=>e()),()=>{e=Ji}}var El="isAngularZone",bo=El+"_ID",hD=0,ae=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Le(!1);onMicrotaskEmpty=new Le(!1);onStable=new Le(!1);onError=new Le(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=$p}=n;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,yD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(El)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,gD,Ji,Ji);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)}},gD={};function Il(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 mD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Dl(()=>{e.callbackScheduled=!1,Oc(e),e.isCheckStableRunning=!0,Il(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Oc(e)}function yD(e){let n=()=>{mD(e)},t=hD++;e._inner=e._inner.fork({name:"angular",properties:{[El]:!0,[bo]:t,[bo+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(vD(c))return r.invokeTask(i,s,a,c);try{return ip(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),sp(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return ip(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bD(c)&&n(),sp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Oc(e),Il(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 Oc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ip(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sp(e){e._nesting--,Il(e)}var Do=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Le;onMicrotaskEmpty=new Le;onStable=new Le;onError=new Le;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 vD(e){return Gp(e,"__ignore_ng_zone__")}function bD(e){return Gp(e,"__scheduler_tick__")}function Gp(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var We=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Vt=new C("",{factory:()=>{let e=g(ae),n=g(ye),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(We),t.handleError(r))})}}}),qp={provide:Fn,useValue:()=>{let e=g(We,{optional:!0})},multi:!0},DD=new C("",{factory:()=>{let e=g(j).defaultView;if(!e)return;let n=g(Vt),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(de).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function ED(){return Et([gp(()=>{g(DD)})])}function U(e,n){let[t,r,o]=uc(e,n?.equal),i=t,s=i[Z];return i.set=r,i.update=o,i.asReadonly=Oo.bind(i),i}function Oo(){let e=this[Z];if(e.readonlyFn===void 0){let n=()=>this();n[Z]=e,e.readonlyFn=n}return e.readonlyFn}var Ar=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=ID}return e})();function ID(){return new Ar(I(),K())}var vt=class{},ko=new C("",{factory:()=>!0});var Cl=new C(""),Wn=(()=>{class e{internalPendingTasks=g(zn);scheduler=g(vt);errorHandler=g(Vt);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=b({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ds=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>new kc})}return e})(),kc=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}},Xi=class{[Z];constructor(n){this[Z]=n}destroy(){this[Z].destroy()}};function Te(e,n){let t=n?.injector??g(le),r=n?.manualCleanup!==!0?t.get(de):null,o,i=t.get(Ar,null,{optional:!0}),s=t.get(vt);return i!==null?(o=TD(i.view,s,e),r instanceof Qi&&r._lView===i.view&&(r=null)):o=SD(e,t.get(Ds),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Xi(o)}var Zp=B(y({},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)}}}),CD=B(y({},Zp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Qt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),wD=B(y({},Zp),{consumerMarkedDirty(){this.view[_]|=8192,Un(this.view),this.notifier.notify(13)},destroy(){if(Qt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[tn]?.delete(this)}});function TD(e,n,t){let r=Object.create(wD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Yp(r,t),e[tn]??=new Set,e[tn].add(r),r.consumerMarkedDirty(r),r}function SD(e,n,t){let r=Object.create(CD);return r.fn=Yp(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 Yp(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function qo(e){return{toString:e}.toString()}function kD(e){return typeof e=="function"}function $h(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Os=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},Vr=(()=>{let e=()=>zh;return e.ngInherit=!0,e})();function zh(e){return e.type.prototype.ngOnChanges&&(e.setInput=FD),PD}function PD(){let e=Gh(this),n=e?.current;if(n){let t=e.previous;if(t===ot)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function FD(e,n,t,r,o){let i=this.declaredInputs[r],s=Gh(e)||LD(e,{previous:ot,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Os(l&&l.currentValue,t,c===ot),$h(e,n,o,t)}var Wh="__ngSimpleChanges__";function Gh(e){return e[Wh]||null}function LD(e,n){return e[Wh]=n}var Kp=[];var k=function(e,n=null,t){for(let r=0;r<Kp.length;r++){let o=Kp[r];o(e,n,t)}},R=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(R||{});function BD(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=zh(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 qh(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 Ts(e,n,t){Zh(e,n,3,t)}function Ss(e,n,t,r){(e[_]&3)===t&&Zh(e,n,t,r)}function wl(e,n){let t=e[_];(t&3)===n&&(t&=16383,t+=1,e[_]=t)}function Zh(e,n,t,r){let o=r!==void 0?e[jn]&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[jn]+=65536),(a<i||i==-1)&&(jD(e,t,n,c),e[jn]=(e[jn]&4294901760)+c+2),c++}function Qp(e,n){k(R.LifecycleHookStart,e,n);let t=T(null);try{n.call(e)}finally{T(t),k(R.LifecycleHookEnd,e,n)}}function jD(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[jn]>>16&&(e[_]&3)===n&&(e[_]+=16384,Qp(a,i)):Qp(a,i)}var Rr=-1,Yn=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 VD(e){return(e.flags&8)!==0}function HD(e){return(e.flags&16)!==0}function UD(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];$D(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Yh(e){return e===3||e===4||e===6}function $D(e){return e.charCodeAt(0)===64}function kr(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?Jp(e,t,o,null,n[++r]):Jp(e,t,o,null,null))}}return e}function Jp(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function Kh(e){return e!==Rr}function ks(e){return e&32767}function zD(e){return e>>16}function Ps(e,n){let t=zD(e),r=n;for(;t>0;)r=r[Bn],t--;return r}var Fl=!0;function Xp(e){let n=Fl;return Fl=e,n}var WD=256,Qh=WD-1,Jh=5,GD=0,Tt={};function qD(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Pn)&&(r=t[Pn]),r==null&&(r=t[Pn]=GD++);let o=r&Qh,i=1<<o;n.data[e+(o>>Jh)]|=i}function Fs(e,n){let t=Xh(e,n);if(t!==-1)return t;let r=n[w];r.firstCreatePass&&(e.injectorIndex=n.length,Tl(r.data,e),Tl(n,null),Tl(r.blueprint,null));let o=vu(e,n),i=e.injectorIndex;if(Kh(o)){let s=ks(o),a=Ps(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 Tl(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Xh(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function vu(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=og(o),r===null)return Rr;if(t++,o=o[Bn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Rr}function Ll(e,n,t){qD(e,n,t)}function ZD(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(Yh(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 eg(e,n,t){if(t&8||e!==void 0)return e;is(n,"NodeInjector")}function tg(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[oe],i=Fe(void 0);try{return o?o.get(n,r,t&8):zc(n,r,t&8)}finally{Fe(i)}}return eg(r,n,t)}function ng(e,n,t,r=0,o){if(e!==null){if(n[_]&2048&&!(r&2)){let s=JD(e,n,t,r,Tt);if(s!==Tt)return s}let i=rg(e,n,t,r,Tt);if(i!==Tt)return i}return tg(n,t,r,o)}function rg(e,n,t,r,o){let i=KD(t);if(typeof i=="function"){if(!yl(n,e,r))return r&1?eg(o,t,r):tg(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))is(t);else return s}finally{vl()}}else if(typeof i=="number"){let s=null,a=Xh(e,n),c=Rr,l=r&1?n[we][Ce]:null;for((a===-1||r&4)&&(c=a===-1?vu(e,n):n[a+8],c===Rr||!th(r,!1)?a=-1:(s=n[w],a=ks(c),n=Ps(c,n)));a!==-1;){let u=n[w];if(eh(i,a,u.data)){let d=YD(a,n,t,s,r,l);if(d!==Tt)return d}c=n[a+8],c!==Rr&&th(r,n[w].data[a+8]===l)&&eh(i,a,n)?(s=u,a=ks(c),n=Ps(c,n)):a=-1}}return o}function YD(e,n,t,r,o,i){let s=n[w],a=s.data[e+8],c=r==null?Lt(a)&&Fl:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=_s(a,s,t,c,l);return u!==null?Bo(n,s,u,a,o):Tt}function _s(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&&ct(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 Yn){let a=i;if(a.resolving)throw $c("");let c=Xp(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Fe(a.injectImpl):null,f=yl(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&BD(t,s[t],n)}finally{d!==null&&Fe(d),Xp(c),a.resolving=!1,vl()}}return i}function KD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Pn)?e[Pn]:void 0;return typeof n=="number"?n>=0?n&Qh:QD:n}function eh(e,n,t){let r=1<<e;return!!(t[n+(e>>Jh)]&r)}function th(e,n){return!(e&2)&&!(e&1&&n)}var qn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return ng(this._tNode,this._lView,n,xn(r),t)}};function QD(){return new qn(K(),I())}function W(e){return qo(()=>{let n=e.prototype.constructor,t=n[mo]||Bl(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[mo]||Bl(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Bl(e){return Pc(e)?()=>{let n=Bl(se(e));return n&&n()}:Rn(e)}function JD(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[_]&2048&&!Sr(s);){let a=rg(i,s,t,r|2,Tt);if(a!==Tt)return a;let c=i.parent;if(!c){let l=s[Qc];if(l){let u=l.get(t,Tt,r&-5);if(u!==Tt)return u}c=og(s),s=s[Bn]}i=c}return o}function og(e){let n=e[w],t=n.type;return t===2?n.declTNode:t===1?e[Ce]:null}function bu(e){return ZD(K(),e)}function XD(){return Hr(K(),I())}function Hr(e,n){return new Oe(je(e,n))}var Oe=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=XD}return e})();function ig(e){return e instanceof Oe?e.nativeElement:e}function eE(){return this._results[Symbol.iterator]()}var Ls=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 ne}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=fp(n);(this._changesDetected=!dp(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]=eE};function sg(e){return(e.flags&128)===128}var Du=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Du||{}),ag=new Map,tE=0;function nE(){return tE++}function rE(e){ag.set(e[Ct],e)}function jl(e){ag.delete(e[Ct])}var nh="__ngContext__";function Pr(e,n){Ft(n)?(e[nh]=n[Ct],rE(n)):e[nh]=n}function cg(e){return ug(e[wr])}function lg(e){return ug(e[Ge])}function ug(e){for(;e!==null&&!at(e);)e=e[Ge];return e}var Vl;function Eu(e){Vl=e}function dg(){if(Vl!==void 0)return Vl;if(typeof document<"u")return document;throw new E(210,!1)}var Qs=new C("",{factory:()=>oE}),oE="ng";var Js=new C(""),ft=new C("",{providedIn:"platform",factory:()=>"unknown"});var Zo=new C("",{factory:()=>g(j).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var fg="r";var Iu="di",Cu="s";var pg=!1,hg=new C("",{factory:()=>pg});var gg=new C("");var iE=(e,n,t,r)=>{};function sE(e,n,t,r){iE(e,n,t,r)}var mg=new C("");function Xs(e){return(e.flags&32)===32}var aE=()=>null;function yg(e,n,t=!1){return aE(e,n,t)}function wu(e){return e.get(gg,!1,{optional:!0})}function vg(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 Hl(e,n,t){xo(0);let r=T(null);try{n(e,t)}finally{T(r)}}function Tu(e,n,t){if(Jc(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 ut=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(ut||{});var Es;function cE(){if(Es===void 0&&(Es=null,on.trustedTypes))try{Es=on.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Es}function ea(e){return cE()?.createHTML(e)||e}var Is;function bg(){if(Is===void 0&&(Is=null,on.trustedTypes))try{Is=on.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Is}function rh(e){return bg()?.createHTML(e)||e}function oh(e){return bg()?.createScriptURL(e)||e}var Ht=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${es})`}},Ul=class extends Ht{getTypeName(){return"HTML"}},$l=class extends Ht{getTypeName(){return"Style"}},zl=class extends Ht{getTypeName(){return"Script"}},Wl=class extends Ht{getTypeName(){return"URL"}},Gl=class extends Ht{getTypeName(){return"ResourceURL"}};function He(e){return e instanceof Ht?e.changingThisBreaksApplicationSecurity:e}function _t(e,n){let t=Dg(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${es})`)}return t===n}function Dg(e){return e instanceof Ht&&e.getTypeName()||null}function Su(e){return new Ul(e)}function _u(e){return new $l(e)}function Mu(e){return new zl(e)}function Nu(e){return new Wl(e)}function Au(e){return new Gl(e)}function lE(e){let n=new Zl(e);return uE()?new ql(n):n}var ql=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(ea(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},Zl=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=ea(n),t}};function uE(){try{return!!new window.DOMParser().parseFromString(ea(""),"text/html")}catch{return!1}}var dE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yo(e){return e=String(e),e.match(dE)?e:"unsafe:"+e}function Ut(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Ko(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var Eg=Ut("area,br,col,hr,img,wbr"),Ig=Ut("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Cg=Ut("rp,rt"),fE=Ko(Cg,Ig),pE=Ko(Ig,Ut("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")),hE=Ko(Cg,Ut("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")),ih=Ko(Eg,pE,hE,fE),wg=Ut("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gE=Ut("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"),mE=Ut("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"),yE=Ko(wg,gE,mE),vE=Ut("script,style,template");var Yl=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=EE(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=DE(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=sh(n).toLowerCase();if(!ih.hasOwnProperty(t))return this.sanitizedSomething=!0,!vE.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!yE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;wg[a]&&(c=Yo(c)),this.buf.push(" ",s,'="',ah(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=sh(n).toLowerCase();ih.hasOwnProperty(t)&&!Eg.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(ah(n))}};function bE(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function DE(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw Tg(n);return n}function EE(e){let n=e.firstChild;if(n&&bE(e,n))throw Tg(n);return n}function sh(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function Tg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var IE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,CE=/([^\#-~ |!])/g;function ah(e){return e.replace(/&/g,"&amp;").replace(IE,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(CE,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Cs;function ta(e,n){let t=null;try{Cs=Cs||lE(e);let r=n?String(n):"";t=Cs.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=Cs.getInertBodyElement(r)}while(r!==i);let a=new Yl().sanitizeChildren(ch(t)||t);return ea(a)}finally{if(t){let r=ch(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function ch(e){return"content"in e&&wE(e)?e.content:null}function wE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var TE=/^>|^->|<!--|-->|--!>|<!-$/g,SE=/(<|>)/g,_E="\u200B$1\u200B";function ME(e){return e.replace(TE,n=>n.replace(SE,_E))}function NE(e,n){return e.createText(n)}function AE(e,n,t){e.setValue(n,t)}function xE(e,n){return e.createComment(ME(n))}function Sg(e,n,t){return e.createElement(n,t)}function Bs(e,n,t,r,o){e.insertBefore(n,t,r,o)}function _g(e,n,t){e.appendChild(n,t)}function lh(e,n,t,r,o){r!==null?Bs(e,n,t,r,o):_g(e,n,t)}function Mg(e,n,t,r){e.removeChild(null,n,t,r)}function RE(e,n,t){e.setAttribute(n,"style",t)}function OE(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Ng(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&UD(e,n,r),o!==null&&OE(e,n,o),i!==null&&RE(e,n,i)}var Ke=(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})(Ke||{});function kE(e){let n=xu();return n?rh(n.sanitize(Ke.HTML,e)||""):_t(e,"HTML")?rh(He(e)):ta(dg(),Dt(e))}function Ag(e){let n=xu();return n?n.sanitize(Ke.URL,e)||"":_t(e,"URL")?He(e):Yo(Dt(e))}function xg(e){let n=xu();if(n)return oh(n.sanitize(Ke.RESOURCE_URL,e)||"");if(_t(e,"ResourceURL"))return oh(He(e));throw new E(904,!1)}var PE={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 FE(e,n){return PE[e]?.[n]===!0?xg:Ag}function LE(e,n,t){return FE(n,t)(e)}function xu(){let e=I();return e&&e[st].sanitizer}function BE(e){return e.ownerDocument.defaultView}function jE(e){return e.ownerDocument}function Rg(e){return e instanceof Function?e():e}function VE(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 Og="ng-template";function HE(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&VE(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Ru(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 Ru(e){return e.type===4&&e.value!==Og}function UE(e,n,t){let r=e.type===4&&!t?Og:e.value;return n===r}function $E(e,n,t){let r=4,o=e.attrs,i=o!==null?GE(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!lt(r)&&!lt(c))return!1;if(s&&lt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!UE(e,c,t)||c===""&&n.length===1){if(lt(r))return!1;s=!0}}else if(r&8){if(o===null||!HE(e,o,c,t)){if(lt(r))return!1;s=!0}}else{let l=n[++a],u=zE(c,o,Ru(e),t);if(u===-1){if(lt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(lt(r))return!1;s=!0}}}}return lt(r)||s}function lt(e){return(e&1)===0}function zE(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return qE(n,e)}function kg(e,n,t=!1){for(let r=0;r<n.length;r++)if($E(e,n[r],t))return!0;return!1}function WE(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function GE(e){for(let n=0;n<e.length;n++){let t=e[n];if(Yh(t))return n}return e.length}function qE(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 ZE(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 uh(e,n){return e?":not("+n.trim()+")":n}function YE(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!==""&&!lt(s)&&(n+=uh(i,o),o=""),r=s,i=i||!lt(r);t++}return o!==""&&(n+=uh(i,o)),n}function KE(e){return e.map(YE).join(",")}function QE(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(!lt(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var fe={};function Ou(e,n,t,r,o,i,s,a,c,l,u){let d=V+r,f=d+o,p=JE(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 JE(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:fe);return t}function XE(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Ou(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function ku(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[it]=o,d[_]=r|4|128|8|64|1024,(l!==null||e&&e[_]&2048)&&(d[_]|=2048),nl(d),d[re]=d[Bn]=e,d[X]=t,d[st]=s||e&&e[st],d[L]=a||e&&e[L],d[oe]=c||e&&e[oe]||null,d[Ce]=i,d[Ct]=nE(),d[Ln]=u,d[Qc]=l,d[we]=n.type==2?e[we]:d,d}function eI(e,n,t){let r=je(n,e),o=XE(t),i=e[st].rendererFactory,s=Pu(e,ku(e,o,null,Pg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function Pg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Fg(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 Pu(e,n){return e[wr]?e[Kc][Ge]=n:e[wr]=n,e[Kc]=n,n}function ve(e=1){Lg(H(),I(),Ye()+e,!1)}function Lg(e,n,t,r){if(!r)if((n[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ts(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Ss(n,i,0,t)}un(t)}var na=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(na||{});function Kl(e,n,t,r){let o=T(null);try{let[i,s,a]=e.inputs[t],c=null;(s&na.SignalBased)!==0&&(c=n[i][Z]),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 dt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(dt||{}),tI;function Fu(e,n){return tI(e,n)}var Bg=new C("",{factory:()=>!1});var nI=!1,Qo=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function jg(e){return e[oe].get(Bg,nI)}function rI(e,n,t){let r=Fr.get(e);if(r){for(let o of n)r.classList.push(o);for(let o of t)r.cleanupFns.push(o)}else Fr.set(e,{classList:n,cleanupFns:t})}function Lu(e){let n=Fr.get(e);if(n){for(let t of n.cleanupFns)t();Fr.delete(e)}Zn.delete(e)}var Fr=new WeakMap,Zn=new WeakMap,jo=new WeakMap,Po=new WeakSet;function dh(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 oI(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 Vg(e,n){let t=jo.get(e);t?t.includes(n)||t.push(n):jo.set(e,[n])}function fh(e){let n=e[wt]??={};return n.enter??=new Map}function ra(e){let n=e[wt]??={};return n.leave??=new Map}function Hg(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 iI(e,n){if(!Qo)return;let t=Fr.get(e);if(t&&t.classList.length>0&&sI(e,t.classList))for(let r of t.classList)n.removeClass(e,r);Lu(e)}function sI(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 Bu(e,n){let t=Zn.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 Ug(e,n,t){let r=e.get(n.index)??{animateFns:[]};r.animateFns.push(t),e.set(n.index,r)}function ph(e,n){if(e)for(let t of e)t();for(let t of n)t()}function hh(e,n){let t=ra(e).get(n.index);t&&(t.resolvers=void 0)}function js(e){if(!e)return 0;let n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function Gn(e,n){return e.getPropertyValue(n).split(",").map(r=>r.trim())}function aI(e){let n=Gn(e,"transition-property"),t=Gn(e,"transition-duration"),r=Gn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=js(r[i])+js(t[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function cI(e){let n=Gn(e,"animation-name"),t=Gn(e,"animation-delay"),r=Gn(e,"animation-duration"),o=Gn(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=js(t[s])+js(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 zg(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function lI(e,n){let t=getComputedStyle(e),r=cI(t),o=aI(t),i=r.duration>o.duration?r:o;$g(n.get(e),i)||zg(i)&&n.set(e,i)}function Wg(e,n,t){if(!t)return;let r=e.getAnimations();return r.length===0?lI(e,n):uI(e,n,r)}function uI(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)||zg(r)&&n.set(e,r)}var fn=new Set,oa=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(oa||{}),pt=new C(""),gh=new Set;function ht(e){gh.has(e)||(gh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ia=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=b({token:e,providedIn:"root",factory:()=>new e})}return e})(),ju=[0,1,2,3],Vu=(()=>{class e{ngZone=g(ae);scheduler=g(vt);errorHandler=g(We,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(pt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&k(R.AfterRenderHooksStart),this.executing=!0;for(let r of ju)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&k(R.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[Vn]??=[]).push(t),Un(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(oa.AFTER_NEXT_RENDER,t):t()}static \u0275prov=b({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?.[Vn];n&&(this.view[Vn]=n.filter(t=>t!==this))}};function Gg(e,n){let t=n?.injector??g(le);return ht("NgAfterNextRender"),fI(e,t,n,!0)}function dI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function fI(e,n,t,r){let o=n.get(ia);o.impl??=n.get(Vu);let i=n.get(pt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(de):null,a=n.get(Ar,null,{optional:!0}),c=new Ho(o.impl,dI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var sa=new C("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(ye)})});function qg(e,n,t){let r=e.get(sa);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 pI(e,n){let t=e.get(sa);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function hI(e){let n=e.get(sa);n.isScheduled||(Gg(()=>{n.isScheduled=!1;for(let t of n.queue)t();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function Zg(e){let n=e.get(sa);n.scheduler=hI,n.scheduler(e)}function Yg(e,n){for(let[t,r]of n)qg(e,r.animateFns)}function mh(e,n,t,r){let o=e?.[wt]?.enter;n!==null&&o&&o.has(t.index)&&Yg(r,o)}function xr(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;at(o)?c=o:Ft(o)&&(l=!0,o=o[it]);let u=qe(o);e===0&&r!==null?(mh(a,r,i,t),s==null?_g(n,r,u):Bs(n,r,u,s||null,!0)):e===1&&r!==null?(mh(a,r,i,t),Bs(n,r,u,s||null,!0),oI(i,u)):e===2?(a?.[wt]?.leave?.has(i.index)&&Vg(i,u),Po.delete(u),yh(a,i,t,d=>{if(Po.has(u)){Po.delete(u);return}Mg(n,u,l,d)})):e===3&&(Po.delete(u),yh(a,i,t,()=>{n.destroyNode(u)})),c!=null&&TI(n,e,t,c,i,r,s)}}function gI(e,n){Kg(e,n),n[it]=null,n[Ce]=null}function mI(e,n,t,r,o,i){r[it]=o,r[Ce]=n,ca(e,r,t,1,o,i)}function Kg(e,n){n[st].changeDetectionScheduler?.notify(9),ca(e,n,n[L],2,null,null)}function yI(e){let n=e[wr];if(!n)return Sl(e[w],e);for(;n;){let t=null;if(Ft(n))t=n[wr];else{let r=n[Y];r&&(t=r)}if(!t){for(;n&&!n[Ge]&&n!==e;)Ft(n)&&Sl(n[w],n),n=n[re];n===null&&(n=e),Ft(n)&&Sl(n[w],n),t=n&&n[Ge]}n=t}}function Hu(e,n){let t=e[Hn],r=t.indexOf(n);t.splice(r,1)}function aa(e,n){if(ln(n))return;let t=n[L];t.destroyNode&&ca(e,n,t,3,null,null),yI(n)}function Sl(e,n){if(ln(n))return;let t=T(null);try{n[_]&=-129,n[_]|=256,n[Be]&&Qt(n[Be]),DI(e,n),bI(e,n),n[w].type===1&&n[L].destroy();let r=n[sn];if(r!==null&&at(n[re])){r!==n[re]&&Hu(r,n);let o=n[It];o!==null&&o.detachView(e)}jl(n)}finally{T(t)}}function yh(e,n,t,r){let o=e?.[wt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&fn.add(e[Ct]),qg(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),vI(e,r)}else e&&fn.delete(e[Ct]),r(!1)},o)}function vI(e,n){let t=e[wt]?.running;if(t){t.then(()=>{e[wt].running=void 0,fn.delete(e[Ct]),n(!0)});return}n(!1)}function bI(e,n){let t=e.cleanup,r=n[Cr];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[Cr]=null);let o=n[Pt];if(o!==null){n[Pt]=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 DI(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 Yn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];k(R.LifecycleHookStart,a,c);try{c.call(a)}finally{k(R.LifecycleHookEnd,a,c)}}else{k(R.LifecycleHookStart,o,i);try{i.call(o)}finally{k(R.LifecycleHookEnd,o,i)}}}}}function Qg(e,n,t){return EI(e,n.parent,t)}function EI(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[it];if(Lt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ut.None||o===ut.Emulated)return null}return je(r,t)}function Jg(e,n,t){return CI(e,n,t)}function II(e,n,t){return e.type&40?je(e,t):null}var CI=II,vh;function Uu(e,n,t,r){let o=Qg(e,r,n),i=n[L],s=r.parent||n[Ce],a=Jg(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)lh(i,o,t[c],a,!1);else lh(i,o,t,a,!1);vh!==void 0&&vh(i,r,n,t,o)}function Fo(e,n){if(n!==null){let t=n.type;if(t&3)return je(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 at(o)?Ql(-1,o):qe(o)}}else{if(t&128)return Fo(e,n.next);if(t&32)return Fu(n,e)()||qe(e[n.index]);{let r=Xg(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=nn(e[we]);return Fo(o,r)}else return Fo(e,n.next)}}}return null}function Xg(e,n){if(n!==null){let r=e[we][Ce],o=n.projection;return r.projection[o]}return null}function Ql(e,n){let t=Y+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[oe];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&Pr(qe(c),r),t.flags|=2),!Xs(t))if(l&8)$u(e,n,t.child,r,o,i,!1),xr(n,e,a,o,c,t,i,r);else if(l&32){let u=Fu(t,r),d;for(;d=u();)xr(n,e,a,o,d,t,i,r);xr(n,e,a,o,c,t,i,r)}else l&16?em(e,n,r,t,o,i):xr(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function ca(e,n,t,r,o,i){$u(t,r,e.firstChild,n,o,i,!1)}function wI(e,n,t){let r=n[L],o=Qg(e,t,n),i=t.parent||n[Ce],s=Jg(i,t,n);em(r,0,n,t,o,s)}function em(e,n,t,r,o,i){let s=t[we],c=s[Ce].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];xr(n,e,t[oe],o,u,r,i,t)}else{let l=c,u=s[re];sg(r)&&(l.flags|=128),$u(e,n,l,u,o,i,!0)}}function TI(e,n,t,r,o,i,s){let a=r[cn],c=qe(r);a!==c&&xr(n,e,t,i,a,o,s);for(let l=Y;l<r.length;l++){let u=r[l];ca(u[w],u,e,n,i,a)}}function SI(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:dt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=dt.Important),e.setStyle(t,r,o,i))}}function tm(e,n,t,r,o){let i=Ye(),s=r&2;try{un(-1),s&&n.length>V&&Lg(e,n,V,!1);let a=s?R.TemplateUpdateStart:R.TemplateCreateStart;k(a,o,t),t(r,o)}finally{un(i);let a=s?R.TemplateUpdateEnd:R.TemplateCreateEnd;k(a,o,t)}}function la(e,n,t){RI(e,n,t),(t.flags&64)===64&&OI(e,n,t)}function Ur(e,n,t=je){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 _I(e,n,t,r){let i=r.get(hg,pg)||t===ut.ShadowDom||t===ut.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return MI(s),s}function MI(e){NI(e)}var NI=()=>null;function AI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function nm(e,n,t,r,o,i){let s=n[w];if(Gu(e,s,n,t,r)){Lt(e)&&xI(n,e.index);return}e.type&3&&(t=AI(t)),rm(e,n,t,r,o,i)}function rm(e,n,t,r,o,i){if(e.type&3){let s=je(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function xI(e,n){let t=Ze(n,e);t[_]&16||(t[_]|=64)}function RI(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Lt(t)&&eI(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Fs(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(Pr(c,n),i!==null&&LI(n,s-r,c,a,t,i),ct(a)){let l=Ze(t.index,n);l[X]=Bo(n,e,s,t)}}}function OI(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Pp();try{un(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];gs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&kI(c,l)}}finally{un(-1),gs(s)}}function kI(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function zu(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];kg(n,i.selectors,!1)&&(r??=[],ct(i)?r.unshift(i):r.push(i))}return r}function PI(e,n,t,r,o,i){let s=je(e,n);FI(n[L],s,i,e.value,t,r,o)}function FI(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Dt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function LI(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];Kl(r,t,c,l)}}function ua(e,n,t,r,o){let i=V+t,s=n[w],a=o(s,n,e,r,t);n[i]=a,$n(e,!0);let c=e.type===2;return c?(Ng(n[L],a,e),(_p()===0||Tr(e))&&Pr(a,n),Mp()):Pr(a,n),bs()&&(!c||!Xs(e))&&Uu(s,n,a,e),e}function da(e){let n=e;return fl()?pl():(n=n.parent,$n(n,!1)),n}function Wu(e,n){let t=e[oe];if(!t)return;let r;try{r=t.get(Vt,null)}catch{r=null}r?.(n)}function Gu(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];Kl(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];Kl(u,l,r,o),a=!0}return a}function BI(e,n){let t=Ze(n,e),r=t[w];jI(r,t);let o=t[it];o!==null&&t[Ln]===null&&(t[Ln]=yg(o,t[oe])),k(R.ComponentStart);try{qu(r,t,t[X])}finally{k(R.ComponentEnd,t[X])}}function jI(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function qu(e,n,t){ys(n);try{let r=e.viewQuery;r!==null&&Hl(1,r,t);let o=e.template;o!==null&&tm(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[It]?.finishViewCreation(e),e.staticContentQueries&&vg(e,n),e.staticViewQueries&&Hl(2,e.viewQuery,t);let i=e.components;i!==null&&VI(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[_]&=-5,vs()}}function VI(e,n){for(let t=0;t<n.length;t++)BI(e,n[t])}function $r(e,n,t,r){let o=T(null);try{let i=n.tView,a=e[_]&4096?4096:16,c=ku(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[It];return u!==null&&(c[It]=u.createEmbeddedView(i)),qu(i,c,t),c}finally{T(o)}}function Kn(e,n){return!n||n.firstChild===null||sg(e)}function Uo(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(qe(i)),at(i)&&om(i,r);let s=t.type;if(s&8)Uo(e,n,t.child,r);else if(s&32){let a=Fu(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Xg(n,t);if(Array.isArray(a))r.push(...a);else{let c=nn(n[we]);Uo(c[w],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function om(e,n){for(let t=Y;t<e.length;t++){let r=e[t],o=r[w].firstChild;o!==null&&Uo(r[w],r,o,n)}e[cn]!==e[it]&&n.push(e[cn])}function im(e){if(e[Vn]!==null){for(let n of e[Vn])n.impl.addSequence(n);e[Vn].length=0}}var sm=[];function HI(e){return e[Be]??UI(e)}function UI(e){let n=sm.pop()??Object.create(zI);return n.lView=e,n}function $I(e){e.lView[Be]!==e&&(e.lView=null,sm.push(e))}var zI=B(y({},Yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Un(e.lView)},consumerOnSignalRead(){this.lView[Be]=this}});function WI(e){let n=e[Be]??Object.create(GI);return n.lView=e,n}var GI=B(y({},Yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=nn(e.lView);for(;n&&!am(n[w]);)n=nn(n);n&&rl(n)},consumerOnSignalRead(){this.lView[Be]=this}});function am(e){return e.type!==2}function cm(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 qI=100;function lm(e,n=0){let r=e[st].rendererFactory,o=!1;o||r.begin?.();try{ZI(e,n)}finally{o||r.end?.()}}function ZI(e,n){let t=gl();try{vo(!0),Jl(e,n);let r=0;for(;No(e);){if(r===qI)throw new E(103,!1);r++,Jl(e,1)}}finally{vo(t)}}function YI(e,n,t,r){if(ln(n))return;let o=n[_],i=!1,s=!1;ys(n);let a=!0,c=null,l=null;i||(am(e)?(l=HI(n),c=kt(l)):Si()===null?(a=!1,l=WI(n),c=kt(l)):n[Be]&&(Qt(n[Be]),n[Be]=null));try{nl(n),Rp(e.bindingStartIndex),t!==null&&tm(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&Ts(n,p,null)}else{let p=e.preOrderHooks;p!==null&&Ss(n,p,0,null),wl(n,0)}if(s||KI(n),cm(n),um(n,0),e.contentQueries!==null&&vg(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&Ts(n,p)}else{let p=e.contentHooks;p!==null&&Ss(n,p,1),wl(n,1)}JI(e,n);let d=e.components;d!==null&&fm(n,d,0);let f=e.viewQuery;if(f!==null&&Hl(2,f,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&Ts(n,p)}else{let p=e.viewHooks;p!==null&&Ss(n,p,2),wl(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ls]){for(let p of n[ls])p();n[ls]=null}i||(im(n),n[_]&=-73)}catch(u){throw i||Un(n),u}finally{l!==null&&(Kt(l,c),a&&$I(l)),vs()}}function um(e,n){for(let t=cg(e);t!==null;t=lg(t))for(let r=Y;r<t.length;r++){let o=t[r];dm(o,n)}}function KI(e){for(let n=cg(e);n!==null;n=lg(n)){if(!(n[_]&2))continue;let t=n[Hn];for(let r=0;r<t.length;r++){let o=t[r];rl(o)}}}function QI(e,n,t){k(R.ComponentStart);let r=Ze(n,e);try{dm(r,t)}finally{k(R.ComponentEnd,r[X])}}function dm(e,n){ds(e)&&Jl(e,n)}function Jl(e,n){let r=e[w],o=e[_],i=e[Be],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&mr(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)YI(r,e,r.template,e[X]);else if(o&8192){let a=T(null);try{cm(e),um(e,1);let c=r.components;c!==null&&fm(e,c,1),im(e)}finally{T(a)}}}function fm(e,n,t){for(let r=0;r<n.length;r++)QI(e,n[r],t)}function JI(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];kp(s,i);let c=n[i];k(R.HostBindingsUpdateStart,c);try{a(2,c)}finally{k(R.HostBindingsUpdateEnd,c)}}}}finally{un(-1)}}function fa(e,n){let t=gl()?64:1088;for(e[st].changeDetectionScheduler?.notify(n);e;){e[_]|=t;let r=nn(e);if(Sr(e)&&!r)return e;e=r}return null}function pm(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function hm(e,n){let t=Y+n;if(t<e.length)return e[t]}function zr(e,n,t,r=!0){let o=n[w];if(XI(o,n,e,t),r){let s=Ql(t,e),a=n[L],c=a.parentNode(e[cn]);c!==null&&mI(o,e[Ce],a,n,c,s)}let i=n[Ln];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Zu(e,n){let t=$o(e,n);return t!==void 0&&aa(t[w],t),t}function $o(e,n){if(e.length<=Y)return;let t=Y+n,r=e[t];if(r){let o=r[sn];o!==null&&o!==e&&Hu(o,r),n>0&&(e[t-1][Ge]=r[Ge]);let i=wo(e,Y+n);gI(r[w],r);let s=i[It];s!==null&&s.detachView(i[w]),r[re]=null,r[Ge]=null,r[_]&=-129}return r}function XI(e,n,t,r){let o=Y+r,i=t.length;r>0&&(t[o-1][Ge]=n),r<i-Y?(n[Ge]=t[o],Wc(t,Y+r,n)):(t.push(n),n[Ge]=null),n[re]=t;let s=n[sn];s!==null&&t!==s&&gm(s,n);let a=n[It];a!==null&&a.insertView(e),fs(n),n[_]|=128}function gm(e,n){let t=e[Hn],r=n[re];if(Ft(r))e[_]|=2;else{let o=r[re][we];n[we]!==o&&(e[_]|=2)}t===null?e[Hn]=[n]:t.push(n)}var pn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[w];return Uo(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[X]}set context(n){this._lView[X]=n}get destroyed(){return ln(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[re];if(at(n)){let t=n[Mo],r=t?t.indexOf(this):-1;r>-1&&($o(n,r),wo(t,r))}this._attachedToViewContainer=!1}aa(this._lView[w],this._lView)}onDestroy(n){ps(this._lView,n)}markForCheck(){fa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){fs(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,lm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Sr(this._lView),t=this._lView[sn];t!==null&&!n&&Hu(t,this._lView),Kg(this._lView[w],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let t=Sr(this._lView),r=this._lView[sn];r!==null&&!t&&gm(r,this._lView),fs(this._lView)}};var St=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=eC;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=$r(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new pn(i)}}return e})();function eC(){return pa(K(),I())}function pa(e,n){return e.type&4?new St(n,e,Hr(e,n)):null}function nr(e,n,t,r,o){let i=e.data[n];if(i===null)i=tC(e,n,t,r,o),Op()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=xp();i.injectorIndex=s===null?-1:s.injectorIndex}return $n(i,!0),i}function tC(e,n,t,r,o){let i=dl(),s=fl(),a=s?i:i&&i.parent,c=e.data[n]=rC(e,a,t,n,r,o);return nC(e,c,i,s),c}function nC(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 rC(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return cl()&&(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 oC(e){let n=e[an]??[],r=e[re][L],o=[];for(let i of n)i.data[Iu]!==void 0?o.push(i):iC(i,r);e[an]=o}function iC(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[fg];for(;t<o;){let i=r.nextSibling;Mg(n,r,!1),r=i,t++}}}var sC=()=>null,aC=()=>null;function Vs(e,n){return sC(e,n)}function mm(e,n,t){return aC(e,n,t)}var ym=class{},ha=class{},Xl=class{resolveComponentFactory(n){throw new E(917,!1)}},Jo=class{static NULL=new Xl},Qn=class{},gn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>cC()}return e})();function cC(){let e=I(),n=K(),t=Ze(n.index,e);return(Ft(t)?t:e)[L]}var vm=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>null})}return e})();var Ms={},Or=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Ms,r);return o!==Ms||t===Ms?o:this.parentInjector.get(n,t,r)}};function Hs(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=ts(o,a);else if(i==2){let c=a,l=n[++s];r=ts(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function Q(e,n=0){let t=I();if(t===null)return S(e,n);let r=K();return ng(r,t,se(e),n)}function bm(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}dC(e,n,t,a,i,c,l)}i!==null&&r!==null&&lC(t,r,i)}function lC(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new E(-301,!1);r.push(n[o],i)}}function uC(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function dC(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&&ct(p)&&(c=p,uC(e,t,f)),Ll(Fs(t,n),e,p.type)}yC(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=Fg(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(t.mergedAttrs=kr(t.mergedAttrs,p.hostAttrs),pC(e,t,n,d,p),mC(d,p,o),s!==null&&s.has(p)){let[m,v]=s.get(p);t.directiveToIndex.set(p.type,[d,m+t.directiveStart,v+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++}fC(e,t,i)}function fC(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))bh(0,n,o,r),bh(1,n,o,r),Eh(n,r,!1);else{let i=t.get(o);Dh(0,n,i,r),Dh(1,n,i,r),Eh(n,r,!0)}}}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;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Dm(n,i)}}function Dh(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),Dm(n,s)}}function Dm(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Eh(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Ru(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 pC(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Rn(o.type,!0)),s=new Yn(i,ct(o),Q,null);e.blueprint[r]=s,t[r]=s,hC(e,n,r,Fg(e,t,o.hostVars,fe),o)}function hC(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;gC(s)!=a&&s.push(a),s.push(t,r,i)}}function gC(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function mC(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;ct(n)&&(t[""]=e)}}function yC(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Yu(e,n,t,r,o,i,s,a){let c=n[w],l=c.consts,u=Ve(l,s),d=nr(c,e,t,r,u);return i&&bm(c,n,d,Ve(l,a),o),d.mergedAttrs=kr(d.mergedAttrs,d.attrs),d.attrs!==null&&Hs(d,d.attrs,!1),d.mergedAttrs!==null&&Hs(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ku(e,n){qh(e,n),Jc(n)&&e.queries.elementEnd(n)}function Em(e,n,t,r,o,i){let s=n.consts,a=Ve(s,o),c=nr(n,e,t,r,a);if(c.mergedAttrs=kr(c.mergedAttrs,c.attrs),i!=null){let l=Ve(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Hs(c,c.attrs,!1),c.mergedAttrs!==null&&Hs(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Qu(e){return ga(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Im(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 ga(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function mn(e,n,t){return e[n]=t}function ma(e,n){return e[n]}function Se(e,n,t){if(t===fe)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Lr(e,n,t,r){let o=Se(e,n,t);return Se(e,n+1,r)||o}function Ju(e,n,t,r,o){let i=Lr(e,n,t,r);return Se(e,n+2,o)||i}function ya(e,n,t,r,o,i){let s=Lr(e,n,t,r);return Lr(e,n+2,o,i)||s}function Ns(e,n,t){return function r(o){let i=Lt(e)?Ze(e.index,n):n;fa(i,5);let s=n[X],a=Ih(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=Ih(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Ih(e,n,t,r){let o=T(null);try{return k(R.OutputStart,n,t),t(r)!==!1}catch(i){return Wu(e,i),!1}finally{k(R.OutputEnd,n,t),T(o)}}function Cm(e,n,t,r,o,i,s,a){let c=Tr(e),l=!1,u=null;if(!r&&c&&(u=bC(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=je(e,t),f=r?r(d):d;sE(t,f,i,a);let p=o.listen(f,i,a);if(!vC(i)){let h=r?m=>r(qe(m[e.index])):e.index;wm(h,n,t,i,a,p,!1)}}return l}function vC(e){return e.startsWith("animation")||e.startsWith("transition")}function bC(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[Cr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function wm(e,n,t,r,o,i,s){let a=n.firstCreatePass?sl(n):null,c=il(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Ch(e,n,t,r,o,i){let s=n[t],a=n[w],l=a.data[t].outputs[r],d=s[l].subscribe(i);wm(e.index,a,n,o,i,d,!0)}var eu=Symbol("BINDING");function Tm(e){return e.debugInfo?.className||e.type.name||null}var Us=class extends Jo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=bt(n);return new Jn(t,this.ngModule)}};function DC(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&na.SignalBased)!==0};return o&&(i.transform=o),i})}function EC(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function IC(e,n,t){let r=n instanceof ye?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Or(t,r):t}function CC(e){let n=e.get(Qn,null);if(n===null)throw new E(407,!1);let t=e.get(vm,null),r=e.get(vt,null),o=e.get(pt,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function wC(e,n){let t=Sm(e);return Sg(n,t,t==="svg"?Xc:t==="math"?Ip:null)}function Sm(e){return(e.selectors[0][0]||"div").toLowerCase()}var Jn=class extends ha{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=DC(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=EC(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=KE(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){k(R.DynamicComponentStart);let a=T(null);try{let c=this.componentDef,l=IC(c,o||this.ngModule,n),u=CC(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Tm(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=TC(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?_I(l,o,a.encapsulation,t):wC(a,l),d=s?.some(wh)||i?.some(h=>typeof h!="function"&&h.bindings.some(wh)),f=ku(null,c,null,512|Pg(a),null,null,n,l,t,null,yg(u,t,!0));f[V]=u,ys(f);let p=null;try{let h=Yu(V,f,2,"#host",()=>c.directiveRegistry,!0,0);Ng(l,u,h),Pr(u,f),la(c,f,h),Tu(c,h,f),Ku(c,h),r!==void 0&&_C(h,this.ngContentSelectors,r),p=Ze(h.index,f),f[X]=p[X],qu(c,f,null)}catch(h){throw p!==null&&jl(p),jl(f),h}finally{k(R.DynamicComponentEnd),vs()}return new $s(this.componentType,f,!!d)}};function TC(e,n,t,r){let o=e?["ng-version","21.2.9"]:QE(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[eu].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[eu].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 Ou(0,null,SC(i,s),1,a,c,null,null,null,[o],null)}function SC(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 wh(e){let n=e[eu].kind;return n==="input"||n==="twoWay"}var $s=class extends ym{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=_r(t[w],V),this.location=Hr(this._tNode,t),this.instance=Ze(this._tNode.index,t)[X],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=Gu(r,o[w],o,n,t);this.previousInputValues.set(n,t);let s=Ze(r.index,o);fa(s,1)}get injector(){return new qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function _C(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__=MC}return e})();function MC(){let e=K();return _m(e,I())}var tu=class e extends $t{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Hr(this._hostTNode,this._hostLView)}get injector(){return new qn(this._hostTNode,this._hostLView)}get parentInjector(){let n=vu(this._hostTNode,this._hostLView);if(Kh(n)){let t=Ps(n,this._hostLView),r=ks(n),o=t[w].data[r+8];return new qn(o,t)}else return new qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Th(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Vs(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Kn(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!kD(n),l;if(c)l=t;else{let v=t||{};l=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let u=c?n:new Jn(bt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(ye,null);D&&(i=D)}let f=bt(u.componentType??{}),p=Vs(this._lContainer,f?.id??null),h=p?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,l,Kn(this._hostTNode,p)),m}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(wp(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[re],l=new e(c,c[Ce],c[re]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return zr(s,o,i,r),n.attachToViewContainerRef(),Wc(_l(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Th(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=$o(this._lContainer,t);r&&(wo(_l(this._lContainer),t),aa(r[w],r))}detach(n){let t=this._adjustIndex(n,-1),r=$o(this._lContainer,t);return r&&wo(_l(this._lContainer),t)!=null?new pn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Th(e){return e[Mo]}function _l(e){return e[Mo]||(e[Mo]=[])}function _m(e,n){let t,r=n[e.index];return at(r)?t=r:(t=pm(r,n,null,e),n[e.index]=t,Pu(n,t)),AC(t,n,e,r),new tu(t,e,n)}function NC(e,n){let t=e[L],r=t.createComment(""),o=je(n,e),i=t.parentNode(o);return Bs(t,i,r,t.nextSibling(o),!1),r}var AC=RC,xC=()=>!1;function Mm(e,n,t){return xC(e,n,t)}function RC(e,n,t,r){if(e[cn])return;let o;t.type&8?o=qe(r):o=NC(n,t),e[cn]=o}var nu=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ru=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++)ed(n,t).matches!==null&&this.queries[t].setDirty()}},zs=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=LC(n):this.predicate=n}},ou=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)}},iu=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,OC(t,i)),this.matchTNodeWithReadOption(n,t,_s(t,n,i,!1,!1))}else r===St?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,_s(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Oe||o===$t||o===St&&t.type&4)this.addMatch(t.index,-2);else{let i=_s(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 OC(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 kC(e,n){return e.type&11?Hr(e,n):e.type&4?pa(e,n):null}function PC(e,n,t,r){return t===-1?kC(n,e):t===-2?FC(e,n,r):Bo(e,e[w],t,n)}function FC(e,n,t){if(t===Oe)return Hr(n,e);if(t===St)return pa(n,e);if(t===$t)return _m(n,e)}function Nm(e,n,t,r){let o=n[It].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(PC(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function su(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Nm(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=Y;d<u.length;d++){let f=u[d];f[sn]===f[re]&&su(f[w],f,l,r)}if(u[Hn]!==null){let d=u[Hn];for(let f=0;f<d.length;f++){let p=d[f];su(p[w],p,l,r)}}}}}return r}function Xu(e,n){return e[It].queries[n].queryList}function Am(e,n,t){let r=new Ls((t&4)===4);return Sp(e,n,r,r.destroy),(n[It]??=new ru).queries.push(new nu(r))-1}function xm(e,n,t){let r=H();return r.firstCreatePass&&(Om(r,new zs(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),Am(r,I(),n)}function Rm(e,n,t,r){let o=H();if(o.firstCreatePass){let i=K();Om(o,new zs(n,t,r),i.index),BC(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Am(o,I(),t)}function LC(e){return e.split(",").map(n=>n.trim())}function Om(e,n,t){e.queries===null&&(e.queries=new ou),e.queries.track(new iu(n,t))}function BC(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 ed(e,n){return e.queries.getByIndex(n)}function km(e,n){let t=e[w],r=ed(t,n);return r.crossesNgTemplate?su(t,e,n,[]):Nm(t,e,r,n)}function td(e,n,t){let r,o=uo(()=>{r._dirtyCounter();let i=jC(r,e);if(n&&i===void 0)throw new E(-951,!1);return i});return r=o[Z],r._dirtyCounter=U(0),r._flatValue=void 0,o}function nd(e){return td(!0,!1,e)}function rd(e){return td(!0,!0,e)}function Pm(e){return td(!1,!1,e)}function Fm(e,n){let t=e[Z];t._lView=I(),t._queryIndex=n,t._queryList=Xu(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function jC(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[_]&4)return n?void 0:me;let o=Xu(t,r),i=km(t,r);return o.reset(i,ig),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var hn=class{},Lm=class{};function od(e,n){return new zo(e,n??null,[])}var zo=class extends hn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Us(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Hc(n);this._bootstrapComponents=Rg(i.bootstrap),this._r3Injector=bl(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)}},Ws=class extends Lm{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new zo(this.moduleType,n,[])}};var Wo=class extends hn{injector;componentFactoryResolver=new Us(this);instance=null;constructor(n){super();let t=new kn([...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 id(e,n,t=null){return new Wo({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var VC=(()=>{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=cs(!1,t.type),o=r.length>0?id([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=b({token:e,providedIn:"environment",factory:()=>new e(S(ye))})}return e})();function ke(e){return qo(()=>{let n=Bm(e),t=B(y({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Du.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(VC).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ut.Emulated,styles:e.styles||me,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&ht("NgStandalone"),jm(t);let r=e.dependencies;return t.directiveDefs=Sh(r,HC),t.pipeDefs=Sh(r,Uc),t.id=zC(t),t})}function HC(e){return bt(e)||Co(e)}function pe(e){return qo(()=>({type:e.type,bootstrap:e.bootstrap||me,declarations:e.declarations||me,imports:e.imports||me,exports:e.exports||me,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function UC(e,n){if(e==null)return ot;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=na.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function $C(e){if(e==null)return ot;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function ie(e){return qo(()=>{let n=Bm(e);return jm(n),n})}function Bm(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||ot,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||me,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:UC(e.inputs,n),outputs:$C(e.outputs),debugInfo:null}}function jm(e){e.features?.forEach(n=>n(e))}function Sh(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 zC(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 rr(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=WC,t.hostDirectives=r?e.map(au):[e]):r?t.hostDirectives.unshift(...e.map(au)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function WC(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,Vm(s,n,r),o.set(s,[a,n.length-1])}i===0&&ct(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 Vm(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)_h(au(i),n,t)}else _h(r,n,t)}function _h(e,n,t){let r=Co(e.directive);GC(r.declaredInputs,e.inputs),Vm(r,n,t),t.set(r,e),n.push(r)}function au(e){return typeof e=="function"?{directive:se(e),inputs:ot,outputs:ot}:{directive:se(e.directive),inputs:Mh(e.inputs),outputs:Mh(e.outputs)}}function Mh(e){if(e===void 0||e.length===0)return ot;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function GC(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function qC(e){return Object.getPrototypeOf(e.prototype).constructor}function be(e){let n=qC(e.type),t=!0,r=[e];for(;n;){let o;if(ct(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new E(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=Ml(e.inputs),s.declaredInputs=Ml(e.declaredInputs),s.outputs=Ml(e.outputs);let a=o.hostBindings;a&&JC(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&KC(e,c),l&&QC(e,l),ZC(e,o),ap(e.outputs,o.outputs),ct(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===be&&(t=!1)}}n=Object.getPrototypeOf(n)}YC(r)}function ZC(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 YC(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=kr(o.hostAttrs,t=kr(t,o.hostAttrs))}}function Ml(e){return e===ot?{}:e===me?[]:e}function KC(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function QC(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function JC(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function Hm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=kr(e.mergedAttrs,e.attrs);let u=e.tView=Ou(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=ew(t,n,e,r);bs()&&Uu(t,n,c,e),Pr(c,n);let l=pm(c,n,c,e);n[r+V]=l,Pu(n,l),Mm(l,e,n)}function XC(e,n,t,r,o,i,s,a,c,l,u){let d=t+V,f;return n.firstCreatePass?(f=nr(n,d,4,s||null,a||null),hs()&&bm(n,e,f,Ve(n.consts,l),zu),qh(n,f)):f=n.data[d],Hm(f,e,n,t,r,o,i,c),Tr(f)&&la(n,e,f),l!=null&&Ur(e,f,u),f}function Xn(e,n,t,r,o,i,s,a,c,l,u){let d=t+V,f;if(n.firstCreatePass){if(f=nr(n,d,4,s||null,a||null),l!=null){let p=Ve(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 Hm(f,e,n,t,r,o,i,c),l!=null&&Ur(e,f,u),f}function zt(e,n,t,r,o,i,s,a){let c=I(),l=H(),u=Ve(l.consts,i);return XC(c,l,e,n,t,r,o,u,void 0,s,a),zt}function Um(e,n,t,r,o,i,s,a){let c=I(),l=H(),u=Ve(l.consts,i);return Xn(c,l,e,n,t,r,o,u,void 0,s,a),Um}var ew=tw;function tw(e,n,t,r){return Ro(!0),n[L].createComment("")}var Re=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(Re||{}),Nh=0,nw=1,ee=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(ee||{}),Gs=(function(e){return e[e.Initial=-1]="Initial",e})(Gs||{}),rw=0,Xo=1;var ow=4,iw=5,sw=6,aw=7,Nl=8,cw=9,sd=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(sd||{});function lw(e,n,t){let r=zm(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function As(e,n){let t=zm(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function $m(e){As(1,e),As(0,e),As(2,e)}function zm(e){let n=ow;return e===1?n=iw:e===2&&(n=cw),n}function va(e){return e+1}function Wr(e,n){let t=e[w],r=va(n.index);return e[r]}function uw(e,n,t){let r=e[w],o=va(n);e[o]=t}function Gr(e,n){let t=va(n.index);return e.data[t]}function dw(e,n,t){let r=va(n);e.data[r]=t}function fw(e,n,t){let r=n[w],o=Gr(r,t);switch(e){case ee.Complete:return o.primaryTmplIndex;case ee.Loading:return o.loadingTmplIndex;case ee.Error:return o.errorTmplIndex;case ee.Placeholder:return o.placeholderTmplIndex;default:return null}}function Ah(e,n){return n===ee.Placeholder?e.placeholderBlockConfig?.[Nh]??null:n===ee.Loading?e.loadingBlockConfig?.[Nh]??null:null}function pw(e){return e.loadingBlockConfig?.[nw]??null}function xh(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 hw(e,n){let t=n.primaryTmplIndex+V;return _r(e,t)}var gw=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?id(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=b({token:e,providedIn:"environment",factory:()=>new e})}return e})();var Wm=new C("");function Al(e,n,t){return e.get(gw).getOrCreateInjector(n,e,t,"")}function mw(e,n,t){if(e instanceof Or){let o=e.injector,i=e.parentInjector,s=Al(i,n,t);return new Or(o,s)}let r=e.get(ye);if(r!==e){let o=Al(r,n,t);return new Or(e,o)}return Al(e,n,t)}function dn(e,n,t,r=!1){let o=t[re],i=o[w];if(ln(o))return;let s=Wr(o,n),a=s[Xo],c=s[aw];if(!(c!==null&&e<c)&&Rh(a,e)&&Rh(s[rw]??-1,e)){let l=Gr(i,n),d=!r&&!0&&(pw(l)!==null||Ah(l,ee.Loading)!==null||Ah(l,ee.Placeholder))?Dw:vw;try{d(e,s,t,n,o)}catch(f){Wu(o,f)}}}function yw(e,n){let t=e[an]?.findIndex(o=>o.data[Cu]===n[Xo])??-1;return{dehydratedView:t>-1?e[an][t]:null,dehydratedViewIx:t}}function vw(e,n,t,r,o){k(R.DeferBlockStateStart);let i=fw(e,o,r);if(i!==null){n[Xo]=e;let s=o[w],a=i+V,c=_r(s,a),l=0;Zu(t,l);let u;if(e===ee.Complete){let h=Gr(s,r),m=h.providers;m&&m.length>0&&(u=mw(o[oe],h,m))}let{dehydratedView:d,dehydratedViewIx:f}=yw(t,n),p=$r(o,c,null,{injector:u,dehydratedView:d});if(zr(t,p,l,Kn(c,d)),fa(p,2),f>-1&&t[an]?.splice(f,1),(e===ee.Complete||e===ee.Error)&&Array.isArray(n[Nl])){for(let h of n[Nl])h();n[Nl]=null}}k(R.DeferBlockStateEnd)}function Rh(e,n){return e<n}function bw(e,n){let t=e[n.index];dn(ee.Placeholder,n,t)}function Oh(e,n,t){e.loadingPromise.then(()=>{e.loadingState===Re.COMPLETE?dn(ee.Complete,n,t):e.loadingState===Re.FAILED&&dn(ee.Error,n,t)})}var Dw=null;var Gm=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function ad(e){return typeof e=="function"&&e[Z]!==void 0}function cd(e){return ad(e)&&typeof e.set=="function"}var ld=new C("");function ba(e){return!!e&&typeof e.then=="function"}function ud(e){return!!e&&typeof e.subscribe=="function"}var dd=new C("");function fd(e){return Et([{provide:dd,multi:!0,useValue:e}])}var pd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(dd,{optional:!0})??[];injector=g(le);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Ir(this.injector,o);if(ba(i))t.push(i);else if(ud(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=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qm=new C("");function Zm(){lc(()=>{let e="";throw new E(600,e)})}function Ym(e){return e.isBoundToModule}var Ew=10;var ei=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Vt);afterRenderManager=g(ia);zonelessEnabled=g(ko);rootEffectScheduler=g(Ds);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ne;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(zn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ze(t=>!t))}constructor(){g(pt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(ye);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=le.NULL){return this._injector.get(ae).run(()=>{k(R.BootstrapComponentStart);let s=t instanceof ha;if(!this._injector.get(pd).done){let h="";throw new E(405,h)}let c;s?c=t:c=this._injector.get(Jo).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=Ym(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(ld,null);return p?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Lo(this.components,d),p?.unregisterApplication(f)}),this._loadComponent(d),k(R.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(R.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(oa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(R.ChangeDetectionEnd),new E(101,!1);let t=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(t),this.afterTick.next(),k(R.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Qn,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<Ew;){k(R.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{k(R.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!No(o))continue;let i=r&&!this.zonelessEnabled?0:1;lm(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(qm,[]).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 E(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({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 Km(){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[oe],o=n[w];if(e.loadingState!==Re.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Wr(n,t),s=hw(o,e);e.loadingState=Re.IN_PROGRESS,As(1,i);let a=e.dependencyResolverFn,c=r.get(Wn).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 v=m.value,D=bt(v)||Co(v);if(D)f.push(D);else{let A=Uc(v);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=Re.FAILED,e.errorTmplIndex===null){let m="",v=new E(-750,m);Wu(n,v)}}else{e.loadingState=Re.COMPLETE;let h=s.tView;if(f.length>0){h.directiveRegistry=xh(h.directiveRegistry,f);let m=f.map(D=>D.type),v=cs(!1,...m);e.providers=v}p.length>0&&(h.pipeRegistry=xh(h.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Re.COMPLETE,c()}),e.loadingPromise)}function Iw(e,n){return n[oe].get(Wm,null,{optional:!0})?.behavior!==sd.Manual}function Cw(e,n,t){let r=n[w],o=n[t.index];if(!Iw(e,n))return;let i=Wr(n,t),s=Gr(r,t);switch($m(i),s.loadingState){case Re.NOT_STARTED:dn(ee.Loading,t,o),Qm(s,n,t),s.loadingState===Re.IN_PROGRESS&&Oh(s,t,o);break;case Re.IN_PROGRESS:dn(ee.Loading,t,o),Oh(s,t,o);break;case Re.COMPLETE:dn(ee.Complete,t,o);break;case Re.FAILED:dn(ee.Error,t,o);break;default:}}function ww(e,n,t){return e===0?kh(n,t):e===2?!kh(n,t):!0}function Tw(e){return e!=null&&(e&1)===1}function kh(e,n){let t=e[oe],r=Gr(e[w],n),o=wu(t),i=Tw(r.flags),a=Wr(e,n)[sw]!==null;return!(i&&a&&o)}function Sw(e,n,t,r,o,i,s,a,c,l){let u=I(),d=H(),f=e+V,p=Xn(u,d,e,null,0,0),h=u[oe],m=wu(h);if(d.firstCreatePass){ht("NgDefer");let Ae={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:Re.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,Ae,a,s),dw(d,f,Ae)}let v=u[f];Mm(v,p,u);let D=null,A=null;if(v[an]?.length>0){let Ae=v[an][0].data;A=Ae[Iu]??null,D=Ae[Cu]}let z=[null,Gs.Initial,null,null,null,null,A,D,null,null];uw(u,f,z);let $=null;A!==null&&m&&($=h.get(mg),$.add(A,{lView:u,tNode:p,lContainer:v}));let et=()=>{$m(z),A!==null&&$?.cleanup([A])};lw(0,z,()=>ol(u,et)),ps(u,et)}function _w(e){let n=I(),t=Mr();if(!ww(0,n,t))return;let r=jt();if(Se(n,r,e)){let o=T(null);try{let i=!!e,a=Wr(n,t)[Xo];i===!1&&a===Gs.Initial?bw(n,t):i===!0&&(a===Gs.Initial||a===ee.Placeholder)&&Cw(0,n,t)}finally{T(o)}}}function Qe(e,n,t,r){let o=I(),i=jt();if(Se(o,i,n)){let s=H(),a=Mr();PI(a,o,e,n,t,r)}return Qe}function xs(e){if(ht("NgAnimateEnter"),!Qo)return xs;let n=I();if(jg(n))return xs;let t=K(),r=n[oe].get(ae);return Ug(fh(n),t,()=>Mw(n,t,e,r)),Zg(n[oe]),Yg(n[oe],fh(n)),xs}function Mw(e,n,t,r){let o=je(n,e),i=e[L],s=Hg(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&&(Bu(d,o)&&(c=!0),Nw(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l))}),rI(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Wg(o,Zn,Qo),!Zn.has(o))){for(let d of s)i.removeClass(o,d);Lu(o)}})})}}function Nw(e,n,t){let r=Fr.get(n);if(!(Vo(e)!==n||!r)&&Bu(e,n)){e.stopPropagation();for(let o of r.classList)t.removeClass(n,o);Lu(n)}}function Rs(e){if(ht("NgAnimateLeave"),!Qo)return Rs;let n=I();if(jg(n))return Rs;let r=K(),o=n[oe].get(ae);return Ug(ra(n),r,()=>Aw(n,r,e,o)),Zg(n[oe]),Rs}function Aw(e,n,t,r){let{promise:o,resolve:i}=Km(),s=je(n,e),a=e[L];fn.add(e[Ct]),(ra(e).get(n.index).resolvers??=[]).push(i);let c=Hg(t);return c&&c.length>0?xw(s,n,e,c,a,r):i(),{promise:o,resolve:i}}function xw(e,n,t,r,o,i){iI(e,o);let s=[],a=ra(t).get(n.index)?.resolvers,c,l=!1,u=d=>{if(!(Vo(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||Bu(d,e))){if(l=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),Zn.delete(e),dh(n,e),Array.isArray(n.projection))for(let p of r)o.removeClass(e,p);ph(a,s),hh(t,n)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u))}),Vg(n,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;Wg(e,Zn,Qo);let d=Zn.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(dh(n,e),ph(a,s),hh(t,n))})})}var cu=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 xl(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function Rw(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=xl(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=xl(a,p,l,h,t);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let v=t(s,u),D=t(a,p),A=t(s,d);if(Object.is(A,D)){let z=t(l,h);Object.is(z,v)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new qs,i??=Fh(e,s,a,t),lu(e,o,s,A))e.updateValue(s,d),s++,a++;else if(i.has(A))o.set(v,e.detach(s)),a--;else{let z=e.create(s,n[s]);e.attach(s,z),s++,a++}}for(;s<=l;)Ph(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=xl(s,d,s,f,t);if(p!==0)p<0&&e.updateValue(s,f),s++,u=l.next();else{o??=new qs,i??=Fh(e,s,a,t);let h=t(s,f);if(lu(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;)Ph(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 lu(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Ph(e,n,t,r,o){if(lu(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Fh(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var qs=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function Ow(e,n,t,r,o,i,s,a){ht("NgControlFlow");let c=I(),l=H(),u=Ve(l.consts,i);return Xn(c,l,e,n,t,r,o,u,256,s,a),hd}function hd(e,n,t,r,o,i,s,a){ht("NgControlFlow");let c=I(),l=H(),u=Ve(l.consts,i);return Xn(c,l,e,n,t,r,o,u,512,s,a),hd}function kw(e,n){ht("NgControlFlow");let t=I(),r=jt(),o=t[r]!==fe?t[r]:-1,i=o!==-1?Zs(t,V+o):void 0,s=0;if(Se(t,r,e)){let a=T(null);try{if(i!==void 0&&Zu(i,s),e!==-1){let c=V+e,l=Zs(t,c),u=pu(t[w],c),d=mm(l,u,t),f=$r(t,u,n,{dehydratedView:d});zr(l,f,s,Kn(u,d))}}finally{T(a)}}else if(i!==void 0){let a=hm(i,s);a!==void 0&&(a[X]=n)}}var uu=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Y}};function Pw(e){return e}function Fw(e,n){return n}var du=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function Lw(e,n,t,r,o,i,s,a,c,l,u,d,f){ht("NgControlFlow");let p=I(),h=H(),m=c!==void 0,v=I(),D=a?s.bind(v[we][X]):s,A=new du(m,D);v[V+e]=A,Xn(p,h,e+1,n,t,r,o,Ve(h.consts,i),256),m&&Xn(p,h,e+2,c,l,u,d,Ve(h.consts,f),512)}var fu=class extends cu{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-Y}at(n){return this.getLView(n)[X].$implicit}attach(n,t){let r=t[Ln];this.needsIndexUpdate||=n!==this.length,zr(this.lContainer,t,n,Kn(this.templateTNode,r)),jw(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Vw(this.lContainer,n),Hw(this.lContainer,n)}create(n,t){let r=Vs(this.lContainer,this.templateTNode.tView.ssrId);return $r(this.hostLView,this.templateTNode,new uu(this.lContainer,t,n),{dehydratedView:r})}destroy(n){aa(n[w],n)}updateValue(n,t){this.getLView(n)[X].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[X].$index=n}getLView(n){return Uw(this.lContainer,n)}};function Bw(e){let n=T(null),t=Ye();try{let r=I(),o=r[w],i=r[t],s=t+1,a=Zs(r,s);if(i.liveCollection===void 0){let l=pu(o,s);i.liveCollection=new fu(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(Rw(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=jt(),u=c.length===0;if(Se(r,l,u)){let d=t+2,f=Zs(r,d);if(u){let p=pu(o,d),h=mm(f,p,r),m=$r(r,p,void 0,{dehydratedView:h});zr(f,m,0,Kn(p,h))}else o.firstUpdatePass&&oC(f),Zu(f,0)}}}finally{T(n)}}function Zs(e,n){return e[n]}function jw(e,n){if(e.length<=Y)return;let t=Y+n,r=e[t],o=r?r[wt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[oe];pI(i,o),fn.delete(r[Ct]),o.detachedLeaveAnimationFns=void 0}}function Vw(e,n){if(e.length<=Y)return;let t=Y+n,r=e[t],o=r?r[wt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function Hw(e,n){return $o(e,n)}function Uw(e,n){return hm(e,n)}function pu(e,n){return _r(e,n)}function J(e,n,t){let r=I(),o=jt();if(Se(r,o,n)){let i=H(),s=Mr();nm(s,r,e,n,r[L],t)}return J}function hu(e,n,t,r,o){Gu(n,e,t,o?"class":"style",r)}function er(e,n,t,r){let o=I(),i=o[w],s=e+V,a=i.firstCreatePass?Yu(s,o,2,n,zu,hs(),t,r):i.data[s];if(Lt(a)){let c=o[st].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Tm(l),()=>(Lh(e,n,o,a,r),er))}}return Lh(e,n,o,a,r),er}function Lh(e,n,t,r,o){if(ua(r,t,e,n,Jm),Tr(r)){let i=t[w];la(i,t,r),Tu(i,r,t)}o!=null&&Ur(t,r)}function qr(){let e=H(),n=K(),t=da(n);return e.firstCreatePass&&Ku(e,t),ll(t)&&ul(),al(),t.classesWithoutHost!=null&&VD(t)&&hu(e,t,I(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&HD(t)&&hu(e,t,I(),t.stylesWithoutHost,!1),qr}function or(e,n,t,r){return er(e,n,t,r),qr(),or}function Zr(e,n,t,r){let o=I(),i=o[w],s=e+V,a=i.firstCreatePass?Em(s,i,2,n,t,r):i.data[s];return ua(a,o,e,n,Jm),r!=null&&Ur(o,a),Zr}function Yr(){let e=K(),n=da(e);return ll(n)&&ul(),al(),Yr}function ti(e,n,t,r){return Zr(e,n,t,r),Yr(),ti}var Jm=(e,n,t,r,o)=>(Ro(!0),Sg(n[L],r,Hp()));function ir(e,n,t){let r=I(),o=r[w],i=e+V,s=o.firstCreatePass?Yu(i,r,8,"ng-container",zu,hs(),n,t):o.data[i];if(ua(s,r,e,"ng-container",ey),Tr(s)){let a=r[w];la(a,r,s),Tu(a,s,r)}return t!=null&&Ur(r,s),ir}function yn(){let e=H(),n=K(),t=da(n);return e.firstCreatePass&&Ku(e,t),yn}function Da(e,n,t){return ir(e,n,t),yn(),Da}function Xm(e,n,t){let r=I(),o=r[w],i=e+V,s=o.firstCreatePass?Em(i,o,8,"ng-container",n,t):o.data[i];return ua(s,r,e,"ng-container",ey),t!=null&&Ur(r,s),Xm}function $w(){let e=K(),n=da(e);return yn}var ey=(e,n,t,r,o)=>(Ro(!0),xE(n[L],""));function zw(){return I()}function Ea(e,n,t){let r=I(),o=jt();if(Se(r,o,n)){let i=H(),s=Mr();rm(s,r,e,n,r[L],t)}return Ea}var ni="en-US";var Ww=ni;function ty(e){typeof e=="string"&&(Ww=e.toLowerCase().replace(/_/g,"-"))}function Ia(e,n,t){let r=I(),o=H(),i=K();return ry(o,r,r[L],i,e,n,t),Ia}function ny(e,n,t){let r=I(),o=H(),i=K();return(i.type&3||t)&&Cm(i,o,r,t,r[L],e,n,Ns(i,r,n)),ny}function ry(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ns(r,n,i),Cm(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??=Ns(r,n,i),Ch(r,n,f,p,o,c)}if(l&&l.length)for(let d of l)c??=Ns(r,n,i),Ch(r,n,d,o,o,c)}}function Je(e=1){return Vp(e)}function Gw(e,n){let t=null,r=WE(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?kg(e,i,!0):ZE(r,i))return o}return t}function Mt(e){let n=I()[we][Ce];if(!n.projection){let t=e?e.length:1,r=n.projection=pp(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?Gw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Nt(e,n=0,t,r,o,i){let s=I(),a=H(),c=r?e+1:null;c!==null&&Xn(s,a,c,r,o,i,null,t);let l=nr(a,V+e,16,null,t||null);l.projection===null&&(l.projection=n),pl();let d=!s[Ln]||cl();s[we][Ce].projection[l.projection]===null&&c!==null?qw(s,a,c):d&&!Xs(l)&&wI(a,s,l)}function qw(e,n,t){let r=V+t,o=n.data[r],i=e[r],s=Vs(i,o.tView.ssrId),a=$r(e,o,void 0,{dehydratedView:s});zr(i,a,0,Kn(o,s))}function Ca(e,n,t,r){return Rm(e,n,t,r),Ca}function oy(e,n,t){return xm(e,n,t),oy}function Kr(e){let n=I(),t=H(),r=ms();xo(r+1);let o=ed(t,r);if(e.dirty&&Cp(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=km(n,r);e.reset(i,ig),e.notifyOnChanges()}return!0}return!1}function Qr(){return Xu(I(),ms())}function gd(e,n,t,r,o){return Fm(n,Rm(e,t,r,o)),gd}function iy(e,n,t,r){return Fm(e,xm(n,t,r)),iy}function sy(e=1){xo(ms()+e)}function Zw(e){let n=hl();return tl(n,V+e)}function ws(e,n){return e<<17|n<<2}function tr(e){return e>>17&32767}function Yw(e){return(e&2)==2}function Kw(e,n){return e&131071|n<<17}function gu(e){return e|2}function Br(e){return(e&131068)>>2}function Rl(e,n){return e&-131069|n<<2}function Qw(e){return(e&1)===1}function mu(e){return e|1}function Jw(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=tr(s),c=Br(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||Er(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let f=tr(e[a+1]);e[r+1]=ws(f,a),f!==0&&(e[f+1]=Rl(e[f+1],r)),e[a+1]=Kw(e[a+1],r)}else e[r+1]=ws(a,0),a!==0&&(e[a+1]=Rl(e[a+1],r)),a=r;else e[r+1]=ws(c,0),a===0?a=r:e[c+1]=Rl(e[c+1],r),c=r;l&&(e[r+1]=gu(e[r+1])),Bh(e,u,r,!0),Bh(e,u,r,!1),Xw(n,u,e,r,i),s=ws(a,c),i?n.classBindings=s:n.styleBindings=s}function Xw(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Er(i,n)>=0&&(t[r+1]=mu(t[r+1]))}function Bh(e,n,t,r){let o=e[t+1],i=n===null,s=r?tr(o):Br(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];eT(c,n)&&(a=!0,e[s+1]=r?mu(l):gu(l)),s=r?tr(l):Br(l)}a&&(e[t+1]=r?gu(o):mu(o))}function eT(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Er(e,n)>=0:!1}var ce={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ay(e){return e.substring(ce.key,ce.keyEnd)}function tT(e){return e.substring(ce.value,ce.valueEnd)}function nT(e){return uy(e),cy(e,jr(e,0,ce.textEnd))}function cy(e,n){let t=ce.textEnd;return t===n?-1:(n=ce.keyEnd=oT(e,ce.key=n,t),jr(e,n,t))}function rT(e){return uy(e),ly(e,jr(e,0,ce.textEnd))}function ly(e,n){let t=ce.textEnd,r=ce.key=jr(e,n,t);return t===r?-1:(r=ce.keyEnd=iT(e,r,t),r=jh(e,r,t,58),r=ce.value=jr(e,r,t),r=ce.valueEnd=sT(e,r,t),jh(e,r,t,59))}function uy(e){ce.key=0,ce.keyEnd=0,ce.value=0,ce.valueEnd=0,ce.textEnd=e.length}function jr(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function oT(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function iT(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 jh(e,n,t,r){return n=jr(e,n,t),n<t&&n++,n}function sT(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=Vh(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Vh(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Vh(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 wa(e,n,t){return dy(e,n,t,!1),wa}function md(e,n){return dy(e,n,null,!0),md}function yd(e){fy(gy,aT,e,!1)}function aT(e,n){for(let t=rT(n);t>=0;t=ly(n,t))gy(e,ay(n),tT(n))}function _e(e){fy(hT,cT,e,!0)}function cT(e,n){for(let t=nT(n);t>=0;t=cy(n,t))To(e,ay(n),!0)}function dy(e,n,t,r){let o=I(),i=H(),s=Ao(2);if(i.firstUpdatePass&&hy(i,e,s,r),n!==fe&&Se(o,s,n)){let a=i.data[Ye()];my(i,a,o,o[L],e,o[s+1]=mT(n,t),r,s)}}function fy(e,n,t,r){let o=H(),i=Ao(2);o.firstUpdatePass&&hy(o,null,i,r);let s=I();if(t!==fe&&Se(s,i,t)){let a=o.data[Ye()];if(yy(a,r)&&!py(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=ts(c,t||"")),hu(o,a,s,t,r)}else gT(o,a,s,s[L],s[i+1],s[i+1]=pT(e,n,t),r,i)}}function py(e,n){return n>=e.expandoStartIndex}function hy(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Ye()],s=py(e,t);yy(i,r)&&n===null&&!s&&(n=!1),n=lT(o,i,n,r),Jw(o,i,n,t,s,r)}}function lT(e,n,t,r){let o=Fp(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Ol(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=Ol(o,e,n,t,r),i===null){let c=uT(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Ol(null,e,n,c[1],r),c=Go(c,n.attrs,r),dT(e,n,r,c))}else i=fT(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function uT(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Br(r)!==0)return e[tr(r)]}function dT(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[tr(o)]=r}function fT(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 Ol(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 pT(e,n,t){if(t==null||t==="")return me;let r=[],o=He(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 gy(e,n,t){To(e,n,He(t))}function hT(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&To(e,r,t)}function gT(e,n,t,r,o,i,s,a){o===fe&&(o=me);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,f!==p&&(h=d,m=p)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=p),h!==null&&my(e,n,t,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function my(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=Qw(l)?Hh(c,n,t,o,Br(l),s):void 0;if(!Ys(u)){Ys(i)||Yw(l)&&(i=Hh(c,null,t,o,a,s));let d=el(Ye(),t);SI(r,s,d,o,i)}}function Hh(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===fe&&(f=d?me:void 0);let p=d?as(f,r):u===r?f:void 0;if(l&&!Ys(p)&&(p=as(c,r)),Ys(p)&&(a=p,s))return a;let h=e[o+1];o=s?tr(h):Br(h)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=as(c,r))}return a}function Ys(e){return e!==void 0}function mT(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Eo(He(e)))),e}function yy(e,n){return(e.flags&(n?8:16))!==0}function ri(e,n=""){let t=I(),r=H(),o=e+V,i=r.firstCreatePass?nr(r,o,1,n,null):r.data[o],s=yT(r,t,i,n);t[o]=s,bs()&&Uu(r,t,s,i),$n(i,!1)}var yT=(e,n,t,r)=>(Ro(!0),NE(n[L],r));function vT(e,n,t,r=""){return Se(e,jt(),t)?n+Dt(t)+r:fe}function bT(e,n,t,r,o,i=""){let s=ml(),a=Lr(e,s,t,o);return Ao(2),a?n+Dt(t)+r+Dt(o)+i:fe}function DT(e,n,t,r,o,i,s,a=""){let c=ml(),l=Ju(e,c,t,o,s);return Ao(3),l?n+Dt(t)+r+Dt(o)+i+Dt(s)+a:fe}function Jr(e){return vd("",e),Jr}function vd(e,n,t){let r=I(),o=vT(r,e,n,t);return o!==fe&&bd(r,Ye(),o),vd}function vy(e,n,t,r,o){let i=I(),s=bT(i,e,n,t,r,o);return s!==fe&&bd(i,Ye(),s),vy}function by(e,n,t,r,o,i,s){let a=I(),c=DT(a,e,n,t,r,o,i,s);return c!==fe&&bd(a,Ye(),c),by}function bd(e,n,t){let r=el(n,e);AE(e[L],r,t)}function Dy(e,n,t){cd(n)&&(n=n());let r=I(),o=jt();if(Se(r,o,n)){let i=H(),s=Mr();nm(s,r,e,n,r[L],t)}return Dy}function ET(e,n){let t=cd(e);return t&&e.set(n),t}function Ey(e,n){let t=I(),r=H(),o=K();return ry(r,t,t[L],o,e,n),Ey}var Iy={};function Cy(e){ht("NgLet");let n=H(),t=I(),r=e+V,o=nr(n,r,128,null,null);return $n(o,!1),us(n,t,r,Iy),Cy}function IT(e){let n=H(),t=I(),r=Ye();return us(n,t,r,e),e}function CT(e){let n=hl(),t=tl(n,V+e);if(t===Iy)throw new E(314,!1);return t}function Uh(e,n,t){let r=H();r.firstCreatePass&&wy(n,r.data,r.blueprint,ct(e),t)}function wy(e,n,t,r,o){if(e=se(e),Array.isArray(e))for(let i=0;i<e.length;i++)wy(e[i],n,t,r,o);else{let i=H(),s=I(),a=K(),c=On(e)?e:se(e.provide),l=Yc(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(On(e)||!e.multi){let p=new Yn(l,o,Q,null),h=Pl(c,n,o?u:u+f,d);h===-1?(Ll(Fs(a,s),i,c),kl(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=Pl(c,n,u+f,d),h=Pl(c,n,u,u+f),m=p>=0&&t[p],v=h>=0&&t[h];if(o&&!v||!o&&!m){Ll(Fs(a,s),i,c);let D=ST(o?TT:wT,t.length,o,r,l,e);!o&&v&&(t[h].providerFactory=D),kl(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=Ty(t[o?h:p],l,!o&&r);kl(i,e,p>-1?p:h,D)}!o&&r&&v&&t[h].componentProviders++}}}function kl(e,n,t,r){let o=On(n),i=bp(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 Ty(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Pl(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function wT(e,n,t,r,o){return yu(this.multi,[])}function TT(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),yu(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],yu(i,s);return s}function yu(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function ST(e,n,t,r,o,i){let s=new Yn(e,t,Q,null);return s.multi=[],s.index=n,s.componentProviders=0,Ty(s,o,r&&!t),s}function Ue(e,n){return t=>{t.providersResolver=(r,o)=>Uh(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Uh(r,o?o(n):n,!0))}}function _T(e,n){let t=Bt()+e,r=I();return r[t]===fe?mn(r,t,n()):ma(r,t)}function MT(e,n,t){return kT(I(),Bt(),e,n,t)}function Ta(e,n,t,r){return PT(I(),Bt(),e,n,t,r)}function NT(e,n,t,r,o){return FT(I(),Bt(),e,n,t,r,o)}function AT(e,n,t,r,o,i,s){return LT(I(),Bt(),e,n,t,r,o,i)}function xT(e,n,t,r,o,i,s){let a=Bt()+e,c=I(),l=ya(c,a,t,r,o,i);return Se(c,a+4,s)||l?mn(c,a+5,n(t,r,o,i,s)):ma(c,a+5)}function RT(e,n,t,r,o,i,s,a){let c=Bt()+e,l=I(),u=ya(l,c,t,r,o,i);return Lr(l,c+4,s,a)||u?mn(l,c+6,n(t,r,o,i,s,a)):ma(l,c+6)}function OT(e,n,t,r,o,i,s,a,c){let l=Bt()+e,u=I(),d=ya(u,l,t,r,o,i);return Ju(u,l+4,s,a,c)||d?mn(u,l+7,n(t,r,o,i,s,a,c)):ma(u,l+7)}function Sa(e,n){let t=e[n];return t===fe?void 0:t}function kT(e,n,t,r,o,i){let s=n+t;return Se(e,s,o)?mn(e,s+1,i?r.call(i,o):r(o)):Sa(e,s+1)}function PT(e,n,t,r,o,i,s){let a=n+t;return Lr(e,a,o,i)?mn(e,a+2,s?r.call(s,o,i):r(o,i)):Sa(e,a+2)}function FT(e,n,t,r,o,i,s,a){let c=n+t;return Ju(e,c,o,i,s)?mn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Sa(e,c+3)}function LT(e,n,t,r,o,i,s,a,c){let l=n+t;return ya(e,l,o,i,s,a)?mn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Sa(e,l+4)}function BT(e,n){return pa(e,n)}var Ks=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},jT=(()=>{class e{compileModuleSync(t){return new Ws(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Hc(t),i=Rg(o.declarations).reduce((s,a)=>{let c=bt(a);return c&&s.push(new Jn(c)),s},[]);return new Ks(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=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Sy=(()=>{class e{applicationErrorHandler=g(Vt);appRef=g(ei);taskService=g(zn);ngZone=g(ae);zonelessEnabled=g(ko);tracing=g(pt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ie;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(bo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Cl,{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?Wp:Dl;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=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _y(){return[{provide:vt,useExisting:Sy},{provide:ae,useClass:Do},{provide:ko,useValue:!0}]}function VT(){return typeof $localize<"u"&&$localize.locale||ni}var _a=new C("",{factory:()=>g(_a,{optional:!0,skipSelf:!0})||VT()});var oi=class{destroyed=!1;listeners=null;errorHandler=g(We,{optional:!0});destroyRef=g(de);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new E(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(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 ii(e){return np(e)}function Me(e,n){return uo(e,n?.equal)}var HT=e=>e;function UT(e,n){if(typeof e=="function"){let t=Ic(e,HT,n?.equal);return My(t,n?.debugName)}else{let t=Ic(e.source,e.computation,e.equal);return My(t,e.debugName)}}function My(e,n){let t=e[Z],r=e;return r.set=o=>ep(t,o),r.update=o=>tp(t,o),r.asReadonly=Oo.bind(e),r}var Aa=Symbol("InputSignalNode#UNSET"),By=B(y({},fo),{transformFn:void 0,applyValueToInputSignal(e,n){Jt(e,n)}});function jy(e,n){let t=Object.create(By);t.value=e,t.transformFn=n?.transform;function r(){if(Ot(t),t.value===Aa){let o=null;throw new E(-950,o)}return t.value}return r[Z]=t,r}var Ny=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>bu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function IB(e){return new oi}function Ay(e,n){return jy(e,n)}function iS(e){return jy(Aa,e)}var De=(Ay.required=iS,Ay);function xy(e,n){return nd(n)}function sS(e,n){return rd(n)}var CB=(xy.required=sS,xy);function Ry(e,n){return nd(n)}function aS(e,n){return rd(n)}var cS=(Ry.required=aS,Ry);function wB(e,n){return Pm(n)}function Vy(e,n){let t=Object.create(By),r=new oi;t.value=e;function o(){return Ot(t),Oy(t.value),t.value}return o[Z]=t,o.asReadonly=Oo.bind(o),o.set=i=>{t.equal(t.value,i)||(Jt(t,i),r.emit(i))},o.update=i=>{Oy(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Oy(e){if(e===Aa)throw new E(952,!1)}function ky(e,n){return Vy(e,n)}function lS(e){return Vy(Aa,e)}var TB=(ky.required=lS,ky);var Ed=new C(""),uS=new C("");function si(e){return!e.moduleRef}function dS(e){let n=si(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ae);return t.run(()=>{si(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Vt),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),si(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Ed);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ed);s.add(i),e.moduleRef.onDestroy(()=>{Lo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return pS(r,t,()=>{let i=n.get(zn),s=i.add(),a=n.get(pd);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(_a,ni);if(ty(c||ni),!n.get(uS,!0))return si(e)?n.get(ei):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(si(e)){let u=n.get(ei);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return fS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var fS;function pS(e,n,t){try{let r=t();return ba(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Ma=null;function hS(e=[],n){return le.create({name:n,providers:[{provide:So,useValue:"platform"},{provide:Ed,useValue:new Set([()=>Ma=null])},...e]})}function gS(e=[]){if(Ma)return Ma;let n=hS(e);return Ma=n,Zm(),mS(n),n}function mS(e){let n=e.get(Js,null);Ir(e,()=>{n?.forEach(t=>t())})}function SB(){return!1}var yS=1e4;var _B=yS-1e3;var Ad=(()=>{class e{static __NG_ELEMENT_ID__=vS}return e})();function vS(e){return bS(K(),I(),(e&16)===16)}function bS(e,n,t){if(Lt(e)&&!t){let r=Ze(e.index,n);return new pn(r,r)}else if(e.type&175){let r=n[we];return new pn(r,n)}return null}var Id=class{supports(n){return Qu(n)}create(n){return new Cd(n)}},DS=(e,n)=>n,Cd=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||DS}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<Py(r,o,i)?t:r,a=Py(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 E(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,Im(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 wd(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}},wd=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}},Td=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 Td,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 Py(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 Sd=class{supports(n){return n instanceof Map||ga(n)}create(){return new _d}},_d=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||ga(n)))throw new E(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Md(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))}},Md=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Fy(){return new xd([new Id])}var xd=(()=>{class e{factories;static \u0275prov=b({token:e,providedIn:"root",factory:Fy});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||Fy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new E(901,!1)}}return e})();function Ly(){return new Rd([new Sd])}var Rd=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:Ly});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||Ly())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new E(901,!1)}}return e})();function Hy(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;k(R.BootstrapApplicationStart);try{let i=o?.injector??gS(r),s=[_y(),qp,...t||[]],a=new Wo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return dS({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{k(R.BootstrapApplicationEnd)}}function Ne(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Uy(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Dd=Symbol("NOT_SET"),$y=new Set,ES=B(y({},fo),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Dd,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!==Dd&&!mr(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=kt(this),r;try{r=this.userFn.apply(null,n)}finally{Kt(this,t)}return(this.value===Dd||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Nd=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(de),s),this.scheduler=o;for(let a of ju){let c=t[a];if(c===void 0)continue;let l=Object.create(ES);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Ot(l),l.value),l.signal[Z]=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{Qt(n)}}};function MB(e,n){let t=n?.injector??g(le),r=t.get(vt),o=t.get(ia),i=t.get(pt,null,{optional:!0});o.impl??=t.get(Vu);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Ar,null,{optional:!0}),c=new Nd(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function NB(e){let n=bt(e);if(!n)return null;let t=new Jn(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 zy=null;function Wt(){return zy}function Od(e){zy??=e}var ai=class{},Xr=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>g(Wy),providedIn:"platform"})}return e})();var Wy=(()=>{class e extends Xr{_location;_history;_doc=g(j);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=b({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Zy(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Gy(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=b({token:e,factory:()=>g(CS),providedIn:"root"})}return e})(),IS=new C(""),CS=(()=>{class e extends xa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(j).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 Zy(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(Xr),S(IS,8))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Yy=(()=>{class e{_subject=new ne;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=SS(Gy(qy(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(TS(this._basePath,qy(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=Zy;static stripTrailingSlash=Gy;static \u0275fac=function(r){return new(r||e)(S(xa))};static \u0275prov=b({token:e,factory:()=>wS(),providedIn:"root"})}return e})();function wS(){return new Yy(S(xa))}function TS(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function qy(e){return e.replace(/\/index.html$/,"")}function SS(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var kd=/\s+/,Ky=[],_S=(()=>{class e{_ngEl;_renderer;initialClasses=Ky;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(kd):Ky}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(kd):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(kd).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(Oe),Q(gn))};static \u0275dir=ie({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),MS=(()=>{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=od(this.ngComponentOutletNgModule,NS(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=ie({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[Vr]})}return e})();function NS(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}},Xy=(()=>{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(St),Q(xd))};static \u0275dir=ie({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Qy(e,n){e.context.$implicit=n.item}var Pd=(()=>{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){Jy(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Jy(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(St))};static \u0275dir=ie({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Oa=class{$implicit=null;ngIf=null};function Jy(e,n){if(e&&!e.createEmbeddedView)throw new E(2020,!1)}var Fd=(()=>{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:dt.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(Oe),Q(Rd),Q(gn))};static \u0275dir=ie({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Ld=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(le);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=ie({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Vr]})}return e})();var gt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=ue({})}return e})();function ci(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 sr=class{};var Bd="browser",AS="server";function li(e){return e===Bd}function jd(e){return e===AS}var ui=class{_doc;constructor(n){this._doc=n}manager},ka=(()=>{class e extends ui{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(j))};static \u0275prov=b({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 E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(S(La),S(ae))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Vd="ng-app-id";function ev(e){for(let n of e)n.remove()}function tv(e,n){let t=n.createElement("style");return t.textContent=e,t}function RS(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Vd}="${n}"],link[${Vd}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Vd),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 Ud(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var zd=(()=>{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,RS(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,tv);r?.forEach(o=>this.addUsage(o,this.external,Ud))}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&&(ev(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])ev(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,tv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Ud(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(j),S(Qs),S(Zo,8),S(ft))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Hd={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"},Wd=/%COMP%/g;var rv="%COMP%",OS=`_nghost-${rv}`,kS=`_ngcontent-${rv}`,PS=!0,FS=new C("",{factory:()=>PS});function LS(e){return kS.replace(Wd,e)}function BS(e){return OS.replace(Wd,e)}function ov(e,n){return n.map(t=>t.replace(Wd,e))}var Gd=(()=>{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 di(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 fi&&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 ut.Emulated:i=new Fa(c,l,r,this.appId,u,s,a,d);break;case ut.ShadowDom:return new Pa(c,t,r,s,a,this.nonce,d,l);case ut.ExperimentalIsolatedShadowDom:return new Pa(c,t,r,s,a,this.nonce,d);default:i=new fi(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(zd),S(Qs),S(FS),S(j),S(ae),S(Zo),S(pt,8))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),di=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(Hd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(nv(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(nv(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Hd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Hd[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&(dt.DashCase|dt.Important)?n.style.setProperty(t,r,o&dt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&dt.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 E(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function nv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Pa=class extends di{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=ov(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=Ud(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)}},fi=class extends di{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?ov(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 fi{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=LS(l),this.hostAttr=BS(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 ai{supportsDOMEvents=!0;static makeCurrent(){Od(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=jS();return t==null?null:VS(t)}resetBaseElement(){pi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ci(document.cookie,n)}},pi=null;function jS(){return pi=pi||document.head.querySelector("base"),pi?pi.getAttribute("href"):null}function VS(e){return new URL(e,document.baseURI).pathname}var HS=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),iv=["alt","control","meta","shift"],US={"\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"},$S={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},sv=(()=>{class e extends ui{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."),iv.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=US[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"),iv.forEach(s=>{if(s!==o){let a=$S[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(j))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();async function zS(e,n,t){let r=y({rootComponent:e},WS(n,t));return Hy(r)}function WS(e,n){return{platformRef:n?.platformRef,appProviders:[...KS,...e?.providers??[]],platformProviders:YS}}function GS(){Ba.makeCurrent()}function qS(){return new We}function ZS(){return Eu(document),document}var YS=[{provide:ft,useValue:Bd},{provide:Js,useValue:GS,multi:!0},{provide:j,useFactory:ZS}];var KS=[{provide:So,useValue:"root"},{provide:We,useFactory:qS},{provide:La,useClass:ka,multi:!0},{provide:La,useClass:sv,multi:!0},Gd,zd,$d,{provide:Qn,useExisting:Gd},{provide:sr,useClass:HS},[]];var xt=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()}},Ua=class{encodeKey(n){return av(n)}encodeValue(n){return av(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function QS(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 JS=/%(\d[a-f0-9])/gi,XS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function av(e){return encodeURIComponent(e).replace(JS,(n,t)=>XS[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 Ua,n.fromString){if(n.fromObject)throw new E(2805,!1);this.map=QS(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 e_(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function cv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function lv(e){return typeof Blob<"u"&&e instanceof Blob}function uv(e){return typeof FormData<"u"&&e instanceof FormData}function t_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var hi="Content-Type",$a="Accept",dv="text/plain",fv="application/json",pv=`${fv}, ${dv}, */*`,eo=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(e_(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new E(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new xt,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"||cv(this.body)||lv(this.body)||uv(this.body)||t_(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||uv(this.body)?null:lv(this.body)?this.body.type||null:cv(this.body)?null:typeof this.body=="string"?dv:this.body instanceof Gt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?fv: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,v=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,A=n.reportProgress??this.reportProgress,z=n.headers||this.headers,$=n.params||this.params,et=n.context??this.context;return n.setHeaders!==void 0&&(z=Object.keys(n.setHeaders).reduce((Ae,Rt)=>Ae.set(Rt,n.setHeaders[Rt]),z)),n.setParams&&($=Object.keys(n.setParams).reduce((Ae,Rt)=>Ae.set(Rt,n.setParams[Rt]),$)),new e(t,r,v,{params:$,headers:z,context:et,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||{}),to=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new xt,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}},gi=class e extends to{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})}},no=class e extends to{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})}},At=class extends to{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}},hv=200,n_=204;var r_=/^\)\]\}',?\n/,gv=new C(""),Va=(()=>{class e{fetchImpl=g(Zd,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=g(ae);destroyRef=g(de);handle(t){return new x(r=>{let o=new AbortController;this.doRequest(t,o.signal,r).then(Yd,s=>r.error(new At({error:s})));let i;return t.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},t.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(t,r,o){let i=this.createRequestInit(t),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,y({signal:r},i)));o_(m),o.next({type:qt.Sent}),s=await m}catch(m){o.error(new At({error:m,status:m.status??0,statusText:m.statusText,url:t.urlWithParams,headers:m.headers}));return}let a=new xt(s.headers),c=s.statusText,l=s.url||t.urlWithParams,u=s.status,d=null;if(t.reportProgress&&o.next(new gi({headers:a,status:u,statusText:c,url:l})),s.body){let m=s.headers.get("content-length"),v=[],D=s.body.getReader(),A=0,z,$,et=typeof Zone<"u"&&Zone.current,Ae=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await D.cancel(),Ae=!0;break}let{done:oo,value:qa}=await D.read();if(oo)break;if(v.push(qa),A+=qa.length,t.reportProgress){$=t.responseType==="text"?($??"")+(z??=new TextDecoder).decode(qa,{stream:!0}):void 0;let of=()=>o.next({type:qt.DownloadProgress,total:m?+m:void 0,loaded:A,partialText:$});et?et.run(of):of()}}}),Ae){o.complete();return}let Rt=this.concatChunks(v,A);try{let oo=s.headers.get(hi)??"";d=this.parseBody(t,Rt,oo,u)}catch(oo){o.error(new At({error:oo,headers:new xt(s.headers),status:s.status,statusText:s.statusText,url:s.url||t.urlWithParams}));return}}u===0&&(u=d?hv:0);let f=u>=200&&u<300,p=s.redirected,h=s.type;f?(o.next(new no({body:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:h})),o.complete()):o.error(new At({error:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:h}))}parseBody(t,r,o,i){switch(t.responseType){case"json":let s=new TextDecoder().decode(r).replace(r_,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o;if(o=t.credentials,t.withCredentials&&(o="include"),t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has($a)||(r[$a]=pv),!t.headers.has(hi)){let i=t.detectContentTypeHeader();i!==null&&(r[hi]=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=b({token:e,factory:e.\u0275fac})}return e})(),Zd=class{};function Yd(){}function o_(e){e.then(Yd,Yd)}var i_=/^\)\]\}',?\n/;var Kd=(()=>{class e{xhrFactory;tracingService=g(pt,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return Ui(null).pipe(bc(()=>new x(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,D)=>s.setRequestHeader(v,D.join(","))),t.headers.has($a)||s.setRequestHeader($a,pv),!t.headers.has(hi)){let v=t.detectContentTypeHeader();v!==null&&s.setRequestHeader(hi,v)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let v=t.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let v=s.statusText||"OK",D=new xt(s.getAllResponseHeaders()),A=s.responseURL||t.url;return c=new gi({headers:D,status:s.status,statusText:v,url:A}),c},u=this.maybePropagateTrace(()=>{let{headers:v,status:D,statusText:A,url:z}=l(),$=null;D!==n_&&($=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=$?hv:0);let et=D>=200&&D<300;if(t.responseType==="json"&&typeof $=="string"){let Ae=$;$=$.replace(i_,"");try{$=$!==""?JSON.parse($):null}catch(Rt){$=Ae,et&&(et=!1,$={error:Rt,text:$})}}et?(i.next(new no({body:$,headers:v,status:D,statusText:A,url:z||void 0})),i.complete()):i.error(new At({error:$,headers:v,status:D,statusText:A,url:z||void 0}))}),d=this.maybePropagateTrace(v=>{let{url:D}=l(),A=new At({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(A)}),f=d;t.timeout&&(f=this.maybePropagateTrace(v=>{let{url:D}=l(),A=new At({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(v=>{p||(i.next(l()),p=!0);let D={type:qt.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(D.total=v.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),m=this.maybePropagateTrace(v=>{let D={type:qt.UploadProgress,loaded:v.loaded};v.lengthComputable&&(D.total=v.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(sr))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function s_(e,n){return n(e)}function a_(e,n,t){return(r,o)=>Ir(t,()=>n(r,i=>e(i,o)))}var mv=new C("",{factory:()=>[]}),yv=new C(""),vv=new C("",{factory:()=>!0});var Wa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=S(Kd),o},providedIn:"root"})}return e})();var za=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Wn);contributeToStability=g(vv);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(mv),...this.injector.get(yv,[])]));this.chain=r.reduceRight((o,i)=>a_(o,i,this.injector),s_)}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(ye))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=S(za),o},providedIn:"root"})}return e})();function qd(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 bv=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof eo)i=t;else{let c;o.headers instanceof xt?c=o.headers:c=new xt(o.headers);let l;o.params&&(o.params instanceof Gt?l=o.params:l=new Gt({fromObject:o.params})),i=new eo(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=Ui(i).pipe(gc(c=>this.handler.handle(c)));if(t instanceof eo||o.observe==="events")return s;let a=s.pipe(Nn(c=>c instanceof no));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ze(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(ze(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(ze(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));default:return a.pipe(ze(c=>c.body))}case"response":return a;default:throw new E(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new 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,qd(o,r))}post(t,r,o={}){return this.request("POST",t,qd(o,r))}put(t,r,o={}){return this.request("PUT",t,qd(o,r))}static \u0275fac=function(r){return new(r||e)(S(Qd))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var c_=new C("",{factory:()=>!0}),l_="XSRF-TOKEN",u_=new C("",{factory:()=>l_}),d_="X-XSRF-TOKEN",f_=new C("",{factory:()=>d_}),p_=(()=>{class e{cookieName=g(u_);doc=g(j);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ci(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Dv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=S(p_),o},providedIn:"root"})}return e})();function h_(e,n){if(!g(c_)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=g(Xr).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(Dv).getToken(),r=g(f_);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var Jd=(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})(Jd||{});function g_(e,n){return{\u0275kind:e,\u0275providers:n}}function m_(...e){let n=[bv,za,{provide:Qd,useExisting:za},{provide:Wa,useFactory:()=>g(gv,{optional:!0})??g(Kd)},{provide:mv,useValue:h_,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return Et(n)}function y_(){return g_(Jd.Fetch,[Va,{provide:gv,useExisting:Va},{provide:Wa,useExisting:Va}])}var CV=(()=>{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(j))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var v_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=S(b_),o},providedIn:"root"})}return e})(),b_=(()=>{class e extends v_{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Ke.NONE:return r;case Ke.HTML:return _t(r,"HTML")?He(r):ta(this._doc,String(r)).toString();case Ke.STYLE:return _t(r,"Style")?He(r):r;case Ke.SCRIPT:if(_t(r,"Script"))return He(r);throw new E(5200,!1);case Ke.URL:return _t(r,"URL")?He(r):Yo(String(r));case Ke.RESOURCE_URL:if(_t(r,"ResourceURL"))return He(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(t){return Su(t)}bypassSecurityTrustStyle(t){return _u(t)}bypassSecurityTrustScript(t){return Mu(t)}bypassSecurityTrustUrl(t){return Nu(t)}bypassSecurityTrustResourceUrl(t){return Au(t)}static \u0275fac=function(r){return new(r||e)(S(j))};static \u0275prov=b({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 D_=Object.defineProperty,Ev=Object.getOwnPropertySymbols,E_=Object.prototype.hasOwnProperty,I_=Object.prototype.propertyIsEnumerable,Iv=(e,n,t)=>n in e?D_(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Cv=(e,n)=>{for(var t in n||(n={}))E_.call(n,t)&&Iv(e,t,n[t]);if(Ev)for(var t of Ev(n))I_.call(n,t)&&Iv(e,t,n[t]);return e};function wv(...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)?[wv(...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 C_(e){return typeof e=="function"&&"call"in e&&"apply"in e}function w_({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=Cv(Cv({},t.style),r.style);else if(o==="class"||o==="className")t[o]=wv(t[o],r[o]);else if(C_(i)){let s=t[o];t[o]=s?(...a)=>{s(...a),i(...a)}:i}else t[o]=i}return t},{})}function Xd(...e){return w_({skipUndefined:!1},...e)}var Ga={};function mi(e="pui_id_"){return Object.hasOwn(Ga,e)||(Ga[e]=0),Ga[e]++,`${e}${Ga[e]}`}var Tv=["*"],T_=(function(e){return e[e.ACCEPT=0]="ACCEPT",e[e.REJECT=1]="REJECT",e[e.CANCEL=2]="CANCEL",e})(T_||{}),RV=(()=>{class e{requireConfirmationSource=new ne;acceptConfirmationSource=new ne;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=b({token:e,factory:e.\u0275fac})}return e})();var he=(()=>{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})(),OV=(()=>{class e{static AND="and";static OR="or"}return e})(),kV=(()=>{class e{filter(t,r,o,i,s){let a=[];if(t)for(let c of t)for(let l of r){let u=yf(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=Pe(r.toString()).toLocaleLowerCase(o);return Pe(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=Pe(r.toString()).toLocaleLowerCase(o);return Pe(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=Pe(r.toString()).toLocaleLowerCase(o);return Pe(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=Pe(r.toString()).toLocaleLowerCase(o),s=Pe(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:Pe(t.toString()).toLocaleLowerCase(o)==Pe(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:Pe(t.toString()).toLocaleLowerCase(o)!=Pe(r.toString()).toLocaleLowerCase(o),in:(t,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if(yi(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=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var PV=(()=>{class e{clickSource=new ne;parentDragSource=new ne;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=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var FV=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ke({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:Tv,decls:1,vars:0,template:function(r,o){r&1&&(Mt(),Nt(0))},encapsulation:2})}return e})(),LV=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ke({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:Tv,decls:1,vars:0,template:function(r,o){r&1&&(Mt(),Nt(0))},encapsulation:2})}return e})(),Sv=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(r){return new(r||e)(Q(St))};static \u0275dir=ie({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=pe({type:e});static \u0275inj=ue({imports:[gt]})}return e})(),BV=(()=>{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})();function _v(e){e||(e=g(de));let n=new x(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(Dc(n))}function qV(e,n){let r=!n?.manualCleanup?n?.injector?.get(de)??g(de):null,o=S_(n?.equal),i;n?.requireSync?i=U({kind:0},{equal:o}):i=U({kind:1,value:n?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new E(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),Me(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new E(601,!1)}},{equal:n?.equal})}function S_(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var Mv=`
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 __=0,Nv=(()=>{class e{document=g(j);use(t,r={}){let o=!1,i=t,s=null,{immediate:a=!0,manual:c=!1,name:l=`style_${++__}`,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;hf(s,"nonce",f),p&&m.firstChild?m.insertBefore(s,m.firstChild):m.appendChild(s),uf(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=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ro={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},M_=`
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
+ `,Ee=(()=>{class e{name="base";useStyle=g(Nv);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,r={},o=i=>i)=>{let i=o(dr`${Zt(t,{dt:Di})}`);return i?this.useStyle.use(bi(i),y({name:this.name},r)):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},r="")=>this.load(this.style,t,(o="")=>q.transformCSS(t.name||this.name,`${o}${dr`${r}`}`));loadBaseCSS=(t={})=>this.load(M_,t);loadBaseStyle=(t={},r="")=>this.load(Mv,t,(o="")=>q.transformCSS(t.name||this.name,`${o}${dr`${r}`}`));getCommonTheme=t=>q.getCommon(this.name,t);getComponentTheme=t=>q.getComponent(this.name,t);getPresetTheme=(t,r,o)=>q.getCustomPreset(this.name,t,r,o);getLayerOrderThemeCSS=()=>q.getLayerOrderCSS(this.name);getStyleSheet=(t="",r={})=>{if(this.css){let o=Zt(this.css,{dt:Di}),i=bi(dr`${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={})=>q.getCommonStyleSheet(this.name,t,r);getThemeStyleSheet=(t,r={})=>{let o=[q.getStyleSheet(this.name,t,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=dr`${Zt(this.style,{dt:Di})}`,a=bi(q.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=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var N_=(()=>{class e{theme=U(void 0);csp=U({nonce:void 0});isThemeChanged=!1;document=g(j);baseStyle=g(Ee);constructor(){Te(()=>{ur.on("theme:change",t=>{ii(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),Te(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){q.clearLoadedStyleNames(),ur.clear()}onThemeChange(t){q.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!q.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,y({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,y({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,y({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(y({name:"global-style"},s),i),q.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=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ef=(()=>{class e extends N_{ripple=U(!1);platformId=g(ft);inputStyle=U(null);inputVariant=U(null);overlayAppendTo=U("self");overlayOptions={};csp=U({nonce:void 0});unstyled=U(void 0);pt=U(void 0);ptOptions=U(void 0);filterMatchModeOptions={text:[he.STARTS_WITH,he.CONTAINS,he.NOT_CONTAINS,he.ENDS_WITH,he.EQUALS,he.NOT_EQUALS],numeric:[he.EQUALS,he.NOT_EQUALS,he.LESS_THAN,he.LESS_THAN_OR_EQUAL_TO,he.GREATER_THAN,he.GREATER_THAN_OR_EQUAL_TO],date:[he.DATE_IS,he.DATE_IS_NOT,he.DATE_BEFORE,he.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 ne;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=y(y({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:c,translation:l,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:f,ptOptions:p,pt:h,unstyled:m}=t||{};r&&this.csp.set(r),d&&this.overlayAppendTo.set(d),o&&this.ripple.set(o),i&&this.inputStyle.set(i),s&&this.inputVariant.set(s),c&&(this.overlayOptions=c),l&&this.setTranslation(l),u&&(this.filterMatchModeOptions=u),f&&(this.zIndex=f),h&&this.pt.set(h),p&&this.ptOptions.set(p),m&&this.unstyled.set(m),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),A_=new C("PRIME_NG_CONFIG");function yH(...e){let n=e?.map(r=>({provide:A_,useValue:r,multi:!1})),t=fd(()=>{let r=g(ef);e?.forEach(o=>r.setConfig(o))});return Et([...n,t])}var Av=(()=>{class e extends Ee{name="common";static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ar=new C("PARENT_INSTANCE"),Xe=(()=>{class e{document=g(j);platformId=g(ft);el=g(Oe);injector=g(le);cd=g(Ad);renderer=g(gn);config=g(ef);$parentInstance=g(ar,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=g(Av);baseStyle=g(Ee);scopedStyleEl;parent=this.$params.parent;cn=bn;_themeScopedListener;themeChangeListenerMap=new Map;dt=De();unstyled=De();pt=De();ptOptions=De();$attrSelector=mi("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=U(void 0);directiveUnstyled=U(void 0);$unstyled=Me(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=Me(()=>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 y(y({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let t=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:t}}}onInit(){}onChanges(t){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){Te(t=>{this.document&&!jd(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")})}),Te(t=>{this.document&&!jd(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 mf(t)?t(...r):Xd(...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 vf(t,r,o)}_hook(t,...r){if(!this.$hostName){let o=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${t}`),i=this._useDefaultPT(this._getOptionValue,`hooks.${t}`);o?.(...r),i?.(...r)}}_load(){ro.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),ro.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){let t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);io(t)&&this.baseStyle.load(t,y({name:"global"},this.$styleOptions))}_loadCoreStyles(){!ro.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),ro.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!q.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,y({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,y({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,y({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(y({name:"global-style"},this.$styleOptions),i),q.setLoadedStyleName("common")}if(!q.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:t,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,y({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(y({name:`${this.$style?.name}-style`},this.$styleOptions),r),q.setLoadedStyleName(this.$style?.name)}if(!q.isStyleNameLoaded("layer-order")){let t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,y({name:"layer-order",first:!0},this.$styleOptions)),q.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){let{css:r}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,y({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,r=()=>{}){this._offThemeChangeListener(t),ro.clearLoadedStyleNames();let o=r.bind(this);this.themeChangeListenerMap.set(t,o),ur.on("theme:change",o)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(ur.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,B(y({},o),{global:l||{}})),d=this._getPTDatasets(r);return a||!a&&u?c?this._mergeProps(c,l,u,d):y(y(y({},l),u),d):y(y({},u),d)}_getPTDatasets(t=""){let r="data-pc-",o=t==="root"&&io(this.$pt()?.["data-pc-section"]);return t!=="transition"&&B(y({},t==="root"&&B(y({[`${r}name`]:lr(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:lr(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:lr(t.includes(".")?t.split(".").at(-1)??"":t)})}_getPTClassValue(t,r,o){let i=this._getOptionValue(t,r,o);return vi(i)||bf(i)?{class:i}:i}_getPT(t,r="",o){let i=(s,a=!1)=>{let c=o?o(s):s,l=lr(r),u=lr(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:vi(u)?u:vi(l)?l:a||!a&&u?c?this._mergeProps(c,l,u):y(y({},l),u):u}return s(t)}_useGlobalPT(t,r,o){return this._usePT(this.$globalPT,t,r,o)}_useDefaultPT(t,r,o){return this._usePT(this.$defaultPT,t,r,o)}ptm(t="",r={}){return this._getPTValue(this.$pt(),t,y(y({},this.$params),r))}ptms(t,r={}){return t.reduce((o,i)=>(o=Xd(o,this.ptm(i,r))||{},o),{})}ptmo(t={},r="",o={}){return this._getPTValue(t,r,y({instance:this},o),!1)}cx(t,r={}){return this.$unstyled()?void 0:bn(this._getOptionValue(this.$style.classes,t,y(y({},this.$params),r)))}sx(t="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,t,y(y({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,t,y(y({},this.$params),o));return y(y({},s),i)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ie({type:e,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[Ue([Av,Ee]),Vr]})}return e})();var tf=(()=>{class e{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,r){t&&r&&(t.classList?t.classList.add(r):t.className+=" "+r)}static addMultipleClasses(t,r){if(t&&r)if(t.classList){let o=r.trim().split(" ");for(let i=0;i<o.length;i++)t.classList.add(o[i])}else{let o=r.split(" ");for(let i=0;i<o.length;i++)t.className+=" "+o[i]}}static removeClass(t,r){t&&r&&(t.classList?t.classList.remove(r):t.className=t.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,r){t&&r&&[r].flat().filter(Boolean).forEach(o=>o.split(" ").forEach(i=>this.removeClass(t,i)))}static hasClass(t,r){return t&&r?t.classList?t.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(r){return r!==t})}static find(t,r){return Array.from(t.querySelectorAll(r))}static findSingle(t,r){return this.isElement(t)?t.querySelector(r):null}static index(t){let r=t.parentNode.childNodes,o=0;for(var i=0;i<r.length;i++){if(r[i]==t)return o;r[i].nodeType==1&&o++}return-1}static indexWithinGroup(t,r){let o=t.parentNode?t.parentNode.childNodes:[],i=0;for(var s=0;s<o.length;s++){if(o[s]==t)return i;o[s].attributes&&o[s].attributes[r]&&o[s].nodeType==1&&i++}return-1}static appendOverlay(t,r,o="self"){o!=="self"&&t&&r&&this.appendChild(t,r)}static alignOverlay(t,r,o="self",i=!0){t&&r&&(i&&(t.style.minWidth=`${e.getOuterWidth(r)}px`),o==="self"?this.relativePosition(t,r):this.absolutePosition(t,r))}static relativePosition(t,r,o=!0){let i=z=>{if(z)return getComputedStyle(z).getPropertyValue("position")==="relative"?z:i(z.parentElement)},s=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),a=r.offsetHeight,c=r.getBoundingClientRect(),l=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport(),p=i(t)?.getBoundingClientRect()||{top:-1*l,left:-1*u},h,m,v="top";c.top+a+s.height>d.height?(h=c.top-p.top-s.height,v="bottom",c.top+h<0&&(h=-1*c.top)):(h=a+c.top-p.top,v="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=v,o){let z=cf(/-anchor-gutter$/)?.value;t.style.marginTop=v==="bottom"?`calc(${z??"2px"} * -1)`:z??""}}static absolutePosition(t,r,o=!0){let i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=i.height,a=i.width,c=r.offsetHeight,l=r.offsetWidth,u=r.getBoundingClientRect(),d=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport(),h,m;u.top+c+s>p.height?(h=u.top+d-s,t.style.transformOrigin="bottom",h<0&&(h=d)):(h=c+u.top+d,t.style.transformOrigin="top"),u.left+a>p.width?m=Math.max(0,u.left+f+l-a):m=u.left+f,t.style.top=h+"px",t.style.left=m+"px",o&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,r=[]){return t.parentNode===null?r:this.getParents(t.parentNode,r.concat([t.parentNode]))}static getScrollableParents(t){let r=[];if(t){let o=this.getParents(t),i=/(auto|scroll)/,s=a=>{let c=window.getComputedStyle(a,null);return i.test(c.getPropertyValue("overflow"))||i.test(c.getPropertyValue("overflowX"))||i.test(c.getPropertyValue("overflowY"))};for(let a of o){let c=a.nodeType===1&&a.dataset.scrollselectors;if(c){let l=c.split(",");for(let u of l){let d=this.findSingle(a,u);d&&s(d)&&r.push(d)}}a.nodeType!==9&&s(a)&&r.push(a)}}return r}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementDimensions(t){let r={};return t.style.visibility="hidden",t.style.display="block",r.width=t.offsetWidth,r.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",r}static scrollInView(t,r){let o=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=o?parseFloat(o):0,s=getComputedStyle(t).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,c=t.getBoundingClientRect(),u=r.getBoundingClientRect().top+document.body.scrollTop-(c.top+document.body.scrollTop)-i-a,d=t.scrollTop,f=t.clientHeight,p=this.getOuterHeight(r);u<0?t.scrollTop=d+u:u+p>f&&(t.scrollTop=d+u-f+p)}static fadeIn(t,r){t.style.opacity=0;let o=+new Date,i=0,s=function(){i=+t.style.opacity.replace(",",".")+(new Date().getTime()-o)/r,t.style.opacity=i,o=+new Date,+i<1&&(window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,16))};s()}static fadeOut(t,r){var o=1,i=50,s=r,a=i/s;let c=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(c)),t.style.opacity=o},i)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,r){var o=Element.prototype,i=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||function(s){return[].indexOf.call(document.querySelectorAll(s),this)!==-1};return i.call(t,r)}static getOuterWidth(t,r){let o=t.offsetWidth;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return o}static getHorizontalPadding(t){let r=getComputedStyle(t);return parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)}static getHorizontalMargin(t){let r=getComputedStyle(t);return parseFloat(r.marginLeft)+parseFloat(r.marginRight)}static innerWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static width(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static getInnerHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),r}static getOuterHeight(t,r){let o=t.offsetHeight;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return o}static getHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),r}static getWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),r}static getViewport(){let t=window,r=document,o=r.documentElement,i=r.getElementsByTagName("body")[0],s=t.innerWidth||o.clientWidth||i.clientWidth,a=t.innerHeight||o.clientHeight||i.clientHeight;return{width:s,height:a}}static getOffset(t){var r=t.getBoundingClientRect();return{top:r.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:r.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,r){let o=t.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(r,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return!0;var o=t.indexOf("Trident/");if(o>0){var i=t.indexOf("rv:");return!0}var s=t.indexOf("Edge/");return s>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,r){if(this.isElement(r))r.appendChild(t);else if(r&&r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(t);else throw"Cannot append "+r+" to "+t}static removeChild(t,r){if(this.isElement(r))r.removeChild(t);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+r}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let r=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let r=document.createElement("div");r.className="p-scrollbar-measure",document.body.appendChild(r);let o=r.offsetWidth-r.clientWidth;return document.body.removeChild(r),this.calculatedScrollbarWidth=o,o}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let r=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=r,r}static invokeElementMethod(t,r,o){t[r].apply(t,o)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),r=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:r[1]||"",version:r[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,r){t&&document.activeElement!==t&&t.focus(r)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
139
+ [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 OH(){sf({variableName:Ja("scrollbar.width").name})}function kH(){af({variableName:Ja("scrollbar.width").name})}var xv=class{element;listener;scrollableParents;constructor(n,t=()=>{}){this.element=n,this.listener=t}bindScrollListener(){this.scrollableParents=tf.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 Rv=(()=>{class e extends Xe{autofocus=!1;focused=!1;platformId=g(ft);document=g(j);host=g(Oe);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(){li(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=tf.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=W(e)))(o||e)}})();static \u0275dir=ie({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[be]})}return e})();var $e=(()=>{class e{el;renderer;pBind=De(void 0);_attrs=U(void 0);attrs=Me(()=>this._attrs()||this.pBind());styles=Me(()=>this.attrs()?.style);classes=Me(()=>bn(this.attrs()?.class));listeners=[];constructor(t,r){this.el=t,this.renderer=r,Te(()=>{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){yi(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(Oe),Q(gn))};static \u0275dir=ie({type:e,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(r,o){r&2&&(yd(o.styles()),_e(o.classes()))},inputs:{pBind:[1,"pBind"]}})}return e})(),Ov=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=ue({})}return e})();var kv=`
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 x_=`
228
+ ${kv}
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
+ `,R_={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":io(n)&&String(n).length===1,"p-badge-dot":gf(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"}]}},Pv=(()=>{class e extends Ee{name="badge";style=x_;classes=R_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var Fv=new C("BADGE_INSTANCE");var rf=(()=>{class e extends Xe{componentName="Badge";$pcBadge=g(Fv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g($e,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=De();badgeSize=De();size=De();severity=De();value=De();badgeDisabled=De(!1,{transform:Ne});_componentStyle=g(Pv);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=W(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["p-badge"]],hostVars:5,hostBindings:function(r,o){r&2&&(Qe("data-p",o.dataP),_e(o.cn(o.cx("root"),o.styleClass())),wa("display",o.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[Ue([Pv,{provide:Fv,useExisting:e},{provide:ar,useExisting:e}]),rr([$e]),be],decls:1,vars:1,template:function(r,o){r&1&&ri(0),r&2&&Jr(o.value())},dependencies:[gt,Dn,Ov],encapsulation:2,changeDetection:0})}return e})(),Lv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=ue({imports:[rf,Dn,Dn]})}return e})();var k_=["*"],P_={root:"p-fluid"},Bv=(()=>{class e extends Ee{name="fluid";classes=P_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var jv=new C("FLUID_INSTANCE"),Vv=(()=>{class e extends Xe{componentName="Fluid";$pcFluid=g(jv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g($e,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=g(Bv);static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(r,o){r&2&&_e(o.cx("root"))},features:[Ue([Bv,{provide:jv,useExisting:e},{provide:ar,useExisting:e}]),rr([$e]),be],ngContentSelectors:k_,decls:1,vars:0,template:function(r,o){r&1&&(Mt(),Nt(0))},dependencies:[gt],encapsulation:2,changeDetection:0})}return e})();var F_=["*"],L_=`
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
+ `,Hv=(()=>{class e extends Ee{name="baseicon";css=L_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Uv=(()=>{class e extends Xe{spin=!1;_componentStyle=g(Hv);getClassNames(){return bn("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275cmp=ke({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&&_e(o.getClassNames())},inputs:{spin:[2,"spin","spin",Ne]},features:[Ue([Hv]),be],ngContentSelectors:F_,decls:1,vars:0,template:function(r,o){r&1&&(Mt(),Nt(0))},encapsulation:2,changeDetection:0})}return e})();var B_=["data-p-icon","spinner"],$v=(()=>{class e extends Uv{pathId;onInit(){this.pathId="url(#"+mi()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["","data-p-icon","spinner"]],features:[be],attrs:B_,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&&(Nr(),Zr(0,"g"),ti(1,"path",0),Yr(),Zr(2,"defs")(3,"clipPath",1),ti(4,"rect",2),Yr()()),r&2&&(Qe("clip-path",o.pathId),ve(3),Ea("id",o.pathId))},encapsulation:2})}return e})();var zv=`
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 j_=`
297
+ ${zv}
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
+ `,V_={root:"p-ink"},Wv=(()=>{class e extends Ee{name="ripple";style=j_;classes=V_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var Gv=(()=>{class e extends Xe{componentName="Ripple";zone=g(ae);_componentStyle=g(Wv);animationListener;mouseDownListener;timeout;constructor(){super(),Te(()=>{li(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()&&cr(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!Ka(r)&&!Qa(r)){let a=Math.max(lf(this.el.nativeElement),ff(this.el.nativeElement));r.style.height=a+"px",r.style.width=a+"px"}let o=df(this.el.nativeElement),i=t.pageX-o.left+this.document.body.scrollTop-Qa(r)/2,s=t.pageY-o.top+this.document.body.scrollLeft-Ka(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()&&cr(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()&&cr(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&cr(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,pf(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ie({type:e,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[Ue([Wv]),be]})}return e})();var qv=`
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 H_=["content"],U_=["loadingicon"],$_=["icon"],z_=["*"],Kv=(e,n)=>({class:e,pt:n});function W_(e,n){e&1&&Da(0)}function G_(e,n){if(e&1&&or(0,"span",7),e&2){let t=Je(3);_e(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon))),J("pBind",t.ptm("loadingIcon")),Qe("aria-hidden",!0)}}function q_(e,n){if(e&1&&(Nr(),or(0,"svg",8)),e&2){let t=Je(3);_e(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),J("pBind",t.ptm("loadingIcon"))("spin",!0),Qe("aria-hidden",!0)}}function Z_(e,n){if(e&1&&(ir(0),zt(1,G_,1,4,"span",3)(2,q_,1,5,"svg",6),yn()),e&2){let t=Je(2);ve(),J("ngIf",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon)),ve(),J("ngIf",!(t.loadingIcon||t.buttonProps!=null&&t.buttonProps.loadingIcon))}}function Y_(e,n){}function K_(e,n){if(e&1&&zt(0,Y_,0,0,"ng-template",9),e&2){let t=Je(2);J("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function Q_(e,n){if(e&1&&(ir(0),zt(1,Z_,3,2,"ng-container",2)(2,K_,1,1,null,5),yn()),e&2){let t=Je();ve(),J("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),ve(),J("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",Ta(3,Kv,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function J_(e,n){if(e&1&&or(0,"span",7),e&2){let t=Je(2);_e(t.cn(t.cx("icon"),t.icon||(t.buttonProps==null?null:t.buttonProps.icon))),J("pBind",t.ptm("icon")),Qe("data-p",t.dataIconP)}}function X_(e,n){}function eM(e,n){if(e&1&&zt(0,X_,0,0,"ng-template",9),e&2){let t=Je(2);J("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function tM(e,n){if(e&1&&(ir(0),zt(1,J_,1,4,"span",3)(2,eM,1,1,null,5),yn()),e&2){let t=Je();ve(),J("ngIf",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),ve(),J("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",Ta(3,Kv,t.cx("icon"),t.ptm("icon")))}}function nM(e,n){if(e&1&&(er(0,"span",7),ri(1),qr()),e&2){let t=Je();_e(t.cx("label")),J("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),ve(),Jr(t.label||(t.buttonProps==null?null:t.buttonProps.label))}}function rM(e,n){if(e&1&&or(0,"p-badge",10),e&2){let t=Je();J("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 oM={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"},Zv=(()=>{class e extends Ee{name="button";style=qv;classes=oM;static \u0275fac=(()=>{let t;return function(o){return(t||(t=W(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var Yv=new C("BUTTON_INSTANCE");var iM=(()=>{class e extends Xe{componentName="Button";hostName="";$pcButton=g(Yv,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g($e,{self:!0});_componentStyle=g(Zv);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=De(void 0,{transform:Ne});onClick=new Le;onFocus=new Le;onBlur=new Le;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=g(Vv,{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=W(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&Ca(i,H_,5)(i,U_,5)(i,$_,5)(i,Sv,4),r&2){let s;Kr(s=Qr())&&(o.contentTemplate=s.first),Kr(s=Qr())&&(o.loadingIconTemplate=s.first),Kr(s=Qr())&&(o.iconTemplate=s.first),Kr(s=Qr())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",Ne],raised:[2,"raised","raised",Ne],rounded:[2,"rounded","rounded",Ne],text:[2,"text","text",Ne],plain:[2,"plain","plain",Ne],outlined:[2,"outlined","outlined",Ne],link:[2,"link","link",Ne],tabindex:[2,"tabindex","tabindex",Uy],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",Ne],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",Ne],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[Ue([Zv,{provide:Yv,useExisting:e},{provide:ar,useExisting:e}]),rr([$e]),be],ngContentSelectors:z_,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&&(Mt(),er(0,"button",0),Ia("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),Nt(1),zt(2,W_,1,0,"ng-container",1)(3,Q_,3,6,"ng-container",2)(4,tM,3,6,"ng-container",2)(5,nM,2,6,"span",3)(6,rM,1,4,"p-badge",4),qr()),r&2&&(_e(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),J("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)),ve(2),J("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),ve(),J("ngIf",o.loading||(o.buttonProps==null?null:o.buttonProps.loading)),ve(),J("ngIf",!(o.loading||o.buttonProps!=null&&o.buttonProps.loading)),ve(),J("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.label||(o.buttonProps==null?null:o.buttonProps.label))),ve(),J("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.badge||(o.buttonProps==null?null:o.buttonProps.badge))))},dependencies:[gt,Pd,Ld,Fd,Gv,Rv,$v,Lv,rf,Dn,$e],encapsulation:2,changeDetection:0})}return e})(),v$=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=ue({imports:[gt,iM,Dn,Dn]})}return e})();var Jv=new C("DATA_SOURCE"),Qv=class extends Error{code;details;constructor(n,t,r){super(t),this.name="DataSourceError",this.code=n,this.details=r}};var Xv=class e{dataSource=g(Jv);destroyRef=g(de);_nodes=U([]);_scan=U(null);_loading=U(!1);_error=U(null);pendingRefresh=!1;nodes=this._nodes.asReadonly();scan=this._scan.asReadonly();loading=this._loading.asReadonly();error=this._error.asReadonly();count=Me(()=>this._nodes().length);byKind=Me(()=>{let n=new Map;for(let t of this._nodes()){let r=n.get(t.kind);r?r.push(t):n.set(t.kind,[t])}return n});hasAnyFavorites=Me(()=>this._nodes().some(n=>n.isFavorite===!0));constructor(){this.dataSource.events().pipe(Nn(n=>n.type==="scan.completed"),_v(this.destroyRef)).subscribe(()=>{this.load()})}setFavoriteLocal(n,t){this._nodes.update(r=>{let o=!1,i=r.map(s=>s.path!==n||s.isFavorite===t?s:(o=!0,B(y({},s),{isFavorite:t})));return o?i:r})}async toggleFavorite(n,t){this.setFavoriteLocal(n,t);try{return t?await this.dataSource.setFavorite(n):await this.dataSource.unsetFavorite(n),t}catch(r){this.setFavoriteLocal(n,!t);let o=r instanceof Error?r.message:String(r);return this._error.set(o),!t}}patchSidecarFromBump(n){this._nodes.update(t=>{let r=!1,o=t.map(i=>{if(i.path!==n.nodePath)return i;r=!0;let s=i.sidecar,a=y({},s?.annotations??{});return n.version!==null&&(a.version=n.version),B(y({},i),{sidecar:y({present:!0,status:n.status,annotations:a},s?.root===void 0?{}:{root:s.root})})});return r?o:t})}async load(){if(this._loading()){this.pendingRefresh=!0;return}this._loading.set(!0),this._error.set(null);try{let n=await this.dataSource.loadScan();this._scan.set(n),this._nodes.set(n.nodes.map(sM))}catch(n){let t=n instanceof Error?n.message:String(n);this._error.set(t)}finally{this._loading.set(!1),this.pendingRefresh&&(this.pendingRefresh=!1,queueMicrotask(()=>{this.load()}))}}static \u0275fac=function(t){return new(t||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})};function sM(e){let n=e.kind,t=e.frontmatter??{},r=B(y({},t),{name:typeof t.name=="string"?t.name:"",description:typeof t.description=="string"?t.description:""}),o={path:e.path,kind:n,provider:e.provider,frontmatter:r,linksOutCount:e.linksOutCount,linksInCount:e.linksInCount,externalRefsCount:e.externalRefsCount,bytesTotal:e.bytes?.total,tokensTotal:e.tokens?.total,bodyHash:e.bodyHash,frontmatterHash:e.frontmatterHash,isFavorite:e.isFavorite===!0};return e.sidecar&&(o.sidecar=y({},e.sidecar)),e.contributions&&(o.contributions=[...e.contributions]),o}var eb=class e{static isArray(n,t=!0){return Array.isArray(n)&&(t||n.length!==0)}static isObject(n,t=!0){return typeof n=="object"&&!Array.isArray(n)&&n!=null&&(t||Object.keys(n).length!==0)}static equals(n,t,r){return r?this.resolveFieldData(n,r)===this.resolveFieldData(t,r):this.equalsByValue(n,t)}static equalsByValue(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.equalsByValue(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=this.isDate(n),l=this.isDate(t);if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.equalsByValue(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static resolveFieldData(n,t){if(n&&t){if(this.isFunction(t))return t(n);if(t.indexOf(".")==-1)return n[t];{let r=t.split("."),o=n;for(let i=0,s=r.length;i<s;++i){if(o==null)return null;o=o[r[i]]}return o}}else return null}static isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)}static reorderArray(n,t,r){let o;n&&t!==r&&(r>=n.length&&(r%=n.length,t%=n.length),n.splice(r,0,n.splice(t,1)[0]))}static insertIntoOrderedArray(n,t,r,o){if(r.length>0){let i=!1;for(let s=0;s<r.length;s++)if(this.findIndexInList(r[s],o)>t){r.splice(s,0,n),i=!0;break}i||r.push(n)}else r.push(n)}static findIndexInList(n,t){let r=-1;if(t){for(let o=0;o<t.length;o++)if(t[o]==n){r=o;break}}return r}static contains(n,t){if(n!=null&&t&&t.length){for(let r of t)if(this.equals(n,r))return!0}return!1}static removeAccents(n){return n&&(n=n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),n}static isDate(n){return Object.prototype.toString.call(n)==="[object Date]"}static isEmpty(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!this.isDate(n)&&typeof n=="object"&&Object.keys(n).length===0}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,t,r,o=1){let i=-1,s=this.isEmpty(n),a=this.isEmpty(t);return s&&a?i=0:s?i=o:a?i=-o:typeof n=="string"&&typeof t=="string"?i=n.localeCompare(t,r,{numeric:!0}):i=n<t?-1:n>t?1:0,i}static sort(n,t,r=1,o,i=1){let s=e.compare(n,t,o,r),a=r;return(e.isEmpty(n)||e.isEmpty(t))&&(a=i===1?r:i),a*s}static merge(n,t){if(!(n==null&&t==null)){{if((n==null||typeof n=="object")&&(t==null||typeof t=="object"))return y(y({},n||{}),t||{});if((n==null||typeof n=="string")&&(t==null||typeof t=="string"))return[n||"",t||""].join(" ")}return t||n}}static isPrintableCharacter(n=""){return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}static getItemValue(n,...t){return this.isFunction(n)?n(...t):n}static findLastIndex(n,t){let r=-1;if(this.isNotEmpty(n))try{r=n.findLastIndex(t)}catch{r=n.lastIndexOf([...n].reverse().find(t))}return r}static findLast(n,t){let r;if(this.isNotEmpty(n))try{r=n.findLast(t)}catch{r=[...n].reverse().find(t)}return r}static deepEquals(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.deepEquals(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=n instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.deepEquals(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static minifyCSS(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(n){return this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}static isString(n,t=!0){return typeof n=="string"&&(t||n!=="")}},tb=0;function A$(e="pn_id_"){return tb++,`${e}${tb}`}function aM(){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 x$=aM();export{Ie as a,pb as b,x as c,ne as d,po as e,ho as f,bN as g,en as h,Ui as i,Cb as j,wb as k,_n as l,Tb as m,ze as n,Ob as o,Mn as p,hc as q,Gi as r,Pb as s,Fb as t,Nn as u,Kf as v,gc as w,mc as x,yc as y,Bb as z,jb as A,Vb as B,Hb as C,bc as D,Dc as E,Ub as F,E as G,rn as H,ns as I,b as J,ue as K,Gb as L,C as M,S as N,g as O,Et as P,ye as Q,Ir as R,Np as S,Ap as T,Nr as U,le as V,j as W,de as X,zn as Y,Le as Z,ae as _,Vt as $,ED as aa,U as ba,Te as ca,Vr as da,W as ea,bu as fa,Oe as ga,ft as ha,kE as ia,Ag as ja,LE as ka,BE as la,jE as ma,ve as na,Gg as oa,St as pa,gn as qa,Q as ra,$t as sa,Lm as ta,id as ua,ke as va,pe as wa,ie as xa,rr as ya,be as za,zt as Aa,Um as Ba,Gm as Ca,ba as Da,fd as Ea,qm as Fa,ei as Ga,Sw as Ha,_w as Ia,Qe as Ja,xs as Ka,Rs as La,Ow as Ma,kw as Na,Pw as Oa,Fw as Pa,Lw as Qa,Bw as Ra,J as Sa,er as Ta,qr as Ua,or as Va,Zr as Wa,Yr as Xa,ti as Ya,ir as Za,yn as _a,Da as $a,Xm as ab,$w as bb,zw as cb,Ea as db,Ia as eb,ny as fb,Je as gb,Mt as hb,Nt as ib,Ca as jb,oy as kb,Kr as lb,Qr as mb,gd as nb,iy as ob,sy as pb,Zw as qb,wa as rb,md as sb,yd as tb,_e as ub,ri as vb,Jr as wb,vd as xb,vy as yb,by as zb,Dy as Ab,ET as Bb,Ey as Cb,Cy as Db,IT as Eb,CT as Fb,Ue as Gb,_T as Hb,MT as Ib,Ta as Jb,NT as Kb,AT as Lb,xT as Mb,RT as Nb,OT as Ob,BT as Pb,jT as Qb,ii as Rb,Me as Sb,UT as Tb,Ny as Ub,IB as Vb,De as Wb,CB as Xb,cS as Yb,wB as Zb,TB as _b,SB as $b,Ad as ac,Ne as bc,Uy as cc,MB as dc,NB as ec,Wt as fc,xa as gc,Yy as hc,_S as ic,MS as jc,Xy as kc,Pd as lc,Fd as mc,Ld as nc,gt as oc,li as pc,zS as qc,At as rc,bv as sc,m_ as tc,y_ as uc,CV as vc,v_ as wc,mi as xc,T_ as yc,RV as zc,he as Ac,OV as Bc,kV as Cc,PV as Dc,FV as Ec,LV as Fc,Sv as Gc,Dn as Hc,BV as Ic,Ee as Jc,ef as Kc,yH as Lc,_v as Mc,qV as Nc,ar as Oc,Xe as Pc,tf as Qc,OH as Rc,kH as Sc,xv as Tc,Rv as Uc,$e as Vc,Ov as Wc,rf as Xc,Lv as Yc,Vv as Zc,Uv as _c,$v as $c,Gv as ad,iM as bd,v$ as cd,eb as dd,A$ as ed,x$ as fd,Jv as gd,Qv as hd,Xv as id};