@skill-map/cli 0.14.1 → 0.15.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.
@@ -1,971 +0,0 @@
1
- import{a as m,b as P,c as su}from"./chunk-Q7L6LLAK.js";var xe=null,ea=!1,au=1,eI=null,ie=Symbol("SIGNAL");function w(e){let n=xe;return xe=e,n}function ta(){return xe}var Ln={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 dn(e){if(ea)throw new Error("");if(xe===null)return;xe.consumerOnSignalRead(e);let n=xe.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=xe.recomputing;if(r&&(t=n!==void 0?n.nextProducer:xe.producers,t!==void 0&&t.producer===e)){xe.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===xe&&(!r||nI(o,xe)))return;let i=oo(xe),s={producer:e,consumer:xe,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};xe.producersTail=s,n!==void 0?n.nextProducer=s:xe.producers=s,i&&Xh(e,s)}function Kh(){au++}function fr(e){if(!(oo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===au)){if(!e.producerMustRecompute(e)&&!ro(e)){no(e);return}e.producerRecomputeValue(e),no(e)}}function cu(e){if(e.consumers===void 0)return;let n=ea;ea=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||tI(r)}}finally{ea=n}}function lu(){return xe?.consumerAllowSignalWrites!==!1}function tI(e){e.dirty=!0,cu(e),e.consumerMarkedDirty?.(e)}function no(e){e.dirty=!1,e.lastCleanEpoch=au}function fn(e){return e&&Qh(e),w(e)}function Qh(e){e.producersTail=void 0,e.recomputing=!0}function Fn(e,n){w(n),e&&Jh(e)}function Jh(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(oo(e))do t=uu(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function ro(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(fr(t),r!==t.version))return!0}return!1}function jn(e){if(oo(e)){let n=e.producers;for(;n!==void 0;)n=uu(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Xh(e,n){let t=e.consumersTail,r=oo(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)Xh(o.producer,o)}function uu(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,!oo(n)){let i=n.producers;for(;i!==void 0;)i=uu(i)}return t}function oo(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function di(e){eI?.(e)}function nI(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 fi(e,n){return Object.is(e,n)}function pi(e,n){let t=Object.create(rI);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(fr(t),dn(t),t.value===Gt)throw t.error;return t.value};return r[ie]=t,di(t),r}var ur=Symbol("UNSET"),dr=Symbol("COMPUTING"),Gt=Symbol("ERRORED"),rI=P(m({},Ln),{value:ur,dirty:!0,error:null,equal:fi,kind:"computed",producerMustRecompute(e){return e.value===ur||e.value===dr},producerRecomputeValue(e){if(e.value===dr)throw new Error("");let n=e.value;e.value=dr;let t=fn(e),r,o=!1;try{r=e.computation(),w(null),o=n!==ur&&n!==Gt&&r!==Gt&&e.equal(n,r)}catch(i){r=Gt,e.error=i}finally{Fn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function oI(){throw new Error}var eg=oI;function tg(e){eg(e)}function du(e){eg=e}var iI=null;function fu(e,n){let t=Object.create(hi);t.value=e,n!==void 0&&(t.equal=n);let r=()=>ng(t);return r[ie]=t,di(t),[r,s=>Bn(t,s),s=>na(t,s)]}function ng(e){return dn(e),e.value}function Bn(e,n){lu()||tg(e),e.equal(e.value,n)||(e.value=n,sI(e))}function na(e,n){lu()||tg(e),Bn(e,n(e.value))}var hi=P(m({},Ln),{equal:fi,value:void 0,kind:"signal"});function sI(e){e.version++,Kh(),cu(e),iI?.(e)}var pu=P(m({},Ln),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function hu(e){if(e.dirty=!1,e.version>0&&!ro(e))return;e.version++;let n=fn(e);try{e.cleanup(),e.fn()}finally{Fn(e,n)}}function R(e){return typeof e=="function"}function io(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 ra=io(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 gi(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Te=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(R(r))try{r()}catch(i){n=i instanceof ra?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{rg(i)}catch(s){n=n??[],s instanceof ra?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ra(n)}}add(n){var t;if(n&&n!==this)if(this.closed)rg(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)&&gi(t,n)}remove(n){let{_finalizers:t}=this;t&&gi(t,n),n instanceof e&&n._removeParent(this)}};Te.EMPTY=(()=>{let e=new Te;return e.closed=!0,e})();var gu=Te.EMPTY;function oa(e){return e instanceof Te||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function rg(e){R(e)?e():e.unsubscribe()}var St={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var so={setTimeout(e,n,...t){let{delegate:r}=so;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=so;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ia(e){so.setTimeout(()=>{let{onUnhandledError:n}=St;if(n)n(e);else throw e})}function mi(){}var og=mu("C",void 0,void 0);function ig(e){return mu("E",void 0,e)}function sg(e){return mu("N",e,void 0)}function mu(e,n,t){return{kind:e,value:n,error:t}}var pr=null;function ao(e){if(St.useDeprecatedSynchronousErrorHandling){let n=!pr;if(n&&(pr={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=pr;if(pr=null,t)throw r}}else e()}function ag(e){St.useDeprecatedSynchronousErrorHandling&&pr&&(pr.errorThrown=!0,pr.error=e)}var hr=class extends Te{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,oa(n)&&n.add(this)):this.destination=lI}static create(n,t,r){return new Tt(n,t,r)}next(n){this.isStopped?vu(sg(n),this):this._next(n)}error(n){this.isStopped?vu(ig(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?vu(og,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()}}},aI=Function.prototype.bind;function yu(e,n){return aI.call(e,n)}var bu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){sa(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){sa(r)}else sa(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){sa(t)}}},Tt=class extends hr{constructor(n,t,r){super();let o;if(R(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&St.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&yu(n.next,i),error:n.error&&yu(n.error,i),complete:n.complete&&yu(n.complete,i)}):o=n}this.destination=new bu(o)}};function sa(e){St.useDeprecatedSynchronousErrorHandling?ag(e):ia(e)}function cI(e){throw e}function vu(e,n){let{onStoppedNotification:t}=St;t&&so.setTimeout(()=>t(e,n))}var lI={closed:!0,next:mi,error:cI,complete:mi};var co=typeof Symbol=="function"&&Symbol.observable||"@@observable";function _t(e){return e}function Du(...e){return Eu(e)}function Eu(e){return e.length===0?_t:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var k=(()=>{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=dI(t)?t:new Tt(t,r,o);return ao(()=>{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=cg(r),new r((o,i)=>{let s=new Tt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[co](){return this}pipe(...t){return Eu(t)(this)}toPromise(t){return t=cg(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 cg(e){var n;return(n=e??St.Promise)!==null&&n!==void 0?n:Promise}function uI(e){return e&&R(e.next)&&R(e.error)&&R(e.complete)}function dI(e){return e&&e instanceof hr||uI(e)&&oa(e)}function fI(e){return R(e?.lift)}function F(e){return n=>{if(fI(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 $(e,n,t,r,o){return new Cu(e,n,t,r,o)}var Cu=class extends hr{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var lg=io(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new aa(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new lg}next(t){ao(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){ao(()=>{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(){ao(()=>{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?gu:(this.currentObservers=null,i.push(t),new Te(()=>{this.currentObservers=null,gi(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new k;return t.source=this,t}}return e.create=(n,t)=>new aa(n,t),e})(),aa=class extends Q{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:gu}};var _e=class extends Q{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 Me=new k(e=>e.complete());function ug(e){return e&&R(e.schedule)}function dg(e){return e[e.length-1]}function ca(e){return R(dg(e))?e.pop():void 0}function Un(e){return ug(dg(e))?e.pop():void 0}function AO(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 pg(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 fg(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 gr(e){return this instanceof gr?(this.v=e,this):new gr(e)}function hg(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(g){return Promise.resolve(g).then(p,d)}}function a(p,g){r[p]&&(o[p]=function(y){return new Promise(function(v,D){i.push([p,y,v,D])>1||c(p,y)})},g&&(o[p]=g(o[p])))}function c(p,g){try{l(r[p](g))}catch(y){f(i[0][3],y)}}function l(p){p.value instanceof gr?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,g){p(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function gg(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 fg=="function"?fg(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 la=e=>e&&typeof e.length=="number"&&typeof e!="function";function ua(e){return R(e?.then)}function da(e){return R(e[co])}function fa(e){return Symbol.asyncIterator&&R(e?.[Symbol.asyncIterator])}function pa(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 pI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ha=pI();function ga(e){return R(e?.[ha])}function ma(e){return hg(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield gr(t.read());if(o)return yield gr(void 0);yield yield gr(r)}}finally{t.releaseLock()}})}function ya(e){return R(e?.getReader)}function re(e){if(e instanceof k)return e;if(e!=null){if(da(e))return hI(e);if(la(e))return gI(e);if(ua(e))return mI(e);if(fa(e))return mg(e);if(ga(e))return yI(e);if(ya(e))return vI(e)}throw pa(e)}function hI(e){return new k(n=>{let t=e[co]();if(R(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gI(e){return new k(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function mI(e){return new k(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ia)})}function yI(e){return new k(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function mg(e){return new k(n=>{bI(e,n).catch(t=>n.error(t))})}function vI(e){return mg(ma(e))}function bI(e,n){var t,r,o,i;return pg(this,void 0,void 0,function*(){try{for(t=gg(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 qe(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 va(e,n=0){return F((t,r)=>{t.subscribe($(r,o=>qe(r,e,()=>r.next(o),n),()=>qe(r,e,()=>r.complete(),n),o=>qe(r,e,()=>r.error(o),n)))})}function ba(e,n=0){return F((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function yg(e,n){return re(e).pipe(ba(n),va(n))}function vg(e,n){return re(e).pipe(ba(n),va(n))}function bg(e,n){return new k(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Dg(e,n){return new k(t=>{let r;return qe(t,n,()=>{r=e[ha](),qe(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)}),()=>R(r?.return)&&r.return()})}function Da(e,n){if(!e)throw new Error("Iterable cannot be null");return new k(t=>{qe(t,n,()=>{let r=e[Symbol.asyncIterator]();qe(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Eg(e,n){return Da(ma(e),n)}function Cg(e,n){if(e!=null){if(da(e))return yg(e,n);if(la(e))return bg(e,n);if(ua(e))return vg(e,n);if(fa(e))return Da(e,n);if(ga(e))return Dg(e,n);if(ya(e))return Eg(e,n)}throw pa(e)}function ce(e,n){return n?Cg(e,n):re(e)}function x(...e){let n=Un(e);return ce(e,n)}function Iu(e,n){let t=R(e)?e:()=>e,r=o=>o.error(t());return new k(n?o=>n.schedule(r,0,o):r)}function Ea(e){return!!e&&(e instanceof k||R(e.lift)&&R(e.subscribe))}var pn=io(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function DI(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new Tt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new pn)}});e.subscribe(i)})}function Y(e,n){return F((t,r)=>{let o=0;t.subscribe($(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:EI}=Array;function CI(e,n){return EI(n)?e(...n):e(n)}function Ca(e){return Y(n=>CI(e,n))}var{isArray:II}=Array,{getPrototypeOf:wI,prototype:SI,keys:TI}=Object;function Ia(e){if(e.length===1){let n=e[0];if(II(n))return{args:n,keys:null};if(_I(n)){let t=TI(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function _I(e){return e&&typeof e=="object"&&wI(e)===SI}function wa(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Sa(...e){let n=Un(e),t=ca(e),{args:r,keys:o}=Ia(e);if(r.length===0)return ce([],n);let i=new k(MI(r,n,o?s=>wa(o,s):_t));return t?i.pipe(Ca(t)):i}function MI(e,n,t=_t){return r=>{Ig(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ig(n,()=>{let l=ce(e[c],n),u=!1;l.subscribe($(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ig(e,n,t){e?qe(t,e,n):n()}function wg(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&n.complete()},p=y=>l<r?g(y):c.push(y),g=y=>{i&&n.next(y),l++;let v=!1;re(t(y,u++)).subscribe($(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?qe(n,s,()=>g(D)):g(D)}f()}catch(D){n.error(D)}}))};return e.subscribe($(n,p,()=>{d=!0,f()})),()=>{a?.()}}function Oe(e,n,t=1/0){return R(n)?Oe((r,o)=>Y((i,s)=>n(r,i,o,s))(re(e(r,o))),t):(typeof n=="number"&&(t=n),F((r,o)=>wg(r,o,e,t)))}function lo(e=1/0){return Oe(_t,e)}function Sg(){return lo(1)}function uo(...e){return Sg()(ce(e,Un(e)))}function yi(e){return new k(n=>{re(e()).subscribe(n)})}function NI(...e){let n=ca(e),{args:t,keys:r}=Ia(e),o=new k(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;re(t[u]).subscribe($(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?wa(r,a):a),i.complete())}))}});return n?o.pipe(Ca(n)):o}function Ye(e,n){return F((t,r)=>{let o=0;t.subscribe($(r,i=>e.call(n,i,o++)&&r.next(i)))})}function fo(e){return F((n,t)=>{let r=null,o=!1,i;r=n.subscribe($(t,void 0,void 0,s=>{i=re(e(s,fo(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function mr(e,n){return R(n)?Oe(e,n,1):Oe(e,1)}function Tg(e){return F((n,t)=>{let r=!1;n.subscribe($(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function hn(e){return e<=0?()=>Me:F((n,t)=>{let r=0;n.subscribe($(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function _g(e=AI){return F((n,t)=>{let r=!1;n.subscribe($(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function AI(){return new pn}function vi(e){return F((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function gn(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Ye((o,i)=>e(o,i,r)):_t,hn(1),t?Tg(n):_g(()=>new pn))}function Ta(e){return e<=0?()=>Me:F((n,t)=>{let r=[];n.subscribe($(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 RI(e={}){let{connector:n=()=>new Q,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},g=()=>{let y=s;p(),y?.unsubscribe()};return F((y,v)=>{l++,!d&&!u&&f();let D=c=c??n();v.add(()=>{l--,l===0&&!d&&!u&&(a=wu(g,o))}),D.subscribe(v),!s&&l>0&&(s=new Tt({next:T=>D.next(T),error:T=>{d=!0,f(),a=wu(p,t,T),D.error(T)},complete:()=>{u=!0,f(),a=wu(p,r),D.complete()}}),re(y).subscribe(s))})(i)}}function wu(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Tt({next:()=>{r.unsubscribe(),e()}});return re(n(...t)).subscribe(r)}function Su(...e){let n=Un(e);return F((t,r)=>{(n?uo(e,t,n):uo(e,t)).subscribe(r)})}function Ze(e,n){return F((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe($(r,c=>{o?.unsubscribe();let l=0,u=i++;re(e(c,u)).subscribe(o=$(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function yr(e){return F((n,t)=>{re(e).subscribe($(t,()=>t.complete(),mi)),!t.closed&&n.subscribe(t)})}function dt(e,n,t){let r=R(e)||n||t?{next:e,error:n,complete:t}:e;return r?F((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe($(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)}))}):_t}var Tu;function _a(){return Tu}function qt(e){let n=Tu;return Tu=e,n}var Mg=Symbol("NotFound");function po(e){return e===Mg||e?.name==="\u0275NotFound"}function _u(e,n,t){let r=Object.create(xI);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(fr(r),dn(r),r.value===Gt)throw r.error;return r.value};return i[ie]=r,di(r),i}function Ng(e,n){fr(e),Bn(e,n),no(e)}function Ag(e,n){if(fr(e),e.value===Gt)throw e.error;na(e,n),no(e)}var xI=P(m({},Ln),{value:ur,dirty:!0,error:null,equal:fi,kind:"linkedSignal",producerMustRecompute(e){return e.value===ur||e.value===dr},producerRecomputeValue(e){if(e.value===dr)throw new Error("");let n=e.value;e.value=dr;let t=fn(e),r,o=!1;try{let i=e.source(),s=n!==ur&&n!==Gt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,w(null),o=s&&r!==Gt&&e.equal(n,r)}catch(i){r=Gt,e.error=i}finally{Fn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Rg(e){let n=w(null);try{return e()}finally{w(n)}}var ka="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(n,t){super(Zt(n,t)),this.code=n}};function OI(e){return`NG0${Math.abs(e)}`}function Zt(e,n){return`${OI(e)}${n?": "+n:""}`}var Vn=globalThis;function H(e){for(let n in e)if(e[n]===H)return n;throw Error("")}function Lg(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Si(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Si).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 Pa(e,n){return e?n?`${e} ${n}`:e:n||""}var kI=H({__forward_ref__:H});function La(e){return e.__forward_ref__=La,e}function he(e){return Uu(e)?e():e}function Uu(e){return typeof e=="function"&&e.hasOwnProperty(kI)&&e.__forward_ref__===La}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function me(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ti(e){return PI(e,Fa)}function $u(e){return Ti(e)!==null}function PI(e,n){return e.hasOwnProperty(n)&&e[n]||null}function LI(e){let n=e?.[Fa]??null;return n||null}function Nu(e){return e&&e.hasOwnProperty(Na)?e[Na]:null}var Fa=H({\u0275prov:H}),Na=H({\u0275inj:H}),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 Hu(e){return e&&!!e.\u0275providers}var Vu=H({\u0275cmp:H}),zu=H({\u0275dir:H}),Wu=H({\u0275pipe:H}),Gu=H({\u0275mod:H}),Di=H({\u0275fac:H}),Ir=H({__NG_ELEMENT_ID__:H}),xg=H({__NG_ENV_ID__:H});function qu(e){return Ba(e,"@NgModule"),e[Gu]||null}function yn(e){return Ba(e,"@Component"),e[Vu]||null}function ja(e){return Ba(e,"@Directive"),e[zu]||null}function Fg(e){return Ba(e,"@Pipe"),e[Wu]||null}function Ba(e,n){if(e==null)throw new E(-919,!1)}function Kt(e){return typeof e=="string"?e:e==null?"":String(e)}var jg=H({ngErrorCode:H}),FI=H({ngErrorMessage:H}),jI=H({ngTokenPath:H});function Yu(e,n){return Bg("",-200,n)}function Ua(e,n){throw new E(-201,!1)}function Bg(e,n,t){let r=new E(n,e);return r[jg]=n,r[FI]=e,t&&(r[jI]=t),r}function BI(e){return e[jg]}var Au;function Ug(){return Au}function et(e){let n=Au;return Au=e,n}function Zu(e,n,t){let r=Ti(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;Ua(e,"")}var UI={},vr=UI,$I="__NG_DI_FLAG__",Ru=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=br(t)||0;try{return this.injector.get(n,r&8?null:vr,r)}catch(o){if(po(o))return o;throw o}}};function HI(e,n=0){let t=_a();if(t===void 0)throw new E(-203,!1);if(t===null)return Zu(e,void 0,n);{let r=VI(n),o=t.retrieve(e,r);if(po(o)){if(r.optional)return null;throw o}return o}}function _(e,n=0){return(Ug()||HI)(he(e),n)}function h(e,n){return _(e,br(n))}function br(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function VI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function xu(e){let n=[];for(let t=0;t<e.length;t++){let r=he(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=zI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(_(o,i))}else n.push(_(r))}return n}function zI(e){return e[$I]}function Dr(e,n){let t=e.hasOwnProperty(Di);return t?e[Di]:null}function $g(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 Hg(e){return e.flat(Number.POSITIVE_INFINITY)}function $a(e,n){e.forEach(t=>Array.isArray(t)?$a(t,n):n(t))}function Ku(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function _i(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Vg(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function zg(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 Mi(e,n,t){let r=go(e,n);return r>=0?e[r|1]=t:(r=~r,zg(e,r,n,t)),r}function Ha(e,n){let t=go(e,n);if(t>=0)return e[t|1]}function go(e,n){return WI(e,n,1)}function WI(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 Mt={},ke=[],zn=new C(""),Qu=new C("",-1),Ju=new C(""),Ei=class{get(n,t=vr){if(t===vr){let o=Bg("",-201);throw o.name="\u0275NotFound",o}return t}};function pt(e){return{\u0275providers:e}}function Wg(e){return pt([{provide:zn,multi:!0,useValue:e}])}function Gg(...e){return{\u0275providers:Xu(!0,e),\u0275fromNgModule:!0}}function Xu(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return $a(n,s=>{let a=s;Aa(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&qg(o,i),t}function qg(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];ed(o,i=>{n(i,r)})}}function Aa(e,n,t,r){if(e=he(e),!e)return!1;let o=null,i=Nu(e),s=!i&&yn(e);if(!i&&!s){let c=e.ngModule;if(i=Nu(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)Aa(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;$a(i.imports,u=>{Aa(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&qg(l,n)}if(!a){let l=Dr(o)||(()=>new o);n({provide:o,useFactory:l,deps:ke},o),n({provide:Ju,useValue:o,multi:!0},o),n({provide:zn,useValue:()=>_(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ed(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ed(e,n){for(let t of e)Hu(t)&&(t=t.\u0275providers),Array.isArray(t)?ed(t,n):n(t)}var GI=H({provide:String,useValue:H});function Yg(e){return e!==null&&typeof e=="object"&&GI in e}function qI(e){return!!(e&&e.useExisting)}function YI(e){return!!(e&&e.useFactory)}function Er(e){return typeof e=="function"}function Zg(e){return!!e.useClass}var Ni=new C(""),Ma={},Og={},Mu;function Ai(){return Mu===void 0&&(Mu=new Ei),Mu}var oe=class{},Cr=class extends oe{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,ku(n,s=>this.processProvider(s)),this.records.set(Qu,ho(void 0,this)),o.has("environment")&&this.records.set(oe,ho(void 0,this));let i=this.records.get(Ni);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ju,ke,{self:!0}))}retrieve(n,t){let r=br(t)||0;try{return this.get(n,vr,r)}catch(o){if(po(o))return o;throw o}}destroy(){bi(this),this._destroyed=!0;let n=w(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(),w(n)}}onDestroy(n){return bi(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){bi(this);let t=qt(this),r=et(void 0),o;try{return n()}finally{qt(t),et(r)}}get(n,t=vr,r){if(bi(this),n.hasOwnProperty(xg))return n[xg](this);let o=br(r),i,s=qt(this),a=et(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=XI(n)&&Ti(n);u&&this.injectableDefInScope(u)?l=ho(Ou(n),Ma):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Ai():this.parent;return t=o&8&&t===vr?null:t,c.get(n,t)}catch(c){let l=BI(c);throw l===-200||l===-201?new E(l,null):c}finally{et(a),qt(s)}}resolveInjectorInitializers(){let n=w(null),t=qt(this),r=et(void 0),o;try{let i=this.get(zn,ke,{self:!0});for(let s of i)s()}finally{qt(t),et(r),w(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=he(n);let t=Er(n)?n:he(n&&n.provide),r=KI(n);if(!Er(n)&&n.multi===!0){let o=this.records.get(t);o||(o=ho(void 0,Ma,!0),o.factory=()=>xu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=w(null);try{if(t.value===Og)throw Yu("");return t.value===Ma&&(t.value=Og,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&JI(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{w(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=he(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 Ou(e){let n=Ti(e),t=n!==null?n.factory:Dr(e);if(t!==null)return t;if(e instanceof C)throw new E(-204,!1);if(e instanceof Function)return ZI(e);throw new E(-204,!1)}function ZI(e){if(e.length>0)throw new E(-204,!1);let t=LI(e);return t!==null?()=>t.factory(e):()=>new e}function KI(e){if(Yg(e))return ho(void 0,e.useValue);{let n=td(e);return ho(n,Ma)}}function td(e,n,t){let r;if(Er(e)){let o=he(e);return Dr(o)||Ou(o)}else if(Yg(e))r=()=>he(e.useValue);else if(YI(e))r=()=>e.useFactory(...xu(e.deps||[]));else if(qI(e))r=(o,i)=>_(he(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=he(e&&(e.useClass||e.provide));if(QI(e))r=()=>new o(...xu(e.deps));else return Dr(o)||Ou(o)}return r}function bi(e){if(e.destroyed)throw new E(-205,!1)}function ho(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function QI(e){return!!e.deps}function JI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function XI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ku(e,n){for(let t of e)Array.isArray(t)?ku(t,n):t&&Hu(t)?ku(t.\u0275providers,n):n(t)}function De(e,n){let t;e instanceof Cr?(bi(e),t=e):t=new Ru(e);let r,o=qt(t),i=et(void 0);try{return n()}finally{qt(o),et(i)}}function Kg(){return Ug()!==void 0||_a()!=null}var Nt=0,S=1,M=2,ge=3,ht=4,Ue=5,wr=6,mo=7,le=8,$e=9,At=10,W=11,yo=12,nd=13,Sr=14,He=15,Wn=16,Tr=17,Qt=18,Jt=19,rd=20,mn=21,Va=22,$n=23,tt=24,_r=25,Xt=26,J=27,Qg=1,od=6,Gn=7,Ri=8,Mr=9,se=10;function vn(e){return Array.isArray(e)&&typeof e[Qg]=="object"}function Rt(e){return Array.isArray(e)&&e[Qg]===!0}function id(e){return(e.flags&4)!==0}function bn(e){return e.componentOffset>-1}function vo(e){return(e.flags&1)===1}function xt(e){return!!e.template}function bo(e){return(e[M]&512)!==0}function Nr(e){return(e[M]&256)===256}var sd="svg",Jg="math";function gt(e){for(;Array.isArray(e);)e=e[Nt];return e}function ad(e,n){return gt(n[e])}function nt(e,n){return gt(n[e.index])}function za(e,n){return e.data[n]}function cd(e,n){return e[n]}function Wa(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function mt(e,n){let t=n[e];return vn(t)?t:t[Nt]}function Xg(e){return(e[M]&4)===4}function Ga(e){return(e[M]&128)===128}function em(e){return Rt(e[ge])}function yt(e,n){return n==null?null:e[n]}function ld(e){e[Tr]=0}function ud(e){e[M]&1024||(e[M]|=1024,Ga(e)&&Ar(e))}function tm(e,n){for(;e>0;)n=n[Sr],e--;return n}function xi(e){return!!(e[M]&9216||e[tt]?.dirty)}function qa(e){e[At].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),xi(e)&&Ar(e)}function Ar(e){e[At].changeDetectionScheduler?.notify(0);let n=Hn(e);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!Ga(n)));)n=Hn(n)}function dd(e,n){if(Nr(e))throw new E(911,!1);e[mn]===null&&(e[mn]=[]),e[mn].push(n)}function nm(e,n){if(e[mn]===null)return;let t=e[mn].indexOf(n);t!==-1&&e[mn].splice(t,1)}function Hn(e){let n=e[ge];return Rt(n)?n[ge]:n}function fd(e){return e[mo]??=[]}function pd(e){return e.cleanup??=[]}function rm(e,n,t,r){let o=fd(n);o.push(t),e.firstCreatePass&&pd(e).push(r,o.length-1)}var O={lFrame:gm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Pu=!1;function om(){return O.lFrame.elementDepthCount}function im(){O.lFrame.elementDepthCount++}function hd(){O.lFrame.elementDepthCount--}function Ya(){return O.bindingsEnabled}function gd(){return O.skipHydrationRootTNode!==null}function md(e){return O.skipHydrationRootTNode===e}function yd(){O.skipHydrationRootTNode=null}function I(){return O.lFrame.lView}function X(){return O.lFrame.tView}function sm(e){return O.lFrame.contextLView=e,e[le]}function am(e){return O.lFrame.contextLView=null,e}function ue(){let e=vd();for(;e!==null&&e.type===64;)e=e.parent;return e}function vd(){return O.lFrame.currentTNode}function cm(){let e=O.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Rr(e,n){let t=O.lFrame;t.currentTNode=e,t.isParent=n}function bd(){return O.lFrame.isParent}function Dd(){O.lFrame.isParent=!1}function Ed(){return O.lFrame.contextLView}function Cd(){return Pu}function Ci(e){let n=Pu;return Pu=e,n}function Dn(){let e=O.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Id(){return O.lFrame.bindingIndex}function lm(e){return O.lFrame.bindingIndex=e}function qn(){return O.lFrame.bindingIndex++}function Oi(e){let n=O.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function um(){return O.lFrame.inI18n}function dm(e,n){let t=O.lFrame;t.bindingIndex=t.bindingRootIndex=e,Za(n)}function fm(){return O.lFrame.currentDirectiveIndex}function Za(e){O.lFrame.currentDirectiveIndex=e}function pm(e){let n=O.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Ka(){return O.lFrame.currentQueryIndex}function ki(e){O.lFrame.currentQueryIndex=e}function ew(e){let n=e[S];return n.type===2?n.declTNode:n.type===1?e[Ue]:null}function wd(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=ew(i),o===null||(i=i[Sr],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=O.lFrame=hm();return r.currentTNode=n,r.lView=e,!0}function Qa(e){let n=hm(),t=e[S];O.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function hm(){let e=O.lFrame,n=e===null?null:e.child;return n===null?gm(e):n}function gm(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 mm(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Sd=mm;function Ja(){let e=mm();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 ym(e){return(O.lFrame.contextLView=tm(e,O.lFrame.contextLView))[le]}function vt(){return O.lFrame.selectedIndex}function Yn(e){O.lFrame.selectedIndex=e}function Pi(){let e=O.lFrame;return za(e.tView,e.selectedIndex)}function Do(){O.lFrame.currentNamespace=sd}function vm(){return O.lFrame.currentNamespace}var bm=!0;function Xa(){return bm}function Li(e){bm=e}function Lu(e,n=null,t=null,r){let o=Td(e,n,t,r);return o.resolveInjectorInitializers(),o}function Td(e,n=null,t=null,r,o=new Set){let i=[t||ke,Gg(e)],s;return new Cr(i,n||Ai(),s||null,o)}var fe=class e{static THROW_IF_NOT_FOUND=vr;static NULL=new Ei;static create(n,t){if(Array.isArray(n))return Lu({name:""},t,n,"");{let r=n.name??"";return Lu({name:r},n.parent,n.providers,r)}}static \u0275prov=b({token:e,providedIn:"any",factory:()=>_(Qu)});static __NG_ELEMENT_ID__=-1},V=new C(""),ye=(()=>{class e{static __NG_ELEMENT_ID__=tw;static __NG_ENV_ID__=t=>t}return e})(),Ra=class extends ye{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Nr(this._lView)}onDestroy(n){let t=this._lView;return dd(t,n),()=>nm(t,n)}};function tw(){return new Ra(I())}var Dm=!1,Em=new C(""),En=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new _e(!1);debugTaskTracker=h(Em,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(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})(),Fu=class extends Q{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Kg()&&(this.destroyRef=h(ye,{optional:!0})??void 0,this.pendingTasks=h(En,{optional:!0})??void 0)}emit(n){let t=w(null);try{super.next(n)}finally{w(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 Te&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},de=Fu;function xa(...e){}function _d(e){let n,t;function r(){e=xa;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 Cm(e){return queueMicrotask(()=>e()),()=>{e=xa}}var Md="isAngularZone",Ii=Md+"_ID",nw=0,pe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new de(!1);onMicrotaskEmpty=new de(!1);onStable=new de(!1);onError=new de(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Dm}=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,iw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Md)===!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,rw,xa,xa);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)}},rw={};function Nd(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 ow(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){_d(()=>{e.callbackScheduled=!1,ju(e),e.isCheckStableRunning=!0,Nd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),ju(e)}function iw(e){let n=()=>{ow(e)},t=nw++;e._inner=e._inner.fork({name:"angular",properties:{[Md]:!0,[Ii]:t,[Ii+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(sw(c))return r.invokeTask(i,s,a,c);try{return kg(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Pg(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return kg(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!aw(c)&&n(),Pg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ju(e),Nd(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 ju(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function kg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pg(e){e._nesting--,Nd(e)}var wi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new de;onMicrotaskEmpty=new de;onStable=new de;onError=new de;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 sw(e){return Im(e,"__ignore_ng_zone__")}function aw(e){return Im(e,"__scheduler_tick__")}function Im(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var ft=class{_console=console;handleError(n){this._console.error("ERROR",n)}},rt=new C("",{factory:()=>{let e=h(pe),n=h(oe),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(ft),t.handleError(r))})}}}),wm={provide:zn,useValue:()=>{let e=h(ft,{optional:!0})},multi:!0},cw=new C("",{factory:()=>{let e=h(V).defaultView;if(!e)return;let n=h(rt),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(),h(ye).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function lw(){return pt([Wg(()=>{h(cw)})])}function N(e,n){let[t,r,o]=fu(e,n?.equal),i=t,s=i[ie];return i.set=r,i.update=o,i.asReadonly=Fi.bind(i),i}function Fi(){let e=this[ie];if(e.readonlyFn===void 0){let n=()=>this();n[ie]=e,e.readonlyFn=n}return e.readonlyFn}var Eo=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=uw}return e})();function uw(){return new Eo(I(),ue())}var Yt=class{},ji=new C("",{factory:()=>!0});var Ad=new C(""),Co=(()=>{class e{internalPendingTasks=h(En);scheduler=h(Yt);errorHandler=h(rt);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})(),ec=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>new Bu})}return e})(),Bu=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}},Oa=class{[ie];constructor(n){this[ie]=n}destroy(){this[ie].destroy()}};function Ve(e,n){let t=n?.injector??h(fe),r=n?.manualCleanup!==!0?t.get(ye):null,o,i=t.get(Eo,null,{optional:!0}),s=t.get(Yt);return i!==null?(o=pw(i.view,s,e),r instanceof Ra&&r._lView===i.view&&(r=null)):o=hw(e,t.get(ec),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Oa(o)}var Sm=P(m({},pu),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Ci(!1);try{hu(this)}finally{Ci(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=w(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],w(e)}}}),dw=P(m({},Sm),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(jn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),fw=P(m({},Sm),{consumerMarkedDirty(){this.view[M]|=8192,Ar(this.view),this.notifier.notify(13)},destroy(){if(jn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[$n]?.delete(this)}});function pw(e,n,t){let r=Object.create(fw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Tm(r,t),e[$n]??=new Set,e[$n].add(r),r.consumerMarkedDirty(r),r}function hw(e,n,t){let r=Object.create(dw);return r.fn=Tm(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 Tm(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Qi(e){return{toString:e}.toString()}function Ew(e){return typeof e=="function"}function gy(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var dc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},nn=(()=>{let e=()=>my;return e.ngInherit=!0,e})();function my(e){return e.type.prototype.ngOnChanges&&(e.setInput=Iw),Cw}function Cw(){let e=vy(this),n=e?.current;if(n){let t=e.previous;if(t===Mt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Iw(e,n,t,r,o){let i=this.declaredInputs[r],s=vy(e)||ww(e,{previous:Mt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new dc(l&&l.currentValue,t,c===Mt),gy(e,n,o,t)}var yy="__ngSimpleChanges__";function vy(e){return e[yy]||null}function ww(e,n){return e[yy]=n}var _m=[];var z=function(e,n=null,t){for(let r=0;r<_m.length;r++){let o=_m[r];o(e,n,t)}},L=(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})(L||{});function Sw(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=my(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 by(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 ic(e,n,t){Dy(e,n,3,t)}function sc(e,n,t,r){(e[M]&3)===t&&Dy(e,n,t,r)}function Rd(e,n){let t=e[M];(t&3)===n&&(t&=16383,t+=1,e[M]=t)}function Dy(e,n,t,r){let o=r!==void 0?e[Tr]&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[Tr]+=65536),(a<i||i==-1)&&(Tw(e,t,n,c),e[Tr]=(e[Tr]&4294901760)+c+2),c++}function Mm(e,n){z(L.LifecycleHookStart,e,n);let t=w(null);try{n.call(e)}finally{w(t),z(L.LifecycleHookEnd,e,n)}}function Tw(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[M]>>14<e[Tr]>>16&&(e[M]&3)===n&&(e[M]+=16384,Mm(a,i)):Mm(a,i)}var wo=-1,Pr=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 _w(e){return(e.flags&8)!==0}function Mw(e){return(e.flags&16)!==0}function Nw(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];Aw(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Ey(e){return e===3||e===4||e===6}function Aw(e){return e.charCodeAt(0)===64}function So(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?Nm(e,t,o,null,n[++r]):Nm(e,t,o,null,null))}}return e}function Nm(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 Cy(e){return e!==wo}function fc(e){return e&32767}function Rw(e){return e>>16}function pc(e,n){let t=Rw(e),r=n;for(;t>0;)r=r[Sr],t--;return r}var Hd=!0;function Am(e){let n=Hd;return Hd=e,n}var xw=256,Iy=xw-1,wy=5,Ow=0,en={};function kw(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Ir)&&(r=t[Ir]),r==null&&(r=t[Ir]=Ow++);let o=r&Iy,i=1<<o;n.data[e+(o>>wy)]|=i}function hc(e,n){let t=Sy(e,n);if(t!==-1)return t;let r=n[S];r.firstCreatePass&&(e.injectorIndex=n.length,xd(r.data,e),xd(n,null),xd(r.blueprint,null));let o=Tf(e,n),i=e.injectorIndex;if(Cy(o)){let s=fc(o),a=pc(o,n),c=a[S].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function xd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Sy(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Tf(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=Ay(o),r===null)return wo;if(t++,o=o[Sr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return wo}function Vd(e,n,t){kw(e,n,t)}function Pw(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(Ey(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 Ty(e,n,t){if(t&8||e!==void 0)return e;Ua(n,"NodeInjector")}function _y(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[$e],i=et(void 0);try{return o?o.get(n,r,t&8):Zu(n,r,t&8)}finally{et(i)}}return Ty(r,n,t)}function My(e,n,t,r=0,o){if(e!==null){if(n[M]&2048&&!(r&2)){let s=Bw(e,n,t,r,en);if(s!==en)return s}let i=Ny(e,n,t,r,en);if(i!==en)return i}return _y(n,t,r,o)}function Ny(e,n,t,r,o){let i=Fw(t);if(typeof i=="function"){if(!wd(n,e,r))return r&1?Ty(o,t,r):_y(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ua(t);else return s}finally{Sd()}}else if(typeof i=="number"){let s=null,a=Sy(e,n),c=wo,l=r&1?n[He][Ue]:null;for((a===-1||r&4)&&(c=a===-1?Tf(e,n):n[a+8],c===wo||!xm(r,!1)?a=-1:(s=n[S],a=fc(c),n=pc(c,n)));a!==-1;){let u=n[S];if(Rm(i,a,u.data)){let d=Lw(a,n,t,s,r,l);if(d!==en)return d}c=n[a+8],c!==wo&&xm(r,n[S].data[a+8]===l)&&Rm(i,a,n)?(s=u,a=fc(c),n=pc(c,n)):a=-1}}return o}function Lw(e,n,t,r,o,i){let s=n[S],a=s.data[e+8],c=r==null?bn(a)&&Hd:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ac(a,s,t,c,l);return u!==null?Hi(n,s,u,a,o):en}function ac(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 g=s[p];if(p<c&&t===g||p>=c&&g.type===t)return p}if(o){let p=s[c];if(p&&xt(p)&&p.type===t)return c}return null}function Hi(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Pr){let a=i;if(a.resolving)throw Yu("");let c=Am(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?et(a.injectImpl):null,f=wd(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&Sw(t,s[t],n)}finally{d!==null&&et(d),Am(c),a.resolving=!1,Sd()}}return i}function Fw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Ir)?e[Ir]:void 0;return typeof n=="number"?n>=0?n&Iy:jw:n}function Rm(e,n,t){let r=1<<e;return!!(t[n+(e>>wy)]&r)}function xm(e,n){return!(e&2)&&!(e&1&&n)}var Or=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return My(this._tNode,this._lView,n,br(r),t)}};function jw(){return new Or(ue(),I())}function Z(e){return Qi(()=>{let n=e.prototype.constructor,t=n[Di]||zd(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Di]||zd(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function zd(e){return Uu(e)?()=>{let n=zd(he(e));return n&&n()}:Dr(e)}function Bw(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[M]&2048&&!bo(s);){let a=Ny(i,s,t,r|2,en);if(a!==en)return a;let c=i.parent;if(!c){let l=s[rd];if(l){let u=l.get(t,en,r&-5);if(u!==en)return u}c=Ay(s),s=s[Sr]}i=c}return o}function Ay(e){let n=e[S],t=n.type;return t===2?n.declTNode:t===1?e[Ue]:null}function Ji(e){return Pw(ue(),e)}function Uw(){return xo(ue(),I())}function xo(e,n){return new Ne(nt(e,n))}var Ne=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Uw}return e})();function Ry(e){return e instanceof Ne?e.nativeElement:e}function $w(){return this._results[Symbol.iterator]()}var gc=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 Q}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=Hg(n);(this._changesDetected=!$g(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]=$w};function xy(e){return(e.flags&128)===128}var _f=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(_f||{}),Oy=new Map,Hw=0;function Vw(){return Hw++}function zw(e){Oy.set(e[Jt],e)}function Wd(e){Oy.delete(e[Jt])}var Om="__ngContext__";function To(e,n){vn(n)?(e[Om]=n[Jt],zw(n)):e[Om]=n}function ky(e){return Ly(e[yo])}function Py(e){return Ly(e[ht])}function Ly(e){for(;e!==null&&!Rt(e);)e=e[ht];return e}var Gd;function Mf(e){Gd=e}function Fy(){if(Gd!==void 0)return Gd;if(typeof document<"u")return document;throw new E(210,!1)}var Nc=new C("",{factory:()=>Ww}),Ww="ng";var Ac=new C(""),Lt=new C("",{providedIn:"platform",factory:()=>"unknown"});var Xi=new C("",{factory:()=>h(V).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var jy="r";var By="di";var Uy=!1,$y=new C("",{factory:()=>Uy});var Gw=(e,n,t,r)=>{};function qw(e,n,t,r){Gw(e,n,t,r)}function Rc(e){return(e.flags&32)===32}var Yw=()=>null;function Hy(e,n,t=!1){return Yw(e,n,t)}function Vy(e,n){let t=e.contentQueries;if(t!==null){let r=w(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];ki(i),a.contentQueries(2,n[s],s)}}}finally{w(r)}}}function qd(e,n,t){ki(0);let r=w(null);try{n(e,t)}finally{w(r)}}function Nf(e,n,t){if(id(n)){let r=w(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{w(r)}}}var kt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(kt||{});var tc;function Zw(){if(tc===void 0&&(tc=null,Vn.trustedTypes))try{tc=Vn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tc}function xc(e){return Zw()?.createHTML(e)||e}var nc;function zy(){if(nc===void 0&&(nc=null,Vn.trustedTypes))try{nc=Vn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return nc}function km(e){return zy()?.createHTML(e)||e}function Pm(e){return zy()?.createScriptURL(e)||e}var Cn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ka})`}},Yd=class extends Cn{getTypeName(){return"HTML"}},Zd=class extends Cn{getTypeName(){return"Style"}},Kd=class extends Cn{getTypeName(){return"Script"}},Qd=class extends Cn{getTypeName(){return"URL"}},Jd=class extends Cn{getTypeName(){return"ResourceURL"}};function ot(e){return e instanceof Cn?e.changingThisBreaksApplicationSecurity:e}function rn(e,n){let t=Wy(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ka})`)}return t===n}function Wy(e){return e instanceof Cn&&e.getTypeName()||null}function Af(e){return new Yd(e)}function Rf(e){return new Zd(e)}function xf(e){return new Kd(e)}function Of(e){return new Qd(e)}function kf(e){return new Jd(e)}function Kw(e){let n=new ef(e);return Qw()?new Xd(n):n}var Xd=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(xc(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},ef=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=xc(n),t}};function Qw(){try{return!!new window.DOMParser().parseFromString(xc(""),"text/html")}catch{return!1}}var Jw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function es(e){return e=String(e),e.match(Jw)?e:"unsafe:"+e}function In(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function ts(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var Gy=In("area,br,col,hr,img,wbr"),qy=In("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yy=In("rp,rt"),Xw=ts(Yy,qy),eS=ts(qy,In("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")),tS=ts(Yy,In("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")),Lm=ts(Gy,eS,tS,Xw),Zy=In("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nS=In("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"),rS=In("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"),oS=ts(Zy,nS,rS),iS=In("script,style,template");var tf=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=cS(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=aS(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=Fm(n).toLowerCase();if(!Lm.hasOwnProperty(t))return this.sanitizedSomething=!0,!iS.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(!oS.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Zy[a]&&(c=es(c)),this.buf.push(" ",s,'="',jm(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=Fm(n).toLowerCase();Lm.hasOwnProperty(t)&&!Gy.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(jm(n))}};function sS(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function aS(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw Ky(n);return n}function cS(e){let n=e.firstChild;if(n&&sS(e,n))throw Ky(n);return n}function Fm(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function Ky(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var lS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uS=/([^\#-~ |!])/g;function jm(e){return e.replace(/&/g,"&amp;").replace(lS,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(uS,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var rc;function Oc(e,n){let t=null;try{rc=rc||Kw(e);let r=n?String(n):"";t=rc.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=rc.getInertBodyElement(r)}while(r!==i);let a=new tf().sanitizeChildren(Bm(t)||t);return xc(a)}finally{if(t){let r=Bm(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Bm(e){return"content"in e&&dS(e)?e.content:null}function dS(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var fS=/^>|^->|<!--|-->|--!>|<!-$/g,pS=/(<|>)/g,hS="\u200B$1\u200B";function gS(e){return e.replace(fS,n=>n.replace(pS,hS))}function mS(e,n){return e.createText(n)}function yS(e,n,t){e.setValue(n,t)}function vS(e,n){return e.createComment(gS(n))}function Qy(e,n,t){return e.createElement(n,t)}function mc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Jy(e,n,t){e.appendChild(n,t)}function Um(e,n,t,r,o){r!==null?mc(e,n,t,r,o):Jy(e,n,t)}function Xy(e,n,t,r){e.removeChild(null,n,t,r)}function bS(e,n,t){e.setAttribute(n,"style",t)}function DS(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function ev(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&Nw(e,n,r),o!==null&&DS(e,n,o),i!==null&&bS(e,n,i)}var bt=(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})(bt||{});function ES(e){let n=Lf();return n?km(n.sanitize(bt.HTML,e)||""):rn(e,"HTML")?km(ot(e)):Oc(Fy(),Kt(e))}function tv(e){let n=Lf();return n?n.sanitize(bt.URL,e)||"":rn(e,"URL")?ot(e):es(Kt(e))}function nv(e){let n=Lf();if(n)return Pm(n.sanitize(bt.RESOURCE_URL,e)||"");if(rn(e,"ResourceURL"))return Pm(ot(e));throw new E(904,!1)}var CS={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 IS(e,n){return CS[e]?.[n]===!0?nv:tv}function Pf(e,n,t){return IS(n,t)(e)}function Lf(){let e=I();return e&&e[At].sanitizer}function rv(e){return e instanceof Function?e():e}function wS(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 ov="ng-template";function SS(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&wS(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Ff(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 Ff(e){return e.type===4&&e.value!==ov}function TS(e,n,t){let r=e.type===4&&!t?ov:e.value;return n===r}function _S(e,n,t){let r=4,o=e.attrs,i=o!==null?AS(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Ot(r)&&!Ot(c))return!1;if(s&&Ot(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!TS(e,c,t)||c===""&&n.length===1){if(Ot(r))return!1;s=!0}}else if(r&8){if(o===null||!SS(e,o,c,t)){if(Ot(r))return!1;s=!0}}else{let l=n[++a],u=MS(c,o,Ff(e),t);if(u===-1){if(Ot(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ot(r))return!1;s=!0}}}}return Ot(r)||s}function Ot(e){return(e&1)===0}function MS(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 RS(n,e)}function iv(e,n,t=!1){for(let r=0;r<n.length;r++)if(_S(e,n[r],t))return!0;return!1}function NS(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function AS(e){for(let n=0;n<e.length;n++){let t=e[n];if(Ey(t))return n}return e.length}function RS(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 xS(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 $m(e,n){return e?":not("+n.trim()+")":n}function OS(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!==""&&!Ot(s)&&(n+=$m(i,o),o=""),r=s,i=i||!Ot(r);t++}return o!==""&&(n+=$m(i,o)),n}function kS(e){return e.map(OS).join(",")}function PS(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(!Ot(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Ae={};function jf(e,n,t,r,o,i,s,a,c,l,u){let d=J+r,f=d+o,p=LS(d,f),g=typeof l=="function"?l():l;return p[S]={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:g,incompleteFirstPass:!1,ssrId:u}}function LS(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Ae);return t}function FS(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=jf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Bf(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[Nt]=o,d[M]=r|4|128|8|64|1024,(l!==null||e&&e[M]&2048)&&(d[M]|=2048),ld(d),d[ge]=d[Sr]=e,d[le]=t,d[At]=s||e&&e[At],d[W]=a||e&&e[W],d[$e]=c||e&&e[$e]||null,d[Ue]=i,d[Jt]=Vw(),d[wr]=u,d[rd]=l,d[He]=n.type==2?e[He]:d,d}function jS(e,n,t){let r=nt(n,e),o=FS(t),i=e[At].rendererFactory,s=Uf(e,Bf(e,o,null,sv(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function sv(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function av(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 Uf(e,n){return e[yo]?e[nd][ht]=n:e[yo]=n,e[nd]=n,n}function Pe(e=1){cv(X(),I(),vt()+e,!1)}function cv(e,n,t,r){if(!r)if((n[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ic(n,i,t)}else{let i=e.preOrderHooks;i!==null&&sc(n,i,0,t)}Yn(t)}var kc=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(kc||{});function nf(e,n,t,r){let o=w(null);try{let[i,s,a]=e.inputs[t],c=null;(s&kc.SignalBased)!==0&&(c=n[i][ie]),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):gy(n,c,i,r)}finally{w(o)}}var Pt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Pt||{}),BS;function $f(e,n){return BS(e,n)}var lv=new C("",{factory:()=>!1});var US=!1,ns=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function uv(e){return e[$e].get(lv,US)}function $S(e,n,t){let r=_o.get(e);if(r){for(let o of n)r.classList.push(o);for(let o of t)r.cleanupFns.push(o)}else _o.set(e,{classList:n,cleanupFns:t})}function Hf(e){let n=_o.get(e);if(n){for(let t of n.cleanupFns)t();_o.delete(e)}kr.delete(e)}var _o=new WeakMap,kr=new WeakMap,Vi=new WeakMap,Bi=new WeakSet;function Hm(e,n){let t=Vi.get(e);if(t&&t.length>0){let r=t.findIndex(o=>o===n);r>-1&&t.splice(r,1)}t?.length===0&&Vi.delete(e)}function HS(e,n){let t=Vi.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),Bi.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 dv(e,n){let t=Vi.get(e);t?t.includes(n)||t.push(n):Vi.set(e,[n])}function Vm(e){let n=e[Xt]??={};return n.enter??=new Map}function Pc(e){let n=e[Xt]??={};return n.leave??=new Map}function fv(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 VS(e,n){if(!ns)return;let t=_o.get(e);if(t&&t.classList.length>0&&zS(e,t.classList))for(let r of t.classList)n.removeClass(e,r);Hf(e)}function zS(e,n){for(let t of n)if(e.classList.contains(t))return!0;return!1}function zi(e){return e.composedPath?e.composedPath()[0]:e.target}function Vf(e,n){let t=kr.get(n);return t===void 0?!0:n===zi(e)&&(t.animationName!==void 0&&e.animationName===t.animationName||t.propertyName!==void 0&&(t.propertyName==="all"||e.propertyName===t.propertyName))}function pv(e,n,t){let r=e.get(n.index)??{animateFns:[]};r.animateFns.push(t),e.set(n.index,r)}function zm(e,n){if(e)for(let t of e)t();for(let t of n)t()}function Wm(e,n){let t=Pc(e).get(n.index);t&&(t.resolvers=void 0)}function yc(e){if(!e)return 0;let n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function xr(e,n){return e.getPropertyValue(n).split(",").map(r=>r.trim())}function WS(e){let n=xr(e,"transition-property"),t=xr(e,"transition-duration"),r=xr(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=yc(r[i])+yc(t[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function GS(e){let n=xr(e,"animation-name"),t=xr(e,"animation-delay"),r=xr(e,"animation-duration"),o=xr(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=yc(t[s])+yc(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=n[s],i.duration=a)}return i}function hv(e,n){return e!==void 0&&e.duration>n.duration}function gv(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function qS(e,n){let t=getComputedStyle(e),r=GS(t),o=WS(t),i=r.duration>o.duration?r:o;hv(n.get(e),i)||gv(i)&&n.set(e,i)}function mv(e,n,t){if(!t)return;let r=e.getAnimations();return r.length===0?qS(e,n):YS(e,n,r)}function YS(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})}hv(n.get(e),r)||gv(r)&&n.set(e,r)}var Zn=new Set,Lc=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Lc||{}),Ft=new C(""),Gm=new Set;function jt(e){Gm.has(e)||(Gm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Fc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=b({token:e,providedIn:"root",factory:()=>new e})}return e})(),zf=[0,1,2,3],Wf=(()=>{class e{ngZone=h(pe);scheduler=h(Yt);errorHandler=h(ft,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(Ft,{optional:!0})}execute(){let t=this.sequences.size>0;t&&z(L.AfterRenderHooksStart),this.executing=!0;for(let r of zf)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&&z(L.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[_r]??=[]).push(t),Ar(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Lc.AFTER_NEXT_RENDER,t):t()}static \u0275prov=b({token:e,providedIn:"root",factory:()=>new e})}return e})(),Wi=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?.[_r];n&&(this.view[_r]=n.filter(t=>t!==this))}};function jc(e,n){let t=n?.injector??h(fe);return jt("NgAfterNextRender"),KS(e,t,n,!0)}function ZS(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function KS(e,n,t,r){let o=n.get(Fc);o.impl??=n.get(Wf);let i=n.get(Ft,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(ye):null,a=n.get(Eo,null,{optional:!0}),c=new Wi(o.impl,ZS(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Bc=new C("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:h(oe)})});function yv(e,n,t){let r=e.get(Bc);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 QS(e,n){let t=e.get(Bc);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function JS(e){let n=e.get(Bc);n.isScheduled||(jc(()=>{n.isScheduled=!1;for(let t of n.queue)t();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function vv(e){let n=e.get(Bc);n.scheduler=JS,n.scheduler(e)}function bv(e,n){for(let[t,r]of n)yv(e,r.animateFns)}function qm(e,n,t,r){let o=e?.[Xt]?.enter;n!==null&&o&&o.has(t.index)&&bv(r,o)}function Io(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;Rt(o)?c=o:vn(o)&&(l=!0,o=o[Nt]);let u=gt(o);e===0&&r!==null?(qm(a,r,i,t),s==null?Jy(n,r,u):mc(n,r,u,s||null,!0)):e===1&&r!==null?(qm(a,r,i,t),mc(n,r,u,s||null,!0),HS(i,u)):e===2?(a?.[Xt]?.leave?.has(i.index)&&dv(i,u),Bi.delete(u),Ym(a,i,t,d=>{if(Bi.has(u)){Bi.delete(u);return}Xy(n,u,l,d)})):e===3&&(Bi.delete(u),Ym(a,i,t,()=>{n.destroyNode(u)})),c!=null&&lT(n,e,t,c,i,r,s)}}function XS(e,n){Dv(e,n),n[Nt]=null,n[Ue]=null}function eT(e,n,t,r,o,i){r[Nt]=o,r[Ue]=n,$c(e,r,t,1,o,i)}function Dv(e,n){n[At].changeDetectionScheduler?.notify(9),$c(e,n,n[W],2,null,null)}function tT(e){let n=e[yo];if(!n)return Od(e[S],e);for(;n;){let t=null;if(vn(n))t=n[yo];else{let r=n[se];r&&(t=r)}if(!t){for(;n&&!n[ht]&&n!==e;)vn(n)&&Od(n[S],n),n=n[ge];n===null&&(n=e),vn(n)&&Od(n[S],n),t=n&&n[ht]}n=t}}function Gf(e,n){let t=e[Mr],r=t.indexOf(n);t.splice(r,1)}function Uc(e,n){if(Nr(n))return;let t=n[W];t.destroyNode&&$c(e,n,t,3,null,null),tT(n)}function Od(e,n){if(Nr(n))return;let t=w(null);try{n[M]&=-129,n[M]|=256,n[tt]&&jn(n[tt]),oT(e,n),rT(e,n),n[S].type===1&&n[W].destroy();let r=n[Wn];if(r!==null&&Rt(n[ge])){r!==n[ge]&&Gf(r,n);let o=n[Qt];o!==null&&o.detachView(e)}Wd(n)}finally{w(t)}}function Ym(e,n,t,r){let o=e?.[Xt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Zn.add(e[Jt]),yv(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),nT(e,r)}else e&&Zn.delete(e[Jt]),r(!1)},o)}function nT(e,n){let t=e[Xt]?.running;if(t){t.then(()=>{e[Xt].running=void 0,Zn.delete(e[Jt]),n(!0)});return}n(!1)}function rT(e,n){let t=e.cleanup,r=n[mo];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[mo]=null);let o=n[mn];if(o!==null){n[mn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[$n];if(i!==null){n[$n]=null;for(let s of i)s.destroy()}}function oT(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 Pr)){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];z(L.LifecycleHookStart,a,c);try{c.call(a)}finally{z(L.LifecycleHookEnd,a,c)}}else{z(L.LifecycleHookStart,o,i);try{i.call(o)}finally{z(L.LifecycleHookEnd,o,i)}}}}}function Ev(e,n,t){return iT(e,n.parent,t)}function iT(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Nt];if(bn(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===kt.None||o===kt.Emulated)return null}return nt(r,t)}function Cv(e,n,t){return aT(e,n,t)}function sT(e,n,t){return e.type&40?nt(e,t):null}var aT=sT,Zm;function qf(e,n,t,r){let o=Ev(e,r,n),i=n[W],s=r.parent||n[Ue],a=Cv(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Um(i,o,t[c],a,!1);else Um(i,o,t,a,!1);Zm!==void 0&&Zm(i,r,n,t,o)}function Ui(e,n){if(n!==null){let t=n.type;if(t&3)return nt(n,e);if(t&4)return rf(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Ui(e,r);{let o=e[n.index];return Rt(o)?rf(-1,o):gt(o)}}else{if(t&128)return Ui(e,n.next);if(t&32)return $f(n,e)()||gt(e[n.index]);{let r=Iv(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Hn(e[He]);return Ui(o,r)}else return Ui(e,n.next)}}}return null}function Iv(e,n){if(n!==null){let r=e[He][Ue],o=n.projection;return r.projection[o]}return null}function rf(e,n){let t=se+e+1;if(t<n.length){let r=n[t],o=r[S].firstChild;if(o!==null)return Ui(r,o)}return n[Gn]}function Yf(e,n,t,r,o,i,s){for(;t!=null;){let a=r[$e];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&To(gt(c),r),t.flags|=2),!Rc(t))if(l&8)Yf(e,n,t.child,r,o,i,!1),Io(n,e,a,o,c,t,i,r);else if(l&32){let u=$f(t,r),d;for(;d=u();)Io(n,e,a,o,d,t,i,r);Io(n,e,a,o,c,t,i,r)}else l&16?wv(e,n,r,t,o,i):Io(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function $c(e,n,t,r,o,i){Yf(t,r,e.firstChild,n,o,i,!1)}function cT(e,n,t){let r=n[W],o=Ev(e,t,n),i=t.parent||n[Ue],s=Cv(i,t,n);wv(r,0,n,t,o,s)}function wv(e,n,t,r,o,i){let s=t[He],c=s[Ue].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Io(n,e,t[$e],o,u,r,i,t)}else{let l=c,u=s[ge];xy(r)&&(l.flags|=128),Yf(e,n,l,u,o,i,!0)}}function lT(e,n,t,r,o,i,s){let a=r[Gn],c=gt(r);a!==c&&Io(n,e,t,i,a,o,s);for(let l=se;l<r.length;l++){let u=r[l];$c(u[S],u,e,n,i,a)}}function uT(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Pt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Pt.Important),e.setStyle(t,r,o,i))}}function Sv(e,n,t,r,o){let i=vt(),s=r&2;try{Yn(-1),s&&n.length>J&&cv(e,n,J,!1);let a=s?L.TemplateUpdateStart:L.TemplateCreateStart;z(a,o,t),t(r,o)}finally{Yn(i);let a=s?L.TemplateUpdateEnd:L.TemplateCreateEnd;z(a,o,t)}}function Hc(e,n,t){mT(e,n,t),(t.flags&64)===64&&yT(e,n,t)}function Oo(e,n,t=nt){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 dT(e,n,t,r){let i=r.get($y,Uy)||t===kt.ShadowDom||t===kt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return fT(s),s}function fT(e){pT(e)}var pT=()=>null;function hT(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Tv(e,n,t,r,o,i){let s=n[S];if(Kf(e,s,n,t,r)){bn(e)&&gT(n,e.index);return}e.type&3&&(t=hT(t)),_v(e,n,t,r,o,i)}function _v(e,n,t,r,o,i){if(e.type&3){let s=nt(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function gT(e,n){let t=mt(n,e);t[M]&16||(t[M]|=64)}function mT(e,n,t){let r=t.directiveStart,o=t.directiveEnd;bn(t)&&jS(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||hc(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Hi(n,e,s,t);if(To(c,n),i!==null&&ET(n,s-r,c,a,t,i),xt(a)){let l=mt(t.index,n);l[le]=Hi(n,e,s,t)}}}function yT(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=fm();try{Yn(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];Za(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&vT(c,l)}}finally{Yn(-1),Za(s)}}function vT(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Zf(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];iv(n,i.selectors,!1)&&(r??=[],xt(i)?r.unshift(i):r.push(i))}return r}function bT(e,n,t,r,o,i){let s=nt(e,n);DT(n[W],s,i,e.value,t,r,o)}function DT(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Kt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function ET(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];nf(r,t,c,l)}}function Vc(e,n,t,r,o){let i=J+t,s=n[S],a=o(s,n,e,r,t);n[i]=a,Rr(e,!0);let c=e.type===2;return c?(ev(n[W],a,e),(om()===0||vo(e))&&To(a,n),im()):To(a,n),Xa()&&(!c||!Rc(e))&&qf(s,n,a,e),e}function zc(e){let n=e;return bd()?Dd():(n=n.parent,Rr(n,!1)),n}function CT(e,n){let t=e[$e];if(!t)return;let r;try{r=t.get(rt,null)}catch{r=null}r?.(n)}function Kf(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];nf(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];nf(u,l,r,o),a=!0}return a}function IT(e,n){let t=mt(n,e),r=t[S];wT(r,t);let o=t[Nt];o!==null&&t[wr]===null&&(t[wr]=Hy(o,t[$e])),z(L.ComponentStart);try{Qf(r,t,t[le])}finally{z(L.ComponentEnd,t[le])}}function wT(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Qf(e,n,t){Qa(n);try{let r=e.viewQuery;r!==null&&qd(1,r,t);let o=e.template;o!==null&&Sv(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Qt]?.finishViewCreation(e),e.staticContentQueries&&Vy(e,n),e.staticViewQueries&&qd(2,e.viewQuery,t);let i=e.components;i!==null&&ST(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[M]&=-5,Ja()}}function ST(e,n){for(let t=0;t<n.length;t++)IT(e,n[t])}function rs(e,n,t,r){let o=w(null);try{let i=n.tView,a=e[M]&4096?4096:16,c=Bf(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[Wn]=l;let u=e[Qt];return u!==null&&(c[Qt]=u.createEmbeddedView(i)),Qf(i,c,t),c}finally{w(o)}}function Mo(e,n){return!n||n.firstChild===null||xy(e)}function Gi(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(gt(i)),Rt(i)&&Mv(i,r);let s=t.type;if(s&8)Gi(e,n,t.child,r);else if(s&32){let a=$f(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Iv(n,t);if(Array.isArray(a))r.push(...a);else{let c=Hn(n[He]);Gi(c[S],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Mv(e,n){for(let t=se;t<e.length;t++){let r=e[t],o=r[S].firstChild;o!==null&&Gi(r[S],r,o,n)}e[Gn]!==e[Nt]&&n.push(e[Gn])}function Nv(e){if(e[_r]!==null){for(let n of e[_r])n.impl.addSequence(n);e[_r].length=0}}var Av=[];function TT(e){return e[tt]??_T(e)}function _T(e){let n=Av.pop()??Object.create(NT);return n.lView=e,n}function MT(e){e.lView[tt]!==e&&(e.lView=null,Av.push(e))}var NT=P(m({},Ln),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ar(e.lView)},consumerOnSignalRead(){this.lView[tt]=this}});function AT(e){let n=e[tt]??Object.create(RT);return n.lView=e,n}var RT=P(m({},Ln),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Hn(e.lView);for(;n&&!Rv(n[S]);)n=Hn(n);n&&ud(n)},consumerOnSignalRead(){this.lView[tt]=this}});function Rv(e){return e.type!==2}function xv(e){if(e[$n]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[$n])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[M]&8192)}}var xT=100;function Ov(e,n=0){let r=e[At].rendererFactory,o=!1;o||r.begin?.();try{OT(e,n)}finally{o||r.end?.()}}function OT(e,n){let t=Cd();try{Ci(!0),of(e,n);let r=0;for(;xi(e);){if(r===xT)throw new E(103,!1);r++,of(e,1)}}finally{Ci(t)}}function kT(e,n,t,r){if(Nr(n))return;let o=n[M],i=!1,s=!1;Qa(n);let a=!0,c=null,l=null;i||(Rv(e)?(l=TT(n),c=fn(l)):ta()===null?(a=!1,l=AT(n),c=fn(l)):n[tt]&&(jn(n[tt]),n[tt]=null));try{ld(n),lm(e.bindingStartIndex),t!==null&&Sv(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&ic(n,p,null)}else{let p=e.preOrderHooks;p!==null&&sc(n,p,0,null),Rd(n,0)}if(s||PT(n),xv(n),kv(n,0),e.contentQueries!==null&&Vy(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&ic(n,p)}else{let p=e.contentHooks;p!==null&&sc(n,p,1),Rd(n,1)}FT(e,n);let d=e.components;d!==null&&Lv(n,d,0);let f=e.viewQuery;if(f!==null&&qd(2,f,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&ic(n,p)}else{let p=e.viewHooks;p!==null&&sc(n,p,2),Rd(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Va]){for(let p of n[Va])p();n[Va]=null}i||(Nv(n),n[M]&=-73)}catch(u){throw i||Ar(n),u}finally{l!==null&&(Fn(l,c),a&&MT(l)),Ja()}}function kv(e,n){for(let t=ky(e);t!==null;t=Py(t))for(let r=se;r<t.length;r++){let o=t[r];Pv(o,n)}}function PT(e){for(let n=ky(e);n!==null;n=Py(n)){if(!(n[M]&2))continue;let t=n[Mr];for(let r=0;r<t.length;r++){let o=t[r];ud(o)}}}function LT(e,n,t){z(L.ComponentStart);let r=mt(n,e);try{Pv(r,t)}finally{z(L.ComponentEnd,r[le])}}function Pv(e,n){Ga(e)&&of(e,n)}function of(e,n){let r=e[S],o=e[M],i=e[tt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&ro(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)kT(r,e,r.template,e[le]);else if(o&8192){let a=w(null);try{xv(e),kv(e,1);let c=r.components;c!==null&&Lv(e,c,1),Nv(e)}finally{w(a)}}}function Lv(e,n,t){for(let r=0;r<n.length;r++)LT(e,n[r],t)}function FT(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)Yn(~o);else{let i=o,s=t[++r],a=t[++r];dm(s,i);let c=n[i];z(L.HostBindingsUpdateStart,c);try{a(2,c)}finally{z(L.HostBindingsUpdateEnd,c)}}}}finally{Yn(-1)}}function Jf(e,n){let t=Cd()?64:1088;for(e[At].changeDetectionScheduler?.notify(n);e;){e[M]|=t;let r=Hn(e);if(bo(e)&&!r)return e;e=r}return null}function Fv(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function jv(e,n){let t=se+n;if(t<e.length)return e[t]}function os(e,n,t,r=!0){let o=n[S];if(jT(o,n,e,t),r){let s=rf(t,e),a=n[W],c=a.parentNode(e[Gn]);c!==null&&eT(o,e[Ue],a,n,c,s)}let i=n[wr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Bv(e,n){let t=qi(e,n);return t!==void 0&&Uc(t[S],t),t}function qi(e,n){if(e.length<=se)return;let t=se+n,r=e[t];if(r){let o=r[Wn];o!==null&&o!==e&&Gf(o,r),n>0&&(e[t-1][ht]=r[ht]);let i=_i(e,se+n);XS(r[S],r);let s=i[Qt];s!==null&&s.detachView(i[S]),r[ge]=null,r[ht]=null,r[M]&=-129}return r}function jT(e,n,t,r){let o=se+r,i=t.length;r>0&&(t[o-1][ht]=n),r<i-se?(n[ht]=t[o],Ku(t,se+r,n)):(t.push(n),n[ht]=null),n[ge]=t;let s=n[Wn];s!==null&&t!==s&&Uv(s,n);let a=n[Qt];a!==null&&a.insertView(e),qa(n),n[M]|=128}function Uv(e,n){let t=e[Mr],r=n[ge];if(vn(r))e[M]|=2;else{let o=r[ge][He];n[He]!==o&&(e[M]|=2)}t===null?e[Mr]=[n]:t.push(n)}var Kn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[S];return Gi(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[le]}set context(n){this._lView[le]=n}get destroyed(){return Nr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ge];if(Rt(n)){let t=n[Ri],r=t?t.indexOf(this):-1;r>-1&&(qi(n,r),_i(t,r))}this._attachedToViewContainer=!1}Uc(this._lView[S],this._lView)}onDestroy(n){dd(this._lView,n)}markForCheck(){Jf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){qa(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Ov(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=bo(this._lView),t=this._lView[Wn];t!==null&&!n&&Gf(t,this._lView),Dv(this._lView[S],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let t=bo(this._lView),r=this._lView[Wn];r!==null&&!t&&Uv(r,this._lView),qa(this._lView)}};var tn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=BT;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=rs(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Kn(i)}}return e})();function BT(){return Wc(ue(),I())}function Wc(e,n){return e.type&4?new tn(n,e,xo(e,n)):null}function $r(e,n,t,r,o){let i=e.data[n];if(i===null)i=UT(e,n,t,r,o),um()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=cm();i.injectorIndex=s===null?-1:s.injectorIndex}return Rr(i,!0),i}function UT(e,n,t,r,o){let i=vd(),s=bd(),a=s?i:i&&i.parent,c=e.data[n]=HT(e,a,t,n,r,o);return $T(e,c,i,s),c}function $T(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 HT(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return gd()&&(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 VT(e){let n=e[od]??[],r=e[ge][W],o=[];for(let i of n)i.data[By]!==void 0?o.push(i):zT(i,r);e[od]=o}function zT(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[jy];for(;t<o;){let i=r.nextSibling;Xy(n,r,!1),r=i,t++}}}var WT=()=>null,GT=()=>null;function vc(e,n){return WT(e,n)}function $v(e,n,t){return GT(e,n,t)}var Hv=class{},Gc=class{},sf=class{resolveComponentFactory(n){throw new E(917,!1)}},is=class{static NULL=new sf},Lr=class{},Bt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>qT()}return e})();function qT(){let e=I(),n=ue(),t=mt(n.index,e);return(vn(t)?t:e)[W]}var Vv=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>null})}return e})();var cc={},af=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,cc,r);return o!==cc||t===cc?o:this.parentInjector.get(n,t,r)}};function bc(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=Pa(o,a);else if(i==2){let c=a,l=n[++s];r=Pa(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function B(e,n=0){let t=I();if(t===null)return _(e,n);let r=ue();return My(r,t,he(e),n)}function zv(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}KT(e,n,t,a,i,c,l)}i!==null&&r!==null&&YT(t,r,i)}function YT(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 ZT(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function KT(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&&xt(p)&&(c=p,ZT(e,t,f)),Vd(hc(t,n),e,p.type)}n_(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=av(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(t.mergedAttrs=So(t.mergedAttrs,p.hostAttrs),JT(e,t,n,d,p),t_(d,p,o),s!==null&&s.has(p)){let[y,v]=s.get(p);t.directiveToIndex.set(p.type,[d,y+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 g=p.type.prototype;!l&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}QT(e,t,i)}function QT(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))Km(0,n,o,r),Km(1,n,o,r),Jm(n,r,!1);else{let i=t.get(o);Qm(0,n,i,r),Qm(1,n,i,r),Jm(n,r,!0)}}}function Km(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),Wv(n,i)}}function Qm(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),Wv(n,s)}}function Wv(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Jm(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Ff(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 JT(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Dr(o.type,!0)),s=new Pr(i,xt(o),B,null);e.blueprint[r]=s,t[r]=s,XT(e,n,r,av(e,t,o.hostVars,Ae),o)}function XT(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;e_(s)!=a&&s.push(a),s.push(t,r,i)}}function e_(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function t_(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;xt(n)&&(t[""]=e)}}function n_(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Xf(e,n,t,r,o,i,s,a){let c=n[S],l=c.consts,u=yt(l,s),d=$r(c,e,t,r,u);return i&&zv(c,n,d,yt(l,a),o),d.mergedAttrs=So(d.mergedAttrs,d.attrs),d.attrs!==null&&bc(d,d.attrs,!1),d.mergedAttrs!==null&&bc(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ep(e,n){by(e,n),id(n)&&e.queries.elementEnd(n)}function Gv(e,n,t,r,o,i){let s=n.consts,a=yt(s,o),c=$r(n,e,t,r,a);if(c.mergedAttrs=So(c.mergedAttrs,c.attrs),i!=null){let l=yt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&bc(c,c.attrs,!1),c.mergedAttrs!==null&&bc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function tp(e){return qc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function qv(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 qc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Qn(e,n,t){return e[n]=t}function Yc(e,n){return e[n]}function Ke(e,n,t){if(t===Ae)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function No(e,n,t,r){let o=Ke(e,n,t);return Ke(e,n+1,r)||o}function np(e,n,t,r,o){let i=No(e,n,t,r);return Ke(e,n+2,o)||i}function Zc(e,n,t,r,o,i){let s=No(e,n,t,r);return No(e,n+2,o,i)||s}function kd(e,n,t){return function r(o){let i=bn(e)?mt(e.index,n):n;Jf(i,5);let s=n[le],a=Xm(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=Xm(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Xm(e,n,t,r){let o=w(null);try{return z(L.OutputStart,n,t),t(r)!==!1}catch(i){return CT(e,i),!1}finally{z(L.OutputEnd,n,t),w(o)}}function r_(e,n,t,r,o,i,s,a){let c=vo(e),l=!1,u=null;if(!r&&c&&(u=i_(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=nt(e,t),f=r?r(d):d;qw(t,f,i,a);let p=o.listen(f,i,a);if(!o_(i)){let g=r?y=>r(gt(y[e.index])):e.index;Yv(g,n,t,i,a,p,!1)}}return l}function o_(e){return e.startsWith("animation")||e.startsWith("transition")}function i_(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[mo],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yv(e,n,t,r,o,i,s){let a=n.firstCreatePass?pd(n):null,c=fd(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function ey(e,n,t,r,o,i){let s=n[t],a=n[S],l=a.data[t].outputs[r],d=s[l].subscribe(i);Yv(e.index,a,n,o,i,d,!0)}var cf=Symbol("BINDING");function Zv(e){return e.debugInfo?.className||e.type.name||null}var Dc=class extends is{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=yn(n);return new Fr(t,this.ngModule)}};function s_(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&kc.SignalBased)!==0};return o&&(i.transform=o),i})}function a_(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function c_(e,n,t){let r=n instanceof oe?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new af(t,r):t}function l_(e){let n=e.get(Lr,null);if(n===null)throw new E(407,!1);let t=e.get(Vv,null),r=e.get(Yt,null),o=e.get(Ft,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function u_(e,n){let t=Kv(e);return Qy(n,t,t==="svg"?sd:t==="math"?Jg:null)}function Kv(e){return(e.selectors[0][0]||"div").toLowerCase()}var Fr=class extends Gc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=s_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=a_(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=kS(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){z(L.DynamicComponentStart);let a=w(null);try{let c=this.componentDef,l=c_(c,o||this.ngModule,n),u=l_(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Zv(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{w(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=d_(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?dT(l,o,a.encapsulation,t):u_(a,l),d=s?.some(ty)||i?.some(g=>typeof g!="function"&&g.bindings.some(ty)),f=Bf(null,c,null,512|sv(a),null,null,n,l,t,null,Hy(u,t,!0));f[J]=u,Qa(f);let p=null;try{let g=Xf(J,f,2,"#host",()=>c.directiveRegistry,!0,0);ev(l,u,g),To(u,f),Hc(c,f,g),Nf(c,g,f),ep(c,g),r!==void 0&&p_(g,this.ngContentSelectors,r),p=mt(g.index,f),f[le]=p[le],Qf(c,f,null)}catch(g){throw p!==null&&Wd(p),Wd(f),g}finally{z(L.DynamicComponentEnd),Ja()}return new Ec(this.componentType,f,!!d)}};function d_(e,n,t,r){let o=e?["ng-version","21.2.9"]:PS(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[cf].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[cf].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=ja(d);c.push(f)}return jf(0,null,f_(i,s),1,a,c,null,null,null,[o],null)}function f_(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 ty(e){let n=e[cf].kind;return n==="input"||n==="twoWay"}var Ec=class extends Hv{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=za(t[S],J),this.location=xo(this._tNode,t),this.instance=mt(this._tNode.index,t)[le],this.hostView=this.changeDetectorRef=new Kn(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=Kf(r,o[S],o,n,t);this.previousInputValues.set(n,t);let s=mt(r.index,o);Jf(s,1)}get injector(){return new Or(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function p_(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 on=(()=>{class e{static __NG_ELEMENT_ID__=h_}return e})();function h_(){let e=ue();return Qv(e,I())}var lf=class e extends on{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return xo(this._hostTNode,this._hostLView)}get injector(){return new Or(this._hostTNode,this._hostLView)}get parentInjector(){let n=Tf(this._hostTNode,this._hostLView);if(Cy(n)){let t=pc(n,this._hostLView),r=fc(n),o=t[S].data[r+8];return new Or(o,t)}else return new Or(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=ny(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-se}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=vc(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Mo(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!Ew(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 Fr(yn(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(oe,null);D&&(i=D)}let f=yn(u.componentType??{}),p=vc(this._lContainer,f?.id??null),g=p?.firstChild??null,y=u.create(d,o,g,i,s,a);return this.insertImpl(y.hostView,l,Mo(this._hostTNode,p)),y}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(em(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ge],l=new e(c,c[Ue],c[ge]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return os(s,o,i,r),n.attachToViewContainerRef(),Ku(Pd(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=ny(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=qi(this._lContainer,t);r&&(_i(Pd(this._lContainer),t),Uc(r[S],r))}detach(n){let t=this._adjustIndex(n,-1),r=qi(this._lContainer,t);return r&&_i(Pd(this._lContainer),t)!=null?new Kn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function ny(e){return e[Ri]}function Pd(e){return e[Ri]||(e[Ri]=[])}function Qv(e,n){let t,r=n[e.index];return Rt(r)?t=r:(t=Fv(r,n,null,e),n[e.index]=t,Uf(n,t)),m_(t,n,e,r),new lf(t,e,n)}function g_(e,n){let t=e[W],r=t.createComment(""),o=nt(n,e),i=t.parentNode(o);return mc(t,i,r,t.nextSibling(o),!1),r}var m_=b_,y_=()=>!1;function v_(e,n,t){return y_(e,n,t)}function b_(e,n,t,r){if(e[Gn])return;let o;t.type&8?o=gt(r):o=g_(n,t),e[Gn]=o}var uf=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},df=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++)op(n,t).matches!==null&&this.queries[t].setDirty()}},Cc=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=w_(n):this.predicate=n}},ff=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)}},pf=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,D_(t,i)),this.matchTNodeWithReadOption(n,t,ac(t,n,i,!1,!1))}else r===tn?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,ac(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ne||o===on||o===tn&&t.type&4)this.addMatch(t.index,-2);else{let i=ac(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 D_(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 E_(e,n){return e.type&11?xo(e,n):e.type&4?Wc(e,n):null}function C_(e,n,t,r){return t===-1?E_(n,e):t===-2?I_(e,n,r):Hi(e,e[S],t,n)}function I_(e,n,t){if(t===Ne)return xo(n,e);if(t===tn)return Wc(n,e);if(t===on)return Qv(n,e)}function Jv(e,n,t,r){let o=n[Qt].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(C_(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function hf(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Jv(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=se;d<u.length;d++){let f=u[d];f[Wn]===f[ge]&&hf(f[S],f,l,r)}if(u[Mr]!==null){let d=u[Mr];for(let f=0;f<d.length;f++){let p=d[f];hf(p[S],p,l,r)}}}}}return r}function rp(e,n){return e[Qt].queries[n].queryList}function Xv(e,n,t){let r=new gc((t&4)===4);return rm(e,n,r,r.destroy),(n[Qt]??=new df).queries.push(new uf(r))-1}function eb(e,n,t){let r=X();return r.firstCreatePass&&(nb(r,new Cc(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),Xv(r,I(),n)}function tb(e,n,t,r){let o=X();if(o.firstCreatePass){let i=ue();nb(o,new Cc(n,t,r),i.index),S_(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Xv(o,I(),t)}function w_(e){return e.split(",").map(n=>n.trim())}function nb(e,n,t){e.queries===null&&(e.queries=new ff),e.queries.track(new pf(n,t))}function S_(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 op(e,n){return e.queries.getByIndex(n)}function rb(e,n){let t=e[S],r=op(t,n);return r.crossesNgTemplate?hf(t,e,n,[]):Jv(t,e,r,n)}function ip(e,n,t){let r,o=pi(()=>{r._dirtyCounter();let i=T_(r,e);if(n&&i===void 0)throw new E(-951,!1);return i});return r=o[ie],r._dirtyCounter=N(0),r._flatValue=void 0,o}function sp(e){return ip(!0,!1,e)}function ap(e){return ip(!0,!0,e)}function ob(e){return ip(!1,!1,e)}function ib(e,n){let t=e[ie];t._lView=I(),t._queryIndex=n,t._queryList=rp(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function T_(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[M]&4)return n?void 0:ke;let o=rp(t,r),i=rb(t,r);return o.reset(i,Ry),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var jr=class{},Kc=class{};var Ic=class extends jr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Dc(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=qu(n);this._bootstrapComponents=rv(i.bootstrap),this._r3Injector=Td(n,t,[{provide:jr,useValue:this},{provide:is,useValue:this.componentFactoryResolver},...r],Si(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)}},wc=class extends Kc{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Ic(this.moduleType,n,[])}};var Yi=class extends jr{injector;componentFactoryResolver=new Dc(this);instance=null;constructor(n){super();let t=new Cr([...n.providers,{provide:jr,useValue:this},{provide:is,useValue:this.componentFactoryResolver}],n.parent||Ai(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function ss(e,n,t=null){return new Yi({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var __=(()=>{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=Xu(!1,t.type),o=r.length>0?ss([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(_(oe))})}return e})();function Le(e){return Qi(()=>{let n=sb(e),t=P(m({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===_f.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(__).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||kt.Emulated,styles:e.styles||ke,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&jt("NgStandalone"),ab(t);let r=e.dependencies;return t.directiveDefs=ry(r,M_),t.pipeDefs=ry(r,Fg),t.id=R_(t),t})}function M_(e){return yn(e)||ja(e)}function Ee(e){return Qi(()=>({type:e.type,bootstrap:e.bootstrap||ke,declarations:e.declarations||ke,imports:e.imports||ke,exports:e.exports||ke,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function N_(e,n){if(e==null)return Mt;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=kc.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function A_(e){if(e==null)return Mt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function ee(e){return Qi(()=>{let n=sb(e);return ab(n),n})}function sb(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||Mt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ke,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:N_(e.inputs,n),outputs:A_(e.outputs),debugInfo:null}}function ab(e){e.features?.forEach(n=>n(e))}function ry(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 R_(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 Hr(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=x_,t.hostDirectives=r?e.map(gf):[e]):r?t.hostDirectives.unshift(...e.map(gf)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function x_(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,cb(s,n,r),o.set(s,[a,n.length-1])}i===0&&xt(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 cb(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)oy(gf(i),n,t)}else oy(r,n,t)}function oy(e,n,t){let r=ja(e.directive);O_(r.declaredInputs,e.inputs),cb(r,n,t),t.set(r,e),n.push(r)}function gf(e){return typeof e=="function"?{directive:he(e),inputs:Mt,outputs:Mt}:{directive:he(e.directive),inputs:iy(e.inputs),outputs:iy(e.outputs)}}function iy(e){if(e===void 0||e.length===0)return Mt;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function O_(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function k_(e){return Object.getPrototypeOf(e.prototype).constructor}function Fe(e){let n=k_(e.type),t=!0,r=[e];for(;n;){let o;if(xt(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=Ld(e.inputs),s.declaredInputs=Ld(e.declaredInputs),s.outputs=Ld(e.outputs);let a=o.hostBindings;a&&B_(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&F_(e,c),l&&j_(e,l),P_(e,o),Lg(e.outputs,o.outputs),xt(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===Fe&&(t=!1)}}n=Object.getPrototypeOf(n)}L_(r)}function P_(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 L_(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=So(o.hostAttrs,t=So(t,o.hostAttrs))}}function Ld(e){return e===Mt?{}:e===ke?[]:e}function F_(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function j_(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function B_(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function lb(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=So(e.mergedAttrs,e.attrs);let u=e.tView=jf(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),Rr(e,!1);let c=$_(t,n,e,r);Xa()&&qf(t,n,c,e),To(c,n);let l=Fv(c,n,c,e);n[r+J]=l,Uf(n,l),v_(l,e,n)}function U_(e,n,t,r,o,i,s,a,c,l,u){let d=t+J,f;return n.firstCreatePass?(f=$r(n,d,4,s||null,a||null),Ya()&&zv(n,e,f,yt(n.consts,l),Zf),by(n,f)):f=n.data[d],lb(f,e,n,t,r,o,i,c),vo(f)&&Hc(n,e,f),l!=null&&Oo(e,f,u),f}function Zi(e,n,t,r,o,i,s,a,c,l,u){let d=t+J,f;if(n.firstCreatePass){if(f=$r(n,d,4,s||null,a||null),l!=null){let p=yt(n.consts,l);f.localNames=[];for(let g=0;g<p.length;g+=2)f.localNames.push(p[g],-1)}}else f=n.data[d];return lb(f,e,n,t,r,o,i,c),l!=null&&Oo(e,f,u),f}function wn(e,n,t,r,o,i,s,a){let c=I(),l=X(),u=yt(l.consts,i);return U_(c,l,e,n,t,r,o,u,void 0,s,a),wn}var $_=H_;function H_(e,n,t,r){return Li(!0),n[W].createComment("")}var Qc=(()=>{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 cp(e){return typeof e=="function"&&e[ie]!==void 0}function lp(e){return cp(e)&&typeof e.set=="function"}var up=new C("");function ko(e){return!!e&&typeof e.then=="function"}function dp(e){return!!e&&typeof e.subscribe=="function"}var fp=new C("");function Jc(e){return pt([{provide:fp,multi:!0,useValue:e}])}var pp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=h(fp,{optional:!0})??[];injector=h(fe);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=De(this.injector,o);if(ko(i))t.push(i);else if(dp(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})(),Xc=new C("");function ub(){du(()=>{let e="";throw new E(600,e)})}function db(e){return e.isBoundToModule}var V_=10;var Vr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(rt);afterRenderManager=h(Fc);zonelessEnabled=h(ji);rootEffectScheduler=h(ec);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Q;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(En);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Y(t=>!t))}constructor(){h(Ft,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=h(oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=fe.NULL){return this._injector.get(pe).run(()=>{z(L.BootstrapComponentStart);let s=t instanceof Gc;if(!this._injector.get(pp).done){let g="";throw new E(405,g)}let c;s?c=t:c=this._injector.get(is).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=db(c)?void 0:this._injector.get(jr),u=r||c.selector,d=c.create(o,[],u,l),f=d.location.nativeElement,p=d.injector.get(up,null);return p?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),$i(this.components,d),p?.unregisterApplication(f)}),this._loadComponent(d),z(L.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){z(L.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Lc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw z(L.ChangeDetectionEnd),new E(101,!1);let t=w(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(t),this.afterTick.next(),z(L.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Lr,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<V_;){z(L.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{z(L.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&&!xi(o))continue;let i=r&&!this.zonelessEnabled?0:1;Ov(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})=>xi(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;$i(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(Xc,[]).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),()=>$i(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 $i(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function hp(){let e,n;return{promise:new Promise((r,o)=>{e=r,n=o}),resolve:e,reject:n}}function Qe(e,n,t,r){let o=I(),i=qn();if(Ke(o,i,n)){let s=X(),a=Pi();bT(a,o,e,n,t,r)}return Qe}function lc(e){if(jt("NgAnimateEnter"),!ns)return lc;let n=I();if(uv(n))return lc;let t=ue(),r=n[$e].get(pe);return pv(Vm(n),t,()=>z_(n,t,e,r)),vv(n[$e]),bv(n[$e],Vm(n)),lc}function z_(e,n,t,r){let o=nt(n,e),i=e[W],s=fv(t),a=[],c=!1,l=d=>{if(zi(d)!==o)return;let f=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,f,u)})},u=d=>{zi(d)===o&&(Vf(d,o)&&(c=!0),W_(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l))}),$S(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(mv(o,kr,ns),!kr.has(o))){for(let d of s)i.removeClass(o,d);Hf(o)}})})}}function W_(e,n,t){let r=_o.get(n);if(!(zi(e)!==n||!r)&&Vf(e,n)){e.stopPropagation();for(let o of r.classList)t.removeClass(n,o);Hf(n)}}function uc(e){if(jt("NgAnimateLeave"),!ns)return uc;let n=I();if(uv(n))return uc;let r=ue(),o=n[$e].get(pe);return pv(Pc(n),r,()=>G_(n,r,e,o)),vv(n[$e]),uc}function G_(e,n,t,r){let{promise:o,resolve:i}=hp(),s=nt(n,e),a=e[W];Zn.add(e[Jt]),(Pc(e).get(n.index).resolvers??=[]).push(i);let c=fv(t);return c&&c.length>0?q_(s,n,e,c,a,r):i(),{promise:o,resolve:i}}function q_(e,n,t,r,o,i){VS(e,o);let s=[],a=Pc(t).get(n.index)?.resolvers,c,l=!1,u=d=>{if(!(zi(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||Vf(d,e))){if(l=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),kr.delete(e),Hm(n,e),Array.isArray(n.projection))for(let p of r)o.removeClass(e,p);zm(a,s),Wm(t,n)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u))}),dv(n,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;mv(e,kr,ns);let d=kr.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(Hm(n,e),zm(a,s),Wm(t,n))})})}var mf=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 Fd(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function Y_(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){w(r);let l=n.length-1;for(w(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],f=Fd(s,u,s,d,t);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),g=n[l],y=Fd(a,p,l,g,t);if(y!==0){y<0&&e.updateValue(a,g),a--,l--;continue}let v=t(s,u),D=t(a,p),T=t(s,d);if(Object.is(T,D)){let j=t(l,g);Object.is(j,v)?(e.swap(s,a),e.updateValue(a,g),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Sc,i??=ay(e,s,a,t),yf(e,o,s,T))e.updateValue(s,d),s++,a++;else if(i.has(T))o.set(v,e.detach(s)),a--;else{let j=e.create(s,n[s]);e.attach(s,j),s++,a++}}for(;s<=l;)sy(e,o,t,s,n[s]),s++}else if(n!=null){w(r);let l=n[Symbol.iterator]();w(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),f=u.value,p=Fd(s,d,s,f,t);if(p!==0)p<0&&e.updateValue(s,f),s++,u=l.next();else{o??=new Sc,i??=ay(e,s,a,t);let g=t(s,f);if(yf(e,o,s,g))e.updateValue(s,f),s++,a++,u=l.next();else if(!i.has(g))e.attach(s,e.create(s,f)),s++,a++,u=l.next();else{let y=t(s,d);o.set(y,e.detach(s)),a--}}}for(;!u.done;)sy(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 yf(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function sy(e,n,t,r,o){if(yf(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ay(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 Sc=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 Z_(e,n,t,r,o,i,s,a){jt("NgControlFlow");let c=I(),l=X(),u=yt(l.consts,i);return Zi(c,l,e,n,t,r,o,u,256,s,a),gp}function gp(e,n,t,r,o,i,s,a){jt("NgControlFlow");let c=I(),l=X(),u=yt(l.consts,i);return Zi(c,l,e,n,t,r,o,u,512,s,a),gp}function K_(e,n){jt("NgControlFlow");let t=I(),r=qn(),o=t[r]!==Ae?t[r]:-1,i=o!==-1?Tc(t,J+o):void 0,s=0;if(Ke(t,r,e)){let a=w(null);try{if(i!==void 0&&Bv(i,s),e!==-1){let c=J+e,l=Tc(t,c),u=Ef(t[S],c),d=$v(l,u,t),f=rs(t,u,n,{dehydratedView:d});os(l,f,s,Mo(u,d))}}finally{w(a)}}else if(i!==void 0){let a=jv(i,s);a!==void 0&&(a[le]=n)}}var vf=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-se}};function Q_(e,n){return n}var bf=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function J_(e,n,t,r,o,i,s,a,c,l,u,d,f){jt("NgControlFlow");let p=I(),g=X(),y=c!==void 0,v=I(),D=a?s.bind(v[He][le]):s,T=new bf(y,D);v[J+e]=T,Zi(p,g,e+1,n,t,r,o,yt(g.consts,i),256),y&&Zi(p,g,e+2,c,l,u,d,yt(g.consts,f),512)}var Df=class extends mf{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-se}at(n){return this.getLView(n)[le].$implicit}attach(n,t){let r=t[wr];this.needsIndexUpdate||=n!==this.length,os(this.lContainer,t,n,Mo(this.templateTNode,r)),e0(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,t0(this.lContainer,n),n0(this.lContainer,n)}create(n,t){let r=vc(this.lContainer,this.templateTNode.tView.ssrId);return rs(this.hostLView,this.templateTNode,new vf(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Uc(n[S],n)}updateValue(n,t){this.getLView(n)[le].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[le].$index=n}getLView(n){return r0(this.lContainer,n)}};function X_(e){let n=w(null),t=vt();try{let r=I(),o=r[S],i=r[t],s=t+1,a=Tc(r,s);if(i.liveCollection===void 0){let l=Ef(o,s);i.liveCollection=new Df(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(Y_(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=qn(),u=c.length===0;if(Ke(r,l,u)){let d=t+2,f=Tc(r,d);if(u){let p=Ef(o,d),g=$v(f,p,r),y=rs(r,p,void 0,{dehydratedView:g});os(f,y,0,Mo(p,g))}else o.firstUpdatePass&&VT(f),Bv(f,0)}}}finally{w(n)}}function Tc(e,n){return e[n]}function e0(e,n){if(e.length<=se)return;let t=se+n,r=e[t],o=r?r[Xt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[$e];QS(i,o),Zn.delete(r[Jt]),o.detachedLeaveAnimationFns=void 0}}function t0(e,n){if(e.length<=se)return;let t=se+n,r=e[t],o=r?r[Xt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function n0(e,n){return qi(e,n)}function r0(e,n){return jv(e,n)}function Ef(e,n){return za(e,n)}function ae(e,n,t){let r=I(),o=qn();if(Ke(r,o,n)){let i=X(),s=Pi();Tv(s,r,e,n,r[W],t)}return ae}function Cf(e,n,t,r,o){Kf(n,e,t,o?"class":"style",r)}function Br(e,n,t,r){let o=I(),i=o[S],s=e+J,a=i.firstCreatePass?Xf(s,o,2,n,Zf,Ya(),t,r):i.data[s];if(bn(a)){let c=o[At].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Zv(l),()=>(cy(e,n,o,a,r),Br))}}return cy(e,n,o,a,r),Br}function cy(e,n,t,r,o){if(Vc(r,t,e,n,fb),vo(r)){let i=t[S];Hc(i,t,r),Nf(i,r,t)}o!=null&&Oo(t,r)}function Po(){let e=X(),n=ue(),t=zc(n);return e.firstCreatePass&&ep(e,t),md(t)&&yd(),hd(),t.classesWithoutHost!=null&&_w(t)&&Cf(e,t,I(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Mw(t)&&Cf(e,t,I(),t.stylesWithoutHost,!1),Po}function Sn(e,n,t,r){return Br(e,n,t,r),Po(),Sn}function Lo(e,n,t,r){let o=I(),i=o[S],s=e+J,a=i.firstCreatePass?Gv(s,i,2,n,t,r):i.data[s];return Vc(a,o,e,n,fb),r!=null&&Oo(o,a),Lo}function Fo(){let e=ue(),n=zc(e);return md(n)&&yd(),hd(),Fo}function as(e,n,t,r){return Lo(e,n,t,r),Fo(),as}var fb=(e,n,t,r,o)=>(Li(!0),Qy(n[W],r,vm()));function zr(e,n,t){let r=I(),o=r[S],i=e+J,s=o.firstCreatePass?Xf(i,r,8,"ng-container",Zf,Ya(),n,t):o.data[i];if(Vc(s,r,e,"ng-container",hb),vo(s)){let a=r[S];Hc(a,r,s),Nf(a,s,r)}return t!=null&&Oo(r,s),zr}function Jn(){let e=X(),n=ue(),t=zc(n);return e.firstCreatePass&&ep(e,t),Jn}function el(e,n,t){return zr(e,n,t),Jn(),el}function pb(e,n,t){let r=I(),o=r[S],i=e+J,s=o.firstCreatePass?Gv(i,o,8,"ng-container",n,t):o.data[i];return Vc(s,r,e,"ng-container",hb),t!=null&&Oo(r,s),pb}function o0(){let e=ue(),n=zc(e);return Jn}var hb=(e,n,t,r,o)=>(Li(!0),vS(n[W],""));function i0(){return I()}function tl(e,n,t){let r=I(),o=qn();if(Ke(r,o,n)){let i=X(),s=Pi();_v(s,r,e,n,r[W],t)}return tl}var cs="en-US";var s0=cs;function gb(e){typeof e=="string"&&(s0=e.toLowerCase().replace(/_/g,"-"))}function jo(e,n,t){let r=I(),o=X(),i=ue();return mb(o,r,r[W],i,e,n,t),jo}function mb(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=kd(r,n,i),r_(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??=kd(r,n,i),ey(r,n,f,p,o,c)}if(l&&l.length)for(let d of l)c??=kd(r,n,i),ey(r,n,d,o,o,c)}}function Dt(e=1){return ym(e)}function a0(e,n){let t=null,r=NS(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?iv(e,i,!0):xS(r,i))return o}return t}function sn(e){let n=I()[He][Ue];if(!n.projection){let t=e?e.length:1,r=n.projection=Vg(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?a0(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function an(e,n=0,t,r,o,i){let s=I(),a=X(),c=r?e+1:null;c!==null&&Zi(s,a,c,r,o,i,null,t);let l=$r(a,J+e,16,null,t||null);l.projection===null&&(l.projection=n),Dd();let d=!s[wr]||gd();s[He][Ue].projection[l.projection]===null&&c!==null?c0(s,a,c):d&&!Rc(l)&&cT(a,s,l)}function c0(e,n,t){let r=J+t,o=n.data[r],i=e[r],s=vc(i,o.tView.ssrId),a=rs(e,o,void 0,{dehydratedView:s});os(i,a,0,Mo(o,s))}function Bo(e,n,t,r){return tb(e,n,t,r),Bo}function yb(e,n,t){return eb(e,n,t),yb}function Xn(e){let n=I(),t=X(),r=Ka();ki(r+1);let o=op(t,r);if(e.dirty&&Xg(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=rb(n,r);e.reset(i,Ry),e.notifyOnChanges()}return!0}return!1}function er(){return rp(I(),Ka())}function mp(e,n,t,r,o){return ib(n,tb(e,t,r,o)),mp}function vb(e,n,t,r){return ib(e,eb(n,t,r)),vb}function bb(e=1){ki(Ka()+e)}function l0(e){let n=Ed();return cd(n,J+e)}function oc(e,n){return e<<17|n<<2}function Ur(e){return e>>17&32767}function u0(e){return(e&2)==2}function d0(e,n){return e&131071|n<<17}function If(e){return e|2}function Ao(e){return(e&131068)>>2}function jd(e,n){return e&-131069|n<<2}function f0(e){return(e&1)===1}function wf(e){return e|1}function p0(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Ur(s),c=Ao(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||go(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let f=Ur(e[a+1]);e[r+1]=oc(f,a),f!==0&&(e[f+1]=jd(e[f+1],r)),e[a+1]=d0(e[a+1],r)}else e[r+1]=oc(a,0),a!==0&&(e[a+1]=jd(e[a+1],r)),a=r;else e[r+1]=oc(c,0),a===0?a=r:e[c+1]=jd(e[c+1],r),c=r;l&&(e[r+1]=If(e[r+1])),ly(e,u,r,!0),ly(e,u,r,!1),h0(n,u,e,r,i),s=oc(a,c),i?n.classBindings=s:n.styleBindings=s}function h0(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&go(i,n)>=0&&(t[r+1]=wf(t[r+1]))}function ly(e,n,t,r){let o=e[t+1],i=n===null,s=r?Ur(o):Ao(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];g0(c,n)&&(a=!0,e[s+1]=r?wf(l):If(l)),s=r?Ur(l):Ao(l)}a&&(e[t+1]=r?If(o):wf(o))}function g0(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?go(e,n)>=0:!1}var ve={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Db(e){return e.substring(ve.key,ve.keyEnd)}function m0(e){return e.substring(ve.value,ve.valueEnd)}function y0(e){return Ib(e),Eb(e,Ro(e,0,ve.textEnd))}function Eb(e,n){let t=ve.textEnd;return t===n?-1:(n=ve.keyEnd=b0(e,ve.key=n,t),Ro(e,n,t))}function v0(e){return Ib(e),Cb(e,Ro(e,0,ve.textEnd))}function Cb(e,n){let t=ve.textEnd,r=ve.key=Ro(e,n,t);return t===r?-1:(r=ve.keyEnd=D0(e,r,t),r=uy(e,r,t,58),r=ve.value=Ro(e,r,t),r=ve.valueEnd=E0(e,r,t),uy(e,r,t,59))}function Ib(e){ve.key=0,ve.keyEnd=0,ve.value=0,ve.valueEnd=0,ve.textEnd=e.length}function Ro(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function b0(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function D0(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 uy(e,n,t,r){return n=Ro(e,n,t),n<t&&n++,n}function E0(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=dy(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=dy(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function dy(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 nl(e,n,t){return wb(e,n,t,!1),nl}function yp(e,n){return wb(e,n,null,!0),yp}function vp(e){Sb(Mb,C0,e,!1)}function C0(e,n){for(let t=v0(n);t>=0;t=Cb(n,t))Mb(e,Db(n),m0(n))}function ze(e){Sb(N0,I0,e,!0)}function I0(e,n){for(let t=y0(n);t>=0;t=Eb(n,t))Mi(e,Db(n),!0)}function wb(e,n,t,r){let o=I(),i=X(),s=Oi(2);if(i.firstUpdatePass&&_b(i,e,s,r),n!==Ae&&Ke(o,s,n)){let a=i.data[vt()];Nb(i,a,o,o[W],e,o[s+1]=R0(n,t),r,s)}}function Sb(e,n,t,r){let o=X(),i=Oi(2);o.firstUpdatePass&&_b(o,null,i,r);let s=I();if(t!==Ae&&Ke(s,i,t)){let a=o.data[vt()];if(Ab(a,r)&&!Tb(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=Pa(c,t||"")),Cf(o,a,s,t,r)}else A0(o,a,s,s[W],s[i+1],s[i+1]=M0(e,n,t),r,i)}}function Tb(e,n){return n>=e.expandoStartIndex}function _b(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[vt()],s=Tb(e,t);Ab(i,r)&&n===null&&!s&&(n=!1),n=w0(o,i,n,r),p0(o,i,n,t,s,r)}}function w0(e,n,t,r){let o=pm(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Bd(null,e,n,t,r),t=Ki(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Bd(o,e,n,t,r),i===null){let c=S0(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Bd(null,e,n,c[1],r),c=Ki(c,n.attrs,r),T0(e,n,r,c))}else i=_0(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function S0(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Ao(r)!==0)return e[Ur(r)]}function T0(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Ur(o)]=r}function _0(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ki(r,s,t)}return Ki(r,n.attrs,t)}function Bd(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=Ki(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Ki(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]),Mi(e,s,t?!0:n[++i]))}return e===void 0?null:e}function M0(e,n,t){if(t==null||t==="")return ke;let r=[],o=ot(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 Mb(e,n,t){Mi(e,n,ot(t))}function N0(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Mi(e,r,t)}function A0(e,n,t,r,o,i,s,a){o===Ae&&(o=ke);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,g=null,y;u===d?(c+=2,l+=2,f!==p&&(g=d,y=p)):d===null||u!==null&&u<d?(c+=2,g=u):(l+=2,g=d,y=p),g!==null&&Nb(e,n,t,r,g,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Nb(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=f0(l)?fy(c,n,t,o,Ao(l),s):void 0;if(!_c(u)){_c(i)||u0(l)&&(i=fy(c,null,t,o,a,s));let d=ad(vt(),t);uT(r,s,d,o,i)}}function fy(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===Ae&&(f=d?ke:void 0);let p=d?Ha(f,r):u===r?f:void 0;if(l&&!_c(p)&&(p=Ha(c,r)),_c(p)&&(a=p,s))return a;let g=e[o+1];o=s?Ur(g):Ao(g)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ha(c,r))}return a}function _c(e){return e!==void 0}function R0(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Si(ot(e)))),e}function Ab(e,n){return(e.flags&(n?8:16))!==0}function ls(e,n=""){let t=I(),r=X(),o=e+J,i=r.firstCreatePass?$r(r,o,1,n,null):r.data[o],s=x0(r,t,i,n);t[o]=s,Xa()&&qf(r,t,s,i),Rr(i,!1)}var x0=(e,n,t,r)=>(Li(!0),mS(n[W],r));function O0(e,n,t,r=""){return Ke(e,qn(),t)?n+Kt(t)+r:Ae}function k0(e,n,t,r,o,i=""){let s=Id(),a=No(e,s,t,o);return Oi(2),a?n+Kt(t)+r+Kt(o)+i:Ae}function P0(e,n,t,r,o,i,s,a=""){let c=Id(),l=np(e,c,t,o,s);return Oi(3),l?n+Kt(t)+r+Kt(o)+i+Kt(s)+a:Ae}function Uo(e){return bp("",e),Uo}function bp(e,n,t){let r=I(),o=O0(r,e,n,t);return o!==Ae&&Dp(r,vt(),o),bp}function Rb(e,n,t,r,o){let i=I(),s=k0(i,e,n,t,r,o);return s!==Ae&&Dp(i,vt(),s),Rb}function xb(e,n,t,r,o,i,s){let a=I(),c=P0(a,e,n,t,r,o,i,s);return c!==Ae&&Dp(a,vt(),c),xb}function Dp(e,n,t){let r=ad(n,e);yS(e[W],r,t)}function Ob(e,n,t){lp(n)&&(n=n());let r=I(),o=qn();if(Ke(r,o,n)){let i=X(),s=Pi();Tv(s,r,e,n,r[W],t)}return Ob}function L0(e,n){let t=lp(e);return t&&e.set(n),t}function kb(e,n){let t=I(),r=X(),o=ue();return mb(r,t,t[W],o,e,n),kb}var Pb={};function Lb(e){jt("NgLet");let n=X(),t=I(),r=e+J,o=$r(n,r,128,null,null);return Rr(o,!1),Wa(n,t,r,Pb),Lb}function F0(e){let n=X(),t=I(),r=vt();return Wa(n,t,r,e),e}function j0(e){let n=Ed(),t=cd(n,J+e);if(t===Pb)throw new E(314,!1);return t}function py(e,n,t){let r=X();r.firstCreatePass&&Fb(n,r.data,r.blueprint,xt(e),t)}function Fb(e,n,t,r,o){if(e=he(e),Array.isArray(e))for(let i=0;i<e.length;i++)Fb(e[i],n,t,r,o);else{let i=X(),s=I(),a=ue(),c=Er(e)?e:he(e.provide),l=td(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Er(e)||!e.multi){let p=new Pr(l,o,B,null),g=$d(c,n,o?u:u+f,d);g===-1?(Vd(hc(a,s),i,c),Ud(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{let p=$d(c,n,u+f,d),g=$d(c,n,u,u+f),y=p>=0&&t[p],v=g>=0&&t[g];if(o&&!v||!o&&!y){Vd(hc(a,s),i,c);let D=$0(o?U0:B0,t.length,o,r,l,e);!o&&v&&(t[g].providerFactory=D),Ud(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=jb(t[o?g:p],l,!o&&r);Ud(i,e,p>-1?p:g,D)}!o&&r&&v&&t[g].componentProviders++}}}function Ud(e,n,t,r){let o=Er(n),i=Zg(n);if(o||i){let c=(i?he(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 jb(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function $d(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function B0(e,n,t,r,o){return Sf(this.multi,[])}function U0(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Hi(r,r[S],this.providerFactory.index,o);s=c.slice(0,a),Sf(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Sf(i,s);return s}function Sf(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function $0(e,n,t,r,o,i){let s=new Pr(e,t,B,null);return s.multi=[],s.index=n,s.componentProviders=0,jb(s,o,r&&!t),s}function it(e,n){return t=>{t.providersResolver=(r,o)=>py(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>py(r,o?o(n):n,!0))}}function H0(e,n){let t=Dn()+e,r=I();return r[t]===Ae?Qn(r,t,n()):Yc(r,t)}function V0(e,n,t){return Z0(I(),Dn(),e,n,t)}function rl(e,n,t,r){return K0(I(),Dn(),e,n,t,r)}function z0(e,n,t,r,o){return Q0(I(),Dn(),e,n,t,r,o)}function W0(e,n,t,r,o,i,s){return J0(I(),Dn(),e,n,t,r,o,i)}function G0(e,n,t,r,o,i,s){let a=Dn()+e,c=I(),l=Zc(c,a,t,r,o,i);return Ke(c,a+4,s)||l?Qn(c,a+5,n(t,r,o,i,s)):Yc(c,a+5)}function q0(e,n,t,r,o,i,s,a){let c=Dn()+e,l=I(),u=Zc(l,c,t,r,o,i);return No(l,c+4,s,a)||u?Qn(l,c+6,n(t,r,o,i,s,a)):Yc(l,c+6)}function Y0(e,n,t,r,o,i,s,a,c){let l=Dn()+e,u=I(),d=Zc(u,l,t,r,o,i);return np(u,l+4,s,a,c)||d?Qn(u,l+7,n(t,r,o,i,s,a,c)):Yc(u,l+7)}function ol(e,n){let t=e[n];return t===Ae?void 0:t}function Z0(e,n,t,r,o,i){let s=n+t;return Ke(e,s,o)?Qn(e,s+1,i?r.call(i,o):r(o)):ol(e,s+1)}function K0(e,n,t,r,o,i,s){let a=n+t;return No(e,a,o,i)?Qn(e,a+2,s?r.call(s,o,i):r(o,i)):ol(e,a+2)}function Q0(e,n,t,r,o,i,s,a){let c=n+t;return np(e,c,o,i,s)?Qn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):ol(e,c+3)}function J0(e,n,t,r,o,i,s,a,c){let l=n+t;return Zc(e,l,o,i,s,a)?Qn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ol(e,l+4)}function X0(e,n){return Wc(e,n)}var Mc=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Ep=(()=>{class e{compileModuleSync(t){return new wc(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=qu(t),i=rv(o.declarations).reduce((s,a)=>{let c=yn(a);return c&&s.push(new Fr(c)),s},[]);return new Mc(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 Bb=(()=>{class e{applicationErrorHandler=h(rt);appRef=h(Vr);taskService=h(En);ngZone=h(pe);zonelessEnabled=h(ji);tracing=h(Ft,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Te;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ii):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(Ad,{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?Cm:_d;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(Ii+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 Ub(){return[{provide:Yt,useExisting:Bb},{provide:pe,useClass:wi},{provide:ji,useValue:!0}]}function eM(){return typeof $localize<"u"&&$localize.locale||cs}var il=new C("",{factory:()=>h(il,{optional:!0,skipSelf:!0})||eM()});var us=class{destroyed=!1;listeners=null;errorHandler=h(ft,{optional:!0});destroyRef=h(ye);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(Zt(953,!1));return}if(this.listeners===null)return;let t=w(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{w(t)}}};function te(e){return Rg(e)}function Ce(e,n){return pi(e,n?.equal)}var tM=e=>e;function Cp(e,n){if(typeof e=="function"){let t=_u(e,tM,n?.equal);return $b(t,n?.debugName)}else{let t=_u(e.source,e.computation,e.equal);return $b(t,e.debugName)}}function $b(e,n){let t=e[ie],r=e;return r.set=o=>Ng(t,o),r.update=o=>Ag(t,o),r.asReadonly=Fi.bind(e),r}var ll=Symbol("InputSignalNode#UNSET"),Qb=P(m({},hi),{transformFn:void 0,applyValueToInputSignal(e,n){Bn(e,n)}});function Jb(e,n){let t=Object.create(Qb);t.value=e,t.transformFn=n?.transform;function r(){if(dn(t),t.value===ll){let o=null;throw new E(-950,o)}return t.value}return r[ie]=t,r}var al=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Ji(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function nV(e){return new us}function Hb(e,n){return Jb(e,n)}function yM(e){return Jb(ll,e)}var Ie=(Hb.required=yM,Hb);function Vb(e,n){return sp(n)}function vM(e,n){return ap(n)}var rV=(Vb.required=vM,Vb);function zb(e,n){return sp(n)}function bM(e,n){return ap(n)}var DM=(zb.required=bM,zb);function oV(e,n){return ob(n)}function Xb(e,n){let t=Object.create(Qb),r=new us;t.value=e;function o(){return dn(t),Wb(t.value),t.value}return o[ie]=t,o.asReadonly=Fi.bind(o),o.set=i=>{t.equal(t.value,i)||(Bn(t,i),r.emit(i))},o.update=i=>{Wb(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Wb(e){if(e===ll)throw new E(952,!1)}function Gb(e,n){return Xb(e,n)}function EM(e){return Xb(ll,e)}var iV=(Gb.required=EM,Gb);var wp=new C(""),CM=new C("");function ds(e){return!e.moduleRef}function IM(e){let n=ds(e)?e.r3Injector:e.moduleRef.injector,t=n.get(pe);return t.run(()=>{ds(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(rt),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ds(e)){let i=()=>n.destroy(),s=e.platformInjector.get(wp);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(wp);s.add(i),e.moduleRef.onDestroy(()=>{$i(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return SM(r,t,()=>{let i=n.get(En),s=i.add(),a=n.get(pp);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(il,cs);if(gb(c||cs),!n.get(CM,!0))return ds(e)?n.get(Vr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ds(e)){let u=n.get(Vr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return wM?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var wM;function SM(e,n,t){try{let r=t();return ko(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var sl=null;function TM(e=[],n){return fe.create({name:n,providers:[{provide:Ni,useValue:"platform"},{provide:wp,useValue:new Set([()=>sl=null])},...e]})}function _M(e=[]){if(sl)return sl;let n=TM(e);return sl=n,ub(),MM(n),n}function MM(e){let n=e.get(Ac,null);De(e,()=>{n?.forEach(t=>t())})}var NM=1e4;var sV=NM-1e3;var Wr=(()=>{class e{static __NG_ELEMENT_ID__=AM}return e})();function AM(e){return RM(ue(),I(),(e&16)===16)}function RM(e,n,t){if(bn(e)&&!t){let r=mt(e.index,n);return new Kn(r,r)}else if(e.type&175){let r=n[He];return new Kn(r,n)}return null}var Sp=class{supports(n){return tp(n)}create(n){return new Tp(n)}},xM=(e,n)=>n,Tp=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||xM}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<qb(r,o,i)?t:r,a=qb(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,g=p+f;u<=g&&g<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=[]),!tp(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,qv(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 _p(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 cl),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 cl),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}},_p=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}},Mp=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}},cl=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Mp,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 qb(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 Np=class{supports(n){return n instanceof Map||qc(n)}create(){return new Ap}},Ap=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||qc(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 Rp(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))}},Rp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Yb(){return new Op([new Sp])}var Op=(()=>{class e{factories;static \u0275prov=b({token:e,providedIn:"root",factory:Yb});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=h(e,{optional:!0,skipSelf:!0});return e.create(t,r||Yb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new E(901,!1)}}return e})();function Zb(){return new kp([new Np])}var kp=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:Zb});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=h(e,{optional:!0,skipSelf:!0});return e.create(t,r||Zb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new E(901,!1)}}return e})();function eD(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;z(L.BootstrapApplicationStart);try{let i=o?.injector??_M(r),s=[Ub(),wm,...t||[]],a=new Yi({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return IM({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{z(L.BootstrapApplicationEnd)}}function be(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function tD(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Ip=Symbol("NOT_SET"),nD=new Set,OM=P(m({},hi),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Ip,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!==Ip&&!ro(this))return this.signal;try{for(let o of this.cleanup??nD)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=fn(this),r;try{r=this.userFn.apply(null,n)}finally{Fn(this,t)}return(this.value===Ip||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),xp=class extends Wi{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(ye),s),this.scheduler=o;for(let a of zf){let c=t[a];if(c===void 0)continue;let l=Object.create(OM);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(dn(l),l.value),l.signal[ie]=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??nD)t()}finally{jn(n)}}};function aV(e,n){let t=n?.injector??h(fe),r=t.get(Yt),o=t.get(Fc),i=t.get(Ft,null,{optional:!0});o.impl??=t.get(Wf);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Eo,null,{optional:!0}),c=new xp(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function rD(e){let n=yn(e);if(!n)return null;let t=new Fr(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 oD=null;function Tn(){return oD}function Pp(e){oD??=e}var fs=class{},$o=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>h(iD),providedIn:"platform"})}return e})();var iD=(()=>{class e extends $o{_location;_history;_doc=h(V);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Tn().getBaseHref(this._doc)}onPopState(t){let r=Tn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Tn().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 cD(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function sD(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function tr(e){return e&&e[0]!=="?"?`?${e}`:e}var Ho=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>h(PM),providedIn:"root"})}return e})(),kM=new C(""),PM=(()=>{class e extends Ho{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(V).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 cD(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+tr(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+tr(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+tr(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)(_($o),_(kM,8))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vo=(()=>{class e{_subject=new Q;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=jM(sD(aD(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+tr(r))}normalize(t){return e.stripTrailingSlash(FM(this._basePath,aD(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+tr(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+tr(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=tr;static joinWithSlash=cD;static stripTrailingSlash=sD;static \u0275fac=function(r){return new(r||e)(_(Ho))};static \u0275prov=b({token:e,factory:()=>LM(),providedIn:"root"})}return e})();function LM(){return new Vo(_(Ho))}function FM(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function aD(e){return e.replace(/\/index.html$/,"")}function jM(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Lp=/\s+/,lD=[],BM=(()=>{class e{_ngEl;_renderer;initialClasses=lD;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Lp):lD}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Lp):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(Lp).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)(B(Ne),B(Bt))};static \u0275dir=ee({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ul=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}},fD=(()=>{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 ul(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),uD(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);uD(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(B(on),B(tn),B(Op))};static \u0275dir=ee({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function uD(e,n){e.context.$implicit=n.item}var Fp=(()=>{class e{_viewContainer;_context=new dl;_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){dD(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){dD(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)(B(on),B(tn))};static \u0275dir=ee({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),dl=class{$implicit=null;ngIf=null};function dD(e,n){if(e&&!e.createEmbeddedView)throw new E(2020,!1)}var jp=(()=>{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:Pt.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)(B(Ne),B(kp),B(Bt))};static \u0275dir=ee({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Bp=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=h(fe);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)(B(on))};static \u0275dir=ee({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[nn]})}return e})();var Ut=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ee({type:e});static \u0275inj=me({})}return e})();function ps(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 Gr=class{};var Up="browser",UM="server";function hs(e){return e===Up}function $p(e){return e===UM}var gs=class{_doc;constructor(n){this._doc=n}manager},fl=(()=>{class e extends gs{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)(_(V))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),gl=new C(""),Wp=(()=>{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 fl));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof fl);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)(_(gl),_(pe))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Hp="ng-app-id";function hD(e){for(let n of e)n.remove()}function gD(e,n){let t=n.createElement("style");return t.textContent=e,t}function $M(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Hp}="${n}"],link[${Hp}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Hp),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 zp(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Gp=(()=>{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,$M(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,gD);r?.forEach(o=>this.addUsage(o,this.external,zp))}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&&(hD(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])hD(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,gD(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,zp(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)(_(V),_(Nc),_(Xi,8),_(Lt))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Vp={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"},qp=/%COMP%/g;var yD="%COMP%",HM=`_nghost-${yD}`,VM=`_ngcontent-${yD}`,zM=!0,WM=new C("",{factory:()=>zM});function GM(e){return VM.replace(qp,e)}function qM(e){return HM.replace(qp,e)}function vD(e,n){return n.map(t=>t.replace(qp,e))}var Yp=(()=>{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 ms(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof hl?o.applyToHost(t):o instanceof ys&&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 kt.Emulated:i=new hl(c,l,r,this.appId,u,s,a,d);break;case kt.ShadowDom:return new pl(c,t,r,s,a,this.nonce,d,l);case kt.ExperimentalIsolatedShadowDom:return new pl(c,t,r,s,a,this.nonce,d);default:i=new ys(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)(_(Wp),_(Gp),_(Nc),_(WM),_(V),_(pe),_(Xi),_(Ft,8))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),ms=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(Vp[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(mD(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(mD(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=Vp[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Vp[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&(Pt.DashCase|Pt.Important)?n.style.setProperty(t,r,o&Pt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Pt.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=Tn().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 mD(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var pl=class extends ms{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=vD(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=zp(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)}},ys=class extends ms{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?vD(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Zn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},hl=class extends ys{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=GM(l),this.hostAttr=qM(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 ml=class e extends fs{supportsDOMEvents=!0;static makeCurrent(){Pp(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=YM();return t==null?null:ZM(t)}resetBaseElement(){vs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ps(document.cookie,n)}},vs=null;function YM(){return vs=vs||document.head.querySelector("base"),vs?vs.getAttribute("href"):null}function ZM(e){return new URL(e,document.baseURI).pathname}var KM=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),bD=["alt","control","meta","shift"],QM={"\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"},JM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},DD=(()=>{class e extends gs{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(()=>Tn().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."),bD.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=QM[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"),bD.forEach(s=>{if(s!==o){let a=JM[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)(_(V))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();async function XM(e,n,t){let r=m({rootComponent:e},eN(n,t));return eD(r)}function eN(e,n){return{platformRef:n?.platformRef,appProviders:[...iN,...e?.providers??[]],platformProviders:oN}}function tN(){ml.makeCurrent()}function nN(){return new ft}function rN(){return Mf(document),document}var oN=[{provide:Lt,useValue:Up},{provide:Ac,useValue:tN,multi:!0},{provide:V,useFactory:rN}];var iN=[{provide:Ni,useValue:"root"},{provide:ft,useFactory:nN},{provide:gl,useClass:fl,multi:!0},{provide:gl,useClass:DD,multi:!0},Yp,Gp,Wp,{provide:Lr,useExisting:Yp},{provide:Gr,useClass:KM},[]];var ln=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 bl=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()}},Dl=class{encodeKey(n){return ED(n)}encodeValue(n){return ED(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function sN(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 aN=/%(\d[a-f0-9])/gi,cN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ED(e){return encodeURIComponent(e).replace(aN,(n,t)=>cN[t]??n)}function yl(e){return`${e}`}var _n=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Dl,n.fromString){if(n.fromObject)throw new E(2805,!1);this.map=sN(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(yl):[yl(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(yl(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(yl(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 lN(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function CD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function ID(e){return typeof Blob<"u"&&e instanceof Blob}function wD(e){return typeof FormData<"u"&&e instanceof FormData}function uN(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var bs="Content-Type",El="Accept",SD="text/plain",TD="application/json",_D=`${TD}, ${SD}, */*`,zo=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(lN(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 ln,this.context??=new bl,!this.params)this.params=new _n,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"||CD(this.body)||ID(this.body)||wD(this.body)||uN(this.body)?this.body:this.body instanceof _n?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||wD(this.body)?null:ID(this.body)?this.body.type||null:CD(this.body)?null:typeof this.body=="string"?SD:this.body instanceof _n?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?TD: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,g=n.transferCache??this.transferCache,y=n.timeout??this.timeout,v=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,T=n.reportProgress??this.reportProgress,j=n.headers||this.headers,q=n.params||this.params,Je=n.context??this.context;return n.setHeaders!==void 0&&(j=Object.keys(n.setHeaders).reduce((Xe,Ge)=>Xe.set(Ge,n.setHeaders[Ge]),j)),n.setParams&&(q=Object.keys(n.setParams).reduce((Xe,Ge)=>Xe.set(Ge,n.setParams[Ge]),q)),new e(t,r,v,{params:q,headers:j,context:Je,reportProgress:T,responseType:o,withCredentials:D,transferCache:g,keepalive:i,cache:a,priority:s,timeout:y,mode:c,redirect:l,credentials:u,referrer:d,integrity:f,referrerPolicy:p})}},Mn=(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})(Mn||{}),Wo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new ln,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}},Ds=class e extends Wo{constructor(n={}){super(n)}type=Mn.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})}},Go=class e extends Wo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Mn.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})}},cn=class extends Wo{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}},MD=200,dN=204;var fN=/^\)\]\}',?\n/,ND=new C(""),vl=(()=>{class e{fetchImpl=h(Kp,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=h(pe);destroyRef=h(ye);handle(t){return new k(r=>{let o=new AbortController;this.doRequest(t,o.signal,r).then(Qp,s=>r.error(new cn({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 y=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,m({signal:r},i)));pN(y),o.next({type:Mn.Sent}),s=await y}catch(y){o.error(new cn({error:y,status:y.status??0,statusText:y.statusText,url:t.urlWithParams,headers:y.headers}));return}let a=new ln(s.headers),c=s.statusText,l=s.url||t.urlWithParams,u=s.status,d=null;if(t.reportProgress&&o.next(new Ds({headers:a,status:u,statusText:c,url:l})),s.body){let y=s.headers.get("content-length"),v=[],D=s.body.getReader(),T=0,j,q,Je=typeof Zone<"u"&&Zone.current,Xe=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await D.cancel(),Xe=!0;break}let{done:wt,value:Pn}=await D.read();if(wt)break;if(v.push(Pn),T+=Pn.length,t.reportProgress){q=t.responseType==="text"?(q??"")+(j??=new TextDecoder).decode(Pn,{stream:!0}):void 0;let lr=()=>o.next({type:Mn.DownloadProgress,total:y?+y:void 0,loaded:T,partialText:q});Je?Je.run(lr):lr()}}}),Xe){o.complete();return}let Ge=this.concatChunks(v,T);try{let wt=s.headers.get(bs)??"";d=this.parseBody(t,Ge,wt,u)}catch(wt){o.error(new cn({error:wt,headers:new ln(s.headers),status:s.status,statusText:s.statusText,url:s.url||t.urlWithParams}));return}}u===0&&(u=d?MD:0);let f=u>=200&&u<300,p=s.redirected,g=s.type;f?(o.next(new Go({body:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:g})),o.complete()):o.error(new cn({error:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:g}))}parseBody(t,r,o,i){switch(t.responseType){case"json":let s=new TextDecoder().decode(r).replace(fN,"");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(El)||(r[El]=_D),!t.headers.has(bs)){let i=t.detectContentTypeHeader();i!==null&&(r[bs]=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})(),Kp=class{};function Qp(){}function pN(e){e.then(Qp,Qp)}var hN=/^\)\]\}',?\n/;var Jp=(()=>{class e{xhrFactory;tracingService=h(Ft,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return x(null).pipe(Ze(()=>new k(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(El)||s.setRequestHeader(El,_D),!t.headers.has(bs)){let v=t.detectContentTypeHeader();v!==null&&s.setRequestHeader(bs,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 ln(s.getAllResponseHeaders()),T=s.responseURL||t.url;return c=new Ds({headers:D,status:s.status,statusText:v,url:T}),c},u=this.maybePropagateTrace(()=>{let{headers:v,status:D,statusText:T,url:j}=l(),q=null;D!==dN&&(q=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=q?MD:0);let Je=D>=200&&D<300;if(t.responseType==="json"&&typeof q=="string"){let Xe=q;q=q.replace(hN,"");try{q=q!==""?JSON.parse(q):null}catch(Ge){q=Xe,Je&&(Je=!1,q={error:Ge,text:q})}}Je?(i.next(new Go({body:q,headers:v,status:D,statusText:T,url:j||void 0})),i.complete()):i.error(new cn({error:q,headers:v,status:D,statusText:T,url:j||void 0}))}),d=this.maybePropagateTrace(v=>{let{url:D}=l(),T=new cn({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(T)}),f=d;t.timeout&&(f=this.maybePropagateTrace(v=>{let{url:D}=l(),T=new cn({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(T)}));let p=!1,g=this.maybePropagateTrace(v=>{p||(i.next(l()),p=!0);let D={type:Mn.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(D.total=v.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),y=this.maybePropagateTrace(v=>{let D={type:Mn.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",g),a!==null&&s.upload&&s.upload.addEventListener("progress",y)),s.send(a),i.next({type:Mn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",f),t.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",y)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(_(Gr))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gN(e,n){return n(e)}function mN(e,n,t){return(r,o)=>De(t,()=>n(r,i=>e(i,o)))}var AD=new C("",{factory:()=>[]}),RD=new C(""),xD=new C("",{factory:()=>!0});var Il=(()=>{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=_(Jp),o},providedIn:"root"})}return e})();var Cl=(()=>{class e{backend;injector;chain=null;pendingTasks=h(Co);contributeToStability=h(xD);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(AD),...this.injector.get(RD,[])]));this.chain=r.reduceRight((o,i)=>mN(o,i,this.injector),gN)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(vi(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(_(Il),_(oe))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xp=(()=>{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=_(Cl),o},providedIn:"root"})}return e})();function Zp(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 OD=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof zo)i=t;else{let c;o.headers instanceof ln?c=o.headers:c=new ln(o.headers);let l;o.params&&(o.params instanceof _n?l=o.params:l=new _n({fromObject:o.params})),i=new zo(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=x(i).pipe(mr(c=>this.handler.handle(c)));if(t instanceof zo||o.observe==="events")return s;let a=s.pipe(Ye(c=>c instanceof Go));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Y(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(Y(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(Y(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));default:return a.pipe(Y(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 _n().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,Zp(o,r))}post(t,r,o={}){return this.request("POST",t,Zp(o,r))}put(t,r,o={}){return this.request("PUT",t,Zp(o,r))}static \u0275fac=function(r){return new(r||e)(_(Xp))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yN=new C("",{factory:()=>!0}),vN="XSRF-TOKEN",bN=new C("",{factory:()=>vN}),DN="X-XSRF-TOKEN",EN=new C("",{factory:()=>DN}),CN=(()=>{class e{cookieName=h(bN);doc=h(V);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ps(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})(),kD=(()=>{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=_(CN),o},providedIn:"root"})}return e})();function IN(e,n){if(!h(yN)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=h($o).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=h(kD).getToken(),r=h(EN);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var eh=(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})(eh||{});function wN(e,n){return{\u0275kind:e,\u0275providers:n}}function SN(...e){let n=[OD,Cl,{provide:Xp,useExisting:Cl},{provide:Il,useFactory:()=>h(ND,{optional:!0})??h(Jp)},{provide:AD,useValue:IN,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return pt(n)}function TN(){return wN(eh.Fetch,[vl,{provide:ND,useExisting:vl},{provide:Il,useExisting:vl}])}var PD=(()=>{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)(_(V))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _N=(()=>{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=_(MN),o},providedIn:"root"})}return e})(),MN=(()=>{class e extends _N{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case bt.NONE:return r;case bt.HTML:return rn(r,"HTML")?ot(r):Oc(this._doc,String(r)).toString();case bt.STYLE:return rn(r,"Style")?ot(r):r;case bt.SCRIPT:if(rn(r,"Script"))return ot(r);throw new E(5200,!1);case bt.URL:return rn(r,"URL")?ot(r):es(String(r));case bt.RESOURCE_URL:if(rn(r,"ResourceURL"))return ot(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(t){return Af(t)}bypassSecurityTrustStyle(t){return Rf(t)}bypassSecurityTrustScript(t){return xf(t)}bypassSecurityTrustUrl(t){return Of(t)}bypassSecurityTrustResourceUrl(t){return kf(t)}static \u0275fac=function(r){return new(r||e)(_(V))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var A="primary",Ps=Symbol("RouteTitle"),ih=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function Yr(e){return new ih(e)}function th(e,n,t){for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(o[0]===":")t[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function HD(e,n,t){let r=t.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let c={},l=e.slice(0,r.length);return th(r,l,c)?{consumed:l,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||t.pathMatch==="full"&&n.hasChildren()&&t.path!=="**")return null;let a={};return!th(i,e.slice(0,i.length),a)||!th(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function Nl(e){return new Promise((n,t)=>{e.pipe(gn()).subscribe({next:r=>n(r),error:r=>t(r)})})}function AN(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!un(e[t],n[t]))return!1;return!0}function un(e,n){let t=e?sh(e):void 0,r=n?sh(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!VD(e[o],n[o]))return!1;return!0}function sh(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function VD(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function RN(e){return e.length>0?e[e.length-1]:null}function Qr(e){return Ea(e)?e:ko(e)?ce(Promise.resolve(e)):x(e)}function zD(e){return Ea(e)?Nl(e):Promise.resolve(e)}var xN={exact:GD,subset:qD},WD={exact:ON,subset:kN,ignored:()=>!0},Dh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ts={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Eh(e,n,t){let r=e instanceof We?e:n.parseUrl(e);return Ce(()=>ah(n.lastSuccessfulNavigation()?.finalUrl??new We,r,m(m({},Ts),t)))}function ah(e,n,t){return xN[t.paths](e.root,n.root,t.matrixParams)&&WD[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function ON(e,n){return un(e,n)}function GD(e,n,t){if(!qr(e.segments,n.segments)||!Tl(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!GD(e.children[r],n.children[r],t))return!1;return!0}function kN(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>VD(e[t],n[t]))}function qD(e,n,t){return YD(e,n,n.segments,t)}function YD(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!qr(o,t)||n.hasChildren()||!Tl(o,t,r))}else if(e.segments.length===t.length){if(!qr(e.segments,t)||!Tl(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!qD(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!qr(e.segments,o)||!Tl(e.segments,o,r)||!e.children[A]?!1:YD(e.children[A],n,i,r)}}function Tl(e,n,t){return n.every((r,o)=>WD[t](e[o].parameters,r.parameters))}var We=class{root;queryParams;fragment;_queryParamMap;constructor(n=new U([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Yr(this.queryParams),this._queryParamMap}toString(){return FN.serialize(this)}},U=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return _l(this)}},nr=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=Yr(this.parameters),this._parameterMap}toString(){return KD(this)}};function PN(e,n){return qr(e,n)&&e.every((t,r)=>un(t.parameters,n[r].parameters))}function qr(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function LN(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===A&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==A&&(t=t.concat(n(o,r)))}),t}var ti=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>new rr,providedIn:"root"})}return e})(),rr=class{parse(n){let t=new lh(n);return new We(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Es(n.root,!0)}`,r=UN(n.queryParams),o=typeof n.fragment=="string"?`#${jN(n.fragment)}`:"";return`${t}${r}${o}`}},FN=new rr;function _l(e){return e.segments.map(n=>KD(n)).join("/")}function Es(e,n){if(!e.hasChildren())return _l(e);if(n){let t=e.children[A]?Es(e.children[A],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==A&&r.push(`${o}:${Es(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=LN(e,(r,o)=>o===A?[Es(e.children[A],!1)]:[`${o}:${Es(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[A]!=null?`${_l(e)}/${t[0]}`:`${_l(e)}/(${t.join("//")})`}}function ZD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wl(e){return ZD(e).replace(/%3B/gi,";")}function jN(e){return encodeURI(e)}function ch(e){return ZD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ml(e){return decodeURIComponent(e)}function LD(e){return Ml(e.replace(/\+/g,"%20"))}function KD(e){return`${ch(e.path)}${BN(e.parameters)}`}function BN(e){return Object.entries(e).map(([n,t])=>`;${ch(n)}=${ch(t)}`).join("")}function UN(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${wl(t)}=${wl(o)}`).join("&"):`${wl(t)}=${wl(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var $N=/^[^\/()?;#]+/;function nh(e){let n=e.match($N);return n?n[0]:""}var HN=/^[^\/()?;=#]+/;function VN(e){let n=e.match(HN);return n?n[0]:""}var zN=/^[^=?&#]+/;function WN(e){let n=e.match(zN);return n?n[0]:""}var GN=/^[^&#]+/;function qN(e){let n=e.match(GN);return n?n[0]:""}var lh=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new E(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(t.length>0||Object.keys(r).length>0)&&(o[A]=new U(t,r)),o}parseSegment(){let n=nh(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new nr(Ml(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=VN(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=nh(this.remaining);o&&(r=o,this.capture(r))}n[Ml(t)]=Ml(r)}parseQueryParam(n){let t=WN(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=qN(this.remaining);s&&(r=s,this.capture(r))}let o=LD(t),i=LD(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n,t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=nh(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=A);let a=this.parseChildren(t+1);r[s??A]=Object.keys(a).length===1&&a[A]?a[A]:new U([],a),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function QD(e){return e.segments.length>0?new U([],{[A]:e}):e}function JD(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=JD(o);if(r===A&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new U(e.segments,n);return YN(t)}function YN(e){if(e.numberOfChildren===1&&e.children[A]){let n=e.children[A];return new U(e.segments.concat(n.segments),n.children)}return e}function or(e){return e instanceof We}function XD(e,n,t=null,r=null,o=new rr){let i=eE(e);return tE(i,n,t,r,o)}function eE(e){let n;function t(i){let s={};for(let c of i.children){let l=t(c);s[c.outlet]=l}let a=new U(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=QD(r);return n??o}function tE(e,n,t,r,o){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return rh(i,i,i,t,r,o);let s=ZN(n);if(s.toRoot())return rh(i,i,new U([],{}),t,r,o);let a=KN(s,i,e),c=a.processChildren?Is(a.segmentGroup,a.index,s.commands):rE(a.segmentGroup,a.index,s.commands);return rh(i,a.segmentGroup,c,t,r,o)}function Al(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function _s(e){return typeof e=="object"&&e!=null&&e.outlets}function FD(e,n,t){e||="\u0275";let r=new We;return r.queryParams={[e]:n},t.parse(t.serialize(r)).queryParams[e]}function rh(e,n,t,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>FD(l,d,i)):FD(l,u,i);let a;e===n?a=t:a=nE(e,n,t);let c=QD(JD(a));return new We(c,s,o)}function nE(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=nE(i,n,t)}),new U(e.segments,r)}var Rl=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Al(r[0]))throw new E(4003,!1);let o=r.find(_s);if(o&&o!==RN(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function ZN(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Rl(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Rl(t,n,r)}var Yo=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function KN(e,n,t){if(e.isAbsolute)return new Yo(n,!0,0);if(!t)return new Yo(n,!1,NaN);if(t.parent===null)return new Yo(t,!0,0);let r=Al(e.commands[0])?0:1,o=t.segments.length-1+r;return QN(t,o,e.numberOfDoubleDots)}function QN(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new E(4005,!1);o=r.segments.length}return new Yo(r,!1,o-i)}function JN(e){return _s(e[0])?e[0].outlets:{[A]:e}}function rE(e,n,t){if(e??=new U([],{}),e.segments.length===0&&e.hasChildren())return Is(e,n,t);let r=XN(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new U(e.segments.slice(0,r.pathIndex),{});return i.children[A]=new U(e.segments.slice(r.pathIndex),e.children),Is(i,0,o)}else return r.match&&o.length===0?new U(e.segments,{}):r.match&&!e.hasChildren()?uh(e,n,t):r.match?Is(e,0,o):uh(e,n,t)}function Is(e,n,t){if(t.length===0)return new U(e.segments,{});{let r=JN(t),o={};if(Object.keys(r).some(i=>i!==A)&&e.children[A]&&e.numberOfChildren===1&&e.children[A].segments.length===0){let i=Is(e.children[A],n,t);return new U(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=rE(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new U(e.segments,o)}}function XN(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(_s(a))break;let c=`${a}`,l=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!BD(c,l,s))return i;r+=2}else{if(!BD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function uh(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(_s(i)){let c=eA(i.outlets);return new U(r,c)}if(o===0&&Al(t[0])){let c=e.segments[n];r.push(new nr(c.path,jD(t[0]))),o++;continue}let s=_s(i)?i.outlets[A]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&Al(a)?(r.push(new nr(s,jD(a))),o+=2):(r.push(new nr(s,{})),o++)}return new U(r,{})}function eA(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=uh(new U([],{}),0,r))}),n}function jD(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function BD(e,n,t){return e==t.path&&un(n,t.parameters)}var ws="imperative",we=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(we||{}),at=class{id;url;constructor(n,t){this.id=n,this.url=t}},Zr=class extends at{type=we.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ht=class extends at{urlAfterRedirects;type=we.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},je=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(je||{}),Ms=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Ms||{}),Et=class extends at{reason;code;type=we.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function oE(e){return e instanceof Et&&(e.code===je.Redirect||e.code===je.SupersededByNewNavigation)}var An=class extends at{reason;code;type=we.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},Kr=class extends at{error;target;type=we.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ns=class extends at{urlAfterRedirects;state;type=we.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xl=class extends at{urlAfterRedirects;state;type=we.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ol=class extends at{urlAfterRedirects;state;shouldActivate;type=we.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},kl=class extends at{urlAfterRedirects;state;type=we.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pl=class extends at{urlAfterRedirects;state;type=we.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ll=class{route;type=we.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Fl=class{route;type=we.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},jl=class{snapshot;type=we.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bl=class{snapshot;type=we.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ul=class{snapshot;type=we.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$l=class{snapshot;type=we.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ko=class{},As=class{},Qo=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function tA(e){return!(e instanceof Ko)&&!(e instanceof Qo)&&!(e instanceof As)}var Hl=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ni(this.rootInjector)}},ni=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Hl(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(_(oe))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Vl=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=dh(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=dh(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=fh(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return fh(n,this._root).map(t=>t.value)}};function dh(e,n){if(e===n.value)return n;for(let t of n.children){let r=dh(e,t);if(r)return r}return null}function fh(e,n){if(e===n.value)return[n];for(let t of n.children){let r=fh(e,t);if(r.length)return r.unshift(n),r}return[]}var st=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function qo(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var Rs=class extends Vl{snapshot;constructor(n,t){super(n),this.snapshot=t,Ih(this,n)}toString(){return this.snapshot.toString()}};function iE(e,n){let t=nA(e,n),r=new _e([new nr("",{})]),o=new _e({}),i=new _e({}),s=new _e({}),a=new _e(""),c=new Rn(r,o,s,a,i,A,e,t.root);return c.snapshot=t.root,new Rs(new st(c,[]),t)}function nA(e,n){let t={},r={},o={},s=new Jo([],t,o,"",r,A,e,null,{},n);return new xs("",new st(s,[]))}var Rn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(Y(l=>l[Ps]))??x(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Y(n=>Yr(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Y(n=>Yr(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ch(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:m(m({},n.params),e.params),data:m(m({},n.data),e.data),resolve:m(m(m(m({},e.data),n.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&aE(o)&&(r.resolve[Ps]=o.title),r}var Jo=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Ps]}constructor(n,t,r,o,i,s,a,c,l,u){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l,this._environmentInjector=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Yr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Yr(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},xs=class extends Vl{url;constructor(n,t){super(t),this.url=n,Ih(this,t)}toString(){return sE(this._root)}};function Ih(e,n){n.value._routerState=e,n.children.forEach(t=>Ih(e,t))}function sE(e){let n=e.children.length>0?` { ${e.children.map(sE).join(", ")} } `:"";return`${e.value}${n}`}function oh(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,un(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),un(n.params,t.params)||e.paramsSubject.next(t.params),AN(n.url,t.url)||e.urlSubject.next(t.url),un(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ph(e,n){let t=un(e.params,n.params)&&PN(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||ph(e.parent,n.parent))}function aE(e){return typeof e.title=="string"||e.title===null}var cE=new C(""),wh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=A;activateEvents=new de;deactivateEvents=new de;attachEvents=new de;detachEvents=new de;routerOutletData=Ie();parentContexts=h(ni);location=h(on);changeDetector=h(Wr);inputBinder=h(Ls,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new hh(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[nn]})}return e})(),hh=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===Rn?this.route:n===ni?this.childContexts:n===cE?this.outletData:this.parent.get(n,t)}},Ls=new C(""),Sh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=Sa([r.queryParams,r.params,r.data]).pipe(Ze(([i,s,a],c)=>(a=m(m(m({},i),s),a),c===0?x(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=rD(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Th=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Le({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Sn(0,"router-outlet")},dependencies:[wh],encapsulation:2})}return e})();function _h(e){let n=e.children&&e.children.map(_h),t=n?P(m({},e),{children:n}):m({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==A&&(t.component=Th),t}function rA(e,n,t){let r=Os(e,n._root,t?t._root:void 0);return new Rs(r,n)}function Os(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=oA(e,n,t);return new st(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Os(e,a)),s}}let r=iA(n.value),o=n.children.map(i=>Os(e,i));return new st(r,o)}}function oA(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Os(e,r,o);return Os(e,r)})}function iA(e){return new Rn(new _e(e.url),new _e(e.params),new _e(e.queryParams),new _e(e.fragment),new _e(e.data),e.outlet,e.component,e)}var Xo=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},lE="ngNavigationCancelingError";function zl(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=or(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=uE(!1,je.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function uE(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[lE]=!0,t.cancellationCode=n,t}function sA(e){return dE(e)&&or(e.url)}function dE(e){return!!e&&e[lE]}var gh=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),oh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=qo(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=qo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=qo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=qo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new $l(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Bl(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(oh(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),oh(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Wl=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Zo=class{component;route;constructor(n,t){this.component=n,this.route=t}};function aA(e,n,t){let r=e._root,o=n?n._root:null;return Cs(r,o,t,[r.value])}function cA(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function ri(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!$u(e)?e:n.get(e):r}function Cs(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=qo(n);return e.children.forEach(s=>{lA(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ss(a,t.getContext(s),o)),o}function lA(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=uA(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Wl(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Cs(e,n,a?a.children:null,r,o):Cs(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Zo(a.outlet.component,s))}else s&&Ss(n,a,o),o.canActivateChecks.push(new Wl(r)),i.component?Cs(e,null,a?a.children:null,r,o):Cs(e,null,t,r,o);return o}function uA(e,n,t){if(typeof t=="function")return De(n._environmentInjector,()=>t(e,n));switch(t){case"pathParamsChange":return!qr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!qr(e.url,n.url)||!un(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ph(e,n)||!un(e.queryParams,n.queryParams);default:return!ph(e,n)}}function Ss(e,n,t){let r=qo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Ss(s,n.children.getContext(i),t):Ss(s,null,t):Ss(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Zo(n.outlet.component,o)):t.canDeactivateChecks.push(new Zo(null,o)):t.canDeactivateChecks.push(new Zo(null,o))}function Fs(e){return typeof e=="function"}function dA(e){return typeof e=="boolean"}function fA(e){return e&&Fs(e.canLoad)}function pA(e){return e&&Fs(e.canActivate)}function hA(e){return e&&Fs(e.canActivateChild)}function gA(e){return e&&Fs(e.canDeactivate)}function mA(e){return e&&Fs(e.canMatch)}function fE(e){return e instanceof pn||e?.name==="EmptyError"}var Sl=Symbol("INITIAL_VALUE");function ei(){return Ze(e=>Sa(e.map(n=>n.pipe(hn(1),Su(Sl)))).pipe(Y(n=>{for(let t of n)if(t!==!0){if(t===Sl)return Sl;if(t===!1||yA(t))return t}return!0}),Ye(n=>n!==Sl),hn(1)))}function yA(e){return or(e)||e instanceof Xo}function pE(e){return e.aborted?x(void 0).pipe(hn(1)):new k(n=>{let t=()=>{n.next(),n.complete()};return e.addEventListener("abort",t),()=>e.removeEventListener("abort",t)})}function hE(e){return yr(pE(e))}function vA(e){return Oe(n=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?x(P(m({},n),{guardsResult:!0})):bA(i,t,r).pipe(Oe(s=>s&&dA(s)?DA(t,o,e):x(s)),Y(s=>P(m({},n),{guardsResult:s})))})}function bA(e,n,t){return ce(e).pipe(Oe(r=>SA(r.component,r.route,t,n)),gn(r=>r!==!0,!0))}function DA(e,n,t){return ce(n).pipe(mr(r=>uo(CA(r.route.parent,t),EA(r.route,t),wA(e,r.path),IA(e,r.route))),gn(r=>r!==!0,!0))}function EA(e,n){return e!==null&&n&&n(new Ul(e)),x(!0)}function CA(e,n){return e!==null&&n&&n(new jl(e)),x(!0)}function IA(e,n){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return x(!0);let r=t.map(o=>yi(()=>{let i=n._environmentInjector,s=ri(o,i),a=pA(s)?s.canActivate(n,e):De(i,()=>s(n,e));return Qr(a).pipe(gn())}));return x(r).pipe(ei())}function wA(e,n){let t=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>cA(i)).filter(i=>i!==null).map(i=>yi(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=ri(a,c),u=hA(l)?l.canActivateChild(t,e):De(c,()=>l(t,e));return Qr(u).pipe(gn())});return x(s).pipe(ei())}));return x(o).pipe(ei())}function SA(e,n,t,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=n._environmentInjector,c=ri(s,a),l=gA(c)?c.canDeactivate(e,n,t,r):De(a,()=>c(e,n,t,r));return Qr(l).pipe(gn())});return x(i).pipe(ei())}function TA(e,n,t,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return x(!0);let s=i.map(a=>{let c=ri(a,e),l=fA(c)?c.canLoad(n,t):De(e,()=>c(n,t)),u=Qr(l);return o?u.pipe(hE(o)):u});return x(s).pipe(ei(),gE(r))}function gE(e){return Du(dt(n=>{if(typeof n!="boolean")throw zl(e,n)}),Y(n=>n===!0))}function _A(e,n,t,r,o,i){let s=n.canMatch;if(!s||s.length===0)return x(!0);let a=s.map(c=>{let l=ri(c,e),u=mA(l)?l.canMatch(n,t,o):De(e,()=>l(n,t,o));return Qr(u).pipe(hE(i))});return x(a).pipe(ei(),gE(r))}var Nn=class e extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,e.prototype)}},ks=class e extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,e.prototype)}};function MA(e){throw new E(4e3,!1)}function NA(e){throw uE(!1,je.GuardRejected)}var mh=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}async lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[A])throw MA(`${n.redirectTo}`);o=o.children[A]}}async applyRedirectCommands(n,t,r,o,i){let s=await AA(t,o,i);if(s instanceof We)throw new ks(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new ks(a);return a}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new We(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new U(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}};function AA(e,n,t){if(typeof e=="string")return Promise.resolve(e);let r=e;return Nl(Qr(De(t,()=>r(n))))}function RA(e,n){return e.providers&&!e._injector&&(e._injector=ss(e.providers,n,`Route: ${e.path}`)),e._injector??n}function $t(e){return e.outlet||A}function xA(e,n){let t=e.filter(r=>$t(r)===n);return t.push(...e.filter(r=>$t(r)!==n)),t}var yh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function mE(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function OA(e,n,t,r,o,i,s){let a=yE(e,n,t);if(!a.matched)return x(a);let c=mE(i(a));return r=RA(n,r),_A(r,n,t,o,c,s).pipe(Y(l=>l===!0?a:m({},yh)))}function yE(e,n,t){if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?m({},yh):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||HD)(t,e,n);if(!o)return m({},yh);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function UD(e,n,t,r,o){return t.length>0&&LA(e,t,r,o)?{segmentGroup:new U(n,PA(r,new U(t,e.children))),slicedSegments:[]}:t.length===0&&FA(e,t,r)?{segmentGroup:new U(e.segments,kA(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new U(e.segments,e.children),slicedSegments:t}}function kA(e,n,t,r){let o={};for(let i of t)if(ql(e,n,i)&&!r[$t(i)]){let s=new U([],{});o[$t(i)]=s}return m(m({},r),o)}function PA(e,n){let t={};t[A]=n;for(let r of e)if(r.path===""&&$t(r)!==A){let o=new U([],{});t[$t(r)]=o}return t}function LA(e,n,t,r){return t.some(o=>!ql(e,n,o)||!($t(o)!==A)?!1:!(r!==void 0&&$t(o)===r))}function FA(e,n,t){return t.some(r=>ql(e,n,r))}function ql(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function jA(e,n,t){return n.length===0&&!e.children[t]}var vh=class{};async function BA(e,n,t,r,o,i,s="emptyOnly",a){return new bh(e,n,t,r,o,s,i,a).recognize()}var UA=31,bh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a,c){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new mh(this.urlSerializer,this.urlTree)}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}async recognize(){let n=UD(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:r}=await this.match(n),o=new st(r,t),i=new xs("",o),s=XD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(n){let t=new Jo([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),A,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,A,t),rootSnapshot:t}}catch(r){if(r instanceof ks)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Nn?this.noMatchError(r):r}}async processSegmentGroup(n,t,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,t,r,i);let s=await this.processSegment(n,t,r,r.segments,o,!0,i);return s instanceof st?[s]:[]}async processChildren(n,t,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let l=r.children[c],u=xA(t,c),d=await this.processSegmentGroup(n,u,l,c,o);s.push(...d)}let a=vE(s);return $A(a),a}async processSegment(n,t,r,o,i,s,a){for(let c of t)try{return await this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a)}catch(l){if(l instanceof Nn||fE(l))continue;throw l}if(jA(r,o,i))return new vh;throw new Nn(r)}async processSegmentAgainstRoute(n,t,r,o,i,s,a,c){if($t(r)!==s&&(s===A||!ql(o,i,r)))throw new Nn(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c);throw new Nn(o)}async expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:f}=yE(t,o,i);if(!c)throw new Nn(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>UA&&(this.allowRedirects=!1));let p=this.createSnapshot(n,o,i,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=await this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,mE(p),n),y=await this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(n,r,t,y.concat(f),s,!1,a)}createSnapshot(n,t,r,o,i){let s=new Jo(r,o,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,VA(t),$t(t),t.component??t._loadedComponent??null,t,zA(t),n),a=Ch(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(n,t,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=j=>this.createSnapshot(n,r,j.consumedSegments,j.parameters,s),c=await Nl(OA(t,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(t.children={}),!c?.matched)throw new Nn(t);n=r._injector??n;let{routes:l}=await this.getChildConfig(n,r,o),u=r._loadedInjector??n,{parameters:d,consumedSegments:f,remainingSegments:p}=c,g=this.createSnapshot(n,r,f,d,s),{segmentGroup:y,slicedSegments:v}=UD(t,f,p,l,i);if(v.length===0&&y.hasChildren()){let j=await this.processChildren(u,l,y,g);return new st(g,j)}if(l.length===0&&v.length===0)return new st(g,[]);let D=$t(r)===i,T=await this.processSegment(u,l,y,v,D?A:i,!0,g);return new st(g,T instanceof st?[T]:[])}async getChildConfig(n,t,r){if(t.children)return{routes:t.children,injector:n};if(t.loadChildren){if(t._loadedRoutes!==void 0){let i=t._loadedNgModuleFactory;return i&&!t._loadedInjector&&(t._loadedInjector=i.create(n).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await Nl(TA(n,t,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(n,t);return t._loadedRoutes=i.routes,t._loadedInjector=i.injector,t._loadedNgModuleFactory=i.factory,i}throw NA(t)}return{routes:[],injector:n}}};function $A(e){e.sort((n,t)=>n.value.outlet===A?-1:t.value.outlet===A?1:n.value.outlet.localeCompare(t.value.outlet))}function HA(e){let n=e.value.routeConfig;return n&&n.path===""}function vE(e){let n=[],t=new Set;for(let r of e){if(!HA(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=vE(r.children);n.push(new st(r.value,o))}return n.filter(r=>!t.has(r))}function VA(e){return e.data||{}}function zA(e){return e.resolve||{}}function WA(e,n,t,r,o,i,s){return Oe(async a=>{let{state:c,tree:l}=await BA(e,n,t,r,a.extractedUrl,o,i,s);return P(m({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function GA(e){return Oe(n=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=n;if(!r.length)return x(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of bE(a))i.add(c);let s=0;return ce(i).pipe(mr(a=>o.has(a)?qA(a,t,e):(a.data=Ch(a,a.parent,e).resolve,x(void 0))),dt(()=>s++),Ta(1),Oe(a=>s===i.size?x(n):Me))})}function bE(e){let n=e.children.map(t=>bE(t)).flat();return[e,...n]}function qA(e,n,t){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!aE(r)&&(o[Ps]=r.title),yi(()=>(e.data=Ch(e,e.parent,t).resolve,YA(o,e,n).pipe(Y(i=>(e._resolvedData=i,e.data=m(m({},e.data),i),null)))))}function YA(e,n,t){let r=sh(e);if(r.length===0)return x({});let o={};return ce(r).pipe(Oe(i=>ZA(e[i],n,t).pipe(gn(),dt(s=>{if(s instanceof Xo)throw zl(new rr,s);o[i]=s}))),Ta(1),Y(()=>o),fo(i=>fE(i)?Me:Iu(i)))}function ZA(e,n,t){let r=n._environmentInjector,o=ri(e,r),i=o.resolve?o.resolve(n,t):De(r,()=>o(n,t));return Qr(i)}function $D(e){return Ze(n=>{let t=e(n);return t?ce(t).pipe(Y(()=>n)):x(n)})}var Mh=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===A);return r}getResolvedTitleForRoute(t){return t.data[Ps]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>h(DE),providedIn:"root"})}return e})(),DE=(()=>{class e extends Mh{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(_(PD))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oi=new C("",{factory:()=>({})}),js=new C(""),EE=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Ep);async loadComponent(t,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await zD(De(t,()=>r.loadComponent())),s=await wE(IE(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await CE(r,this.compiler,t,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();async function CE(e,n,t,r){let o=await zD(De(t,()=>e.loadChildren())),i=await wE(IE(o)),s;i instanceof Kc||Array.isArray(i)?s=i:s=await n.compileModuleAsync(i),r&&r(e);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(t).injector,u=s,c=a.get(js,[],{optional:!0,self:!0}).flat()),{routes:c.map(_h),injector:a,factory:u}}function KA(e){return e&&typeof e=="object"&&"default"in e}function IE(e){return KA(e)?e.default:e}async function wE(e){return e}var Yl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>h(QA),providedIn:"root"})}return e})(),QA=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),SE=new C("");var JA=()=>{},TE=new C(""),_E=(()=>{class e{currentNavigation=N(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=N(null);events=new Q;transitionAbortWithErrorSubject=new Q;configLoader=h(EE);environmentInjector=h(oe);destroyRef=h(ye);urlSerializer=h(ti);rootContexts=h(ni);location=h(Vo);inputBindingEnabled=h(Ls,{optional:!0})!==null;titleStrategy=h(Mh);options=h(oi,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(Yl);createViewTransition=h(SE,{optional:!0});navigationErrorHandler=h(TE,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>x(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new Ll(o)),r=o=>this.events.next(new Fl(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;te(()=>{this.transitions?.next(P(m({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(t){return this.transitions=new _e(null),this.transitions.pipe(Ye(r=>r!==null),Ze(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return x(r).pipe(Ze(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",je.SupersededByNewNavigation),Me;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?P(m({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new An(a.id,this.urlSerializer.serialize(a.rawUrl),"",Ms.IgnoredSameUrlNavigation)),a.resolve(!1),Me;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return x(a).pipe(Ze(d=>(this.events.next(new Zr(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?Me:Promise.resolve(d))),WA(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),dt(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=d.urlAfterRedirects,f)),this.events.next(new As)}),Ze(d=>ce(r.routesRecognizeHandler.deferredHandle??x(void 0)).pipe(Y(()=>d))),dt(()=>{let d=new Ns(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:f,source:p,restoredState:g,extras:y}=a,v=new Zr(d,this.urlSerializer.serialize(f),p,g);this.events.next(v);let D=iE(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=P(m({},a),{targetSnapshot:D,urlAfterRedirects:f,extras:P(m({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(T=>(T.finalUrl=f,T)),x(r)}else return this.events.next(new An(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Ms.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Me}),Y(a=>{let c=new xl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=P(m({},a),{guards:aA(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),vA(a=>this.events.next(a)),Ze(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw zl(this.urlSerializer,a.guardsResult);let c=new Ol(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return Me;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",je.GuardRejected),Me;if(a.guards.canActivateChecks.length===0)return x(a);let l=new kl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return Me;let u=!1;return x(a).pipe(GA(this.paramsInheritanceStrategy),dt({next:()=>{u=!0;let d=new Pl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{u||this.cancelNavigationTransition(a,"",je.NoDataFromResolver)}}))}),$D(a=>{let c=u=>{let d=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let f=u._environmentInjector;d.push(this.configLoader.loadComponent(f,u.routeConfig).then(p=>{u.component=p}))}for(let f of u.children)d.push(...c(f));return d},l=c(a.targetSnapshot.root);return l.length===0?x(a):ce(Promise.all(l).then(()=>a))}),$D(()=>this.afterPreactivation()),Ze(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?ce(l).pipe(Y(()=>r)):x(r)}),hn(1),Ze(a=>{let c=rA(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=P(m({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new Ko);let l=r.beforeActivateHandler.deferredHandle;return l?ce(l.then(()=>a)):x(a)}),dt(a=>{new gh(t.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=JA,c)),this.lastSuccessfulNavigation.set(te(this.currentNavigation)),this.events.next(new Ht(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),yr(pE(i.signal).pipe(Ye(()=>!o&&!r.targetRouterState),dt(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",je.Aborted)}))),dt({complete:()=>{o=!0}}),yr(this.transitionAbortWithErrorSubject.pipe(dt(a=>{throw a}))),vi(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",je.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),fo(a=>{if(o=!0,this.destroyed)return r.resolve(!1),Me;if(dE(a))this.events.next(new Et(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),sA(a)?this.events.next(new Qo(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Kr(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=De(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Xo){let{message:u,cancellationCode:d}=zl(this.urlSerializer,l);this.events.next(new Et(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new Qo(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Me}))}))}cancelNavigationTransition(t,r,o){let i=new Et(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=te(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return t.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XA(e){return e!==ws}var ME=new C("");var NE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>h(eR),providedIn:"root"})}return e})(),Gl=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}shouldDestroyInjector(n){return!0}},eR=(()=>{class e extends Gl{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Zl=(()=>{class e{urlSerializer=h(ti);options=h(oi,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Vo);urlHandlingStrategy=h(Yl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new We;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof We?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=iE(null,h(oe));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>h(tR),providedIn:"root"})}return e})(),tR=(()=>{class e extends Zl{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(t,r){t instanceof Zr?this.updateStateMemento():t instanceof An?this.commitTransition(r):t instanceof Ns?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Ko?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Et&&!oE(t)?this.restoreHistory(r):t instanceof Kr?this.restoreHistory(r,!0):t instanceof Ht&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||i){let a=this.browserPageId,c=m(m({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=m(m({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Nh(e,n){e.events.pipe(Ye(t=>t instanceof Ht||t instanceof Et||t instanceof Kr||t instanceof An),Y(t=>t instanceof Ht||t instanceof An?0:(t instanceof Et?t.code===je.Redirect||t.code===je.SupersededByNewNavigation:!1)?2:1),Ye(t=>t!==2),hn(1)).subscribe(()=>{n()})}var Jr=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Qc);stateManager=h(Zl);options=h(oi,{optional:!0})||{};pendingTasks=h(En);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(_E);urlSerializer=h(ti);location=h(Vo);urlHandlingStrategy=h(Yl);injector=h(oe);_events=new Q;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(NE);injectorCleanup=h(ME,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(js,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Ls,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Te;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=te(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Et&&r.code!==je.Redirect&&r.code!==je.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ht)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Qo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||XA(o.source)},s);this.scheduleNavigation(a,ws,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}tA(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ws,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o,i)=>{this.navigateToSyncWithBrowser(t,o,r,i)})}navigateToSyncWithBrowser(t,r,o,i){let s=o?.navigationId?o:null;if(o){let c=m({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(rt)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return te(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(_h),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let f=o?o.snapshot:this.routerState.snapshot.root;d=eE(f)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return tE(d,t,u,l??null,this.urlSerializer)}navigateByUrl(t,r={skipLocationChange:!1}){let o=or(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ws,null,r)}navigate(t,r={skipLocationChange:!1}){return nR(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.console.warn(Zt(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=m({},Dh):r===!1?o=m({},Ts):o=m(m({},Ts),r),or(t))return ah(this.currentUrlTree,t,o);let i=this.parseUrl(t);return ah(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,c=f});let u=this.pendingTasks.add();return Nh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nR(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new E(4008,!1)}var oR=(()=>{class e{router=h(Jr);stateManager=h(Zl);fragment=N("");queryParams=N({});path=N("");serializer=h(ti);constructor(){this.updateState(),this.router.events?.subscribe(t=>{t instanceof Ht&&this.updateState()})}updateState(){let{fragment:t,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(t),this.queryParams.set(o),this.path.set(this.serializer.serialize(new We(r)))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Kl=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=h(new al("href"),{optional:!0});reactiveHref=Cp(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return te(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}set target(t){this._target.set(t)}get target(){return te(this._target)}_target=N(void 0);set queryParams(t){this._queryParams.set(t)}get queryParams(){return te(this._queryParams)}_queryParams=N(void 0,{equal:()=>!1});set fragment(t){this._fragment.set(t)}get fragment(){return te(this._fragment)}_fragment=N(void 0);set queryParamsHandling(t){this._queryParamsHandling.set(t)}get queryParamsHandling(){return te(this._queryParamsHandling)}_queryParamsHandling=N(void 0);set state(t){this._state.set(t)}get state(){return te(this._state)}_state=N(void 0,{equal:()=>!1});set info(t){this._info.set(t)}get info(){return te(this._info)}_info=N(void 0,{equal:()=>!1});set relativeTo(t){this._relativeTo.set(t)}get relativeTo(){return te(this._relativeTo)}_relativeTo=N(void 0);set preserveFragment(t){this._preserveFragment.set(t)}get preserveFragment(){return te(this._preserveFragment)}_preserveFragment=N(!1);set skipLocationChange(t){this._skipLocationChange.set(t)}get skipLocationChange(){return te(this._skipLocationChange)}_skipLocationChange=N(!1);set replaceUrl(t){this._replaceUrl.set(t)}get replaceUrl(){return te(this._replaceUrl)}_replaceUrl=N(!1);isAnchorElement;onChanges=new Q;applicationErrorHandler=h(rt);options=h(oi,{optional:!0});reactiveRouterState=h(oR);constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.onChanges.next(this)}routerLinkInput=N(null);set routerLink(t){t==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(or(t)?this.routerLinkInput.set(t):this.routerLinkInput.set(Array.isArray(t)?t:[t]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}_urlTree=Ce(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let t=o=>o==="preserve"||o==="merge";(t(this._queryParamsHandling())||t(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:or(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(t,r)=>this.computeHref(t)===this.computeHref(r)});get urlTree(){return te(this._urlTree)}computeHref(t){return t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null}static \u0275fac=function(r){return new(r||e)(B(Jr),B(Rn),Ji("tabindex"),B(Bt),B(Ne),B(Ho))};static \u0275dir=ee({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&jo("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Qe("href",o.reactiveHref(),Pf)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",be],skipLocationChange:[2,"skipLocationChange","skipLocationChange",be],replaceUrl:[2,"replaceUrl","replaceUrl",be],routerLink:"routerLink"},features:[nn]})}return e})(),iR=(()=>{class e{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new de;link=h(Kl,{optional:!0});constructor(t,r,o,i){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=t.events.subscribe(s=>{s instanceof Ht&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(lo()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=ce(t).pipe(lo()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=sR(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?m({},Dh):m({},Ts);return o=>{let i=o.urlTree;return i?te(Eh(i,t,r)):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(r){return new(r||e)(B(Jr),B(Ne),B(Bt),B(Wr))};static \u0275dir=ee({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&Bo(i,Kl,5),r&2){let s;Xn(s=er())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[nn]})}return e})();function sR(e){let n=e;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var aR=new C("");function cR(e,...n){return pt([{provide:js,multi:!0,useValue:e},[],{provide:Rn,useFactory:lR},{provide:Xc,multi:!0,useFactory:dR},n.map(t=>t.\u0275providers)])}function lR(){return h(Jr).routerState.root}function uR(e,n){return{\u0275kind:e,\u0275providers:n}}function dR(){let e=h(fe);return n=>{let t=e.get(Vr);if(n!==t.components[0])return;let r=e.get(Jr),o=e.get(fR);e.get(pR)===1&&r.initialNavigation(),e.get(hR,null,{optional:!0})?.setUpPreloading(),e.get(aR,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var fR=new C("",{factory:()=>new Q}),pR=new C("",{factory:()=>1});var hR=new C("");function gR(){return uR(8,[Sh,{provide:Ls,useExisting:Sh}])}function ir(...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)?[ir(...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 AE(e,n){return e?e.classList?e.classList.contains(n):new RegExp("(^| )"+n+"( |$)","gi").test(e.className):!1}function Bs(e,n){if(e&&n){let t=r=>{AE(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(t))}}function mR(){return window.innerWidth-document.documentElement.offsetWidth}function RE(e){typeof e=="string"?Bs(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.setProperty(e.variableName,mR()+"px"),Bs(document.body,e?.className||"p-overflow-hidden"))}function sr(e,n){if(e&&n){let t=r=>{e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(t))}}function xE(e){typeof e=="string"?sr(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.removeProperty(e.variableName),sr(document.body,e?.className||"p-overflow-hidden"))}function Us(e){for(let n of document?.styleSheets)try{for(let t of n?.cssRules)for(let r of t?.style)if(e.test(r))return{name:r,value:t.style.getPropertyValue(r).trim()}}catch{}return null}function OE(e){let n={width:0,height:0};if(e){let[t,r]=[e.style.visibility,e.style.display],o=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",n.width=o.width||e.offsetWidth,n.height=o.height||e.offsetHeight,e.style.display=r,e.style.visibility=t}return n}function kE(){let e=window,n=document,t=n.documentElement,r=n.getElementsByTagName("body")[0],o=e.innerWidth||t.clientWidth||r.clientWidth,i=e.innerHeight||t.clientHeight||r.clientHeight;return{width:o,height:i}}function Ah(e){return e?Math.abs(e.scrollLeft):0}function yR(){let e=document.documentElement;return(window.pageXOffset||Ah(e))-(e.clientLeft||0)}function vR(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function bR(e){return e?getComputedStyle(e).direction==="rtl":!1}function aW(e,n,t=!0){var r,o,i,s;if(e){let a=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:OE(e),c=a.height,l=a.width,u=n.offsetHeight,d=n.offsetWidth,f=n.getBoundingClientRect(),p=vR(),g=yR(),y=kE(),v,D,T="top";f.top+u+c>y.height?(v=f.top+p-c,T="bottom",v<0&&(v=p)):v=u+f.top+p,f.left+l>y.width?D=Math.max(0,f.left+g+d-l):D=f.left+g,bR(e)?e.style.insetInlineEnd=D+"px":e.style.insetInlineStart=D+"px",e.style.top=v+"px",e.style.transformOrigin=T,t&&(e.style.marginTop=T==="bottom"?`calc(${(o=(r=Us(/-anchor-gutter$/))==null?void 0:r.value)!=null?o:"2px"} * -1)`:(s=(i=Us(/-anchor-gutter$/))==null?void 0:i.value)!=null?s:"")}}function cW(e,n){e&&(typeof n=="string"?e.style.cssText=n:Object.entries(n||{}).forEach(([t,r])=>e.style[t]=r))}function PE(e,n){if(e instanceof HTMLElement){let t=e.offsetWidth;if(n){let r=getComputedStyle(e);t+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return t}return 0}function lW(e,n,t=!0,r=void 0){var o;if(e){let i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:OE(e),s=n.offsetHeight,a=n.getBoundingClientRect(),c=kE(),l,u,d=r??"top";if(!r&&a.top+s+i.height>c.height?(l=-1*i.height,d="bottom",a.top+l<0&&(l=-1*a.top)):l=s,i.width>c.width?u=a.left*-1:a.left+i.width>c.width?u=(a.left+i.width-c.width)*-1:u=0,e.style.top=l+"px",e.style.insetInlineStart=u+"px",e.style.transformOrigin=d,t){let f=(o=Us(/-anchor-gutter$/))==null?void 0:o.value;e.style.marginTop=d==="bottom"?`calc(${f??"2px"} * -1)`:f??""}}}function LE(e){if(e){let n=e.parentNode;return n&&n instanceof ShadowRoot&&n.host&&(n=n.host),n}return null}function DR(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&LE(e))}function ii(e){return typeof Element<"u"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function FE(e){let n=e;return e&&typeof e=="object"&&(Object.hasOwn(e,"current")?n=e.current:Object.hasOwn(e,"el")&&(Object.hasOwn(e.el,"nativeElement")?n=e.el.nativeElement:n=e.el)),ii(n)?n:void 0}function ER(e,n){var t,r,o;if(e)switch(e){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return n?.nextElementSibling;case"@prev":return n?.previousElementSibling;case"@first":return n?.firstElementChild;case"@last":return n?.lastElementChild;case"@child":return(t=n?.children)==null?void 0:t[0];case"@parent":return n?.parentElement;case"@grandparent":return(r=n?.parentElement)==null?void 0:r.parentElement;default:{if(typeof e=="string"){let a=e.match(/^@child\[(\d+)]/);return a?((o=n?.children)==null?void 0:o[parseInt(a[1],10)])||null:document.querySelector(e)||null}let i=(a=>typeof a=="function"&&"call"in a&&"apply"in a)(e)?e():e,s=FE(i);return DR(s)?s:i?.nodeType===9?i:void 0}}}function uW(e,n){let t=ER(e,n);if(t)t.appendChild(n);else throw new Error("Cannot append "+n+" to "+e)}function Ql(e,n={}){if(ii(e)){let t=(r,o)=>{var i,s;let a=(i=e?.$attrs)!=null&&i[r]?[(s=e?.$attrs)==null?void 0:s[r]]:[];return[o].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)?t(r,l):Object.entries(l).map(([f,p])=>r==="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(n).forEach(([r,o])=>{if(o!=null){let i=r.match(/^on(.+)/);i?e.addEventListener(i[1].toLowerCase(),o):r==="p-bind"||r==="pBind"?Ql(e,o):(o=r==="class"?[...new Set(t("class",o))].join(" ").trim():r==="style"?t("style",o).join(";").trim():o,(e.$attrs=e.$attrs||{})&&(e.$attrs[r]=o),e.setAttribute(r,o))}})}}function CR(e,n={},...t){if(e){let r=document.createElement(e);return Ql(r,n),r.append(...t),r}}function dW(e,n){if(e){e.style.opacity="0";let t=+new Date,r="0",o=function(){r=`${+e.style.opacity+(new Date().getTime()-t)/n}`,e.style.opacity=r,t=+new Date,+r<1&&("requestAnimationFrame"in window?requestAnimationFrame(o):setTimeout(o,16))};o()}}function IR(e,n){return ii(e)?Array.from(e.querySelectorAll(n)):[]}function fW(e,n){return ii(e)?e.matches(n)?e:e.querySelector(n):null}function pW(e,n){e&&document.activeElement!==e&&e.focus(n)}function hW(e,n){if(ii(e)){let t=e.getAttribute(n);return isNaN(t)?t==="true"||t==="false"?t==="true":t:+t}}function jE(e,n=""){let t=IR(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
6
- [href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${n},
7
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
8
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
9
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
10
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
11
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}`),r=[];for(let o of t)getComputedStyle(o).display!="none"&&getComputedStyle(o).visibility!="hidden"&&r.push(o);return r}function gW(e,n){let t=jE(e,n);return t.length>0?t[0]:null}function Rh(e){if(e){let n=e.offsetHeight,t=getComputedStyle(e);return n-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),n}return 0}function mW(e){var n;if(e){let t=(n=LE(e))==null?void 0:n.childNodes,r=0;if(t)for(let o=0;o<t.length;o++){if(t[o]===e)return r;t[o].nodeType===1&&r++}}return-1}function yW(e,n){let t=jE(e,n);return t.length>0?t[t.length-1]:null}function BE(e){if(e){let n=e.getBoundingClientRect();return{top:n.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:n.left+(window.pageXOffset||Ah(document.documentElement)||Ah(document.body)||0)}}return{top:"auto",left:"auto"}}function xh(e,n){if(e){let t=e.offsetHeight;if(n){let r=getComputedStyle(e);t+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return t}return 0}function vW(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function Oh(e){if(e){let n=e.offsetWidth,t=getComputedStyle(e);return n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderLeftWidth)+parseFloat(t.borderRightWidth),n}return 0}function bW(e){if(e){let n=e.nodeName,t=e.parentElement&&e.parentElement.nodeName;return n==="INPUT"||n==="TEXTAREA"||n==="BUTTON"||n==="A"||t==="INPUT"||t==="TEXTAREA"||t==="BUTTON"||t==="A"||!!e.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1}function DW(e){return!!(e&&e.offsetParent!=null)}function EW(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function CW(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function IW(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})})}function UE(e){var n;e&&("remove"in Element.prototype?e.remove():(n=e.parentNode)==null||n.removeChild(e))}function wW(e,n){let t=FE(e);if(t)t.removeChild(n);else throw new Error("Cannot remove "+n+" from "+e)}function SW(e,n){let t=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=t?parseFloat(t):0,o=getComputedStyle(e).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,s=e.getBoundingClientRect(),a=n.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-r-i,c=e.scrollTop,l=e.clientHeight,u=xh(n);a<0?e.scrollTop=c+a:a+u>l&&(e.scrollTop=c+a-l+u)}function $E(e,n="",t){ii(e)&&t!==null&&t!==void 0&&e.setAttribute(n,t)}function TW(e,n,t=null,r){var o;n&&((o=e?.style)==null||o.setProperty(n,t,r))}function HE(){let e=new Map;return{on(n,t){let r=e.get(n);return r?r.push(t):r=[t],e.set(n,r),this},off(n,t){let r=e.get(n);return r&&r.splice(r.indexOf(t)>>>0,1),this},emit(n,t){let r=e.get(n);r&&r.forEach(o=>{o(t)})},clear(){e.clear()}}}var wR=Object.defineProperty,VE=Object.getOwnPropertySymbols,SR=Object.prototype.hasOwnProperty,TR=Object.prototype.propertyIsEnumerable,zE=(e,n,t)=>n in e?wR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,WE=(e,n)=>{for(var t in n||(n={}))SR.call(n,t)&&zE(e,t,n[t]);if(VE)for(var t of VE(n))TR.call(n,t)&&zE(e,t,n[t]);return e};function GE(...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)?[GE(...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 _R(e){return typeof e=="function"&&"call"in e&&"apply"in e}function MR({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=WE(WE({},t.style),r.style);else if(o==="class"||o==="className")t[o]=GE(t[o],r[o]);else if(_R(i)){let s=t[o];t[o]=s?(...a)=>{s(...a),i(...a)}:i}else t[o]=i}return t},{})}function kh(...e){return MR({skipUndefined:!1},...e)}function Xr(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Ph(e,n,t=new WeakSet){if(e===n)return!0;if(!e||!n||typeof e!="object"||typeof n!="object"||t.has(e)||t.has(n))return!1;t.add(e).add(n);let r=Array.isArray(e),o=Array.isArray(n),i,s,a;if(r&&o){if(s=e.length,s!=n.length)return!1;for(i=s;i--!==0;)if(!Ph(e[i],n[i],t))return!1;return!0}if(r!=o)return!1;let c=e instanceof Date,l=n instanceof Date;if(c!=l)return!1;if(c&&l)return e.getTime()==n.getTime();let u=e instanceof RegExp,d=n instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==n.toString();let f=Object.keys(e);if(s=f.length,s!==Object.keys(n).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!Ph(e[a],n[a],t))return!1;return!0}function NR(e,n){return Ph(e,n)}function Xl(e){return typeof e=="function"&&"call"in e&&"apply"in e}function G(e){return!Xr(e)}function Jl(e,n){if(!e||!n)return null;try{let t=e[n];if(G(t))return t}catch{}if(Object.keys(e).length){if(Xl(n))return n(e);if(n.indexOf(".")===-1)return e[n];{let t=n.split("."),r=e;for(let o=0,i=t.length;o<i;++o){if(r==null)return null;r=r[t[o]]}return r}}return null}function $s(e,n,t){return t?Jl(e,t)===Jl(n,t):NR(e,n)}function AW(e,n){if(e!=null&&n&&n.length){for(let t of n)if($s(e,t))return!0}return!1}function xn(e,n=!0){return e instanceof Object&&e.constructor===Object&&(n||Object.keys(e).length!==0)}function RW(e,n){let t=-1;if(G(e))try{t=e.findLastIndex(n)}catch{t=e.lastIndexOf([...e].reverse().find(n))}return t}function Se(e,...n){return Xl(e)?e(...n):e}function Ct(e,n=!0){return typeof e=="string"&&(n||e!=="")}function ar(e){return Ct(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function eu(e,n="",t={}){let r=ar(n).split("."),o=r.shift();if(o){if(xn(e)){let i=Object.keys(e).find(s=>ar(s)===o)||"";return eu(Se(e[i],t),r.join("."),t)}return}return Se(e,t)}function Lh(e,n=!0){return Array.isArray(e)&&(n||e.length!==0)}function xW(e){return e instanceof Date}function qE(e){return G(e)&&!isNaN(e)}function OW(e=""){return G(e)&&e.length===1&&!!e.match(/\S| /)}function Vt(e,n){if(n){let t=n.test(e);return n.lastIndex=0,t}return!1}function eo(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function ct(e){if(e&&/[\xC0-\xFF\u0100-\u017E]/.test(e)){let n={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let t in n)e=e.replace(n[t],t)}return e}function tu(e){return Ct(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}function kW(e){return e==="auto"?0:typeof e=="number"?e:Number(e.replace(/[^\d.]/g,"").replace(",","."))*1e3}var nu={};function Hs(e="pui_id_"){return Object.hasOwn(nu,e)||(nu[e]=0),nu[e]++,`${e}${nu[e]}`}var YE=["*"];var Re=(()=>{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})(),UW=(()=>{class e{static AND="and";static OR="or"}return e})(),$W=(()=>{class e{filter(t,r,o,i,s){let a=[];if(t)for(let c of t)for(let l of r){let u=Jl(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=ct(r.toString()).toLocaleLowerCase(o);return ct(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=ct(r.toString()).toLocaleLowerCase(o);return ct(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=ct(r.toString()).toLocaleLowerCase(o);return ct(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=ct(r.toString()).toLocaleLowerCase(o),s=ct(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:ct(t.toString()).toLocaleLowerCase(o)==ct(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:ct(t.toString()).toLocaleLowerCase(o)!=ct(r.toString()).toLocaleLowerCase(o),in:(t,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if($s(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 HW=(()=>{class e{clickSource=new Q;parentDragSource=new Q;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 VW=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Le({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:YE,decls:1,vars:0,template:function(r,o){r&1&&(sn(),an(0))},encapsulation:2})}return e})(),zW=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Le({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:YE,decls:1,vars:0,template:function(r,o){r&1&&(sn(),an(0))},encapsulation:2})}return e})(),ZE=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(r){return new(r||e)(B(tn))};static \u0275dir=ee({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),cr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ee({type:e});static \u0275inj=me({imports:[Ut]})}return e})(),WW=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return e})();var AR=Object.defineProperty,RR=Object.defineProperties,xR=Object.getOwnPropertyDescriptors,ru=Object.getOwnPropertySymbols,JE=Object.prototype.hasOwnProperty,XE=Object.prototype.propertyIsEnumerable,KE=(e,n,t)=>n in e?AR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Wt=(e,n)=>{for(var t in n||(n={}))JE.call(n,t)&&KE(e,t,n[t]);if(ru)for(var t of ru(n))XE.call(n,t)&&KE(e,t,n[t]);return e},Fh=(e,n)=>RR(e,xR(n)),On=(e,n)=>{var t={};for(var r in e)JE.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&ru)for(var r of ru(e))n.indexOf(r)<0&&XE.call(e,r)&&(t[r]=e[r]);return t};var OR=HE(),lt=OR,Vs=/{([^}]*)}/g,eC=/(\d+\s+[\+\-\*\/]\s+\d+)/g,tC=/var\([^)]+\)/g;function QE(e){return Ct(e)?e.replace(/[A-Z]/g,(n,t)=>t===0?n:"."+n.toLowerCase()).toLowerCase():e}function kR(e){return xn(e)&&e.hasOwnProperty("$value")&&e.hasOwnProperty("$type")?e.$value:e}function PR(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function jh(e="",n=""){return PR(`${Ct(e,!1)&&Ct(n,!1)?`${e}-`:e}${n}`)}function nC(e="",n=""){return`--${jh(e,n)}`}function LR(e=""){let n=(e.match(/{/g)||[]).length,t=(e.match(/}/g)||[]).length;return(n+t)%2!==0}function rC(e,n="",t="",r=[],o){if(Ct(e)){let i=e.trim();if(LR(i))return;if(Vt(i,Vs)){let s=i.replaceAll(Vs,a=>{let c=a.replace(/{|}/g,"").split(".").filter(l=>!r.some(u=>Vt(l,u)));return`var(${nC(t,tu(c.join("-")))}${G(o)?`, ${o}`:""})`});return Vt(s.replace(tC,"0"),eC)?`calc(${s})`:s}return i}else if(qE(e))return e}function FR(e,n,t){Ct(n,!1)&&e.push(`${n}:${t};`)}function si(e,n){return e?`${e}{${n}}`:""}function oC(e,n){if(e.indexOf("dt(")===-1)return e;function t(s,a){let c=[],l=0,u="",d=null,f=0;for(;l<=s.length;){let p=s[l];if((p==='"'||p==="'"||p==="`")&&s[l-1]!=="\\"&&(d=d===p?null:p),!d&&(p==="("&&f++,p===")"&&f--,(p===","||l===s.length)&&f===0)){let g=u.trim();g.startsWith("dt(")?c.push(oC(g,a)):c.push(r(g)),u="",l++;continue}p!==void 0&&(u+=p),l++}return c}function r(s){let a=s[0];if((a==='"'||a==="'"||a==="`")&&s[s.length-1]===a)return s.slice(1,-1);let c=Number(s);return isNaN(c)?s:c}let o=[],i=[];for(let s=0;s<e.length;s++)if(e[s]==="d"&&e.slice(s,s+3)==="dt(")i.push(s),s+=2;else if(e[s]===")"&&i.length>0){let a=i.pop();i.length===0&&o.push([a,s])}if(!o.length)return e;for(let s=o.length-1;s>=0;s--){let[a,c]=o[s],l=e.slice(a+3,c),u=t(l,n),d=n(...u);e=e.slice(0,a)+d+e.slice(c+1)}return e}var Uh=e=>{var n;let t=K.getTheme(),r=Bh(t,e,void 0,"variable"),o=(n=r?.match(/--[\w-]+/g))==null?void 0:n[0],i=Bh(t,e,void 0,"value");return{name:o,variable:r,value:i}},kn=(...e)=>Bh(K.getTheme(),...e),Bh=(e={},n,t,r)=>{if(n){let{variable:o,options:i}=K.defaults||{},{prefix:s,transform:a}=e?.options||i||{},c=Vt(n,Vs)?n:`{${n}}`;return r==="value"||Xr(r)&&a==="strict"?K.getTokenValue(n):rC(c,void 0,s,[o.excludedKeyRegex],t)}return""};function ai(e,...n){if(e instanceof Array){let t=e.reduce((r,o,i)=>{var s;return r+o+((s=Se(n[i],{dt:kn}))!=null?s:"")},"");return oC(t,kn)}return Se(e,{dt:kn})}function jR(e,n={}){let t=K.defaults.variable,{prefix:r=t.prefix,selector:o=t.selector,excludedKeyRegex:i=t.excludedKeyRegex}=n,s=[],a=[],c=[{node:e,path:r}];for(;c.length;){let{node:u,path:d}=c.pop();for(let f in u){let p=u[f],g=kR(p),y=Vt(f,i)?jh(d):jh(d,tu(f));if(xn(g))c.push({node:g,path:y});else{let v=nC(y),D=rC(g,y,r,[i]);FR(a,v,D);let T=y;r&&T.startsWith(r+"-")&&(T=T.slice(r.length+1)),s.push(T.replace(/-/g,"."))}}}let l=a.join("");return{value:a,tokens:s,declarations:l,css:si(o,l)}}var zt={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let n=Object.keys(this.rules).filter(t=>t!=="custom").map(t=>this.rules[t]);return[e].flat().map(t=>{var r;return(r=n.map(o=>o.resolve(t)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(t)})}},_toVariables(e,n){return jR(e,{prefix:n?.prefix})},getCommon({name:e="",theme:n={},params:t,set:r,defaults:o}){var i,s,a,c,l,u,d;let{preset:f,options:p}=n,g,y,v,D,T,j,q;if(G(f)&&p.transform!=="strict"){let{primitive:Je,semantic:Xe,extend:Ge}=f,wt=Xe||{},{colorScheme:Pn}=wt,lr=On(wt,["colorScheme"]),zs=Ge||{},{colorScheme:Ws}=zs,li=On(zs,["colorScheme"]),ui=Pn||{},{dark:Gs}=ui,qs=On(ui,["dark"]),Ys=Ws||{},{dark:Zs}=Ys,Ks=On(Ys,["dark"]),Qs=G(Je)?this._toVariables({primitive:Je},p):{},Js=G(lr)?this._toVariables({semantic:lr},p):{},Xs=G(qs)?this._toVariables({light:qs},p):{},Gh=G(Gs)?this._toVariables({dark:Gs},p):{},qh=G(li)?this._toVariables({semantic:li},p):{},Yh=G(Ks)?this._toVariables({light:Ks},p):{},Zh=G(Zs)?this._toVariables({dark:Zs},p):{},[LC,FC]=[(i=Qs.declarations)!=null?i:"",Qs.tokens],[jC,BC]=[(s=Js.declarations)!=null?s:"",Js.tokens||[]],[UC,$C]=[(a=Xs.declarations)!=null?a:"",Xs.tokens||[]],[HC,VC]=[(c=Gh.declarations)!=null?c:"",Gh.tokens||[]],[zC,WC]=[(l=qh.declarations)!=null?l:"",qh.tokens||[]],[GC,qC]=[(u=Yh.declarations)!=null?u:"",Yh.tokens||[]],[YC,ZC]=[(d=Zh.declarations)!=null?d:"",Zh.tokens||[]];g=this.transformCSS(e,LC,"light","variable",p,r,o),y=FC;let KC=this.transformCSS(e,`${jC}${UC}`,"light","variable",p,r,o),QC=this.transformCSS(e,`${HC}`,"dark","variable",p,r,o);v=`${KC}${QC}`,D=[...new Set([...BC,...$C,...VC])];let JC=this.transformCSS(e,`${zC}${GC}color-scheme:light`,"light","variable",p,r,o),XC=this.transformCSS(e,`${YC}color-scheme:dark`,"dark","variable",p,r,o);T=`${JC}${XC}`,j=[...new Set([...WC,...qC,...ZC])],q=Se(f.css,{dt:kn})}return{primitive:{css:g,tokens:y},semantic:{css:v,tokens:D},global:{css:T,tokens:j},style:q}},getPreset({name:e="",preset:n={},options:t,params:r,set:o,defaults:i,selector:s}){var a,c,l;let u,d,f;if(G(n)&&t.transform!=="strict"){let p=e.replace("-directive",""),g=n,{colorScheme:y,extend:v,css:D}=g,T=On(g,["colorScheme","extend","css"]),j=v||{},{colorScheme:q}=j,Je=On(j,["colorScheme"]),Xe=y||{},{dark:Ge}=Xe,wt=On(Xe,["dark"]),Pn=q||{},{dark:lr}=Pn,zs=On(Pn,["dark"]),Ws=G(T)?this._toVariables({[p]:Wt(Wt({},T),Je)},t):{},li=G(wt)?this._toVariables({[p]:Wt(Wt({},wt),zs)},t):{},ui=G(Ge)?this._toVariables({[p]:Wt(Wt({},Ge),lr)},t):{},[Gs,qs]=[(a=Ws.declarations)!=null?a:"",Ws.tokens||[]],[Ys,Zs]=[(c=li.declarations)!=null?c:"",li.tokens||[]],[Ks,Qs]=[(l=ui.declarations)!=null?l:"",ui.tokens||[]],Js=this.transformCSS(p,`${Gs}${Ys}`,"light","variable",t,o,i,s),Xs=this.transformCSS(p,Ks,"dark","variable",t,o,i,s);u=`${Js}${Xs}`,d=[...new Set([...qs,...Zs,...Qs])],f=Se(D,{dt:kn})}return{css:u,tokens:d,style:f}},getPresetC({name:e="",theme:n={},params:t,set:r,defaults:o}){var i;let{preset:s,options:a}=n,c=(i=s?.components)==null?void 0:i[e];return this.getPreset({name:e,preset:c,options:a,params:t,set:r,defaults:o})},getPresetD({name:e="",theme:n={},params:t,set:r,defaults:o}){var i,s;let a=e.replace("-directive",""),{preset:c,options:l}=n,u=((i=c?.components)==null?void 0:i[a])||((s=c?.directives)==null?void 0:s[a]);return this.getPreset({name:a,preset:u,options:l,params:t,set:r,defaults:o})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,n){var t;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?n.options.darkModeSelector:(t=e.darkModeSelector)!=null?t:n.options.darkModeSelector):[]},getLayerOrder(e,n={},t,r){let{cssLayer:o}=n;return o?`@layer ${Se(o.order||o.name||"primeui",t)}`:""},getCommonStyleSheet({name:e="",theme:n={},params:t,props:r={},set:o,defaults:i}){let s=this.getCommon({name:e,theme:n,params:t,set:o,defaults:i}),a=Object.entries(r).reduce((c,[l,u])=>c.push(`${l}="${u}"`)&&c,[]).join(" ");return Object.entries(s||{}).reduce((c,[l,u])=>{if(xn(u)&&Object.hasOwn(u,"css")){let d=eo(u.css),f=`${l}-variables`;c.push(`<style type="text/css" data-primevue-style-id="${f}" ${a}>${d}</style>`)}return c},[]).join("")},getStyleSheet({name:e="",theme:n={},params:t,props:r={},set:o,defaults:i}){var s;let a={name:e,theme:n,params:t,set:o,defaults:i},c=(s=e.includes("-directive")?this.getPresetD(a):this.getPresetC(a))==null?void 0:s.css,l=Object.entries(r).reduce((u,[d,f])=>u.push(`${d}="${f}"`)&&u,[]).join(" ");return c?`<style type="text/css" data-primevue-style-id="${e}-variables" ${l}>${eo(c)}</style>`:""},createTokens(e={},n,t="",r="",o={}){let i=function(a,c={},l=[]){if(l.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:a,path:this.path,paths:c,value:void 0};l.push(this.path),c.name=this.path,c.binding||(c.binding={});let u=this.value;if(typeof this.value=="string"&&Vs.test(this.value)){let d=this.value.trim().replace(Vs,f=>{var p;let g=f.slice(1,-1),y=this.tokens[g];if(!y)return console.warn(`Token not found for path: ${g}`),"__UNRESOLVED__";let v=y.computed(a,c,l);return Array.isArray(v)&&v.length===2?`light-dark(${v[0].value},${v[1].value})`:(p=v?.value)!=null?p:"__UNRESOLVED__"});u=eC.test(d.replace(tC,"0"))?`calc(${d})`:d}return Xr(c.binding)&&delete c.binding,l.pop(),{colorScheme:a,path:this.path,paths:c,value:u.includes("__UNRESOLVED__")?void 0:u}},s=(a,c,l)=>{Object.entries(a).forEach(([u,d])=>{let f=Vt(u,n.variable.excludedKeyRegex)?c:c?`${c}.${QE(u)}`:QE(u),p=l?`${l}.${u}`:u;xn(d)?s(d,f,p):(o[f]||(o[f]={paths:[],computed:(g,y={},v=[])=>{if(o[f].paths.length===1)return o[f].paths[0].computed(o[f].paths[0].scheme,y.binding,v);if(g&&g!=="none")for(let D=0;D<o[f].paths.length;D++){let T=o[f].paths[D];if(T.scheme===g)return T.computed(g,y.binding,v)}return o[f].paths.map(D=>D.computed(D.scheme,y[D.scheme],v))}}),o[f].paths.push({path:p,value:d,scheme:p.includes("colorScheme.light")?"light":p.includes("colorScheme.dark")?"dark":"none",computed:i,tokens:o}))})};return s(e,t,r),o},getTokenValue(e,n,t){var r;let o=(a=>a.split(".").filter(c=>!Vt(c.toLowerCase(),t.variable.excludedKeyRegex)).join("."))(n),i=n.includes("colorScheme.light")?"light":n.includes("colorScheme.dark")?"dark":void 0,s=[(r=e[o])==null?void 0:r.computed(i)].flat().filter(a=>a);return s.length===1?s[0].value:s.reduce((a={},c)=>{let l=c,{colorScheme:u}=l,d=On(l,["colorScheme"]);return a[u]=d,a},void 0)},getSelectorRule(e,n,t,r){return t==="class"||t==="attr"?si(G(n)?`${e}${n},${e} ${n}`:e,r):si(e,si(n??":root,:host",r))},transformCSS(e,n,t,r,o={},i,s,a){if(G(n)){let{cssLayer:c}=o;if(r!=="style"){let l=this.getColorSchemeOption(o,s);n=t==="dark"?l.reduce((u,{type:d,selector:f})=>(G(f)&&(u+=f.includes("[CSS]")?f.replace("[CSS]",n):this.getSelectorRule(f,a,d,n)),u),""):si(a??":root,:host",n)}if(c){let l={name:"primeui",order:"primeui"};xn(c)&&(l.name=Se(c.name,{name:e,type:r})),G(l.name)&&(n=si(`@layer ${l.name}`,n),i?.layerNames(l.name))}return n}return""}},K={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:n}=e;n&&(this._theme=Fh(Wt({},n),{options:Wt(Wt({},this.defaults.options),n.options)}),this._tokens=zt.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),lt.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=Fh(Wt({},this.theme),{preset:e}),this._tokens=zt.createTokens(e,this.defaults),this.clearLoadedStyleNames(),lt.emit("preset:change",e),lt.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=Fh(Wt({},this.theme),{options:e}),this.clearLoadedStyleNames(),lt.emit("options:change",e),lt.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},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()},getTokenValue(e){return zt.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",n){return zt.getCommon({name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",n){let t={name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return zt.getPresetC(t)},getDirective(e="",n){let t={name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return zt.getPresetD(t)},getCustomPreset(e="",n,t,r){let o={name:e,preset:n,options:this.options,selector:t,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return zt.getPreset(o)},getLayerOrderCSS(e=""){return zt.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",n,t="style",r){return zt.transformCSS(e,n,r,t,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",n,t={}){return zt.getCommonStyleSheet({name:e,theme:this.theme,params:n,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,n,t={}){return zt.getStyleSheet({name:e,theme:this.theme,params:n,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:n}){this._loadingStyles.size&&(this._loadingStyles.delete(n),lt.emit(`theme:${n}:load`,e),!this._loadingStyles.size&&lt.emit("theme:load"))}};var iC=`
12
- *,
13
- ::before,
14
- ::after {
15
- box-sizing: border-box;
16
- }
17
-
18
- .p-collapsible-enter-active {
19
- animation: p-animate-collapsible-expand 0.2s ease-out;
20
- overflow: hidden;
21
- }
22
-
23
- .p-collapsible-leave-active {
24
- animation: p-animate-collapsible-collapse 0.2s ease-out;
25
- overflow: hidden;
26
- }
27
-
28
- @keyframes p-animate-collapsible-expand {
29
- from {
30
- grid-template-rows: 0fr;
31
- }
32
- to {
33
- grid-template-rows: 1fr;
34
- }
35
- }
36
-
37
- @keyframes p-animate-collapsible-collapse {
38
- from {
39
- grid-template-rows: 1fr;
40
- }
41
- to {
42
- grid-template-rows: 0fr;
43
- }
44
- }
45
-
46
- .p-disabled,
47
- .p-disabled * {
48
- cursor: default;
49
- pointer-events: none;
50
- user-select: none;
51
- }
52
-
53
- .p-disabled,
54
- .p-component:disabled {
55
- opacity: dt('disabled.opacity');
56
- }
57
-
58
- .pi {
59
- font-size: dt('icon.size');
60
- }
61
-
62
- .p-icon {
63
- width: dt('icon.size');
64
- height: dt('icon.size');
65
- }
66
-
67
- .p-overlay-mask {
68
- background: var(--px-mask-background, dt('mask.background'));
69
- color: dt('mask.color');
70
- position: fixed;
71
- top: 0;
72
- left: 0;
73
- width: 100%;
74
- height: 100%;
75
- }
76
-
77
- .p-overlay-mask-enter-active {
78
- animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;
79
- }
80
-
81
- .p-overlay-mask-leave-active {
82
- animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;
83
- }
84
-
85
- @keyframes p-animate-overlay-mask-enter {
86
- from {
87
- background: transparent;
88
- }
89
- to {
90
- background: var(--px-mask-background, dt('mask.background'));
91
- }
92
- }
93
- @keyframes p-animate-overlay-mask-leave {
94
- from {
95
- background: var(--px-mask-background, dt('mask.background'));
96
- }
97
- to {
98
- background: transparent;
99
- }
100
- }
101
-
102
- .p-anchored-overlay-enter-active {
103
- animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);
104
- }
105
-
106
- .p-anchored-overlay-leave-active {
107
- animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);
108
- }
109
-
110
- @keyframes p-animate-anchored-overlay-enter {
111
- from {
112
- opacity: 0;
113
- transform: scale(0.93);
114
- }
115
- }
116
-
117
- @keyframes p-animate-anchored-overlay-leave {
118
- to {
119
- opacity: 0;
120
- transform: scale(0.93);
121
- }
122
- }
123
- `;var BR=0,sC=(()=>{class e{document=h(V);use(t,r={}){let o=!1,i=t,s=null,{immediate:a=!0,manual:c=!1,name:l=`style_${++BR}`,id:u=void 0,media:d=void 0,nonce:f=void 0,first:p=!1,props:g={}}=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 y=this.document.head;$E(s,"nonce",f),p&&y.firstChild?y.insertBefore(s,y.firstChild):y.appendChild(s),Ql(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 ci={_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()}},UR=`
124
- .p-hidden-accessible {
125
- border: 0;
126
- clip: rect(0 0 0 0);
127
- height: 1px;
128
- margin: -1px;
129
- overflow: hidden;
130
- padding: 0;
131
- position: absolute;
132
- width: 1px;
133
- }
134
-
135
- .p-hidden-accessible input,
136
- .p-hidden-accessible select {
137
- transform: scale(0);
138
- }
139
-
140
- .p-overflow-hidden {
141
- overflow: hidden;
142
- padding-right: dt('scrollbar.width');
143
- }
144
- `,Be=(()=>{class e{name="base";useStyle=h(sC);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,r={},o=i=>i)=>{let i=o(ai`${Se(t,{dt:kn})}`);return i?this.useStyle.use(eo(i),m({name:this.name},r)):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},r="")=>this.load(this.style,t,(o="")=>K.transformCSS(t.name||this.name,`${o}${ai`${r}`}`));loadBaseCSS=(t={})=>this.load(UR,t);loadBaseStyle=(t={},r="")=>this.load(iC,t,(o="")=>K.transformCSS(t.name||this.name,`${o}${ai`${r}`}`));getCommonTheme=t=>K.getCommon(this.name,t);getComponentTheme=t=>K.getComponent(this.name,t);getPresetTheme=(t,r,o)=>K.getCustomPreset(this.name,t,r,o);getLayerOrderThemeCSS=()=>K.getLayerOrderCSS(this.name);getStyleSheet=(t="",r={})=>{if(this.css){let o=Se(this.css,{dt:kn}),i=eo(ai`${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={})=>K.getCommonStyleSheet(this.name,t,r);getThemeStyleSheet=(t,r={})=>{let o=[K.getStyleSheet(this.name,t,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=ai`${Se(this.style,{dt:kn})}`,a=eo(K.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 $R=(()=>{class e{theme=N(void 0);csp=N({nonce:void 0});isThemeChanged=!1;document=h(V);baseStyle=h(Be);constructor(){Ve(()=>{lt.on("theme:change",t=>{te(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),Ve(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){K.clearLoadedStyleNames(),lt.clear()}onThemeChange(t){K.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!K.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,m({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,m({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,m({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(m({name:"global-style"},s),i),K.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})(),$h=(()=>{class e extends $R{ripple=N(!1);platformId=h(Lt);inputStyle=N(null);inputVariant=N(null);overlayAppendTo=N("self");overlayOptions={};csp=N({nonce:void 0});unstyled=N(void 0);pt=N(void 0);ptOptions=N(void 0);filterMatchModeOptions={text:[Re.STARTS_WITH,Re.CONTAINS,Re.NOT_CONTAINS,Re.ENDS_WITH,Re.EQUALS,Re.NOT_EQUALS],numeric:[Re.EQUALS,Re.NOT_EQUALS,Re.LESS_THAN,Re.LESS_THAN_OR_EQUAL_TO,Re.GREATER_THAN,Re.GREATER_THAN_OR_EQUAL_TO],date:[Re.DATE_IS,Re.DATE_IS_NOT,Re.DATE_BEFORE,Re.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 Q;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=m(m({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:c,translation:l,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:f,ptOptions:p,pt:g,unstyled:y}=t||{};r&&this.csp.set(r),d&&this.overlayAppendTo.set(d),o&&this.ripple.set(o),i&&this.inputStyle.set(i),s&&this.inputVariant.set(s),c&&(this.overlayOptions=c),l&&this.setTranslation(l),u&&(this.filterMatchModeOptions=u),f&&(this.zIndex=f),g&&this.pt.set(g),p&&this.ptOptions.set(p),y&&this.unstyled.set(y),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),HR=new C("PRIME_NG_CONFIG");function E4(...e){let n=e?.map(r=>({provide:HR,useValue:r,multi:!1})),t=Jc(()=>{let r=h($h);e?.forEach(o=>r.setConfig(o))});return pt([...n,t])}var aC=(()=>{class e extends Be{name="common";static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),to=new C("PARENT_INSTANCE"),It=(()=>{class e{document=h(V);platformId=h(Lt);el=h(Ne);injector=h(fe);cd=h(Wr);renderer=h(Bt);config=h($h);$parentInstance=h(to,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=h(aC);baseStyle=h(Be);scopedStyleEl;parent=this.$params.parent;cn=ir;_themeScopedListener;themeChangeListenerMap=new Map;dt=Ie();unstyled=Ie();pt=Ie();ptOptions=Ie();$attrSelector=Hs("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=N(void 0);directiveUnstyled=N(void 0);$unstyled=Ce(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=Ce(()=>Se(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>Se(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||Se(t,this.$params))}get $style(){return m(m({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let t=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:t}}}onInit(){}onChanges(t){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){Ve(t=>{this.document&&!$p(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")})}),Ve(t=>{this.document&&!$p(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 Xl(t)?t(...r):kh(...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 eu(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(){ci.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),ci.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){let t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);G(t)&&this.baseStyle.load(t,m({name:"global"},this.$styleOptions))}_loadCoreStyles(){!ci.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),ci.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!K.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,m({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,m({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,m({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(m({name:"global-style"},this.$styleOptions),i),K.setLoadedStyleName("common")}if(!K.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:t,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,m({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(m({name:`${this.$style?.name}-style`},this.$styleOptions),r),K.setLoadedStyleName(this.$style?.name)}if(!K.isStyleNameLoaded("layer-order")){let t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,m({name:"layer-order",first:!0},this.$styleOptions)),K.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){let{css:r}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,m({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,r=()=>{}){this._offThemeChangeListener(t),ci.clearLoadedStyleNames();let o=r.bind(this);this.themeChangeListenerMap.set(t,o),lt.on("theme:change",o)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(lt.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,P(m({},o),{global:l||{}})),d=this._getPTDatasets(r);return a||!a&&u?c?this._mergeProps(c,l,u,d):m(m(m({},l),u),d):m(m({},u),d)}_getPTDatasets(t=""){let r="data-pc-",o=t==="root"&&G(this.$pt()?.["data-pc-section"]);return t!=="transition"&&P(m({},t==="root"&&P(m({[`${r}name`]:ar(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:ar(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:ar(t.includes(".")?t.split(".").at(-1)??"":t)})}_getPTClassValue(t,r,o){let i=this._getOptionValue(t,r,o);return Ct(i)||Lh(i)?{class:i}:i}_getPT(t,r="",o){let i=(s,a=!1)=>{let c=o?o(s):s,l=ar(r),u=ar(this.$hostName||this.$name);return(a?l!==u?c?.[l]:void 0:c?.[l])??c};return t?.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t,!0)}_usePT(t,r,o,i){let s=a=>r?.call(this,a,o,i);if(t?.hasOwnProperty("_usept")){let{mergeSections:a=!0,mergeProps:c=!1}=t._usept||this.config?.ptOptions()||{},l=s(t.originalValue),u=s(t.value);return l===void 0&&u===void 0?void 0:Ct(u)?u:Ct(l)?l:a||!a&&u?c?this._mergeProps(c,l,u):m(m({},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,m(m({},this.$params),r))}ptms(t,r={}){return t.reduce((o,i)=>(o=kh(o,this.ptm(i,r))||{},o),{})}ptmo(t={},r="",o={}){return this._getPTValue(t,r,m({instance:this},o),!1)}cx(t,r={}){return this.$unstyled()?void 0:ir(this._getOptionValue(this.$style.classes,t,m(m({},this.$params),r)))}sx(t="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,t,m(m({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,t,m(m({},this.$params),o));return m(m({},s),i)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[it([aC,Be]),nn]})}return e})();var Hh=(()=>{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=j=>{if(j)return getComputedStyle(j).getPropertyValue("position")==="relative"?j:i(j.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},g,y,v="top";c.top+a+s.height>d.height?(g=c.top-p.top-s.height,v="bottom",c.top+g<0&&(g=-1*c.top)):(g=a+c.top-p.top,v="top");let D=c.left+s.width-d.width,T=c.left-p.left;if(s.width>d.width?y=(c.left-p.left)*-1:D>0?y=T-D:y=c.left-p.left,t.style.top=g+"px",t.style.left=y+"px",t.style.transformOrigin=v,o){let j=Us(/-anchor-gutter$/)?.value;t.style.marginTop=v==="bottom"?`calc(${j??"2px"} * -1)`:j??""}}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(),g,y;u.top+c+s>p.height?(g=u.top+d-s,t.style.transformOrigin="bottom",g<0&&(g=d)):(g=c+u.top+d,t.style.transformOrigin="top"),u.left+a>p.width?y=Math.max(0,u.left+f+l-a):y=u.left+f,t.style.top=g+"px",t.style.left=y+"px",o&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,r=[]){return t.parentNode===null?r:this.getParents(t.parentNode,r.concat([t.parentNode]))}static getScrollableParents(t){let r=[];if(t){let o=this.getParents(t),i=/(auto|scroll)/,s=a=>{let 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},
145
- [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
146
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
147
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
148
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
149
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
150
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
151
- .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
152
- .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},
153
- [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
154
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
155
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
156
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
157
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
158
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}}return e})();function F4(){RE({variableName:Uh("scrollbar.width").name})}function j4(){xE({variableName:Uh("scrollbar.width").name})}var cC=class{element;listener;scrollableParents;constructor(n,t=()=>{}){this.element=n,this.listener=t}bindScrollListener(){this.scrollableParents=Hh.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 lC=(()=>{class e extends It{autofocus=!1;focused=!1;platformId=h(Lt);document=h(V);host=h(Ne);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(){hs(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=Hh.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275dir=ee({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[Fe]})}return e})();var ut=(()=>{class e{el;renderer;pBind=Ie(void 0);_attrs=N(void 0);attrs=Ce(()=>this._attrs()||this.pBind());styles=Ce(()=>this.attrs()?.style);classes=Ce(()=>ir(this.attrs()?.class));listeners=[];constructor(t,r){this.el=t,this.renderer=r,Ve(()=>{let a=this.attrs()||{},{style:o,class:i}=a,s=su(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){$s(this._attrs(),t)||this._attrs.set(t)}clearListeners(){this.listeners.forEach(({unlisten:t})=>t()),this.listeners=[]}static \u0275fac=function(r){return new(r||e)(B(Ne),B(Bt))};static \u0275dir=ee({type:e,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(r,o){r&2&&(vp(o.styles()),ze(o.classes()))},inputs:{pBind:[1,"pBind"]}})}return e})(),uC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ee({type:e});static \u0275inj=me({})}return e})();var dC=`
159
- .p-badge {
160
- display: inline-flex;
161
- border-radius: dt('badge.border.radius');
162
- align-items: center;
163
- justify-content: center;
164
- padding: dt('badge.padding');
165
- background: dt('badge.primary.background');
166
- color: dt('badge.primary.color');
167
- font-size: dt('badge.font.size');
168
- font-weight: dt('badge.font.weight');
169
- min-width: dt('badge.min.width');
170
- height: dt('badge.height');
171
- }
172
-
173
- .p-badge-dot {
174
- width: dt('badge.dot.size');
175
- min-width: dt('badge.dot.size');
176
- height: dt('badge.dot.size');
177
- border-radius: 50%;
178
- padding: 0;
179
- }
180
-
181
- .p-badge-circle {
182
- padding: 0;
183
- border-radius: 50%;
184
- }
185
-
186
- .p-badge-secondary {
187
- background: dt('badge.secondary.background');
188
- color: dt('badge.secondary.color');
189
- }
190
-
191
- .p-badge-success {
192
- background: dt('badge.success.background');
193
- color: dt('badge.success.color');
194
- }
195
-
196
- .p-badge-info {
197
- background: dt('badge.info.background');
198
- color: dt('badge.info.color');
199
- }
200
-
201
- .p-badge-warn {
202
- background: dt('badge.warn.background');
203
- color: dt('badge.warn.color');
204
- }
205
-
206
- .p-badge-danger {
207
- background: dt('badge.danger.background');
208
- color: dt('badge.danger.color');
209
- }
210
-
211
- .p-badge-contrast {
212
- background: dt('badge.contrast.background');
213
- color: dt('badge.contrast.color');
214
- }
215
-
216
- .p-badge-sm {
217
- font-size: dt('badge.sm.font.size');
218
- min-width: dt('badge.sm.min.width');
219
- height: dt('badge.sm.height');
220
- }
221
-
222
- .p-badge-lg {
223
- font-size: dt('badge.lg.font.size');
224
- min-width: dt('badge.lg.min.width');
225
- height: dt('badge.lg.height');
226
- }
227
-
228
- .p-badge-xl {
229
- font-size: dt('badge.xl.font.size');
230
- min-width: dt('badge.xl.min.width');
231
- height: dt('badge.xl.height');
232
- }
233
- `;var VR=`
234
- ${dC}
235
-
236
- /* For PrimeNG (directive)*/
237
- .p-overlay-badge {
238
- position: relative;
239
- }
240
-
241
- .p-overlay-badge > .p-badge {
242
- position: absolute;
243
- top: 0;
244
- inset-inline-end: 0;
245
- transform: translate(50%, -50%);
246
- transform-origin: 100% 0;
247
- margin: 0;
248
- }
249
- `,zR={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":G(n)&&String(n).length===1,"p-badge-dot":Xr(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"}]}},fC=(()=>{class e extends Be{name="badge";style=VR;classes=zR;static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var pC=new C("BADGE_INSTANCE");var zh=(()=>{class e extends It{componentName="Badge";$pcBadge=h(pC,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(ut,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=Ie();badgeSize=Ie();size=Ie();severity=Ie();value=Ie();badgeDisabled=Ie(!1,{transform:be});_componentStyle=h(fC);get dataP(){return this.cn({circle:this.value()!=null&&String(this.value()).length===1,empty:this.value()==null,disabled:this.badgeDisabled(),[this.severity()]:this.severity(),[this.size()]:this.size()})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275cmp=Le({type:e,selectors:[["p-badge"]],hostVars:5,hostBindings:function(r,o){r&2&&(Qe("data-p",o.dataP),ze(o.cn(o.cx("root"),o.styleClass())),nl("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:[it([fC,{provide:pC,useExisting:e},{provide:to,useExisting:e}]),Hr([ut]),Fe],decls:1,vars:1,template:function(r,o){r&1&&ls(0),r&2&&Uo(o.value())},dependencies:[Ut,cr,uC],encapsulation:2,changeDetection:0})}return e})(),hC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ee({type:e});static \u0275inj=me({imports:[zh,cr,cr]})}return e})();var GR=["*"],qR={root:"p-fluid"},gC=(()=>{class e extends Be{name="fluid";classes=qR;static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var mC=new C("FLUID_INSTANCE"),yC=(()=>{class e extends It{componentName="Fluid";$pcFluid=h(mC,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(ut,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=h(gC);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275cmp=Le({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(r,o){r&2&&ze(o.cx("root"))},features:[it([gC,{provide:mC,useExisting:e},{provide:to,useExisting:e}]),Hr([ut]),Fe],ngContentSelectors:GR,decls:1,vars:0,template:function(r,o){r&1&&(sn(),an(0))},dependencies:[Ut],encapsulation:2,changeDetection:0})}return e})();var YR=["*"],ZR=`
250
- .p-icon {
251
- display: inline-block;
252
- vertical-align: baseline;
253
- flex-shrink: 0;
254
- }
255
-
256
- .p-icon-spin {
257
- -webkit-animation: p-icon-spin 2s infinite linear;
258
- animation: p-icon-spin 2s infinite linear;
259
- }
260
-
261
- @-webkit-keyframes p-icon-spin {
262
- 0% {
263
- -webkit-transform: rotate(0deg);
264
- transform: rotate(0deg);
265
- }
266
- 100% {
267
- -webkit-transform: rotate(359deg);
268
- transform: rotate(359deg);
269
- }
270
- }
271
-
272
- @keyframes p-icon-spin {
273
- 0% {
274
- -webkit-transform: rotate(0deg);
275
- transform: rotate(0deg);
276
- }
277
- 100% {
278
- -webkit-transform: rotate(359deg);
279
- transform: rotate(359deg);
280
- }
281
- }
282
- `,vC=(()=>{class e extends Be{name="baseicon";css=ZR;static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bC=(()=>{class e extends It{spin=!1;_componentStyle=h(vC);getClassNames(){return ir("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275cmp=Le({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&&ze(o.getClassNames())},inputs:{spin:[2,"spin","spin",be]},features:[it([vC]),Fe],ngContentSelectors:YR,decls:1,vars:0,template:function(r,o){r&1&&(sn(),an(0))},encapsulation:2,changeDetection:0})}return e})();var KR=["data-p-icon","spinner"],DC=(()=>{class e extends bC{pathId;onInit(){this.pathId="url(#"+Hs()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275cmp=Le({type:e,selectors:[["","data-p-icon","spinner"]],features:[Fe],attrs:KR,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&&(Do(),Lo(0,"g"),as(1,"path",0),Fo(),Lo(2,"defs")(3,"clipPath",1),as(4,"rect",2),Fo()()),r&2&&(Qe("clip-path",o.pathId),Pe(3),tl("id",o.pathId))},encapsulation:2})}return e})();var EC=`
283
- .p-ink {
284
- display: block;
285
- position: absolute;
286
- background: dt('ripple.background');
287
- border-radius: 100%;
288
- transform: scale(0);
289
- pointer-events: none;
290
- }
291
-
292
- .p-ink-active {
293
- animation: ripple 0.4s linear;
294
- }
295
-
296
- @keyframes ripple {
297
- 100% {
298
- opacity: 0;
299
- transform: scale(2.5);
300
- }
301
- }
302
- `;var QR=`
303
- ${EC}
304
-
305
- /* For PrimeNG */
306
- .p-ripple {
307
- overflow: hidden;
308
- position: relative;
309
- }
310
-
311
- .p-ripple-disabled .p-ink {
312
- display: none !important;
313
- }
314
-
315
- @keyframes ripple {
316
- 100% {
317
- opacity: 0;
318
- transform: scale(2.5);
319
- }
320
- }
321
- `,JR={root:"p-ink"},CC=(()=>{class e extends Be{name="ripple";style=QR;classes=JR;static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var IC=(()=>{class e extends It{componentName="Ripple";zone=h(pe);_componentStyle=h(CC);animationListener;mouseDownListener;timeout;constructor(){super(),Ve(()=>{hs(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(t){let r=this.getInk();if(!r||this.document.defaultView?.getComputedStyle(r,null).display==="none")return;if(!this.$unstyled()&&sr(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!Rh(r)&&!Oh(r)){let a=Math.max(PE(this.el.nativeElement),xh(this.el.nativeElement));r.style.height=a+"px",r.style.width=a+"px"}let o=BE(this.el.nativeElement),i=t.pageX-o.left+this.document.body.scrollTop-Oh(r)/2,s=t.pageY-o.top+this.document.body.scrollLeft-Rh(r)/2;this.renderer.setStyle(r,"top",s+"px"),this.renderer.setStyle(r,"left",i+"px"),!this.$unstyled()&&Bs(r,"p-ink-active"),r.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&(!this.$unstyled()&&sr(a,"p-ink-active"),a.setAttribute("data-p-ink-active","false"))},401)}getInk(){let t=this.el.nativeElement.children;for(let r=0;r<t.length;r++)if(typeof t[r].className=="string"&&t[r].className.indexOf("p-ink")!==-1)return t[r];return null}resetInk(){let t=this.getInk();t&&(!this.$unstyled()&&sr(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&sr(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")}create(){let t=this.renderer.createElement("span");this.renderer.addClass(t,"p-ink"),this.renderer.appendChild(this.el.nativeElement,t),this.renderer.setAttribute(t,"data-p-ink","true"),this.renderer.setAttribute(t,"data-p-ink-active","false"),this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(t,"animationend",this.onAnimationEnd.bind(this)))}remove(){let t=this.getInk();t&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,UE(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[it([CC]),Fe]})}return e})();var wC=`
322
- .p-button {
323
- display: inline-flex;
324
- cursor: pointer;
325
- user-select: none;
326
- align-items: center;
327
- justify-content: center;
328
- overflow: hidden;
329
- position: relative;
330
- color: dt('button.primary.color');
331
- background: dt('button.primary.background');
332
- border: 1px solid dt('button.primary.border.color');
333
- padding: dt('button.padding.y') dt('button.padding.x');
334
- font-size: 1rem;
335
- font-family: inherit;
336
- font-feature-settings: inherit;
337
- transition:
338
- background dt('button.transition.duration'),
339
- color dt('button.transition.duration'),
340
- border-color dt('button.transition.duration'),
341
- outline-color dt('button.transition.duration'),
342
- box-shadow dt('button.transition.duration');
343
- border-radius: dt('button.border.radius');
344
- outline-color: transparent;
345
- gap: dt('button.gap');
346
- }
347
-
348
- .p-button:disabled {
349
- cursor: default;
350
- }
351
-
352
- .p-button-icon-right {
353
- order: 1;
354
- }
355
-
356
- .p-button-icon-right:dir(rtl) {
357
- order: -1;
358
- }
359
-
360
- .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
361
- order: 1;
362
- }
363
-
364
- .p-button-icon-bottom {
365
- order: 2;
366
- }
367
-
368
- .p-button-icon-only {
369
- width: dt('button.icon.only.width');
370
- padding-inline-start: 0;
371
- padding-inline-end: 0;
372
- gap: 0;
373
- }
374
-
375
- .p-button-icon-only.p-button-rounded {
376
- border-radius: 50%;
377
- height: dt('button.icon.only.width');
378
- }
379
-
380
- .p-button-icon-only .p-button-label {
381
- visibility: hidden;
382
- width: 0;
383
- }
384
-
385
- .p-button-icon-only::after {
386
- content: "\xA0";
387
- visibility: hidden;
388
- width: 0;
389
- }
390
-
391
- .p-button-sm {
392
- font-size: dt('button.sm.font.size');
393
- padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
394
- }
395
-
396
- .p-button-sm .p-button-icon {
397
- font-size: dt('button.sm.font.size');
398
- }
399
-
400
- .p-button-sm.p-button-icon-only {
401
- width: dt('button.sm.icon.only.width');
402
- }
403
-
404
- .p-button-sm.p-button-icon-only.p-button-rounded {
405
- height: dt('button.sm.icon.only.width');
406
- }
407
-
408
- .p-button-lg {
409
- font-size: dt('button.lg.font.size');
410
- padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
411
- }
412
-
413
- .p-button-lg .p-button-icon {
414
- font-size: dt('button.lg.font.size');
415
- }
416
-
417
- .p-button-lg.p-button-icon-only {
418
- width: dt('button.lg.icon.only.width');
419
- }
420
-
421
- .p-button-lg.p-button-icon-only.p-button-rounded {
422
- height: dt('button.lg.icon.only.width');
423
- }
424
-
425
- .p-button-vertical {
426
- flex-direction: column;
427
- }
428
-
429
- .p-button-label {
430
- font-weight: dt('button.label.font.weight');
431
- }
432
-
433
- .p-button-fluid {
434
- width: 100%;
435
- }
436
-
437
- .p-button-fluid.p-button-icon-only {
438
- width: dt('button.icon.only.width');
439
- }
440
-
441
- .p-button:not(:disabled):hover {
442
- background: dt('button.primary.hover.background');
443
- border: 1px solid dt('button.primary.hover.border.color');
444
- color: dt('button.primary.hover.color');
445
- }
446
-
447
- .p-button:not(:disabled):active {
448
- background: dt('button.primary.active.background');
449
- border: 1px solid dt('button.primary.active.border.color');
450
- color: dt('button.primary.active.color');
451
- }
452
-
453
- .p-button:focus-visible {
454
- box-shadow: dt('button.primary.focus.ring.shadow');
455
- outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
456
- outline-offset: dt('button.focus.ring.offset');
457
- }
458
-
459
- .p-button .p-badge {
460
- min-width: dt('button.badge.size');
461
- height: dt('button.badge.size');
462
- line-height: dt('button.badge.size');
463
- }
464
-
465
- .p-button-raised {
466
- box-shadow: dt('button.raised.shadow');
467
- }
468
-
469
- .p-button-rounded {
470
- border-radius: dt('button.rounded.border.radius');
471
- }
472
-
473
- .p-button-secondary {
474
- background: dt('button.secondary.background');
475
- border: 1px solid dt('button.secondary.border.color');
476
- color: dt('button.secondary.color');
477
- }
478
-
479
- .p-button-secondary:not(:disabled):hover {
480
- background: dt('button.secondary.hover.background');
481
- border: 1px solid dt('button.secondary.hover.border.color');
482
- color: dt('button.secondary.hover.color');
483
- }
484
-
485
- .p-button-secondary:not(:disabled):active {
486
- background: dt('button.secondary.active.background');
487
- border: 1px solid dt('button.secondary.active.border.color');
488
- color: dt('button.secondary.active.color');
489
- }
490
-
491
- .p-button-secondary:focus-visible {
492
- outline-color: dt('button.secondary.focus.ring.color');
493
- box-shadow: dt('button.secondary.focus.ring.shadow');
494
- }
495
-
496
- .p-button-success {
497
- background: dt('button.success.background');
498
- border: 1px solid dt('button.success.border.color');
499
- color: dt('button.success.color');
500
- }
501
-
502
- .p-button-success:not(:disabled):hover {
503
- background: dt('button.success.hover.background');
504
- border: 1px solid dt('button.success.hover.border.color');
505
- color: dt('button.success.hover.color');
506
- }
507
-
508
- .p-button-success:not(:disabled):active {
509
- background: dt('button.success.active.background');
510
- border: 1px solid dt('button.success.active.border.color');
511
- color: dt('button.success.active.color');
512
- }
513
-
514
- .p-button-success:focus-visible {
515
- outline-color: dt('button.success.focus.ring.color');
516
- box-shadow: dt('button.success.focus.ring.shadow');
517
- }
518
-
519
- .p-button-info {
520
- background: dt('button.info.background');
521
- border: 1px solid dt('button.info.border.color');
522
- color: dt('button.info.color');
523
- }
524
-
525
- .p-button-info:not(:disabled):hover {
526
- background: dt('button.info.hover.background');
527
- border: 1px solid dt('button.info.hover.border.color');
528
- color: dt('button.info.hover.color');
529
- }
530
-
531
- .p-button-info:not(:disabled):active {
532
- background: dt('button.info.active.background');
533
- border: 1px solid dt('button.info.active.border.color');
534
- color: dt('button.info.active.color');
535
- }
536
-
537
- .p-button-info:focus-visible {
538
- outline-color: dt('button.info.focus.ring.color');
539
- box-shadow: dt('button.info.focus.ring.shadow');
540
- }
541
-
542
- .p-button-warn {
543
- background: dt('button.warn.background');
544
- border: 1px solid dt('button.warn.border.color');
545
- color: dt('button.warn.color');
546
- }
547
-
548
- .p-button-warn:not(:disabled):hover {
549
- background: dt('button.warn.hover.background');
550
- border: 1px solid dt('button.warn.hover.border.color');
551
- color: dt('button.warn.hover.color');
552
- }
553
-
554
- .p-button-warn:not(:disabled):active {
555
- background: dt('button.warn.active.background');
556
- border: 1px solid dt('button.warn.active.border.color');
557
- color: dt('button.warn.active.color');
558
- }
559
-
560
- .p-button-warn:focus-visible {
561
- outline-color: dt('button.warn.focus.ring.color');
562
- box-shadow: dt('button.warn.focus.ring.shadow');
563
- }
564
-
565
- .p-button-help {
566
- background: dt('button.help.background');
567
- border: 1px solid dt('button.help.border.color');
568
- color: dt('button.help.color');
569
- }
570
-
571
- .p-button-help:not(:disabled):hover {
572
- background: dt('button.help.hover.background');
573
- border: 1px solid dt('button.help.hover.border.color');
574
- color: dt('button.help.hover.color');
575
- }
576
-
577
- .p-button-help:not(:disabled):active {
578
- background: dt('button.help.active.background');
579
- border: 1px solid dt('button.help.active.border.color');
580
- color: dt('button.help.active.color');
581
- }
582
-
583
- .p-button-help:focus-visible {
584
- outline-color: dt('button.help.focus.ring.color');
585
- box-shadow: dt('button.help.focus.ring.shadow');
586
- }
587
-
588
- .p-button-danger {
589
- background: dt('button.danger.background');
590
- border: 1px solid dt('button.danger.border.color');
591
- color: dt('button.danger.color');
592
- }
593
-
594
- .p-button-danger:not(:disabled):hover {
595
- background: dt('button.danger.hover.background');
596
- border: 1px solid dt('button.danger.hover.border.color');
597
- color: dt('button.danger.hover.color');
598
- }
599
-
600
- .p-button-danger:not(:disabled):active {
601
- background: dt('button.danger.active.background');
602
- border: 1px solid dt('button.danger.active.border.color');
603
- color: dt('button.danger.active.color');
604
- }
605
-
606
- .p-button-danger:focus-visible {
607
- outline-color: dt('button.danger.focus.ring.color');
608
- box-shadow: dt('button.danger.focus.ring.shadow');
609
- }
610
-
611
- .p-button-contrast {
612
- background: dt('button.contrast.background');
613
- border: 1px solid dt('button.contrast.border.color');
614
- color: dt('button.contrast.color');
615
- }
616
-
617
- .p-button-contrast:not(:disabled):hover {
618
- background: dt('button.contrast.hover.background');
619
- border: 1px solid dt('button.contrast.hover.border.color');
620
- color: dt('button.contrast.hover.color');
621
- }
622
-
623
- .p-button-contrast:not(:disabled):active {
624
- background: dt('button.contrast.active.background');
625
- border: 1px solid dt('button.contrast.active.border.color');
626
- color: dt('button.contrast.active.color');
627
- }
628
-
629
- .p-button-contrast:focus-visible {
630
- outline-color: dt('button.contrast.focus.ring.color');
631
- box-shadow: dt('button.contrast.focus.ring.shadow');
632
- }
633
-
634
- .p-button-outlined {
635
- background: transparent;
636
- border-color: dt('button.outlined.primary.border.color');
637
- color: dt('button.outlined.primary.color');
638
- }
639
-
640
- .p-button-outlined:not(:disabled):hover {
641
- background: dt('button.outlined.primary.hover.background');
642
- border-color: dt('button.outlined.primary.border.color');
643
- color: dt('button.outlined.primary.color');
644
- }
645
-
646
- .p-button-outlined:not(:disabled):active {
647
- background: dt('button.outlined.primary.active.background');
648
- border-color: dt('button.outlined.primary.border.color');
649
- color: dt('button.outlined.primary.color');
650
- }
651
-
652
- .p-button-outlined.p-button-secondary {
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):hover {
658
- background: dt('button.outlined.secondary.hover.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-secondary:not(:disabled):active {
664
- background: dt('button.outlined.secondary.active.background');
665
- border-color: dt('button.outlined.secondary.border.color');
666
- color: dt('button.outlined.secondary.color');
667
- }
668
-
669
- .p-button-outlined.p-button-success {
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):hover {
675
- background: dt('button.outlined.success.hover.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-success:not(:disabled):active {
681
- background: dt('button.outlined.success.active.background');
682
- border-color: dt('button.outlined.success.border.color');
683
- color: dt('button.outlined.success.color');
684
- }
685
-
686
- .p-button-outlined.p-button-info {
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):hover {
692
- background: dt('button.outlined.info.hover.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-info:not(:disabled):active {
698
- background: dt('button.outlined.info.active.background');
699
- border-color: dt('button.outlined.info.border.color');
700
- color: dt('button.outlined.info.color');
701
- }
702
-
703
- .p-button-outlined.p-button-warn {
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):hover {
709
- background: dt('button.outlined.warn.hover.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-warn:not(:disabled):active {
715
- background: dt('button.outlined.warn.active.background');
716
- border-color: dt('button.outlined.warn.border.color');
717
- color: dt('button.outlined.warn.color');
718
- }
719
-
720
- .p-button-outlined.p-button-help {
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):hover {
726
- background: dt('button.outlined.help.hover.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-help:not(:disabled):active {
732
- background: dt('button.outlined.help.active.background');
733
- border-color: dt('button.outlined.help.border.color');
734
- color: dt('button.outlined.help.color');
735
- }
736
-
737
- .p-button-outlined.p-button-danger {
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):hover {
743
- background: dt('button.outlined.danger.hover.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-danger:not(:disabled):active {
749
- background: dt('button.outlined.danger.active.background');
750
- border-color: dt('button.outlined.danger.border.color');
751
- color: dt('button.outlined.danger.color');
752
- }
753
-
754
- .p-button-outlined.p-button-contrast {
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):hover {
760
- background: dt('button.outlined.contrast.hover.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-contrast:not(:disabled):active {
766
- background: dt('button.outlined.contrast.active.background');
767
- border-color: dt('button.outlined.contrast.border.color');
768
- color: dt('button.outlined.contrast.color');
769
- }
770
-
771
- .p-button-outlined.p-button-plain {
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):hover {
777
- background: dt('button.outlined.plain.hover.background');
778
- border-color: dt('button.outlined.plain.border.color');
779
- color: dt('button.outlined.plain.color');
780
- }
781
-
782
- .p-button-outlined.p-button-plain:not(:disabled):active {
783
- background: dt('button.outlined.plain.active.background');
784
- border-color: dt('button.outlined.plain.border.color');
785
- color: dt('button.outlined.plain.color');
786
- }
787
-
788
- .p-button-text {
789
- background: transparent;
790
- border-color: transparent;
791
- color: dt('button.text.primary.color');
792
- }
793
-
794
- .p-button-text:not(:disabled):hover {
795
- background: dt('button.text.primary.hover.background');
796
- border-color: transparent;
797
- color: dt('button.text.primary.color');
798
- }
799
-
800
- .p-button-text:not(:disabled):active {
801
- background: dt('button.text.primary.active.background');
802
- border-color: transparent;
803
- color: dt('button.text.primary.color');
804
- }
805
-
806
- .p-button-text.p-button-secondary {
807
- background: transparent;
808
- border-color: transparent;
809
- color: dt('button.text.secondary.color');
810
- }
811
-
812
- .p-button-text.p-button-secondary:not(:disabled):hover {
813
- background: dt('button.text.secondary.hover.background');
814
- border-color: transparent;
815
- color: dt('button.text.secondary.color');
816
- }
817
-
818
- .p-button-text.p-button-secondary:not(:disabled):active {
819
- background: dt('button.text.secondary.active.background');
820
- border-color: transparent;
821
- color: dt('button.text.secondary.color');
822
- }
823
-
824
- .p-button-text.p-button-success {
825
- background: transparent;
826
- border-color: transparent;
827
- color: dt('button.text.success.color');
828
- }
829
-
830
- .p-button-text.p-button-success:not(:disabled):hover {
831
- background: dt('button.text.success.hover.background');
832
- border-color: transparent;
833
- color: dt('button.text.success.color');
834
- }
835
-
836
- .p-button-text.p-button-success:not(:disabled):active {
837
- background: dt('button.text.success.active.background');
838
- border-color: transparent;
839
- color: dt('button.text.success.color');
840
- }
841
-
842
- .p-button-text.p-button-info {
843
- background: transparent;
844
- border-color: transparent;
845
- color: dt('button.text.info.color');
846
- }
847
-
848
- .p-button-text.p-button-info:not(:disabled):hover {
849
- background: dt('button.text.info.hover.background');
850
- border-color: transparent;
851
- color: dt('button.text.info.color');
852
- }
853
-
854
- .p-button-text.p-button-info:not(:disabled):active {
855
- background: dt('button.text.info.active.background');
856
- border-color: transparent;
857
- color: dt('button.text.info.color');
858
- }
859
-
860
- .p-button-text.p-button-warn {
861
- background: transparent;
862
- border-color: transparent;
863
- color: dt('button.text.warn.color');
864
- }
865
-
866
- .p-button-text.p-button-warn:not(:disabled):hover {
867
- background: dt('button.text.warn.hover.background');
868
- border-color: transparent;
869
- color: dt('button.text.warn.color');
870
- }
871
-
872
- .p-button-text.p-button-warn:not(:disabled):active {
873
- background: dt('button.text.warn.active.background');
874
- border-color: transparent;
875
- color: dt('button.text.warn.color');
876
- }
877
-
878
- .p-button-text.p-button-help {
879
- background: transparent;
880
- border-color: transparent;
881
- color: dt('button.text.help.color');
882
- }
883
-
884
- .p-button-text.p-button-help:not(:disabled):hover {
885
- background: dt('button.text.help.hover.background');
886
- border-color: transparent;
887
- color: dt('button.text.help.color');
888
- }
889
-
890
- .p-button-text.p-button-help:not(:disabled):active {
891
- background: dt('button.text.help.active.background');
892
- border-color: transparent;
893
- color: dt('button.text.help.color');
894
- }
895
-
896
- .p-button-text.p-button-danger {
897
- background: transparent;
898
- border-color: transparent;
899
- color: dt('button.text.danger.color');
900
- }
901
-
902
- .p-button-text.p-button-danger:not(:disabled):hover {
903
- background: dt('button.text.danger.hover.background');
904
- border-color: transparent;
905
- color: dt('button.text.danger.color');
906
- }
907
-
908
- .p-button-text.p-button-danger:not(:disabled):active {
909
- background: dt('button.text.danger.active.background');
910
- border-color: transparent;
911
- color: dt('button.text.danger.color');
912
- }
913
-
914
- .p-button-text.p-button-contrast {
915
- background: transparent;
916
- border-color: transparent;
917
- color: dt('button.text.contrast.color');
918
- }
919
-
920
- .p-button-text.p-button-contrast:not(:disabled):hover {
921
- background: dt('button.text.contrast.hover.background');
922
- border-color: transparent;
923
- color: dt('button.text.contrast.color');
924
- }
925
-
926
- .p-button-text.p-button-contrast:not(:disabled):active {
927
- background: dt('button.text.contrast.active.background');
928
- border-color: transparent;
929
- color: dt('button.text.contrast.color');
930
- }
931
-
932
- .p-button-text.p-button-plain {
933
- background: transparent;
934
- border-color: transparent;
935
- color: dt('button.text.plain.color');
936
- }
937
-
938
- .p-button-text.p-button-plain:not(:disabled):hover {
939
- background: dt('button.text.plain.hover.background');
940
- border-color: transparent;
941
- color: dt('button.text.plain.color');
942
- }
943
-
944
- .p-button-text.p-button-plain:not(:disabled):active {
945
- background: dt('button.text.plain.active.background');
946
- border-color: transparent;
947
- color: dt('button.text.plain.color');
948
- }
949
-
950
- .p-button-link {
951
- background: transparent;
952
- border-color: transparent;
953
- color: dt('button.link.color');
954
- }
955
-
956
- .p-button-link:not(:disabled):hover {
957
- background: transparent;
958
- border-color: transparent;
959
- color: dt('button.link.hover.color');
960
- }
961
-
962
- .p-button-link:not(:disabled):hover .p-button-label {
963
- text-decoration: underline;
964
- }
965
-
966
- .p-button-link:not(:disabled):active {
967
- background: transparent;
968
- border-color: transparent;
969
- color: dt('button.link.active.color');
970
- }
971
- `;var XR=["content"],ex=["loadingicon"],tx=["icon"],nx=["*"],_C=(e,n)=>({class:e,pt:n});function rx(e,n){e&1&&el(0)}function ox(e,n){if(e&1&&Sn(0,"span",7),e&2){let t=Dt(3);ze(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon))),ae("pBind",t.ptm("loadingIcon")),Qe("aria-hidden",!0)}}function ix(e,n){if(e&1&&(Do(),Sn(0,"svg",8)),e&2){let t=Dt(3);ze(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),ae("pBind",t.ptm("loadingIcon"))("spin",!0),Qe("aria-hidden",!0)}}function sx(e,n){if(e&1&&(zr(0),wn(1,ox,1,4,"span",3)(2,ix,1,5,"svg",6),Jn()),e&2){let t=Dt(2);Pe(),ae("ngIf",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon)),Pe(),ae("ngIf",!(t.loadingIcon||t.buttonProps!=null&&t.buttonProps.loadingIcon))}}function ax(e,n){}function cx(e,n){if(e&1&&wn(0,ax,0,0,"ng-template",9),e&2){let t=Dt(2);ae("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function lx(e,n){if(e&1&&(zr(0),wn(1,sx,3,2,"ng-container",2)(2,cx,1,1,null,5),Jn()),e&2){let t=Dt();Pe(),ae("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),Pe(),ae("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",rl(3,_C,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function ux(e,n){if(e&1&&Sn(0,"span",7),e&2){let t=Dt(2);ze(t.cn(t.cx("icon"),t.icon||(t.buttonProps==null?null:t.buttonProps.icon))),ae("pBind",t.ptm("icon")),Qe("data-p",t.dataIconP)}}function dx(e,n){}function fx(e,n){if(e&1&&wn(0,dx,0,0,"ng-template",9),e&2){let t=Dt(2);ae("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function px(e,n){if(e&1&&(zr(0),wn(1,ux,1,4,"span",3)(2,fx,1,1,null,5),Jn()),e&2){let t=Dt();Pe(),ae("ngIf",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),Pe(),ae("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",rl(3,_C,t.cx("icon"),t.ptm("icon")))}}function hx(e,n){if(e&1&&(Br(0,"span",7),ls(1),Po()),e&2){let t=Dt();ze(t.cx("label")),ae("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),Pe(),Uo(t.label||(t.buttonProps==null?null:t.buttonProps.label))}}function gx(e,n){if(e&1&&Sn(0,"p-badge",10),e&2){let t=Dt();ae("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 mx={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"},SC=(()=>{class e extends Be{name="button";style=wC;classes=mx;static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var TC=new C("BUTTON_INSTANCE");var yx=(()=>{class e extends It{componentName="Button";hostName="";$pcButton=h(TC,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(ut,{self:!0});_componentStyle=h(SC);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}type="button";badge;disabled;raised=!1;rounded=!1;text=!1;plain=!1;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;iconPos="left";icon;label;loading=!1;loadingIcon;severity;buttonProps;fluid=Ie(void 0,{transform:be});onClick=new de;onFocus=new de;onBlur=new de;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=h(yC,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}get hasIcon(){return this.icon||this.buttonProps?.icon||this.iconTemplate||this._iconTemplate||this.loadingIcon||this.loadingIconTemplate||this._loadingIconTemplate}_contentTemplate;_iconTemplate;_loadingIconTemplate;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"loadingicon":this._loadingIconTemplate=t.template;break;default:this._contentTemplate=t.template;break}})}get dataP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge,loading:this.loading,fluid:this.hasFluid,rounded:this.rounded,raised:this.raised,outlined:this.outlined||this.variant==="outlined",text:this.text||this.variant==="text",link:this.link,vertical:(this.iconPos==="top"||this.iconPos==="bottom")&&this.label})}get dataIconP(){return this.cn({[this.iconPos]:this.iconPos,[this.size]:this.size})}get dataLabelP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Z(e)))(o||e)}})();static \u0275cmp=Le({type:e,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&Bo(i,XR,5)(i,ex,5)(i,tx,5)(i,ZE,4),r&2){let s;Xn(s=er())&&(o.contentTemplate=s.first),Xn(s=er())&&(o.loadingIconTemplate=s.first),Xn(s=er())&&(o.iconTemplate=s.first),Xn(s=er())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",be],raised:[2,"raised","raised",be],rounded:[2,"rounded","rounded",be],text:[2,"text","text",be],plain:[2,"plain","plain",be],outlined:[2,"outlined","outlined",be],link:[2,"link","link",be],tabindex:[2,"tabindex","tabindex",tD],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",be],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",be],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[it([SC,{provide:TC,useExisting:e},{provide:to,useExisting:e}]),Hr([ut]),Fe],ngContentSelectors:nx,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&&(sn(),Br(0,"button",0),jo("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),an(1),wn(2,rx,1,0,"ng-container",1)(3,lx,3,6,"ng-container",2)(4,px,3,6,"ng-container",2)(5,hx,2,6,"span",3)(6,gx,1,4,"p-badge",4),Po()),r&2&&(ze(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),ae("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)),Pe(2),ae("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),Pe(),ae("ngIf",o.loading||(o.buttonProps==null?null:o.buttonProps.loading)),Pe(),ae("ngIf",!(o.loading||o.buttonProps!=null&&o.buttonProps.loading)),Pe(),ae("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.label||(o.buttonProps==null?null:o.buttonProps.label))),Pe(),ae("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.badge||(o.buttonProps==null?null:o.buttonProps.badge))))},dependencies:[Ut,Fp,Bp,jp,IC,lC,DC,hC,zh,cr,ut],encapsulation:2,changeDetection:0})}return e})(),D6=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ee({type:e});static \u0275inj=me({imports:[Ut,yx,cr,cr]})}return e})();var NC=new C("DATA_SOURCE"),MC=class extends Error{code;details;constructor(n,t,r){super(t),this.name="DataSourceError",this.code=n,this.details=r}};function AC(e){e||(e=h(ye));let n=new k(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(yr(n))}var RC=class e{dataSource=h(NC);destroyRef=h(ye);_nodes=N([]);_scan=N(null);_loading=N(!1);_error=N(null);pendingRefresh=!1;nodes=this._nodes.asReadonly();scan=this._scan.asReadonly();loading=this._loading.asReadonly();error=this._error.asReadonly();count=Ce(()=>this._nodes().length);byKind=Ce(()=>{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});constructor(){this.dataSource.events().pipe(Ye(n=>n.type==="scan.completed"),AC(this.destroyRef)).subscribe(()=>{this.load()})}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(vx))}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 vx(e){let n=e.kind,t=e.frontmatter??{},r=m({name:typeof t.name=="string"?t.name:e.title??"",description:typeof t.description=="string"?t.description:e.description??"",metadata:m({version:e.version??"",stability:e.stability??void 0},t.metadata??{})},t);return r.metadata=m(m({},r.metadata),t.metadata??{}),r.metadata.version||(r.metadata.version=e.version??""),!r.metadata.stability&&e.stability&&(r.metadata.stability=e.stability),{path:e.path,kind:n,frontmatter:r}}function ou(e,n,t){return[Math.round(e[0]+(n[0]-e[0])*t),Math.round(e[1]+(n[1]-e[1])*t),Math.round(e[2]+(n[2]-e[2])*t)]}function bx(e){let n=/^#([0-9a-f]{6})$/i.exec(e);if(!n)throw new Error(`deriveTints: invalid hex color "${e}" (expected #RRGGBB)`);let t=parseInt(n[1],16);return[t>>16&255,t>>8&255,t&255]}function iu([e,n,t]){let r=o=>Math.max(0,Math.min(255,o)).toString(16).padStart(2,"0");return`#${r(e)}${r(n)}${r(t)}`}var xC=[255,255,255],OC=[0,0,0];function Wh(e,n){let t=bx(e);return n==="light"?{bg:iu(ou(t,xC,.85)),fg:iu(ou(t,OC,.5))}:{bg:iu(ou(t,OC,.7)),fg:iu(ou(t,xC,.6))}}var kC=class e{_entries=N([]);kinds=this._entries.asReadonly();index=Ce(()=>{let n=new Map;for(let t of this._entries())n.set(t.name,t);return n});ingest(n){if(!n)return;let t=[];for(let[o,i]of Object.entries(n))t.push(m({name:o},i));let r=this._entries();Ex(r,t)||(this._entries.set(t),this.applyCssVars())}lookup(n){return this.index().get(n)}labelOf(n){return this.lookup(n)?.label??n}colorOf(n,t="light"){let r=this.lookup(n);return r?t==="dark"?r.colorDark??r.color:r.color:"#9ca3af"}iconOf(n){return this.lookup(n)?.icon}emojiOf(n){return this.lookup(n)?.emoji}applyCssVars(){if(typeof document>"u")return;let n=Dx(),t=[],r=[];for(let o of this._entries()){let i=Wh(o.color,"light"),s=o.colorDark??o.color,a=Wh(s,"dark");t.push(`--sm-kind-${o.name}: ${o.color};`),t.push(`--sm-kind-${o.name}-bg: ${i.bg};`),t.push(`--sm-kind-${o.name}-fg: ${i.fg};`),r.push(`--sm-kind-${o.name}: ${s};`),r.push(`--sm-kind-${o.name}-bg: ${a.bg};`),r.push(`--sm-kind-${o.name}-fg: ${a.fg};`)}n.textContent=`:root { ${t.join(" ")} } .app-dark { ${r.join(" ")} }`}static \u0275fac=function(t){return new(t||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})},PC="sm-kind-vars";function Dx(){let e=document.getElementById(PC);return e||(e=document.createElement("style"),e.id=PC,document.head.appendChild(e)),e}function Ex(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++){let r=e[t],o=n[t];if(r.name!==o.name||r.providerId!==o.providerId||r.label!==o.label||r.color!==o.color||r.colorDark!==o.colorDark||r.emoji!==o.emoji||JSON.stringify(r.icon)!==JSON.stringify(o.icon))return!1}return!0}export{k as a,Q as b,Me as c,AO as d,ce as e,DI as f,Y as g,NI as h,Ye as i,RI as j,La as k,b as l,me as m,C as n,_ as o,h as p,De as q,sm as r,am as s,Do as t,fe as u,V as v,ye as w,de as x,pe as y,lw as z,N as A,Ve as B,nn as C,Z as D,Ne as E,Lt as F,ES as G,tv as H,Pe as I,jc as J,tn as K,Bt as L,B as M,on as N,Le as O,Ee as P,ee as Q,Hr as R,Fe as S,wn as T,ko as U,Jc as V,Qe as W,lc as X,uc as Y,Z_ as Z,K_ as _,Q_ as $,J_ as aa,X_ as ba,ae as ca,Br as da,Po as ea,Sn as fa,Lo as ga,Fo as ha,as as ia,zr as ja,Jn as ka,el as la,pb as ma,o0 as na,i0 as oa,tl as pa,jo as qa,Dt as ra,sn as sa,an as ta,Bo as ua,yb as va,Xn as wa,er as xa,mp as ya,vb as za,bb as Aa,l0 as Ba,nl as Ca,yp as Da,vp as Ea,ze as Fa,ls as Ga,Uo as Ha,bp as Ia,Rb as Ja,xb as Ka,Ob as La,L0 as Ma,kb as Na,Lb as Oa,F0 as Pa,j0 as Qa,it as Ra,H0 as Sa,V0 as Ta,rl as Ua,z0 as Va,W0 as Wa,G0 as Xa,q0 as Ya,Y0 as Za,X0 as _a,te as $a,Ce as ab,nV as bb,Ie as cb,rV as db,DM as eb,oV as fb,iV as gb,Wr as hb,be as ib,tD as jb,aV as kb,Tn as lb,BM as mb,fD as nb,Fp as ob,jp as pb,Bp as qb,Ut as rb,hs as sb,XM as tb,cn as ub,OD as vb,SN as wb,TN as xb,_N as yb,Ht as zb,Rn as Ab,wh as Bb,Jr as Cb,Kl as Db,iR as Eb,cR as Fb,gR as Gb,AE as Hb,Bs as Ib,sr as Jb,OE as Kb,kE as Lb,yR as Mb,vR as Nb,aW as Ob,cW as Pb,PE as Qb,lW as Rb,ER as Sb,uW as Tb,CR as Ub,dW as Vb,IR as Wb,fW as Xb,pW as Yb,hW as Zb,jE as _b,gW as $b,Rh as ac,mW as bc,yW as cc,xh as dc,vW as ec,Oh as fc,bW as gc,DW as hc,EW as ic,CW as jc,IW as kc,wW as lc,SW as mc,$E as nc,TW as oc,Xr as pc,NR as qc,G as rc,Jl as sc,$s as tc,AW as uc,RW as vc,Lh as wc,xW as xc,OW as yc,kW as zc,Hs as Ac,Re as Bc,UW as Cc,$W as Dc,HW as Ec,VW as Fc,zW as Gc,ZE as Hc,cr as Ic,WW as Jc,Be as Kc,$h as Lc,E4 as Mc,to as Nc,It as Oc,Hh as Pc,F4 as Qc,j4 as Rc,cC as Sc,lC as Tc,ut as Uc,uC as Vc,zh as Wc,hC as Xc,yC as Yc,bC as Zc,DC as _c,IC as $c,yx as ad,D6 as bd,AC as cd,NC as dd,MC as ed,RC as fd,kC as gd};