@skill-map/cli 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/cli/tutorial/sm-tutorial.md +9 -10
- package/dist/cli.js +11062 -7069
- package/dist/cli.js.map +1 -1
- package/dist/conformance/index.js +1 -1
- package/dist/conformance/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +424 -148
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.d.ts +776 -119
- package/dist/kernel/index.js +424 -148
- package/dist/kernel/index.js.map +1 -1
- package/dist/migrations/001_initial.sql +125 -15
- package/dist/ui/chunk-2W62S3FU.js +2638 -0
- package/dist/ui/chunk-C7QWBAYP.js +247 -0
- package/dist/ui/chunk-DLT5AP43.js +237 -0
- package/dist/ui/chunk-HJSRMZTK.js +450 -0
- package/dist/ui/chunk-HOBQ4G4O.js +125 -0
- package/dist/ui/chunk-IBUV6OG2.js +1 -0
- package/dist/ui/chunk-LQTUSDHD.js +124 -0
- package/dist/ui/chunk-QICH7GU2.js +5 -0
- package/dist/ui/chunk-UJRROL5X.js +1 -0
- package/dist/ui/chunk-VLNLJAUB.js +61 -0
- package/dist/ui/chunk-W3JLG7BI.js +965 -0
- package/dist/ui/index.html +10 -2
- package/dist/ui/main-QHE47BCM.js +1 -0
- package/dist/ui/{styles-CBPFNGXA.css → styles-VJ5Q6D2X.css} +1 -1
- package/migrations/001_initial.sql +125 -15
- package/package.json +2 -2
- package/dist/migrations/002_sidecar_columns.sql +0 -53
- package/dist/migrations/003_drop_node_author.sql +0 -20
- package/dist/migrations/004_sidecar_root_json.sql +0 -23
- package/dist/migrations/005_node_favorites.sql +0 -20
- package/dist/ui/chunk-JKJGGXCS.js +0 -1025
- package/dist/ui/chunk-SX2A3WBX.js +0 -247
- package/dist/ui/chunk-TWZHUCAT.js +0 -237
- package/dist/ui/chunk-WTAL2RK4.js +0 -1
- package/dist/ui/chunk-Z3UJHHTC.js +0 -3091
- package/dist/ui/main-AAYGMON4.js +0 -1
- package/migrations/002_sidecar_columns.sql +0 -53
- package/migrations/003_drop_node_author.sql +0 -20
- package/migrations/004_sidecar_root_json.sql +0 -23
- package/migrations/005_node_favorites.sql +0 -20
|
@@ -1,1025 +0,0 @@
|
|
|
1
|
-
import{$ as jh,C as Rh,Ca as Wl,D as Ft,Da as Ps,F as zl,Fa as Kr,Ja as se,L as xh,M as Oh,O as kh,Q as Ph,S as Lh,T as ni,U as Fh,V as xs,Y as _n,Z as Os,_ as qr,a as Wr,aa as Bh,b as Hl,c as Ch,d as Gr,da as ks,e as wh,ea as Qe,f as Th,h as Sh,ha as Zr,i as _h,j as Mh,m as st,p as Vl,q as Nh,r as ti,s as Ah,u as Rs,z as $l}from"./chunk-3R7E3HPC.js";import{a as g,b as x,c as Ul}from"./chunk-Q7L6LLAK.js";function A(t){return typeof t=="function"}function aI(t){return A(t?.lift)}function j(t){return n=>{if(aI(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Yr(t){let e=t(r=>{Error.call(r),r.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Ls=Yr(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
2
|
-
${e.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function ri(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var _e=class t{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:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let i of e)i.remove(this);else e.remove(this);let{initialTeardown:r}=this;if(A(r))try{r()}catch(i){n=i instanceof Ls?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Uh(i)}catch(s){n=n??[],s instanceof Ls?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ls(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Uh(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&ri(e,n)}remove(n){let{_finalizers:e}=this;e&&ri(e,n),n instanceof t&&n._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();var Gl=_e.EMPTY;function Fs(t){return t instanceof _e||t&&"closed"in t&&A(t.remove)&&A(t.add)&&A(t.unsubscribe)}function Uh(t){A(t)?t():t.unsubscribe()}var bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Qr={setTimeout(t,n,...e){let{delegate:r}=Qr;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Qr;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function js(t){Qr.setTimeout(()=>{let{onUnhandledError:n}=bt;if(n)n(t);else throw t})}function oi(){}var Hh=ql("C",void 0,void 0);function Vh(t){return ql("E",void 0,t)}function $h(t){return ql("N",t,void 0)}function ql(t,n,e){return{kind:t,value:n,error:e}}var er=null;function Jr(t){if(bt.useDeprecatedSynchronousErrorHandling){let n=!er;if(n&&(er={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=er;if(er=null,e)throw r}}else t()}function zh(t){bt.useDeprecatedSynchronousErrorHandling&&er&&(er.errorThrown=!0,er.error=t)}var tr=class extends _e{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Fs(n)&&n.add(this)):this.destination=uI}static create(n,e,r){return new Dt(n,e,r)}next(n){this.isStopped?Kl($h(n),this):this._next(n)}error(n){this.isStopped?Kl(Vh(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Kl(Hh,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()}}},cI=Function.prototype.bind;function Zl(t,n){return cI.call(t,n)}var Yl=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){Bs(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){Bs(r)}else Bs(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Bs(e)}}},Dt=class extends tr{constructor(n,e,r){super();let o;if(A(n)||!n)o={next:n??void 0,error:e??void 0,complete:r??void 0};else{let i;this&&bt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Zl(n.next,i),error:n.error&&Zl(n.error,i),complete:n.complete&&Zl(n.complete,i)}):o=n}this.destination=new Yl(o)}};function Bs(t){bt.useDeprecatedSynchronousErrorHandling?zh(t):js(t)}function lI(t){throw t}function Kl(t,n){let{onStoppedNotification:e}=bt;e&&Qr.setTimeout(()=>e(t,n))}var uI={closed:!0,next:oi,error:lI,complete:oi};function U(t,n,e,r,o){return new Ql(t,n,e,r,o)}var Ql=class extends tr{constructor(n,e,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(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:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function G(t,n){return j((e,r)=>{let o=0;e.subscribe(U(r,i=>{r.next(t.call(n,i,o++))}))})}var Oe=null,Us=!1,Jl=1,dI=null,ae=Symbol("SIGNAL");function w(t){let n=Oe;return Oe=t,n}function Hs(){return Oe}var Mn={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 nn(t){if(Us)throw new Error("");if(Oe===null)return;Oe.consumerOnSignalRead(t);let n=Oe.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=Oe.recomputing;if(r&&(e=n!==void 0?n.nextProducer:Oe.producers,e!==void 0&&e.producer===t)){Oe.producersTail=e,e.lastReadVersion=t.version;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===Oe&&(!r||pI(o,Oe)))return;let i=to(Oe),s={producer:t,consumer:Oe,nextProducer:e,prevConsumer:o,lastReadVersion:t.version,nextConsumer:void 0};Oe.producersTail=s,n!==void 0?n.nextProducer=s:Oe.producers=s,i&&Zh(t,s)}function Wh(){Jl++}function or(t){if(!(to(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Jl)){if(!t.producerMustRecompute(t)&&!eo(t)){Xr(t);return}t.producerRecomputeValue(t),Xr(t)}}function Xl(t){if(t.consumers===void 0)return;let n=Us;Us=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||fI(r)}}finally{Us=n}}function eu(){return Oe?.consumerAllowSignalWrites!==!1}function fI(t){t.dirty=!0,Xl(t),t.consumerMarkedDirty?.(t)}function Xr(t){t.dirty=!1,t.lastCleanEpoch=Jl}function rn(t){return t&&Gh(t),w(t)}function Gh(t){t.producersTail=void 0,t.recomputing=!0}function Nn(t,n){w(n),t&&qh(t)}function qh(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(to(t))do e=tu(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function eo(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(or(e),r!==e.version))return!0}return!1}function An(t){if(to(t)){let n=t.producers;for(;n!==void 0;)n=tu(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function Zh(t,n){let e=t.consumersTail,r=to(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!r)for(let o=t.producers;o!==void 0;o=o.nextProducer)Zh(o.producer,o)}function tu(t){let n=t.producer,e=t.nextProducer,r=t.nextConsumer,o=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!to(n)){let i=n.producers;for(;i!==void 0;)i=tu(i)}return e}function to(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function ii(t){dI?.(t)}function pI(t,n){let e=n.producersTail;if(e!==void 0){let r=n.producers;do{if(r===t)return!0;if(r===e)break;r=r.nextProducer}while(r!==void 0)}return!1}function si(t,n){return Object.is(t,n)}function ai(t,n){let e=Object.create(hI);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(or(e),nn(e),e.value===jt)throw e.error;return e.value};return r[ae]=e,ii(e),r}var nr=Symbol("UNSET"),rr=Symbol("COMPUTING"),jt=Symbol("ERRORED"),hI=x(g({},Mn),{value:nr,dirty:!0,error:null,equal:si,kind:"computed",producerMustRecompute(t){return t.value===nr||t.value===rr},producerRecomputeValue(t){if(t.value===rr)throw new Error("");let n=t.value;t.value=rr;let e=rn(t),r,o=!1;try{r=t.computation(),w(null),o=n!==nr&&n!==jt&&r!==jt&&t.equal(n,r)}catch(i){r=jt,t.error=i}finally{Nn(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function gI(){throw new Error}var Kh=gI;function Yh(t){Kh(t)}function nu(t){Kh=t}var mI=null;function ru(t,n){let e=Object.create(ci);e.value=t,n!==void 0&&(e.equal=n);let r=()=>Qh(e);return r[ae]=e,ii(e),[r,s=>Rn(e,s),s=>Vs(e,s)]}function Qh(t){return nn(t),t.value}function Rn(t,n){eu()||Yh(t),t.equal(t.value,n)||(t.value=n,yI(t))}function Vs(t,n){eu()||Yh(t),Rn(t,n(t.value))}var ci=x(g({},Mn),{equal:si,value:void 0,kind:"signal"});function yI(t){t.version++,Wh(),Xl(t),mI?.(t)}var ou=x(g({},Mn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function iu(t){if(t.dirty=!1,t.version>0&&!eo(t))return;t.version++;let n=rn(t);try{t.cleanup(),t.fn()}finally{Nn(t,n)}}var no=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Et(t){return t}function su(...t){return au(t)}function au(t){return t.length===0?Et:t.length===1?t[0]:function(e){return t.reduce((r,o)=>o(r),e)}}var k=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,o){let i=bI(e)?e:new Dt(e,r,o);return Jr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return r=Jh(r),new r((o,i)=>{let s=new Dt({next:a=>{try{e(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)}[no](){return this}pipe(...e){return au(e)(this)}toPromise(e){return e=Jh(e),new e((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=n=>new t(n),t})();function Jh(t){var n;return(n=t??bt.Promise)!==null&&n!==void 0?n:Promise}function vI(t){return t&&A(t.next)&&A(t.error)&&A(t.complete)}function bI(t){return t&&t instanceof tr||vI(t)&&Fs(t)}var Xh=Yr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Y=(()=>{class t extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new $s(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new Xh}next(e){Jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){Jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){Jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Gl:(this.currentObservers=null,i.push(e),new _e(()=>{this.currentObservers=null,ri(i,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:o,isStopped:i}=this;r?e.error(o):i&&e.complete()}asObservable(){let e=new k;return e.source=this,e}}return t.create=(n,e)=>new $s(n,e),t})(),$s=class extends Y{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,n)}error(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&r!==void 0?r:Gl}};var Me=class extends Y{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:r}=this;if(n)throw e;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Ne=new k(t=>t.complete());function eg(t){return t&&A(t.schedule)}function tg(t){return t[t.length-1]}function zs(t){return A(tg(t))?t.pop():void 0}function xn(t){return eg(tg(t))?t.pop():void 0}function xx(t,n,e,r){var o=arguments.length,i=o<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,n,e,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(n,e,i):s(n,e))||i);return o>3&&i&&Object.defineProperty(n,e,i),i}function rg(t,n,e,r){function o(i){return i instanceof e?i:new e(function(s){s(i)})}return new(e||(e=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(t,n||[])).next())})}function ng(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function ir(t){return this instanceof ir?(this.v=t,this):new ir(t)}function og(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,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(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(o[p]=function(v){return new Promise(function(E,I){i.push([p,v,E,I])>1||c(p,v)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(v){f(i[0][3],v)}}function l(p){p.value instanceof ir?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,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function ig(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof ng=="function"?ng(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(i){e[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[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 Ws=t=>t&&typeof t.length=="number"&&typeof t!="function";function Gs(t){return A(t?.then)}function qs(t){return A(t[no])}function Zs(t){return Symbol.asyncIterator&&A(t?.[Symbol.asyncIterator])}function Ks(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function DI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ys=DI();function Qs(t){return A(t?.[Ys])}function Js(t){return og(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:o}=yield ir(e.read());if(o)return yield ir(void 0);yield yield ir(r)}}finally{e.releaseLock()}})}function Xs(t){return A(t?.getReader)}function ne(t){if(t instanceof k)return t;if(t!=null){if(qs(t))return EI(t);if(Ws(t))return II(t);if(Gs(t))return CI(t);if(Zs(t))return sg(t);if(Qs(t))return wI(t);if(Xs(t))return TI(t)}throw Ks(t)}function EI(t){return new k(n=>{let e=t[no]();if(A(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function II(t){return new k(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function CI(t){return new k(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,js)})}function wI(t){return new k(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function sg(t){return new k(n=>{SI(t,n).catch(e=>n.error(e))})}function TI(t){return sg(Js(t))}function SI(t,n){var e,r,o,i;return rg(this,void 0,void 0,function*(){try{for(e=ig(t);r=yield e.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=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}n.complete()})}function We(t,n,e,r=0,o=!1){let i=n.schedule(function(){e(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function ea(t,n=0){return j((e,r)=>{e.subscribe(U(r,o=>We(r,t,()=>r.next(o),n),()=>We(r,t,()=>r.complete(),n),o=>We(r,t,()=>r.error(o),n)))})}function ta(t,n=0){return j((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function ag(t,n){return ne(t).pipe(ta(n),ea(n))}function cg(t,n){return ne(t).pipe(ta(n),ea(n))}function lg(t,n){return new k(e=>{let r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function ug(t,n){return new k(e=>{let r;return We(e,n,()=>{r=t[Ys](),We(e,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){e.error(s);return}i?e.complete():e.next(o)},0,!0)}),()=>A(r?.return)&&r.return()})}function na(t,n){if(!t)throw new Error("Iterable cannot be null");return new k(e=>{We(e,n,()=>{let r=t[Symbol.asyncIterator]();We(e,n,()=>{r.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function dg(t,n){return na(Js(t),n)}function fg(t,n){if(t!=null){if(qs(t))return ag(t,n);if(Ws(t))return lg(t,n);if(Gs(t))return cg(t,n);if(Zs(t))return na(t,n);if(Qs(t))return ug(t,n);if(Xs(t))return dg(t,n)}throw Ks(t)}function de(t,n){return n?fg(t,n):ne(t)}function R(...t){let n=xn(t);return de(t,n)}function cu(t,n){let e=A(t)?t:()=>t,r=o=>o.error(e());return new k(n?o=>n.schedule(r,0,o):r)}function ra(t){return!!t&&(t instanceof k||A(t.lift)&&A(t.subscribe))}var on=Yr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function _I(t,n){let e=typeof n=="object";return new Promise((r,o)=>{let i=new Dt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{e?r(n.defaultValue):o(new on)}});t.subscribe(i)})}var{isArray:MI}=Array;function NI(t,n){return MI(n)?t(...n):t(n)}function oa(t){return G(n=>NI(t,n))}var{isArray:AI}=Array,{getPrototypeOf:RI,prototype:xI,keys:OI}=Object;function ia(t){if(t.length===1){let n=t[0];if(AI(n))return{args:n,keys:null};if(kI(n)){let e=OI(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function kI(t){return t&&typeof t=="object"&&RI(t)===xI}function sa(t,n){return t.reduce((e,r,o)=>(e[r]=n[o],e),{})}function aa(...t){let n=xn(t),e=zs(t),{args:r,keys:o}=ia(t);if(r.length===0)return de([],n);let i=new k(PI(r,n,o?s=>sa(o,s):Et));return e?i.pipe(oa(e)):i}function PI(t,n,e=Et){return r=>{pg(n,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)pg(n,()=>{let l=de(t[c],n),u=!1;l.subscribe(U(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(e(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function pg(t,n,e){t?We(e,t,n):n()}function hg(t,n,e,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&n.complete()},p=v=>l<r?m(v):c.push(v),m=v=>{i&&n.next(v),l++;let E=!1;ne(e(v,u++)).subscribe(U(n,I=>{o?.(I),i?p(I):n.next(I)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let I=c.shift();s?We(n,s,()=>m(I)):m(I)}f()}catch(I){n.error(I)}}))};return t.subscribe(U(n,p,()=>{d=!0,f()})),()=>{a?.()}}function ke(t,n,e=1/0){return A(n)?ke((r,o)=>G((i,s)=>n(r,i,o,s))(ne(t(r,o))),e):(typeof n=="number"&&(e=n),j((r,o)=>hg(r,o,t,e)))}function ro(t=1/0){return ke(Et,t)}function gg(){return ro(1)}function oo(...t){return gg()(de(t,xn(t)))}function li(t){return new k(n=>{ne(t()).subscribe(n)})}function LI(...t){let n=zs(t),{args:e,keys:r}=ia(t),o=new k(i=>{let{length:s}=e;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;ne(e[u]).subscribe(U(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?sa(r,a):a),i.complete())}))}});return n?o.pipe(oa(n)):o}function Ge(t,n){return j((e,r)=>{let o=0;e.subscribe(U(r,i=>t.call(n,i,o++)&&r.next(i)))})}function io(t){return j((n,e)=>{let r=null,o=!1,i;r=n.subscribe(U(e,void 0,void 0,s=>{i=ne(t(s,io(t)(n))),r?(r.unsubscribe(),r=null,i.subscribe(e)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(e))})}function sr(t,n){return A(n)?ke(t,n,1):ke(t,1)}function mg(t){return j((n,e)=>{let r=!1;n.subscribe(U(e,o=>{r=!0,e.next(o)},()=>{r||e.next(t),e.complete()}))})}function sn(t){return t<=0?()=>Ne:j((n,e)=>{let r=0;n.subscribe(U(e,o=>{++r<=t&&(e.next(o),t<=r&&e.complete())}))})}function yg(t=FI){return j((n,e)=>{let r=!1;n.subscribe(U(e,o=>{r=!0,e.next(o)},()=>r?e.complete():e.error(t())))})}function FI(){return new on}function ui(t){return j((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function an(t,n){let e=arguments.length>=2;return r=>r.pipe(t?Ge((o,i)=>t(o,i,r)):Et,sn(1),e?mg(n):yg(()=>new on))}function ca(t){return t<=0?()=>Ne:j((n,e)=>{let r=[];n.subscribe(U(e,o=>{r.push(o),t<r.length&&r.shift()},()=>{for(let o of r)e.next(o);e.complete()},void 0,()=>{r=null}))})}function jI(t={}){let{connector:n=()=>new Y,resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;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},m=()=>{let v=s;p(),v?.unsubscribe()};return j((v,E)=>{l++,!d&&!u&&f();let I=c=c??n();E.add(()=>{l--,l===0&&!d&&!u&&(a=lu(m,o))}),I.subscribe(E),!s&&l>0&&(s=new Dt({next:L=>I.next(L),error:L=>{d=!0,f(),a=lu(p,e,L),I.error(L)},complete:()=>{u=!0,f(),a=lu(p,r),I.complete()}}),ne(v).subscribe(s))})(i)}}function lu(t,n,...e){if(n===!0){t();return}if(n===!1)return;let r=new Dt({next:()=>{r.unsubscribe(),t()}});return ne(n(...e)).subscribe(r)}function uu(...t){let n=xn(t);return j((e,r)=>{(n?oo(t,e,n):oo(t,e)).subscribe(r)})}function qe(t,n){return j((e,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();e.subscribe(U(r,c=>{o?.unsubscribe();let l=0,u=i++;ne(t(c,u)).subscribe(o=U(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ar(t){return j((n,e)=>{ne(t).subscribe(U(e,()=>e.complete(),oi)),!e.closed&&n.subscribe(e)})}function at(t,n,e){let r=A(t)||n||e?{next:t,error:n,complete:e}:t;return r?j((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(U(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)}))}):Et}var du;function la(){return du}function Bt(t){let n=du;return du=t,n}var vg=Symbol("NotFound");function so(t){return t===vg||t?.name==="\u0275NotFound"}function fu(t,n,e){let r=Object.create(BI);r.source=t,r.computation=n,e!=null&&(r.equal=e);let i=()=>{if(or(r),nn(r),r.value===jt)throw r.error;return r.value};return i[ae]=r,ii(r),i}function bg(t,n){or(t),Rn(t,n),Xr(t)}function Dg(t,n){if(or(t),t.value===jt)throw t.error;Vs(t,n),Xr(t)}var BI=x(g({},Mn),{value:nr,dirty:!0,error:null,equal:si,kind:"linkedSignal",producerMustRecompute(t){return t.value===nr||t.value===rr},producerRecomputeValue(t){if(t.value===rr)throw new Error("");let n=t.value;t.value=rr;let e=rn(t),r,o=!1;try{let i=t.source(),s=n!==nr&&n!==jt,a=s?{source:t.sourceValue,value:n}:void 0;r=t.computation(i,a),t.sourceValue=i,w(null),o=s&&r!==jt&&t.equal(n,r)}catch(i){r=jt,t.error=i}finally{Nn(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function Eg(t){let n=w(null);try{return t()}finally{w(n)}}var ma="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,e){super(Ht(n,e)),this.code=n}};function UI(t){return`NG0${Math.abs(t)}`}function Ht(t,n){return`${UI(t)}${n?": "+n:""}`}var Pn=globalThis;function H(t){for(let n in t)if(t[n]===H)return n;throw Error("")}function Sg(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function yi(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(yi).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
|
|
4
|
-
`);return r>=0?e.slice(0,r):e}function ya(t,n){return t?n?`${t} ${n}`:t:n||""}var HI=H({__forward_ref__:H});function va(t){return t.__forward_ref__=va,t}function be(t){return Tu(t)?t():t}function Tu(t){return typeof t=="function"&&t.hasOwnProperty(HI)&&t.__forward_ref__===va}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function fe(t){return{providers:t.providers||[],imports:t.imports||[]}}function vi(t){return VI(t,ba)}function Su(t){return vi(t)!==null}function VI(t,n){return t.hasOwnProperty(n)&&t[n]||null}function $I(t){let n=t?.[ba]??null;return n||null}function hu(t){return t&&t.hasOwnProperty(da)?t[da]:null}var ba=H({\u0275prov:H}),da=H({\u0275inj:H}),D=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=y({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function _u(t){return t&&!!t.\u0275providers}var Mu=H({\u0275cmp:H}),Nu=H({\u0275dir:H}),Au=H({\u0275pipe:H}),Ru=H({\u0275mod:H}),fi=H({\u0275fac:H}),pr=H({__NG_ELEMENT_ID__:H}),Ig=H({__NG_ENV_ID__:H});function xu(t){return Ea(t,"@NgModule"),t[Ru]||null}function ln(t){return Ea(t,"@Component"),t[Mu]||null}function Da(t){return Ea(t,"@Directive"),t[Nu]||null}function _g(t){return Ea(t,"@Pipe"),t[Au]||null}function Ea(t,n){if(t==null)throw new b(-919,!1)}function Vt(t){return typeof t=="string"?t:t==null?"":String(t)}var Mg=H({ngErrorCode:H}),zI=H({ngErrorMessage:H}),WI=H({ngTokenPath:H});function Ou(t,n){return Ng("",-200,n)}function Ia(t,n){throw new b(-201,!1)}function Ng(t,n,e){let r=new b(n,t);return r[Mg]=n,r[zI]=t,e&&(r[WI]=e),r}function GI(t){return t[Mg]}var gu;function Ag(){return gu}function Je(t){let n=gu;return gu=t,n}function ku(t,n,e){let r=vi(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&8)return null;if(n!==void 0)return n;Ia(t,"")}var qI={},cr=qI,ZI="__NG_DI_FLAG__",mu=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=lr(e)||0;try{return this.injector.get(n,r&8?null:cr,r)}catch(o){if(so(o))return o;throw o}}};function KI(t,n=0){let e=la();if(e===void 0)throw new b(-203,!1);if(e===null)return ku(t,void 0,n);{let r=YI(n),o=e.retrieve(t,r);if(so(o)){if(r.optional)return null;throw o}return o}}function _(t,n=0){return(Ag()||KI)(be(t),n)}function h(t,n){return _(t,lr(n))}function lr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function YI(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function yu(t){let n=[];for(let e=0;e<t.length;e++){let r=be(t[e]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=QI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(_(o,i))}else n.push(_(r))}return n}function QI(t){return t[ZI]}function ur(t,n){let e=t.hasOwnProperty(fi);return e?t[fi]:null}function Rg(t,n,e){if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=n[r];if(e&&(o=e(o),i=e(i)),i!==o)return!1}return!0}function xg(t){return t.flat(Number.POSITIVE_INFINITY)}function Ca(t,n){t.forEach(e=>Array.isArray(e)?Ca(e,n):n(e))}function Pu(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function bi(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Og(t,n){let e=[];for(let r=0;r<t;r++)e.push(n);return e}function kg(t,n,e,r){let o=t.length;if(o==n)t.push(e,r);else if(o===1)t.push(r,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let i=o-2;t[o]=t[i],o--}t[n]=e,t[n+1]=r}}function Di(t,n,e){let r=co(t,n);return r>=0?t[r|1]=e:(r=~r,kg(t,r,n,e)),r}function wa(t,n){let e=co(t,n);if(e>=0)return t[e|1]}function co(t,n){return JI(t,n,1)}function JI(t,n,e){let r=0,o=t.length>>e;for(;o!==r;){let i=r+(o-r>>1),s=t[i<<e];if(n===s)return i<<e;s>n?o=i:r=i+1}return~(o<<e)}var It={},Pe=[],Ln=new D(""),Lu=new D("",-1),Fu=new D(""),pi=class{get(n,e=cr){if(e===cr){let o=Ng("",-201);throw o.name="\u0275NotFound",o}return e}};function lt(t){return{\u0275providers:t}}function Pg(t){return lt([{provide:Ln,multi:!0,useValue:t}])}function Lg(...t){return{\u0275providers:ju(!0,t),\u0275fromNgModule:!0}}function ju(t,...n){let e=[],r=new Set,o,i=s=>{e.push(s)};return Ca(n,s=>{let a=s;fa(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Fg(o,i),e}function Fg(t,n){for(let e=0;e<t.length;e++){let{ngModule:r,providers:o}=t[e];Bu(o,i=>{n(i,r)})}}function fa(t,n,e,r){if(t=be(t),!t)return!1;let o=null,i=hu(t),s=!i&&ln(t);if(!i&&!s){let c=t.ngModule;if(i=hu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}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)fa(l,n,e,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Ca(i.imports,u=>{fa(u,n,e,r)&&(l||=[],l.push(u))}),l!==void 0&&Fg(l,n)}if(!a){let l=ur(o)||(()=>new o);n({provide:o,useFactory:l,deps:Pe},o),n({provide:Fu,useValue:o,multi:!0},o),n({provide:Ln,useValue:()=>_(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=t;Bu(c,u=>{n(u,l)})}}else return!1;return o!==t&&t.providers!==void 0}function Bu(t,n){for(let e of t)_u(e)&&(e=e.\u0275providers),Array.isArray(e)?Bu(e,n):n(e)}var XI=H({provide:String,useValue:H});function jg(t){return t!==null&&typeof t=="object"&&XI in t}function eC(t){return!!(t&&t.useExisting)}function tC(t){return!!(t&&t.useFactory)}function dr(t){return typeof t=="function"}function Bg(t){return!!t.useClass}var Ei=new D(""),ua={},Cg={},pu;function Ii(){return pu===void 0&&(pu=new pi),pu}var re=class{},fr=class extends re{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,o){super(),this.parent=e,this.source=r,this.scopes=o,bu(n,s=>this.processProvider(s)),this.records.set(Lu,ao(void 0,this)),o.has("environment")&&this.records.set(re,ao(void 0,this));let i=this.records.get(Ei);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fu,Pe,{self:!0}))}retrieve(n,e){let r=lr(e)||0;try{return this.get(n,cr,r)}catch(o){if(so(o))return o;throw o}}destroy(){di(this),this._destroyed=!0;let n=w(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(n)}}onDestroy(n){return di(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){di(this);let e=Bt(this),r=Je(void 0),o;try{return n()}finally{Bt(e),Je(r)}}get(n,e=cr,r){if(di(this),n.hasOwnProperty(Ig))return n[Ig](this);let o=lr(r),i,s=Bt(this),a=Je(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=sC(n)&&vi(n);u&&this.injectableDefInScope(u)?l=ao(vu(n),ua):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Ii():this.parent;return e=o&8&&e===cr?null:e,c.get(n,e)}catch(c){let l=GI(c);throw l===-200||l===-201?new b(l,null):c}finally{Je(a),Bt(s)}}resolveInjectorInitializers(){let n=w(null),e=Bt(this),r=Je(void 0),o;try{let i=this.get(Ln,Pe,{self:!0});for(let s of i)s()}finally{Bt(e),Je(r),w(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=be(n);let e=dr(n)?n:be(n&&n.provide),r=rC(n);if(!dr(n)&&n.multi===!0){let o=this.records.get(e);o||(o=ao(void 0,ua,!0),o.factory=()=>yu(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let o=w(null);try{if(e.value===Cg)throw Ou("");return e.value===ua&&(e.value=Cg,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&iC(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{w(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=be(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function vu(t){let n=vi(t),e=n!==null?n.factory:ur(t);if(e!==null)return e;if(t instanceof D)throw new b(-204,!1);if(t instanceof Function)return nC(t);throw new b(-204,!1)}function nC(t){if(t.length>0)throw new b(-204,!1);let e=$I(t);return e!==null?()=>e.factory(t):()=>new t}function rC(t){if(jg(t))return ao(void 0,t.useValue);{let n=Uu(t);return ao(n,ua)}}function Uu(t,n,e){let r;if(dr(t)){let o=be(t);return ur(o)||vu(o)}else if(jg(t))r=()=>be(t.useValue);else if(tC(t))r=()=>t.useFactory(...yu(t.deps||[]));else if(eC(t))r=(o,i)=>_(be(t.useExisting),i!==void 0&&i&8?8:void 0);else{let o=be(t&&(t.useClass||t.provide));if(oC(t))r=()=>new o(...yu(t.deps));else return ur(o)||vu(o)}return r}function di(t){if(t.destroyed)throw new b(-205,!1)}function ao(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function oC(t){return!!t.deps}function iC(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function sC(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function bu(t,n){for(let e of t)Array.isArray(e)?bu(e,n):e&&_u(e)?bu(e.\u0275providers,n):n(e)}function Ie(t,n){let e;t instanceof fr?(di(t),e=t):e=new mu(t);let r,o=Bt(e),i=Je(void 0);try{return n()}finally{Bt(o),Je(i)}}function Ug(){return Ag()!==void 0||la()!=null}var Ct=0,S=1,M=2,De=3,ut=4,Be=5,hr=6,lo=7,pe=8,Ue=9,wt=10,z=11,uo=12,Hu=13,gr=14,He=15,Fn=16,mr=17,$t=18,zt=19,Vu=20,cn=21,Ta=22,On=23,Xe=24,yr=25,Wt=26,Q=27,Hg=1,$u=6,jn=7,Ci=8,vr=9,le=10;function un(t){return Array.isArray(t)&&typeof t[Hg]=="object"}function Tt(t){return Array.isArray(t)&&t[Hg]===!0}function zu(t){return(t.flags&4)!==0}function dn(t){return t.componentOffset>-1}function fo(t){return(t.flags&1)===1}function St(t){return!!t.template}function po(t){return(t[M]&512)!==0}function br(t){return(t[M]&256)===256}var Wu="svg",Vg="math";function dt(t){for(;Array.isArray(t);)t=t[Ct];return t}function Gu(t,n){return dt(n[t])}function et(t,n){return dt(n[t.index])}function Sa(t,n){return t.data[n]}function qu(t,n){return t[n]}function _a(t,n,e,r){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function ft(t,n){let e=n[t];return un(e)?e:e[Ct]}function $g(t){return(t[M]&4)===4}function Ma(t){return(t[M]&128)===128}function zg(t){return Tt(t[De])}function pt(t,n){return n==null?null:t[n]}function Zu(t){t[mr]=0}function Ku(t){t[M]&1024||(t[M]|=1024,Ma(t)&&Dr(t))}function Wg(t,n){for(;t>0;)n=n[gr],t--;return n}function wi(t){return!!(t[M]&9216||t[Xe]?.dirty)}function Na(t){t[wt].changeDetectionScheduler?.notify(8),t[M]&64&&(t[M]|=1024),wi(t)&&Dr(t)}function Dr(t){t[wt].changeDetectionScheduler?.notify(0);let n=kn(t);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!Ma(n)));)n=kn(n)}function Yu(t,n){if(br(t))throw new b(911,!1);t[cn]===null&&(t[cn]=[]),t[cn].push(n)}function Gg(t,n){if(t[cn]===null)return;let e=t[cn].indexOf(n);e!==-1&&t[cn].splice(e,1)}function kn(t){let n=t[De];return Tt(n)?n[De]:n}function Qu(t){return t[lo]??=[]}function Ju(t){return t.cleanup??=[]}function qg(t,n,e,r){let o=Qu(n);o.push(e),t.firstCreatePass&&Ju(t).push(r,o.length-1)}var O={lFrame:im(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Du=!1;function Zg(){return O.lFrame.elementDepthCount}function Kg(){O.lFrame.elementDepthCount++}function Xu(){O.lFrame.elementDepthCount--}function Aa(){return O.bindingsEnabled}function ed(){return O.skipHydrationRootTNode!==null}function td(t){return O.skipHydrationRootTNode===t}function nd(){O.skipHydrationRootTNode=null}function C(){return O.lFrame.lView}function J(){return O.lFrame.tView}function Yg(t){return O.lFrame.contextLView=t,t[pe]}function Qg(t){return O.lFrame.contextLView=null,t}function he(){let t=rd();for(;t!==null&&t.type===64;)t=t.parent;return t}function rd(){return O.lFrame.currentTNode}function Jg(){let t=O.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Er(t,n){let e=O.lFrame;e.currentTNode=t,e.isParent=n}function od(){return O.lFrame.isParent}function id(){O.lFrame.isParent=!1}function sd(){return O.lFrame.contextLView}function ad(){return Du}function hi(t){let n=Du;return Du=t,n}function fn(){let t=O.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function cd(){return O.lFrame.bindingIndex}function Xg(t){return O.lFrame.bindingIndex=t}function Bn(){return O.lFrame.bindingIndex++}function Ti(t){let n=O.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function em(){return O.lFrame.inI18n}function tm(t,n){let e=O.lFrame;e.bindingIndex=e.bindingRootIndex=t,Ra(n)}function nm(){return O.lFrame.currentDirectiveIndex}function Ra(t){O.lFrame.currentDirectiveIndex=t}function rm(t){let n=O.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function xa(){return O.lFrame.currentQueryIndex}function Si(t){O.lFrame.currentQueryIndex=t}function aC(t){let n=t[S];return n.type===2?n.declTNode:n.type===1?t[Be]:null}function ld(t,n,e){if(e&4){let o=n,i=t;for(;o=o.parent,o===null&&!(e&1);)if(o=aC(i),o===null||(i=i[gr],o.type&10))break;if(o===null)return!1;n=o,t=i}let r=O.lFrame=om();return r.currentTNode=n,r.lView=t,!0}function Oa(t){let n=om(),e=t[S];O.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function om(){let t=O.lFrame,n=t===null?null:t.child;return n===null?im(t):n}function im(t){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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function sm(){let t=O.lFrame;return O.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ud=sm;function ka(){let t=sm();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function am(t){return(O.lFrame.contextLView=Wg(t,O.lFrame.contextLView))[pe]}function ht(){return O.lFrame.selectedIndex}function Un(t){O.lFrame.selectedIndex=t}function _i(){let t=O.lFrame;return Sa(t.tView,t.selectedIndex)}function ho(){O.lFrame.currentNamespace=Wu}function cm(){return O.lFrame.currentNamespace}var lm=!0;function Pa(){return lm}function Mi(t){lm=t}function Eu(t,n=null,e=null,r){let o=dd(t,n,e,r);return o.resolveInjectorInitializers(),o}function dd(t,n=null,e=null,r,o=new Set){let i=[e||Pe,Lg(t)],s;return new fr(i,n||Ii(),s||null,o)}var ye=class t{static THROW_IF_NOT_FOUND=cr;static NULL=new pi;static create(n,e){if(Array.isArray(n))return Eu({name:""},e,n,"");{let r=n.name??"";return Eu({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:t,providedIn:"any",factory:()=>_(Lu)});static __NG_ELEMENT_ID__=-1},V=new D(""),ge=(()=>{class t{static __NG_ELEMENT_ID__=cC;static __NG_ENV_ID__=e=>e}return t})(),pa=class extends ge{_lView;constructor(n){super(),this._lView=n}get destroyed(){return br(this._lView)}onDestroy(n){let e=this._lView;return Yu(e,n),()=>Gg(e,n)}};function cC(){return new pa(C())}var um=!1,dm=new D(""),pn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Me(!1);debugTaskTracker=h(dm,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),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=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Iu=class extends Y{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Ug()&&(this.destroyRef=h(ge,{optional:!0})??void 0,this.pendingTasks=h(pn,{optional:!0})??void 0)}emit(n){let e=w(null);try{super.next(n)}finally{w(e)}}subscribe(n,e,r){let o=n,i=e||(()=>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 _e&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},me=Iu;function ha(...t){}function fd(t){let n,e;function r(){t=ha;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function fm(t){return queueMicrotask(()=>t()),()=>{t=ha}}var pd="isAngularZone",gi=pd+"_ID",lC=0,ce=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new me(!1);onMicrotaskEmpty=new me(!1);onStable=new me(!1);onError=new me(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=um}=n;if(typeof Zone>"u")throw new b(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)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,fC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(pd)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new b(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,uC,ha,ha);try{return i.runTask(s,e,r)}finally{i.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},uC={};function hd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function dC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){fd(()=>{t.callbackScheduled=!1,Cu(t),t.isCheckStableRunning=!0,hd(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Cu(t)}function fC(t){let n=()=>{dC(t)},e=lC++;t._inner=t._inner.fork({name:"angular",properties:{[pd]:!0,[gi]:e,[gi+e]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(pC(c))return r.invokeTask(i,s,a,c);try{return wg(t),r.invokeTask(i,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Tg(t)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return wg(t),r.invoke(i,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!hC(c)&&n(),Tg(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Cu(t),hd(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Cu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function wg(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Tg(t){t._nesting--,hd(t)}var mi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new me;onMicrotaskEmpty=new me;onStable=new me;onError=new me;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,o){return n.apply(e,r)}};function pC(t){return pm(t,"__ignore_ng_zone__")}function hC(t){return pm(t,"__scheduler_tick__")}function pm(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var ct=class{_console=console;handleError(n){this._console.error("ERROR",n)}},tt=new D("",{factory:()=>{let t=h(ce),n=h(re),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(ct),e.handleError(r))})}}}),hm={provide:Ln,useValue:()=>{let t=h(ct,{optional:!0})},multi:!0},gC=new D("",{factory:()=>{let t=h(V).defaultView;if(!t)return;let n=h(tt),e=i=>{n(i.reason),i.preventDefault()},r=i=>{i.error?n(i.error):n(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{t.addEventListener("unhandledrejection",e),t.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),h(ge).onDestroy(()=>{t.removeEventListener("error",r),t.removeEventListener("unhandledrejection",e)})}});function mC(){return lt([Pg(()=>{h(gC)})])}function T(t,n){let[e,r,o]=ru(t,n?.equal),i=e,s=i[ae];return i.set=r,i.update=o,i.asReadonly=Ni.bind(i),i}function Ni(){let t=this[ae];if(t.readonlyFn===void 0){let n=()=>this();n[ae]=t,t.readonlyFn=n}return t.readonlyFn}var go=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=yC}return t})();function yC(){return new go(C(),he())}var Ut=class{},Ai=new D("",{factory:()=>!0});var gd=new D(""),mo=(()=>{class t{internalPendingTasks=h(pn);scheduler=h(Ut);errorHandler=h(tt);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let r=this.add();e().catch(this.errorHandler).finally(r)}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),La=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>new wu})}return t})(),wu=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,r=this.queues.get(e);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,r]of this.queues)e===null?n||=this.flushQueue(r):n||=e.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,e=!0,r.run());return e}},ga=class{[ae];constructor(n){this[ae]=n}destroy(){this[ae].destroy()}};function Ce(t,n){let e=n?.injector??h(ye),r=n?.manualCleanup!==!0?e.get(ge):null,o,i=e.get(go,null,{optional:!0}),s=e.get(Ut);return i!==null?(o=DC(i.view,s,t),r instanceof pa&&r._lView===i.view&&(r=null)):o=EC(t,e.get(La),s),o.injector=e,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ga(o)}var gm=x(g({},ou),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=hi(!1);try{iu(this)}finally{hi(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=w(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],w(t)}}}),vC=x(g({},gm),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(An(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),bC=x(g({},gm),{consumerMarkedDirty(){this.view[M]|=8192,Dr(this.view),this.notifier.notify(13)},destroy(){if(An(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[On]?.delete(this)}});function DC(t,n,e){let r=Object.create(bC);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=mm(r,e),t[On]??=new Set,t[On].add(r),r.consumerMarkedDirty(r),r}function EC(t,n,e){let r=Object.create(vC);return r.fn=mm(r,t),r.scheduler=n,r.notifier=e,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function mm(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function $i(t){return{toString:t}.toString()}function MC(t){return typeof t=="function"}function iy(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var qa=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},Zt=(()=>{let t=()=>sy;return t.ngInherit=!0,t})();function sy(t){return t.type.prototype.ngOnChanges&&(t.setInput=AC),NC}function NC(){let t=cy(this),n=t?.current;if(n){let e=t.previous;if(e===It)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function AC(t,n,e,r,o){let i=this.declaredInputs[r],s=cy(t)||RC(t,{previous:It,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new qa(l&&l.currentValue,e,c===It),iy(t,n,o,e)}var ay="__ngSimpleChanges__";function cy(t){return t[ay]||null}function RC(t,n){return t[ay]=n}var ym=[];var $=function(t,n=null,e){for(let r=0;r<ym.length;r++){let o=ym[r];o(t,n,e)}},F=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(F||{});function xC(t,n,e){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=sy(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),i&&((e.preOrderHooks??=[]).push(t,i),(e.preOrderCheckHooks??=[]).push(t,i))}function ly(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e<r;e++){let i=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),c&&(t.viewHooks??=[]).push(-e,c),l&&((t.viewHooks??=[]).push(e,l),(t.viewCheckHooks??=[]).push(e,l)),u!=null&&(t.destroyHooks??=[]).push(e,u)}}function Ha(t,n,e){uy(t,n,3,e)}function Va(t,n,e,r){(t[M]&3)===e&&uy(t,n,e,r)}function md(t,n){let e=t[M];(e&3)===n&&(e&=16383,e+=1,t[M]=e)}function uy(t,n,e,r){let o=r!==void 0?t[mr]&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&&(t[mr]+=65536),(a<i||i==-1)&&(OC(t,e,n,c),t[mr]=(t[mr]&4294901760)+c+2),c++}function vm(t,n){$(F.LifecycleHookStart,t,n);let e=w(null);try{n.call(t)}finally{w(e),$(F.LifecycleHookEnd,t,n)}}function OC(t,n,e,r){let o=e[r]<0,i=e[r+1],s=o?-e[r]:e[r],a=t[s];o?t[M]>>14<t[mr]>>16&&(t[M]&3)===n&&(t[M]+=16384,vm(a,i)):vm(a,i)}var vo=-1,Tr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=e,this.injectImpl=r}};function kC(t){return(t.flags&8)!==0}function PC(t){return(t.flags&16)!==0}function LC(t,n,e){let r=0;for(;r<e.length;){let o=e[r];if(typeof o=="number"){if(o!==0)break;r++;let i=e[r++],s=e[r++],a=e[r++];t.setAttribute(n,s,a,i)}else{let i=o,s=e[++r];FC(i)?t.setProperty(n,i,s):t.setAttribute(n,i,s),r++}}return r}function dy(t){return t===3||t===4||t===6}function FC(t){return t.charCodeAt(0)===64}function bo(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?e=o:e===0||(e===-1||e===2?bm(t,e,o,null,n[++r]):bm(t,e,o,null,null))}}return t}function bm(t,n,e,r,o){let i=0,s=t.length;if(n===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===e){o!==null&&(t[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(t.splice(s,0,n),i=s+1),t.splice(i++,0,e),o!==null&&t.splice(i++,0,o)}function fy(t){return t!==vo}function Za(t){return t&32767}function jC(t){return t>>16}function Ka(t,n){let e=jC(t),r=n;for(;e>0;)r=r[gr],e--;return r}var _d=!0;function Dm(t){let n=_d;return _d=t,n}var BC=256,py=BC-1,hy=5,UC=0,Gt={};function HC(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(pr)&&(r=e[pr]),r==null&&(r=e[pr]=UC++);let o=r&py,i=1<<o;n.data[t+(o>>hy)]|=i}function Ya(t,n){let e=gy(t,n);if(e!==-1)return e;let r=n[S];r.firstCreatePass&&(t.injectorIndex=n.length,yd(r.data,t),yd(n,null),yd(r.blueprint,null));let o=df(t,n),i=t.injectorIndex;if(fy(o)){let s=Za(o),a=Ka(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 yd(t,n){t.push(0,0,0,0,0,0,0,0,n)}function gy(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function df(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,o=n;for(;o!==null;){if(r=Dy(o),r===null)return vo;if(e++,o=o[gr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return vo}function Md(t,n,e){HC(t,n,e)}function VC(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,o=0;for(;o<r;){let i=e[o];if(dy(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof e[o]=="string";)o++;else{if(i===n)return e[o+1];o=o+2}}}return null}function my(t,n,e){if(e&8||t!==void 0)return t;Ia(n,"NodeInjector")}function yy(t,n,e,r){if(e&8&&r===void 0&&(r=null),(e&3)===0){let o=t[Ue],i=Je(void 0);try{return o?o.get(n,r,e&8):ku(n,r,e&8)}finally{Je(i)}}return my(r,n,e)}function vy(t,n,e,r=0,o){if(t!==null){if(n[M]&2048&&!(r&2)){let s=GC(t,n,e,r,Gt);if(s!==Gt)return s}let i=by(t,n,e,r,Gt);if(i!==Gt)return i}return yy(n,e,r,o)}function by(t,n,e,r,o){let i=zC(e);if(typeof i=="function"){if(!ld(n,t,r))return r&1?my(o,e,r):yy(n,e,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ia(e);else return s}finally{ud()}}else if(typeof i=="number"){let s=null,a=gy(t,n),c=vo,l=r&1?n[He][Be]:null;for((a===-1||r&4)&&(c=a===-1?df(t,n):n[a+8],c===vo||!Im(r,!1)?a=-1:(s=n[S],a=Za(c),n=Ka(c,n)));a!==-1;){let u=n[S];if(Em(i,a,u.data)){let d=$C(a,n,e,s,r,l);if(d!==Gt)return d}c=n[a+8],c!==vo&&Im(r,n[S].data[a+8]===l)&&Em(i,a,n)?(s=u,a=Za(c),n=Ka(c,n)):a=-1}}return o}function $C(t,n,e,r,o,i){let s=n[S],a=s.data[t+8],c=r==null?dn(a)&&_d:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=$a(a,s,e,c,l);return u!==null?ki(n,s,u,a,o):Gt}function $a(t,n,e,r,o){let i=t.providerIndexes,s=n.data,a=i&1048575,c=t.directiveStart,l=t.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p<f;p++){let m=s[p];if(p<c&&e===m||p>=c&&m.type===e)return p}if(o){let p=s[c];if(p&&St(p)&&p.type===e)return c}return null}function ki(t,n,e,r,o){let i=t[e],s=n.data;if(i instanceof Tr){let a=i;if(a.resolving)throw Ou("");let c=Dm(a.canSeeViewProviders);a.resolving=!0;let l=s[e].type||s[e],u,d=a.injectImpl?Je(a.injectImpl):null,f=ld(t,r,0);try{i=t[e]=a.factory(void 0,o,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&xC(e,s[e],n)}finally{d!==null&&Je(d),Dm(c),a.resolving=!1,ud()}}return i}function zC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(pr)?t[pr]:void 0;return typeof n=="number"?n>=0?n&py:WC:n}function Em(t,n,e){let r=1<<t;return!!(e[n+(t>>hy)]&r)}function Im(t,n){return!(t&2)&&!(t&1&&n)}var Cr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return vy(this._tNode,this._lView,n,lr(r),e)}};function WC(){return new Cr(he(),C())}function W(t){return $i(()=>{let n=t.prototype.constructor,e=n[fi]||Nd(n),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[fi]||Nd(o);if(i&&i!==e)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Nd(t){return Tu(t)?()=>{let n=Nd(be(t));return n&&n()}:ur(t)}function GC(t,n,e,r,o){let i=t,s=n;for(;i!==null&&s!==null&&s[M]&2048&&!po(s);){let a=by(i,s,e,r|2,Gt);if(a!==Gt)return a;let c=i.parent;if(!c){let l=s[Vu];if(l){let u=l.get(e,Gt,r&-5);if(u!==Gt)return u}c=Dy(s),s=s[gr]}i=c}return o}function Dy(t){let n=t[S],e=n.type;return e===2?n.declTNode:e===1?t[Be]:null}function zi(t){return VC(he(),t)}function qC(){return So(he(),C())}function So(t,n){return new Ae(et(t,n))}var Ae=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=qC}return t})();function Ey(t){return t instanceof Ae?t.nativeElement:t}function ZC(){return this._results[Symbol.iterator]()}var Qa=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 Y}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,e){return this._results.reduce(n,e)}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,e){this.dirty=!1;let r=xg(n);(this._changesDetected=!Rg(this._results,r,e))&&(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]=ZC};function Iy(t){return(t.flags&128)===128}var ff=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(ff||{}),Cy=new Map,KC=0;function YC(){return KC++}function QC(t){Cy.set(t[zt],t)}function Ad(t){Cy.delete(t[zt])}var Cm="__ngContext__";function Do(t,n){un(n)?(t[Cm]=n[zt],QC(n)):t[Cm]=n}function wy(t){return Sy(t[uo])}function Ty(t){return Sy(t[ut])}function Sy(t){for(;t!==null&&!Tt(t);)t=t[ut];return t}var Rd;function pf(t){Rd=t}function _y(){if(Rd!==void 0)return Rd;if(typeof document<"u")return document;throw new b(210,!1)}var dc=new D("",{factory:()=>JC}),JC="ng";var fc=new D(""),At=new D("",{providedIn:"platform",factory:()=>"unknown"});var Wi=new D("",{factory:()=>h(V).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var My="r";var Ny="di";var Ay=!1,Ry=new D("",{factory:()=>Ay});var XC=(t,n,e,r)=>{};function ew(t,n,e,r){XC(t,n,e,r)}function pc(t){return(t.flags&32)===32}var tw=()=>null;function xy(t,n,e=!1){return tw(t,n,e)}function Oy(t,n){let e=t.contentQueries;if(e!==null){let r=w(null);try{for(let o=0;o<e.length;o+=2){let i=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];Si(i),a.contentQueries(2,n[s],s)}}}finally{w(r)}}}function xd(t,n,e){Si(0);let r=w(null);try{n(t,e)}finally{w(r)}}function hf(t,n,e){if(zu(n)){let r=w(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=e[s];a.contentQueries(1,c,s)}}}finally{w(r)}}}var Mt=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(Mt||{});var Fa;function nw(){if(Fa===void 0&&(Fa=null,Pn.trustedTypes))try{Fa=Pn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fa}function hc(t){return nw()?.createHTML(t)||t}var ja;function ky(){if(ja===void 0&&(ja=null,Pn.trustedTypes))try{ja=Pn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ja}function wm(t){return ky()?.createHTML(t)||t}function Tm(t){return ky()?.createScriptURL(t)||t}var hn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ma})`}},Od=class extends hn{getTypeName(){return"HTML"}},kd=class extends hn{getTypeName(){return"Style"}},Pd=class extends hn{getTypeName(){return"Script"}},Ld=class extends hn{getTypeName(){return"URL"}},Fd=class extends hn{getTypeName(){return"ResourceURL"}};function nt(t){return t instanceof hn?t.changingThisBreaksApplicationSecurity:t}function Kt(t,n){let e=Py(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${ma})`)}return e===n}function Py(t){return t instanceof hn&&t.getTypeName()||null}function gf(t){return new Od(t)}function mf(t){return new kd(t)}function yf(t){return new Pd(t)}function vf(t){return new Ld(t)}function bf(t){return new Fd(t)}function rw(t){let n=new Bd(t);return ow()?new jd(n):n}var jd=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(hc(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Bd=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=hc(n),e}};function ow(){try{return!!new window.DOMParser().parseFromString(hc(""),"text/html")}catch{return!1}}var iw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Gi(t){return t=String(t),t.match(iw)?t:"unsafe:"+t}function gn(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function qi(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var Ly=gn("area,br,col,hr,img,wbr"),Fy=gn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jy=gn("rp,rt"),sw=qi(jy,Fy),aw=qi(Fy,gn("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")),cw=qi(jy,gn("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")),Sm=qi(Ly,aw,cw,sw),By=gn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lw=gn("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"),uw=gn("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"),dw=qi(By,lw,uw),fw=gn("script,style,template");var Ud=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){o.push(e),e=gw(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=hw(e);if(i){e=i;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=_m(n).toLowerCase();if(!Sm.hasOwnProperty(e))return this.sanitizedSomething=!0,!fw.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!dw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;By[a]&&(c=Gi(c)),this.buf.push(" ",s,'="',Mm(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=_m(n).toLowerCase();Sm.hasOwnProperty(e)&&!Ly.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Mm(n))}};function pw(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function hw(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw Uy(n);return n}function gw(t){let n=t.firstChild;if(n&&pw(t,n))throw Uy(n);return n}function _m(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function Uy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var mw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yw=/([^\#-~ |!])/g;function Mm(t){return t.replace(/&/g,"&").replace(mw,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(yw,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ba;function gc(t,n){let e=null;try{Ba=Ba||rw(t);let r=n?String(n):"";e=Ba.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=e.innerHTML,e=Ba.getInertBodyElement(r)}while(r!==i);let a=new Ud().sanitizeChildren(Nm(e)||e);return hc(a)}finally{if(e){let r=Nm(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function Nm(t){return"content"in t&&vw(t)?t.content:null}function vw(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var bw=/^>|^->|<!--|-->|--!>|<!-$/g,Dw=/(<|>)/g,Ew="\u200B$1\u200B";function Iw(t){return t.replace(bw,n=>n.replace(Dw,Ew))}function Cw(t,n){return t.createText(n)}function ww(t,n,e){t.setValue(n,e)}function Tw(t,n){return t.createComment(Iw(n))}function Hy(t,n,e){return t.createElement(n,e)}function Ja(t,n,e,r,o){t.insertBefore(n,e,r,o)}function Vy(t,n,e){t.appendChild(n,e)}function Am(t,n,e,r,o){r!==null?Ja(t,n,e,r,o):Vy(t,n,e)}function $y(t,n,e,r){t.removeChild(null,n,e,r)}function Sw(t,n,e){t.setAttribute(n,"style",e)}function _w(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function zy(t,n,e){let{mergedAttrs:r,classes:o,styles:i}=e;r!==null&&LC(t,n,r),o!==null&&_w(t,n,o),i!==null&&Sw(t,n,i)}var gt=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t})(gt||{});function Mw(t){let n=Ef();return n?wm(n.sanitize(gt.HTML,t)||""):Kt(t,"HTML")?wm(nt(t)):gc(_y(),Vt(t))}function Wy(t){let n=Ef();return n?n.sanitize(gt.URL,t)||"":Kt(t,"URL")?nt(t):Gi(Vt(t))}function Gy(t){let n=Ef();if(n)return Tm(n.sanitize(gt.RESOURCE_URL,t)||"");if(Kt(t,"ResourceURL"))return Tm(nt(t));throw new b(904,!1)}var Nw={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 Aw(t,n){return Nw[t]?.[n]===!0?Gy:Wy}function Df(t,n,e){return Aw(n,e)(t)}function Ef(){let t=C();return t&&t[wt].sanitizer}function Rw(t){return t.ownerDocument.defaultView}function xw(t){return t.ownerDocument}function qy(t){return t instanceof Function?t():t}function Ow(t,n,e){let r=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}e=o+1}}var Zy="ng-template";function kw(t,n,e,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&Ow(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(If(t))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===e)return!0}return!1}function If(t){return t.type===4&&t.value!==Zy}function Pw(t,n,e){let r=t.type===4&&!e?Zy:t.value;return n===r}function Lw(t,n,e){let r=4,o=t.attrs,i=o!==null?Bw(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!_t(r)&&!_t(c))return!1;if(s&&_t(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Pw(t,c,e)||c===""&&n.length===1){if(_t(r))return!1;s=!0}}else if(r&8){if(o===null||!kw(t,o,c,e)){if(_t(r))return!1;s=!0}}else{let l=n[++a],u=Fw(c,o,If(t),e);if(u===-1){if(_t(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(_t(r))return!1;s=!0}}}}return _t(r)||s}function _t(t){return(t&1)===0}function Fw(t,n,e,r){if(n===null)return-1;let o=0;if(r||!e){let i=!1;for(;o<n.length;){let s=n[o];if(s===t)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 Uw(n,t)}function Ky(t,n,e=!1){for(let r=0;r<n.length;r++)if(Lw(t,n[r],e))return!0;return!1}function jw(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function Bw(t){for(let n=0;n<t.length;n++){let e=t[n];if(dy(e))return n}return t.length}function Uw(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let r=t[e];if(typeof r=="number")return-1;if(r===n)return e;e++}return-1}function Hw(t,n){e:for(let e=0;e<n.length;e++){let r=n[e];if(t.length===r.length){for(let o=0;o<t.length;o++)if(t[o]!==r[o])continue e;return!0}}return!1}function Rm(t,n){return t?":not("+n.trim()+")":n}function Vw(t){let n=t[0],e=1,r=2,o="",i=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(r&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!_t(s)&&(n+=Rm(i,o),o=""),r=s,i=i||!_t(r);e++}return o!==""&&(n+=Rm(i,o)),n}function $w(t){return t.map(Vw).join(",")}function zw(t){let n=[],e=[],r=1,o=2;for(;r<t.length;){let i=t[r];if(typeof i=="string")o===2?i!==""&&n.push(i,t[++r]):o===8&&e.push(i);else{if(!_t(o))break;o=i}r++}return e.length&&n.push(1,...e),n}var Re={};function Cf(t,n,e,r,o,i,s,a,c,l,u){let d=Q+r,f=d+o,p=Ww(d,f),m=typeof l=="function"?l():l;return p[S]={type:t,blueprint:p,template:e,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:m,incompleteFirstPass:!1,ssrId:u}}function Ww(t,n){let e=[];for(let r=0;r<n;r++)e.push(r<t?null:Re);return e}function Gw(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Cf(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function wf(t,n,e,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[Ct]=o,d[M]=r|4|128|8|64|1024,(l!==null||t&&t[M]&2048)&&(d[M]|=2048),Zu(d),d[De]=d[gr]=t,d[pe]=e,d[wt]=s||t&&t[wt],d[z]=a||t&&t[z],d[Ue]=c||t&&t[Ue]||null,d[Be]=i,d[zt]=YC(),d[hr]=u,d[Vu]=l,d[He]=n.type==2?t[He]:d,d}function qw(t,n,e){let r=et(n,t),o=Gw(e),i=t[wt].rendererFactory,s=Tf(t,wf(t,o,null,Yy(e),r,n,null,i.createRenderer(r,e),null,null,null));return t[n.index]=s}function Yy(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function Qy(t,n,e,r){if(e===0)return-1;let o=n.length;for(let i=0;i<e;i++)n.push(r),t.blueprint.push(r),t.data.push(null);return o}function Tf(t,n){return t[uo]?t[Hu][ut]=n:t[uo]=n,t[Hu]=n,n}function Le(t=1){Jy(J(),C(),ht()+t,!1)}function Jy(t,n,e,r){if(!r)if((n[M]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Ha(n,i,e)}else{let i=t.preOrderHooks;i!==null&&Va(n,i,0,e)}Un(e)}var mc=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(mc||{});function Hd(t,n,e,r){let o=w(null);try{let[i,s,a]=t.inputs[e],c=null;(s&mc.SignalBased)!==0&&(c=n[i][ae]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),t.setInput!==null?t.setInput(n,c,r,e,i):iy(n,c,i,r)}finally{w(o)}}var Nt=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Nt||{}),Zw;function Sf(t,n){return Zw(t,n)}var Xy=new D("",{factory:()=>!1});var Kw=!1,Zi=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function ev(t){return t[Ue].get(Xy,Kw)}function Yw(t,n,e){let r=Eo.get(t);if(r){for(let o of n)r.classList.push(o);for(let o of e)r.cleanupFns.push(o)}else Eo.set(t,{classList:n,cleanupFns:e})}function _f(t){let n=Eo.get(t);if(n){for(let e of n.cleanupFns)e();Eo.delete(t)}wr.delete(t)}var Eo=new WeakMap,wr=new WeakMap,Pi=new WeakMap,Ri=new WeakSet;function xm(t,n){let e=Pi.get(t);if(e&&e.length>0){let r=e.findIndex(o=>o===n);r>-1&&e.splice(r,1)}e?.length===0&&Pi.delete(t)}function Qw(t,n){let e=Pi.get(t);if(!e||e.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=e.length-1;i>=0;i--){let s=e[i],a=s.parentNode;s===n?(e.splice(i,1),Ri.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(e.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function tv(t,n){let e=Pi.get(t);e?e.includes(n)||e.push(n):Pi.set(t,[n])}function Om(t){let n=t[Wt]??={};return n.enter??=new Map}function yc(t){let n=t[Wt]??={};return n.leave??=new Map}function nv(t){let n=typeof t=="function"?t():t,e=Array.isArray(n)?n:null;return typeof n=="string"&&(e=n.trim().split(/\s+/).filter(r=>r)),e}function Jw(t,n){if(!Zi)return;let e=Eo.get(t);if(e&&e.classList.length>0&&Xw(t,e.classList))for(let r of e.classList)n.removeClass(t,r);_f(t)}function Xw(t,n){for(let e of n)if(t.classList.contains(e))return!0;return!1}function Li(t){return t.composedPath?t.composedPath()[0]:t.target}function Mf(t,n){let e=wr.get(n);return e===void 0?!0:n===Li(t)&&(e.animationName!==void 0&&t.animationName===e.animationName||e.propertyName!==void 0&&(e.propertyName==="all"||t.propertyName===e.propertyName))}function rv(t,n,e){let r=t.get(n.index)??{animateFns:[]};r.animateFns.push(e),t.set(n.index,r)}function km(t,n){if(t)for(let e of t)e();for(let e of n)e()}function Pm(t,n){let e=yc(t).get(n.index);e&&(e.resolvers=void 0)}function Xa(t){if(!t)return 0;let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function Ir(t,n){return t.getPropertyValue(n).split(",").map(r=>r.trim())}function eT(t){let n=Ir(t,"transition-property"),e=Ir(t,"transition-duration"),r=Ir(t,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=Xa(r[i])+Xa(e[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function tT(t){let n=Ir(t,"animation-name"),e=Ir(t,"animation-delay"),r=Ir(t,"animation-duration"),o=Ir(t,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=Xa(e[s])+Xa(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=n[s],i.duration=a)}return i}function ov(t,n){return t!==void 0&&t.duration>n.duration}function iv(t){return(t.animationName!=null||t.propertyName!=null)&&t.duration>0}function nT(t,n){let e=getComputedStyle(t),r=tT(e),o=eT(e),i=r.duration>o.duration?r:o;ov(n.get(t),i)||iv(i)&&n.set(t,i)}function sv(t,n,e){if(!e)return;let r=t.getAnimations();return r.length===0?nT(t,n):rT(t,n,r)}function rT(t,n,e){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of e){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})}ov(n.get(t),r)||iv(r)&&n.set(t,r)}var Hn=new Set,vc=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(vc||{}),Rt=new D(""),Lm=new Set;function xt(t){Lm.has(t)||(Lm.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var bc=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Nf=[0,1,2,3],Af=(()=>{class t{ngZone=h(ce);scheduler=h(Ut);errorHandler=h(ct,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(Rt,{optional:!0})}execute(){let e=this.sequences.size>0;e&&$(F.AfterRenderHooksStart),this.executing=!0;for(let r of Nf)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(),e&&$(F.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[yr]??=[]).push(e),Dr(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,r){return r?r.run(vc.AFTER_NEXT_RENDER,e):e()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Fi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,o,i,s=null){this.impl=n,this.hooks=e,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?.[yr];n&&(this.view[yr]=n.filter(e=>e!==this))}};function Dc(t,n){let e=n?.injector??h(ye);return xt("NgAfterNextRender"),iT(t,e,n,!0)}function oT(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function iT(t,n,e,r){let o=n.get(bc);o.impl??=n.get(Af);let i=n.get(Rt,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(ge):null,a=n.get(go,null,{optional:!0}),c=new Fi(o.impl,oT(t),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ec=new D("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:h(re)})});function av(t,n,e){let r=t.get(Ec);if(Array.isArray(n))for(let o of n)r.queue.add(o),e?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(t)}function sT(t,n){let e=t.get(Ec);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function aT(t){let n=t.get(Ec);n.isScheduled||(Dc(()=>{n.isScheduled=!1;for(let e of n.queue)e();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function cv(t){let n=t.get(Ec);n.scheduler=aT,n.scheduler(t)}function lv(t,n){for(let[e,r]of n)av(t,r.animateFns)}function Fm(t,n,e,r){let o=t?.[Wt]?.enter;n!==null&&o&&o.has(e.index)&&lv(r,o)}function yo(t,n,e,r,o,i,s,a){if(o!=null){let c,l=!1;Tt(o)?c=o:un(o)&&(l=!0,o=o[Ct]);let u=dt(o);t===0&&r!==null?(Fm(a,r,i,e),s==null?Vy(n,r,u):Ja(n,r,u,s||null,!0)):t===1&&r!==null?(Fm(a,r,i,e),Ja(n,r,u,s||null,!0),Qw(i,u)):t===2?(a?.[Wt]?.leave?.has(i.index)&&tv(i,u),Ri.delete(u),jm(a,i,e,d=>{if(Ri.has(u)){Ri.delete(u);return}$y(n,u,l,d)})):t===3&&(Ri.delete(u),jm(a,i,e,()=>{n.destroyNode(u)})),c!=null&&vT(n,t,e,c,i,r,s)}}function cT(t,n){uv(t,n),n[Ct]=null,n[Be]=null}function lT(t,n,e,r,o,i){r[Ct]=o,r[Be]=n,Cc(t,r,e,1,o,i)}function uv(t,n){n[wt].changeDetectionScheduler?.notify(9),Cc(t,n,n[z],2,null,null)}function uT(t){let n=t[uo];if(!n)return vd(t[S],t);for(;n;){let e=null;if(un(n))e=n[uo];else{let r=n[le];r&&(e=r)}if(!e){for(;n&&!n[ut]&&n!==t;)un(n)&&vd(n[S],n),n=n[De];n===null&&(n=t),un(n)&&vd(n[S],n),e=n&&n[ut]}n=e}}function Rf(t,n){let e=t[vr],r=e.indexOf(n);e.splice(r,1)}function Ic(t,n){if(br(n))return;let e=n[z];e.destroyNode&&Cc(t,n,e,3,null,null),uT(n)}function vd(t,n){if(br(n))return;let e=w(null);try{n[M]&=-129,n[M]|=256,n[Xe]&&An(n[Xe]),pT(t,n),fT(t,n),n[S].type===1&&n[z].destroy();let r=n[Fn];if(r!==null&&Tt(n[De])){r!==n[De]&&Rf(r,n);let o=n[$t];o!==null&&o.detachView(t)}Ad(n)}finally{w(e)}}function jm(t,n,e,r){let o=t?.[Wt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);t&&Hn.add(t[zt]),av(e,()=>{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),dT(t,r)}else t&&Hn.delete(t[zt]),r(!1)},o)}function dT(t,n){let e=t[Wt]?.running;if(e){e.then(()=>{t[Wt].running=void 0,Hn.delete(t[zt]),n(!0)});return}n(!1)}function fT(t,n){let e=t.cleanup,r=n[lo];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[lo]=null);let o=n[cn];if(o!==null){n[cn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[On];if(i!==null){n[On]=null;for(let s of i)s.destroy()}}function pT(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let r=0;r<e.length;r+=2){let o=n[e[r]];if(!(o instanceof Tr)){let i=e[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];$(F.LifecycleHookStart,a,c);try{c.call(a)}finally{$(F.LifecycleHookEnd,a,c)}}else{$(F.LifecycleHookStart,o,i);try{i.call(o)}finally{$(F.LifecycleHookEnd,o,i)}}}}}function dv(t,n,e){return hT(t,n.parent,e)}function hT(t,n,e){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return e[Ct];if(dn(r)){let{encapsulation:o}=t.data[r.directiveStart+r.componentOffset];if(o===Mt.None||o===Mt.Emulated)return null}return et(r,e)}function fv(t,n,e){return mT(t,n,e)}function gT(t,n,e){return t.type&40?et(t,e):null}var mT=gT,Bm;function xf(t,n,e,r){let o=dv(t,r,n),i=n[z],s=r.parent||n[Be],a=fv(s,r,n);if(o!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)Am(i,o,e[c],a,!1);else Am(i,o,e,a,!1);Bm!==void 0&&Bm(i,r,n,e,o)}function xi(t,n){if(n!==null){let e=n.type;if(e&3)return et(n,t);if(e&4)return Vd(-1,t[n.index]);if(e&8){let r=n.child;if(r!==null)return xi(t,r);{let o=t[n.index];return Tt(o)?Vd(-1,o):dt(o)}}else{if(e&128)return xi(t,n.next);if(e&32)return Sf(n,t)()||dt(t[n.index]);{let r=pv(t,n);if(r!==null){if(Array.isArray(r))return r[0];let o=kn(t[He]);return xi(o,r)}else return xi(t,n.next)}}}return null}function pv(t,n){if(n!==null){let r=t[He][Be],o=n.projection;return r.projection[o]}return null}function Vd(t,n){let e=le+t+1;if(e<n.length){let r=n[e],o=r[S].firstChild;if(o!==null)return xi(r,o)}return n[jn]}function Of(t,n,e,r,o,i,s){for(;e!=null;){let a=r[Ue];if(e.type===128){e=e.next;continue}let c=r[e.index],l=e.type;if(s&&n===0&&(c&&Do(dt(c),r),e.flags|=2),!pc(e))if(l&8)Of(t,n,e.child,r,o,i,!1),yo(n,t,a,o,c,e,i,r);else if(l&32){let u=Sf(e,r),d;for(;d=u();)yo(n,t,a,o,d,e,i,r);yo(n,t,a,o,c,e,i,r)}else l&16?hv(t,n,r,e,o,i):yo(n,t,a,o,c,e,i,r);e=s?e.projectionNext:e.next}}function Cc(t,n,e,r,o,i){Of(e,r,t.firstChild,n,o,i,!1)}function yT(t,n,e){let r=n[z],o=dv(t,e,n),i=e.parent||n[Be],s=fv(i,e,n);hv(r,0,n,e,o,s)}function hv(t,n,e,r,o,i){let s=e[He],c=s[Be].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];yo(n,t,e[Ue],o,u,r,i,e)}else{let l=c,u=s[De];Iy(r)&&(l.flags|=128),Of(t,n,l,u,o,i,!0)}}function vT(t,n,e,r,o,i,s){let a=r[jn],c=dt(r);a!==c&&yo(n,t,e,i,a,o,s);for(let l=le;l<r.length;l++){let u=r[l];Cc(u[S],u,t,n,i,a)}}function bT(t,n,e,r,o){if(n)o?t.addClass(e,r):t.removeClass(e,r);else{let i=r.indexOf("-")===-1?void 0:Nt.DashCase;o==null?t.removeStyle(e,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Nt.Important),t.setStyle(e,r,o,i))}}function gv(t,n,e,r,o){let i=ht(),s=r&2;try{Un(-1),s&&n.length>Q&&Jy(t,n,Q,!1);let a=s?F.TemplateUpdateStart:F.TemplateCreateStart;$(a,o,e),e(r,o)}finally{Un(i);let a=s?F.TemplateUpdateEnd:F.TemplateCreateEnd;$(a,o,e)}}function wc(t,n,e){TT(t,n,e),(e.flags&64)===64&&ST(t,n,e)}function _o(t,n,e=et){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?e(n,t):t[s];t[o++]=a}}}function DT(t,n,e,r){let i=r.get(Ry,Ay)||e===Mt.ShadowDom||e===Mt.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,i);return ET(s),s}function ET(t){IT(t)}var IT=()=>null;function CT(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function mv(t,n,e,r,o,i){let s=n[S];if(Pf(t,s,n,e,r)){dn(t)&&wT(n,t.index);return}t.type&3&&(e=CT(e)),yv(t,n,e,r,o,i)}function yv(t,n,e,r,o,i){if(t.type&3){let s=et(t,n);r=i!=null?i(r,t.value||"",e):r,o.setProperty(s,e,r)}else t.type&12}function wT(t,n){let e=ft(n,t);e[M]&16||(e[M]|=64)}function TT(t,n,e){let r=e.directiveStart,o=e.directiveEnd;dn(e)&&qw(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||Ya(e,n);let i=e.initialInputs;for(let s=r;s<o;s++){let a=t.data[s],c=ki(n,t,s,e);if(Do(c,n),i!==null&&AT(n,s-r,c,a,e,i),St(a)){let l=ft(e.index,n);l[pe]=ki(n,t,s,e)}}}function ST(t,n,e){let r=e.directiveStart,o=e.directiveEnd,i=e.index,s=nm();try{Un(i);for(let a=r;a<o;a++){let c=t.data[a],l=n[a];Ra(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&_T(c,l)}}finally{Un(-1),Ra(s)}}function _T(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function kf(t,n){let e=t.directiveRegistry,r=null;if(e)for(let o=0;o<e.length;o++){let i=e[o];Ky(n,i.selectors,!1)&&(r??=[],St(i)?r.unshift(i):r.push(i))}return r}function MT(t,n,e,r,o,i){let s=et(t,n);NT(n[z],s,i,t.value,e,r,o)}function NT(t,n,e,r,o,i,s){if(i==null)t.removeAttribute(n,o,e);else{let a=s==null?Vt(i):s(i,r||"",o);t.setAttribute(n,o,a,e)}}function AT(t,n,e,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];Hd(r,e,c,l)}}function Tc(t,n,e,r,o){let i=Q+e,s=n[S],a=o(s,n,t,r,e);n[i]=a,Er(t,!0);let c=t.type===2;return c?(zy(n[z],a,t),(Zg()===0||fo(t))&&Do(a,n),Kg()):Do(a,n),Pa()&&(!c||!pc(t))&&xf(s,n,a,t),t}function Sc(t){let n=t;return od()?id():(n=n.parent,Er(n,!1)),n}function RT(t,n){let e=t[Ue];if(!e)return;let r;try{r=e.get(tt,null)}catch{r=null}r?.(n)}function Pf(t,n,e,r,o){let i=t.inputs?.[r],s=t.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];Hd(d,e[l],u,o),a=!0}if(i)for(let c of i){let l=e[c],u=n.data[c];Hd(u,l,r,o),a=!0}return a}function xT(t,n){let e=ft(n,t),r=e[S];OT(r,e);let o=e[Ct];o!==null&&e[hr]===null&&(e[hr]=xy(o,e[Ue])),$(F.ComponentStart);try{Lf(r,e,e[pe])}finally{$(F.ComponentEnd,e[pe])}}function OT(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Lf(t,n,e){Oa(n);try{let r=t.viewQuery;r!==null&&xd(1,r,e);let o=t.template;o!==null&&gv(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[$t]?.finishViewCreation(t),t.staticContentQueries&&Oy(t,n),t.staticViewQueries&&xd(2,t.viewQuery,e);let i=t.components;i!==null&&kT(n,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[M]&=-5,ka()}}function kT(t,n){for(let e=0;e<n.length;e++)xT(t,n[e])}function Ki(t,n,e,r){let o=w(null);try{let i=n.tView,a=t[M]&4096?4096:16,c=wf(t,i,e,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[n.index];c[Fn]=l;let u=t[$t];return u!==null&&(c[$t]=u.createEmbeddedView(i)),Lf(i,c,e),c}finally{w(o)}}function Io(t,n){return!n||n.firstChild===null||Iy(t)}function ji(t,n,e,r,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let i=n[e.index];i!==null&&r.push(dt(i)),Tt(i)&&vv(i,r);let s=e.type;if(s&8)ji(t,n,e.child,r);else if(s&32){let a=Sf(e,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=pv(n,e);if(Array.isArray(a))r.push(...a);else{let c=kn(n[He]);ji(c[S],c,a,r,!0)}}e=o?e.projectionNext:e.next}return r}function vv(t,n){for(let e=le;e<t.length;e++){let r=t[e],o=r[S].firstChild;o!==null&&ji(r[S],r,o,n)}t[jn]!==t[Ct]&&n.push(t[jn])}function bv(t){if(t[yr]!==null){for(let n of t[yr])n.impl.addSequence(n);t[yr].length=0}}var Dv=[];function PT(t){return t[Xe]??LT(t)}function LT(t){let n=Dv.pop()??Object.create(jT);return n.lView=t,n}function FT(t){t.lView[Xe]!==t&&(t.lView=null,Dv.push(t))}var jT=x(g({},Mn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Dr(t.lView)},consumerOnSignalRead(){this.lView[Xe]=this}});function BT(t){let n=t[Xe]??Object.create(UT);return n.lView=t,n}var UT=x(g({},Mn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=kn(t.lView);for(;n&&!Ev(n[S]);)n=kn(n);n&&Ku(n)},consumerOnSignalRead(){this.lView[Xe]=this}});function Ev(t){return t.type!==2}function Iv(t){if(t[On]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[On])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[M]&8192)}}var HT=100;function Cv(t,n=0){let r=t[wt].rendererFactory,o=!1;o||r.begin?.();try{VT(t,n)}finally{o||r.end?.()}}function VT(t,n){let e=ad();try{hi(!0),$d(t,n);let r=0;for(;wi(t);){if(r===HT)throw new b(103,!1);r++,$d(t,1)}}finally{hi(e)}}function $T(t,n,e,r){if(br(n))return;let o=n[M],i=!1,s=!1;Oa(n);let a=!0,c=null,l=null;i||(Ev(t)?(l=PT(n),c=rn(l)):Hs()===null?(a=!1,l=BT(n),c=rn(l)):n[Xe]&&(An(n[Xe]),n[Xe]=null));try{Zu(n),Xg(t.bindingStartIndex),e!==null&&gv(t,n,e,2,r);let u=(o&3)===3;if(!i)if(u){let p=t.preOrderCheckHooks;p!==null&&Ha(n,p,null)}else{let p=t.preOrderHooks;p!==null&&Va(n,p,0,null),md(n,0)}if(s||zT(n),Iv(n),wv(n,0),t.contentQueries!==null&&Oy(t,n),!i)if(u){let p=t.contentCheckHooks;p!==null&&Ha(n,p)}else{let p=t.contentHooks;p!==null&&Va(n,p,1),md(n,1)}GT(t,n);let d=t.components;d!==null&&Sv(n,d,0);let f=t.viewQuery;if(f!==null&&xd(2,f,r),!i)if(u){let p=t.viewCheckHooks;p!==null&&Ha(n,p)}else{let p=t.viewHooks;p!==null&&Va(n,p,2),md(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Ta]){for(let p of n[Ta])p();n[Ta]=null}i||(bv(n),n[M]&=-73)}catch(u){throw i||Dr(n),u}finally{l!==null&&(Nn(l,c),a&&FT(l)),ka()}}function wv(t,n){for(let e=wy(t);e!==null;e=Ty(e))for(let r=le;r<e.length;r++){let o=e[r];Tv(o,n)}}function zT(t){for(let n=wy(t);n!==null;n=Ty(n)){if(!(n[M]&2))continue;let e=n[vr];for(let r=0;r<e.length;r++){let o=e[r];Ku(o)}}}function WT(t,n,e){$(F.ComponentStart);let r=ft(n,t);try{Tv(r,e)}finally{$(F.ComponentEnd,r[pe])}}function Tv(t,n){Ma(t)&&$d(t,n)}function $d(t,n){let r=t[S],o=t[M],i=t[Xe],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&eo(i)),s||=!1,i&&(i.dirty=!1),t[M]&=-9217,s)$T(r,t,r.template,t[pe]);else if(o&8192){let a=w(null);try{Iv(t),wv(t,1);let c=r.components;c!==null&&Sv(t,c,1),bv(t)}finally{w(a)}}}function Sv(t,n,e){for(let r=0;r<n.length;r++)WT(t,n[r],e)}function GT(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let r=0;r<e.length;r++){let o=e[r];if(o<0)Un(~o);else{let i=o,s=e[++r],a=e[++r];tm(s,i);let c=n[i];$(F.HostBindingsUpdateStart,c);try{a(2,c)}finally{$(F.HostBindingsUpdateEnd,c)}}}}finally{Un(-1)}}function Ff(t,n){let e=ad()?64:1088;for(t[wt].changeDetectionScheduler?.notify(n);t;){t[M]|=e;let r=kn(t);if(po(t)&&!r)return t;t=r}return null}function _v(t,n,e,r){return[t,!0,0,n,null,r,null,e,null,null]}function Mv(t,n){let e=le+n;if(e<t.length)return t[e]}function Yi(t,n,e,r=!0){let o=n[S];if(qT(o,n,t,e),r){let s=Vd(e,t),a=n[z],c=a.parentNode(t[jn]);c!==null&&lT(o,t[Be],a,n,c,s)}let i=n[hr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Nv(t,n){let e=Bi(t,n);return e!==void 0&&Ic(e[S],e),e}function Bi(t,n){if(t.length<=le)return;let e=le+n,r=t[e];if(r){let o=r[Fn];o!==null&&o!==t&&Rf(o,r),n>0&&(t[e-1][ut]=r[ut]);let i=bi(t,le+n);cT(r[S],r);let s=i[$t];s!==null&&s.detachView(i[S]),r[De]=null,r[ut]=null,r[M]&=-129}return r}function qT(t,n,e,r){let o=le+r,i=e.length;r>0&&(e[o-1][ut]=n),r<i-le?(n[ut]=e[o],Pu(e,le+r,n)):(e.push(n),n[ut]=null),n[De]=e;let s=n[Fn];s!==null&&e!==s&&Av(s,n);let a=n[$t];a!==null&&a.insertView(t),Na(n),n[M]|=128}function Av(t,n){let e=t[vr],r=n[De];if(un(r))t[M]|=2;else{let o=r[De][He];n[He]!==o&&(t[M]|=2)}e===null?t[vr]=[n]:e.push(n)}var Vn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[S];return ji(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[pe]}set context(n){this._lView[pe]=n}get destroyed(){return br(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[De];if(Tt(n)){let e=n[Ci],r=e?e.indexOf(this):-1;r>-1&&(Bi(n,r),bi(e,r))}this._attachedToViewContainer=!1}Ic(this._lView[S],this._lView)}onDestroy(n){Yu(this._lView,n)}markForCheck(){Ff(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){Na(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Cv(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=po(this._lView),e=this._lView[Fn];e!==null&&!n&&Rf(e,this._lView),uv(this._lView[S],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let e=po(this._lView),r=this._lView[Fn];r!==null&&!e&&Av(r,this._lView),Na(this._lView)}};var qt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ZT;constructor(e,r,o){this._declarationLView=e,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,o){let i=Ki(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:o});return new Vn(i)}}return t})();function ZT(){return _c(he(),C())}function _c(t,n){return t.type&4?new qt(n,t,So(t,n)):null}function Rr(t,n,e,r,o){let i=t.data[n];if(i===null)i=KT(t,n,e,r,o),em()&&(i.flags|=32);else if(i.type&64){i.type=e,i.value=r,i.attrs=o;let s=Jg();i.injectorIndex=s===null?-1:s.injectorIndex}return Er(i,!0),i}function KT(t,n,e,r,o){let i=rd(),s=od(),a=s?i:i&&i.parent,c=t.data[n]=QT(t,a,e,n,r,o);return YT(t,c,i,s),c}function YT(t,n,e,r){t.firstChild===null&&(t.firstChild=n),e!==null&&(r?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function QT(t,n,e,r,o,i){let s=n?n.injectorIndex:-1,a=0;return ed()&&(a|=128),{type:e,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 JT(t){let n=t[$u]??[],r=t[De][z],o=[];for(let i of n)i.data[Ny]!==void 0?o.push(i):XT(i,r);t[$u]=o}function XT(t,n){let e=0,r=t.firstChild;if(r){let o=t.data[My];for(;e<o;){let i=r.nextSibling;$y(n,r,!1),r=i,e++}}}var eS=()=>null,tS=()=>null;function ec(t,n){return eS(t,n)}function Rv(t,n,e){return tS(t,n,e)}var xv=class{},Mc=class{},zd=class{resolveComponentFactory(n){throw new b(917,!1)}},Qi=class{static NULL=new zd},Sr=class{},Ot=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>nS()}return t})();function nS(){let t=C(),n=he(),e=ft(n.index,t);return(un(e)?e:t)[z]}var Ov=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>null})}return t})();var za={},Wd=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let o=this.injector.get(n,za,r);return o!==za||e===za?o:this.parentInjector.get(n,e,r)}};function tc(t,n,e){let r=e?t.styles:null,o=e?t.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=ya(o,a);else if(i==2){let c=a,l=n[++s];r=ya(r,c+": "+l+";")}}e?t.styles=r:t.stylesWithoutHost=r,e?t.classes=o:t.classesWithoutHost=o}function P(t,n=0){let e=C();if(e===null)return _(t,n);let r=he();return vy(r,e,be(t),n)}function kv(t,n,e,r,o){let i=r===null?null:{"":-1},s=o(t,e);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}iS(t,n,e,a,i,c,l)}i!==null&&r!==null&&rS(e,r,i)}function rS(t,n,e){let r=t.localNames=[];for(let o=0;o<n.length;o+=2){let i=e[n[o+1]];if(i==null)throw new b(-301,!1);r.push(n[o],i)}}function oS(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function iS(t,n,e,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let p=r[f];c===null&&St(p)&&(c=p,oS(t,e,f)),Md(Ya(e,n),t,p.type)}dS(e,t.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=Qy(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(e.mergedAttrs=bo(e.mergedAttrs,p.hostAttrs),aS(t,e,n,d,p),uS(d,p,o),s!==null&&s.has(p)){let[v,E]=s.get(p);e.directiveToIndex.set(p.type,[d,v+e.directiveStart,E+e.directiveStart])}else(i===null||!i.has(p))&&e.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let m=p.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),u=!0),d++}sS(t,e,i)}function sS(t,n,e){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=t.data[r];if(e===null||!e.has(o))Um(0,n,o,r),Um(1,n,o,r),Vm(n,r,!1);else{let i=e.get(o);Hm(0,n,i,r),Hm(1,n,i,r),Vm(n,r,!0)}}}function Um(t,n,e,r){let o=t===0?e.inputs:e.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Pv(n,i)}}function Hm(t,n,e,r){let o=t===0?e.inputs:e.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Pv(n,s)}}function Pv(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function Vm(t,n,e){let{attrs:r,inputs:o,hostDirectiveInputs:i}=t;if(r===null||!e&&o===null||e&&i===null||If(t)){t.initialInputs??=[],t.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(!e&&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(e&&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}t.initialInputs??=[],t.initialInputs.push(s)}function aS(t,n,e,r,o){t.data[r]=o;let i=o.factory||(o.factory=ur(o.type,!0)),s=new Tr(i,St(o),P,null);t.blueprint[r]=s,e[r]=s,cS(t,n,r,Qy(t,e,o.hostVars,Re),o)}function cS(t,n,e,r,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;lS(s)!=a&&s.push(a),s.push(e,r,i)}}function lS(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function uS(t,n,e){if(e){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)e[n.exportAs[r]]=t;St(n)&&(e[""]=t)}}function dS(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function jf(t,n,e,r,o,i,s,a){let c=n[S],l=c.consts,u=pt(l,s),d=Rr(c,t,e,r,u);return i&&kv(c,n,d,pt(l,a),o),d.mergedAttrs=bo(d.mergedAttrs,d.attrs),d.attrs!==null&&tc(d,d.attrs,!1),d.mergedAttrs!==null&&tc(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Bf(t,n){ly(t,n),zu(n)&&t.queries.elementEnd(n)}function Lv(t,n,e,r,o,i){let s=n.consts,a=pt(s,o),c=Rr(n,t,e,r,a);if(c.mergedAttrs=bo(c.mergedAttrs,c.attrs),i!=null){let l=pt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&tc(c,c.attrs,!1),c.mergedAttrs!==null&&tc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Uf(t){return Nc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Fv(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),r;for(;!(r=e.next()).done;)n(r.value)}}function Nc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function $n(t,n,e){return t[n]=e}function Ac(t,n){return t[n]}function Ze(t,n,e){if(e===Re)return!1;let r=t[n];return Object.is(r,e)?!1:(t[n]=e,!0)}function Co(t,n,e,r){let o=Ze(t,n,e);return Ze(t,n+1,r)||o}function Hf(t,n,e,r,o){let i=Co(t,n,e,r);return Ze(t,n+2,o)||i}function Rc(t,n,e,r,o,i){let s=Co(t,n,e,r);return Co(t,n+2,o,i)||s}function bd(t,n,e){return function r(o){let i=dn(t)?ft(t.index,n):n;Ff(i,5);let s=n[pe],a=$m(n,s,e,o),c=r.__ngNextListenerFn__;for(;c;)a=$m(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function $m(t,n,e,r){let o=w(null);try{return $(F.OutputStart,n,e),e(r)!==!1}catch(i){return RT(t,i),!1}finally{$(F.OutputEnd,n,e),w(o)}}function fS(t,n,e,r,o,i,s,a){let c=fo(t),l=!1,u=null;if(!r&&c&&(u=hS(n,e,i,t.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=et(t,e),f=r?r(d):d;ew(e,f,i,a);let p=o.listen(f,i,a);if(!pS(i)){let m=r?v=>r(dt(v[t.index])):t.index;jv(m,n,e,i,a,p,!1)}}return l}function pS(t){return t.startsWith("animation")||t.startsWith("transition")}function hS(t,n,e,r){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===e&&o[i+1]===r){let a=n[lo],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function jv(t,n,e,r,o,i,s){let a=n.firstCreatePass?Ju(n):null,c=Qu(e),l=c.length;c.push(o,i),a&&a.push(r,t,l,(l+1)*(s?-1:1))}function zm(t,n,e,r,o,i){let s=n[e],a=n[S],l=a.data[e].outputs[r],d=s[l].subscribe(i);jv(t.index,a,n,o,i,d,!0)}var Gd=Symbol("BINDING");function Bv(t){return t.debugInfo?.className||t.type.name||null}var nc=class extends Qi{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=ln(n);return new _r(e,this.ngModule)}};function gS(t){return Object.keys(t).map(n=>{let[e,r,o]=t[n],i={propName:e,templateName:n,isSignal:(r&mc.SignalBased)!==0};return o&&(i.transform=o),i})}function mS(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function yS(t,n,e){let r=n instanceof re?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Wd(e,r):e}function vS(t){let n=t.get(Sr,null);if(n===null)throw new b(407,!1);let e=t.get(Ov,null),r=t.get(Ut,null),o=t.get(Rt,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function bS(t,n){let e=Uv(t);return Hy(n,e,e==="svg"?Wu:e==="math"?Vg:null)}function Uv(t){return(t.selectors[0][0]||"div").toLowerCase()}var _r=class extends Mc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=gS(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=mS(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=$w(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,o,i,s){$(F.DynamicComponentStart);let a=w(null);try{let c=this.componentDef,l=yS(c,o||this.ngModule,n),u=vS(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Bv(c),()=>this.createComponentRef(u,l,e,r,i,s)):this.createComponentRef(u,l,e,r,i,s)}finally{w(a)}}createComponentRef(n,e,r,o,i,s){let a=this.componentDef,c=DS(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?DT(l,o,a.encapsulation,e):bS(a,l),d=s?.some(Wm)||i?.some(m=>typeof m!="function"&&m.bindings.some(Wm)),f=wf(null,c,null,512|Yy(a),null,null,n,l,e,null,xy(u,e,!0));f[Q]=u,Oa(f);let p=null;try{let m=jf(Q,f,2,"#host",()=>c.directiveRegistry,!0,0);zy(l,u,m),Do(u,f),wc(c,f,m),hf(c,m,f),Bf(c,m),r!==void 0&&IS(m,this.ngContentSelectors,r),p=ft(m.index,f),f[pe]=p[pe],Lf(c,f,null)}catch(m){throw p!==null&&Ad(p),Ad(f),m}finally{$(F.DynamicComponentEnd),ka()}return new rc(this.componentType,f,!!d)}};function DS(t,n,e,r){let o=t?["ng-version","21.2.9"]:zw(n.selectors[0]),i=null,s=null,a=0;if(e)for(let u of e)a+=u[Gd].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[Gd].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=Da(d);c.push(f)}return Cf(0,null,ES(i,s),1,a,c,null,null,null,[o],null)}function ES(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let r of t)r.create();if(e&2&&n)for(let r of n)r.update()}}function Wm(t){let n=t[Gd].kind;return n==="input"||n==="twoWay"}var rc=class extends xv{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=Sa(e[S],Q),this.location=So(this._tNode,e),this.instance=ft(this._tNode.index,e)[pe],this.hostView=this.changeDetectorRef=new Vn(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let o=this._rootLView,i=Pf(r,o[S],o,n,e);this.previousInputValues.set(n,e);let s=ft(r.index,o);Ff(s,1)}get injector(){return new Cr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function IS(t,n,e){let r=t.projection=[];for(let o=0;o<n.length;o++){let i=e[o];r.push(i!=null&&i.length?Array.from(i):null)}}var mt=(()=>{class t{static __NG_ELEMENT_ID__=CS}return t})();function CS(){let t=he();return Hv(t,C())}var qd=class t extends mt{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new Cr(this._hostTNode,this._hostLView)}get parentInjector(){let n=df(this._hostTNode,this._hostLView);if(fy(n)){let e=Ka(n,this._hostLView),r=Za(n),o=e[S].data[r+8];return new Cr(o,e)}else return new Cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Gm(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-le}createEmbeddedView(n,e,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ec(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},i,s);return this.insertImpl(a,o,Io(this._hostTNode,s)),a}createComponent(n,e,r,o,i,s,a){let c=n&&!MC(n),l;if(c)l=e;else{let E=e||{};l=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let u=c?n:new _r(ln(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let I=(c?d:this.parentInjector).get(re,null);I&&(i=I)}let f=ln(u.componentType??{}),p=ec(this._lContainer,f?.id??null),m=p?.firstChild??null,v=u.create(d,o,m,i,s,a);return this.insertImpl(v.hostView,l,Io(this._hostTNode,p)),v}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let o=n._lView;if(zg(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[De],l=new t(c,c[Be],c[De]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(e),s=this._lContainer;return Yi(s,o,i,r),n.attachToViewContainerRef(),Pu(Dd(s),i,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Gm(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=Bi(this._lContainer,e);r&&(bi(Dd(this._lContainer),e),Ic(r[S],r))}detach(n){let e=this._adjustIndex(n,-1),r=Bi(this._lContainer,e);return r&&bi(Dd(this._lContainer),e)!=null?new Vn(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function Gm(t){return t[Ci]}function Dd(t){return t[Ci]||(t[Ci]=[])}function Hv(t,n){let e,r=n[t.index];return Tt(r)?e=r:(e=_v(r,n,null,t),n[t.index]=e,Tf(n,e)),TS(e,n,t,r),new qd(e,t,n)}function wS(t,n){let e=t[z],r=e.createComment(""),o=et(n,t),i=e.parentNode(o);return Ja(e,i,r,e.nextSibling(o),!1),r}var TS=MS,SS=()=>!1;function _S(t,n,e){return SS(t,n,e)}function MS(t,n,e,r){if(t[jn])return;let o;e.type&8?o=dt(r):o=wS(n,e),t[jn]=o}var Zd=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Kd=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let i=0;i<r;i++){let s=e.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)$f(n,e).matches!==null&&this.queries[e].setDirty()}},oc=class{flags;read;predicate;constructor(n,e,r=null){this.flags=e,this.read=r,typeof n=="string"?this.predicate=OS(n):this.predicate=n}},Yd=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let r=0;r<this.length;r++){let o=e!==null?e.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,e!==null?e.push(i):e=[i])}return e!==null?new t(e):null}template(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Qd=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==e;)r=r.parent;return e===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,e,NS(e,i)),this.matchTNodeWithReadOption(n,e,$a(e,n,i,!1,!1))}else r===qt?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,$a(e,n,r,!1,!1))}matchTNodeWithReadOption(n,e,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ae||o===mt||o===qt&&e.type&4)this.addMatch(e.index,-2);else{let i=$a(e,n,o,!1,!1);i!==null&&this.addMatch(e.index,i)}else this.addMatch(e.index,r)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function NS(t,n){let e=t.localNames;if(e!==null){for(let r=0;r<e.length;r+=2)if(e[r]===n)return e[r+1]}return null}function AS(t,n){return t.type&11?So(t,n):t.type&4?_c(t,n):null}function RS(t,n,e,r){return e===-1?AS(n,t):e===-2?xS(t,n,r):ki(t,t[S],e,n)}function xS(t,n,e){if(e===Ae)return So(n,t);if(e===qt)return _c(n,t);if(e===mt)return Hv(n,t)}function Vv(t,n,e,r){let o=n[$t].queries[r];if(o.matches===null){let i=t.data,s=e.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(RS(n,u,s[c+1],e.metadata.read))}}o.matches=a}return o.matches}function Jd(t,n,e,r){let o=t.queries.getByIndex(e),i=o.matches;if(i!==null){let s=Vv(t,n,o,e);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=le;d<u.length;d++){let f=u[d];f[Fn]===f[De]&&Jd(f[S],f,l,r)}if(u[vr]!==null){let d=u[vr];for(let f=0;f<d.length;f++){let p=d[f];Jd(p[S],p,l,r)}}}}}return r}function Vf(t,n){return t[$t].queries[n].queryList}function $v(t,n,e){let r=new Qa((e&4)===4);return qg(t,n,r,r.destroy),(n[$t]??=new Kd).queries.push(new Zd(r))-1}function zv(t,n,e){let r=J();return r.firstCreatePass&&(Gv(r,new oc(t,n,e),-1),(n&2)===2&&(r.staticViewQueries=!0)),$v(r,C(),n)}function Wv(t,n,e,r){let o=J();if(o.firstCreatePass){let i=he();Gv(o,new oc(n,e,r),i.index),kS(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return $v(o,C(),e)}function OS(t){return t.split(",").map(n=>n.trim())}function Gv(t,n,e){t.queries===null&&(t.queries=new Yd),t.queries.track(new Qd(n,e))}function kS(t,n){let e=t.contentQueries||(t.contentQueries=[]),r=e.length?e[e.length-1]:-1;n!==r&&e.push(t.queries.length-1,n)}function $f(t,n){return t.queries.getByIndex(n)}function qv(t,n){let e=t[S],r=$f(e,n);return r.crossesNgTemplate?Jd(e,t,n,[]):Vv(e,t,r,n)}function zf(t,n,e){let r,o=ai(()=>{r._dirtyCounter();let i=PS(r,t);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[ae],r._dirtyCounter=T(0),r._flatValue=void 0,o}function Wf(t){return zf(!0,!1,t)}function Gf(t){return zf(!0,!0,t)}function Zv(t){return zf(!1,!1,t)}function Kv(t,n){let e=t[ae];e._lView=C(),e._queryIndex=n,e._queryList=Vf(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function PS(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[M]&4)return n?void 0:Pe;let o=Vf(e,r),i=qv(e,r);return o.reset(i,Ey),n?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}var Mr=class{},xc=class{};var ic=class extends Mr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new nc(this);constructor(n,e,r,o=!0){super(),this.ngModuleType=n,this._parent=e;let i=xu(n);this._bootstrapComponents=qy(i.bootstrap),this._r3Injector=dd(n,e,[{provide:Mr,useValue:this},{provide:Qi,useValue:this.componentFactoryResolver},...r],yi(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(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},sc=class extends xc{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ic(this.moduleType,n,[])}};var Ui=class extends Mr{injector;componentFactoryResolver=new nc(this);instance=null;constructor(n){super();let e=new fr([...n.providers,{provide:Mr,useValue:this},{provide:Qi,useValue:this.componentFactoryResolver}],n.parent||Ii(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Ji(t,n,e=null){return new Ui({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var LS=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=ju(!1,e.type),o=r.length>0?Ji([r],this._injector,""):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:t,providedIn:"environment",factory:()=>new t(_(re))})}return t})();function Fe(t){return $i(()=>{let n=Yv(t),e=x(g({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ff.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(LS).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Mt.Emulated,styles:t.styles||Pe,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&xt("NgStandalone"),Qv(e);let r=t.dependencies;return e.directiveDefs=qm(r,FS),e.pipeDefs=qm(r,_g),e.id=US(e),e})}function FS(t){return ln(t)||Da(t)}function ve(t){return $i(()=>({type:t.type,bootstrap:t.bootstrap||Pe,declarations:t.declarations||Pe,imports:t.imports||Pe,exports:t.exports||Pe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function jS(t,n){if(t==null)return It;let e={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[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=mc.None,c=null),e[i]=[r,a,c],n[i]=s}return e}function BS(t){if(t==null)return It;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function q(t){return $i(()=>{let n=Yv(t);return Qv(n),n})}function Yv(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||It,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Pe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:jS(t.inputs,n),outputs:BS(t.outputs),debugInfo:null}}function Qv(t){t.features?.forEach(n=>n(t))}function qm(t,n){return t?()=>{let e=typeof t=="function"?t():t,r=[];for(let o of e){let i=n(o);i!==null&&r.push(i)}return r}:null}function US(t){let n=0,e=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function xr(t){let n=e=>{let r=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=HS,e.hostDirectives=r?t.map(Xd):[t]):r?e.hostDirectives.unshift(...t.map(Xd)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function HS(t){let n=[],e=!1,r=null,o=null;for(let i=0;i<t.length;i++){let s=t[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,Jv(s,n,r),o.set(s,[a,n.length-1])}i===0&&St(s)&&(e=!0,n.push(s))}for(let i=e?1:0;i<t.length;i++)n.push(t[i]);return[n,r,o]}function Jv(t,n,e){if(t.hostDirectives!==null)for(let r of t.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Zm(Xd(i),n,e)}else Zm(r,n,e)}function Zm(t,n,e){let r=Da(t.directive);VS(r.declaredInputs,t.inputs),Jv(r,n,e),e.set(r,t),n.push(r)}function Xd(t){return typeof t=="function"?{directive:be(t),inputs:It,outputs:It}:{directive:be(t.directive),inputs:Km(t.inputs),outputs:Km(t.outputs)}}function Km(t){if(t===void 0||t.length===0)return It;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function VS(t,n){for(let e in n)if(n.hasOwnProperty(e)){let r=n[e],o=t[e];t[r]=o}}function $S(t){return Object.getPrototypeOf(t.prototype).constructor}function we(t){let n=$S(t.type),e=!0,r=[t];for(;n;){let o;if(St(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new b(903,!1);o=n.\u0275dir}if(o){if(e){r.push(o);let s=t;s.inputs=Ed(t.inputs),s.declaredInputs=Ed(t.declaredInputs),s.outputs=Ed(t.outputs);let a=o.hostBindings;a&&ZS(t,a);let c=o.viewQuery,l=o.contentQueries;if(c&&GS(t,c),l&&qS(t,l),zS(t,o),Sg(t.outputs,o.outputs),St(o)&&o.data.animation){let u=t.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(t),a===we&&(e=!1)}}n=Object.getPrototypeOf(n)}WS(r)}function zS(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let r=n.inputs[e];r!==void 0&&(t.inputs[e]=r,t.declaredInputs[e]=n.declaredInputs[e])}}function WS(t){let n=0,e=null;for(let r=t.length-1;r>=0;r--){let o=t[r];o.hostVars=n+=o.hostVars,o.hostAttrs=bo(o.hostAttrs,e=bo(e,o.hostAttrs))}}function Ed(t){return t===It?{}:t===Pe?[]:t}function GS(t,n){let e=t.viewQuery;e?t.viewQuery=(r,o)=>{n(r,o),e(r,o)}:t.viewQuery=n}function qS(t,n){let e=t.contentQueries;e?t.contentQueries=(r,o,i)=>{n(r,o,i),e(r,o,i)}:t.contentQueries=n}function ZS(t,n){let e=t.hostBindings;e?t.hostBindings=(r,o)=>{n(r,o),e(r,o)}:t.hostBindings=n}function Xv(t,n,e,r,o,i,s,a){if(e.firstCreatePass){t.mergedAttrs=bo(t.mergedAttrs,t.attrs);let u=t.tView=Cf(2,t,o,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),u.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),Er(t,!1);let c=YS(e,n,t,r);Pa()&&xf(e,n,c,t),Do(c,n);let l=_v(c,n,c,t);n[r+Q]=l,Tf(n,l),_S(l,t,n)}function KS(t,n,e,r,o,i,s,a,c,l,u){let d=e+Q,f;return n.firstCreatePass?(f=Rr(n,d,4,s||null,a||null),Aa()&&kv(n,t,f,pt(n.consts,l),kf),ly(n,f)):f=n.data[d],Xv(f,t,n,e,r,o,i,c),fo(f)&&wc(n,t,f),l!=null&&_o(t,f,u),f}function Hi(t,n,e,r,o,i,s,a,c,l,u){let d=e+Q,f;if(n.firstCreatePass){if(f=Rr(n,d,4,s||null,a||null),l!=null){let p=pt(n.consts,l);f.localNames=[];for(let m=0;m<p.length;m+=2)f.localNames.push(p[m],-1)}}else f=n.data[d];return Xv(f,t,n,e,r,o,i,c),l!=null&&_o(t,f,u),f}function mn(t,n,e,r,o,i,s,a){let c=C(),l=J(),u=pt(l.consts,i);return KS(c,l,t,n,e,r,o,u,void 0,s,a),mn}var YS=QS;function QS(t,n,e,r){return Mi(!0),n[z].createComment("")}var Oc=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function qf(t){return typeof t=="function"&&t[ae]!==void 0}function Zf(t){return qf(t)&&typeof t.set=="function"}var Kf=new D("");function Mo(t){return!!t&&typeof t.then=="function"}function Yf(t){return!!t&&typeof t.subscribe=="function"}var Qf=new D("");function kc(t){return lt([{provide:Qf,multi:!0,useValue:t}])}var Jf=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=h(Qf,{optional:!0})??[];injector=h(ye);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let i=Ie(this.injector,o);if(Mo(i))e.push(i);else if(Yf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(o=>{this.reject(o)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pc=new D("");function eb(){nu(()=>{let t="";throw new b(600,t)})}function tb(t){return t.isBoundToModule}var JS=10;var Or=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(tt);afterRenderManager=h(bc);zonelessEnabled=h(Ai);rootEffectScheduler=h(La);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Y;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(pn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(G(e=>!e))}constructor(){h(Rt,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=h(re);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,o=ye.NULL){return this._injector.get(ce).run(()=>{$(F.BootstrapComponentStart);let s=e instanceof Mc;if(!this._injector.get(Jf).done){let m="";throw new b(405,m)}let c;s?c=e:c=this._injector.get(Qi).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=tb(c)?void 0:this._injector.get(Mr),u=r||c.selector,d=c.create(o,[],u,l),f=d.location.nativeElement,p=d.injector.get(Kf,null);return p?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Oi(this.components,d),p?.unregisterApplication(f)}),this._loadComponent(d),$(F.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){$(F.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(vc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw $(F.ChangeDetectionEnd),new b(101,!1);let e=w(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(e),this.afterTick.next(),$(F.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sr,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<JS;){$(F.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{$(F.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!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&&!wi(o))continue;let i=r&&!this.zonelessEnabled?0:1;Cv(o,i),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>wi(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;Oi(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(e),this._injector.get(Pc,[]).forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Oi(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new b(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Oi(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Xf(){let t,n;return{promise:new Promise((r,o)=>{t=r,n=o}),resolve:t,reject:n}}function Ke(t,n,e,r){let o=C(),i=Bn();if(Ze(o,i,n)){let s=J(),a=_i();MT(a,o,t,n,e,r)}return Ke}function Wa(t){if(xt("NgAnimateEnter"),!Zi)return Wa;let n=C();if(ev(n))return Wa;let e=he(),r=n[Ue].get(ce);return rv(Om(n),e,()=>XS(n,e,t,r)),cv(n[Ue]),lv(n[Ue],Om(n)),Wa}function XS(t,n,e,r){let o=et(n,t),i=t[z],s=nv(e),a=[],c=!1,l=d=>{if(Li(d)!==o)return;let f=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,f,u)})},u=d=>{Li(d)===o&&(Mf(d,o)&&(c=!0),e_(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l))}),Yw(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(sv(o,wr,Zi),!wr.has(o))){for(let d of s)i.removeClass(o,d);_f(o)}})})}}function e_(t,n,e){let r=Eo.get(n);if(!(Li(t)!==n||!r)&&Mf(t,n)){t.stopPropagation();for(let o of r.classList)e.removeClass(n,o);_f(n)}}function Ga(t){if(xt("NgAnimateLeave"),!Zi)return Ga;let n=C();if(ev(n))return Ga;let r=he(),o=n[Ue].get(ce);return rv(yc(n),r,()=>t_(n,r,t,o)),cv(n[Ue]),Ga}function t_(t,n,e,r){let{promise:o,resolve:i}=Xf(),s=et(n,t),a=t[z];Hn.add(t[zt]),(yc(t).get(n.index).resolvers??=[]).push(i);let c=nv(e);return c&&c.length>0?n_(s,n,t,c,a,r):i(),{promise:o,resolve:i}}function n_(t,n,e,r,o,i){Jw(t,o);let s=[],a=yc(e).get(n.index)?.resolvers,c,l=!1,u=d=>{if(!(Li(d)!==t&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||Mf(d,t))){if(l=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),wr.delete(t),xm(n,t),Array.isArray(n.projection))for(let p of r)o.removeClass(t,p);km(a,s),Pm(e,n)}};i.runOutsideAngular(()=>{s.push(o.listen(t,"animationend",u)),s.push(o.listen(t,"transitionend",u))}),tv(n,t);for(let d of r)o.addClass(t,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;sv(t,wr,Zi);let d=wr.get(t);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(xm(n,t),km(a,s),Pm(e,n))})})}var ef=class{destroy(n){}updateValue(n,e){}swap(n,e){let r=Math.min(n,e),o=Math.max(n,e),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,e){this.attach(e,this.detach(n))}};function Id(t,n,e,r,o){return t===e&&Object.is(n,r)?1:Object.is(o(t,n),o(e,r))?-1:0}function r_(t,n,e,r){let o,i,s=0,a=t.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=t.at(s),d=n[s],f=Id(s,u,s,d,e);if(f!==0){f<0&&t.updateValue(s,d),s++;continue}let p=t.at(a),m=n[l],v=Id(a,p,l,m,e);if(v!==0){v<0&&t.updateValue(a,m),a--,l--;continue}let E=e(s,u),I=e(a,p),L=e(s,d);if(Object.is(L,I)){let K=e(l,m);Object.is(K,E)?(t.swap(s,a),t.updateValue(a,m),l--,a--):t.move(a,s),t.updateValue(s,d),s++;continue}if(o??=new ac,i??=Qm(t,s,a,e),tf(t,o,s,L))t.updateValue(s,d),s++,a++;else if(i.has(L))o.set(E,t.detach(s)),a--;else{let K=t.create(s,n[s]);t.attach(s,K),s++,a++}}for(;s<=l;)Ym(t,o,e,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=t.at(s),f=u.value,p=Id(s,d,s,f,e);if(p!==0)p<0&&t.updateValue(s,f),s++,u=l.next();else{o??=new ac,i??=Qm(t,s,a,e);let m=e(s,f);if(tf(t,o,s,m))t.updateValue(s,f),s++,a++,u=l.next();else if(!i.has(m))t.attach(s,t.create(s,f)),s++,a++,u=l.next();else{let v=e(s,d);o.set(v,t.detach(s)),a--}}}for(;!u.done;)Ym(t,o,e,t.length,u.value),u=l.next()}for(;s<=a;)t.destroy(t.detach(a--));o?.forEach(l=>{t.destroy(l)})}function tf(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function Ym(t,n,e,r,o){if(tf(t,n,r,e(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Qm(t,n,e,r){let o=new Set;for(let i=n;i<=e;i++)o.add(r(i,t.at(i)));return o}var ac=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){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,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,r]of this.kvMap)if(n(r,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,e)}}};function o_(t,n,e,r,o,i,s,a){xt("NgControlFlow");let c=C(),l=J(),u=pt(l.consts,i);return Hi(c,l,t,n,e,r,o,u,256,s,a),ep}function ep(t,n,e,r,o,i,s,a){xt("NgControlFlow");let c=C(),l=J(),u=pt(l.consts,i);return Hi(c,l,t,n,e,r,o,u,512,s,a),ep}function i_(t,n){xt("NgControlFlow");let e=C(),r=Bn(),o=e[r]!==Re?e[r]:-1,i=o!==-1?cc(e,Q+o):void 0,s=0;if(Ze(e,r,t)){let a=w(null);try{if(i!==void 0&&Nv(i,s),t!==-1){let c=Q+t,l=cc(e,c),u=sf(e[S],c),d=Rv(l,u,e),f=Ki(e,u,n,{dehydratedView:d});Yi(l,f,s,Io(u,d))}}finally{w(a)}}else if(i!==void 0){let a=Mv(i,s);a!==void 0&&(a[pe]=n)}}var nf=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-le}};function s_(t,n){return n}var rf=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function a_(t,n,e,r,o,i,s,a,c,l,u,d,f){xt("NgControlFlow");let p=C(),m=J(),v=c!==void 0,E=C(),I=a?s.bind(E[He][pe]):s,L=new rf(v,I);E[Q+t]=L,Hi(p,m,t+1,n,e,r,o,pt(m.consts,i),256),v&&Hi(p,m,t+2,c,l,u,d,pt(m.consts,f),512)}var of=class extends ef{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,r){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=r}get length(){return this.lContainer.length-le}at(n){return this.getLView(n)[pe].$implicit}attach(n,e){let r=e[hr];this.needsIndexUpdate||=n!==this.length,Yi(this.lContainer,e,n,Io(this.templateTNode,r)),l_(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,u_(this.lContainer,n),d_(this.lContainer,n)}create(n,e){let r=ec(this.lContainer,this.templateTNode.tView.ssrId);return Ki(this.hostLView,this.templateTNode,new nf(this.lContainer,e,n),{dehydratedView:r})}destroy(n){Ic(n[S],n)}updateValue(n,e){this.getLView(n)[pe].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[pe].$index=n}getLView(n){return f_(this.lContainer,n)}};function c_(t){let n=w(null),e=ht();try{let r=C(),o=r[S],i=r[e],s=e+1,a=cc(r,s);if(i.liveCollection===void 0){let l=sf(o,s);i.liveCollection=new of(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(r_(c,t,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Bn(),u=c.length===0;if(Ze(r,l,u)){let d=e+2,f=cc(r,d);if(u){let p=sf(o,d),m=Rv(f,p,r),v=Ki(r,p,void 0,{dehydratedView:m});Yi(f,v,0,Io(p,m))}else o.firstUpdatePass&&JT(f),Nv(f,0)}}}finally{w(n)}}function cc(t,n){return t[n]}function l_(t,n){if(t.length<=le)return;let e=le+n,r=t[e],o=r?r[Wt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Ue];sT(i,o),Hn.delete(r[zt]),o.detachedLeaveAnimationFns=void 0}}function u_(t,n){if(t.length<=le)return;let e=le+n,r=t[e],o=r?r[Wt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function d_(t,n){return Bi(t,n)}function f_(t,n){return Mv(t,n)}function sf(t,n){return Sa(t,n)}function ue(t,n,e){let r=C(),o=Bn();if(Ze(r,o,n)){let i=J(),s=_i();mv(s,r,t,n,r[z],e)}return ue}function af(t,n,e,r,o){Pf(n,t,e,o?"class":"style",r)}function Nr(t,n,e,r){let o=C(),i=o[S],s=t+Q,a=i.firstCreatePass?jf(s,o,2,n,kf,Aa(),e,r):i.data[s];if(dn(a)){let c=o[wt].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Bv(l),()=>(Jm(t,n,o,a,r),Nr))}}return Jm(t,n,o,a,r),Nr}function Jm(t,n,e,r,o){if(Tc(r,e,t,n,nb),fo(r)){let i=e[S];wc(i,e,r),hf(i,r,e)}o!=null&&_o(e,r)}function No(){let t=J(),n=he(),e=Sc(n);return t.firstCreatePass&&Bf(t,e),td(e)&&nd(),Xu(),e.classesWithoutHost!=null&&kC(e)&&af(t,e,C(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&PC(e)&&af(t,e,C(),e.stylesWithoutHost,!1),No}function yn(t,n,e,r){return Nr(t,n,e,r),No(),yn}function Ao(t,n,e,r){let o=C(),i=o[S],s=t+Q,a=i.firstCreatePass?Lv(s,i,2,n,e,r):i.data[s];return Tc(a,o,t,n,nb),r!=null&&_o(o,a),Ao}function Ro(){let t=he(),n=Sc(t);return td(n)&&nd(),Xu(),Ro}function Xi(t,n,e,r){return Ao(t,n,e,r),Ro(),Xi}var nb=(t,n,e,r,o)=>(Mi(!0),Hy(n[z],r,cm()));function kr(t,n,e){let r=C(),o=r[S],i=t+Q,s=o.firstCreatePass?jf(i,r,8,"ng-container",kf,Aa(),n,e):o.data[i];if(Tc(s,r,t,"ng-container",ob),fo(s)){let a=r[S];wc(a,r,s),hf(a,s,r)}return e!=null&&_o(r,s),kr}function zn(){let t=J(),n=he(),e=Sc(n);return t.firstCreatePass&&Bf(t,e),zn}function Lc(t,n,e){return kr(t,n,e),zn(),Lc}function rb(t,n,e){let r=C(),o=r[S],i=t+Q,s=o.firstCreatePass?Lv(i,o,8,"ng-container",n,e):o.data[i];return Tc(s,r,t,"ng-container",ob),e!=null&&_o(r,s),rb}function p_(){let t=he(),n=Sc(t);return zn}var ob=(t,n,e,r,o)=>(Mi(!0),Tw(n[z],""));function h_(){return C()}function Fc(t,n,e){let r=C(),o=Bn();if(Ze(r,o,n)){let i=J(),s=_i();yv(s,r,t,n,r[z],e)}return Fc}var es="en-US";var g_=es;function ib(t){typeof t=="string"&&(g_=t.toLowerCase().replace(/_/g,"-"))}function xo(t,n,e){let r=C(),o=J(),i=he();return sb(o,r,r[z],i,t,n,e),xo}function sb(t,n,e,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=bd(r,n,i),fS(r,t,n,s,e,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??=bd(r,n,i),zm(r,n,f,p,o,c)}if(l&&l.length)for(let d of l)c??=bd(r,n,i),zm(r,n,d,o,o,c)}}function yt(t=1){return am(t)}function m_(t,n){let e=null,r=jw(t);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){e=o;continue}if(r===null?Ky(t,i,!0):Hw(r,i))return o}return e}function Yt(t){let n=C()[He][Be];if(!n.projection){let e=t?t.length:1,r=n.projection=Og(e,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=t?m_(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Qt(t,n=0,e,r,o,i){let s=C(),a=J(),c=r?t+1:null;c!==null&&Hi(s,a,c,r,o,i,null,e);let l=Rr(a,Q+t,16,null,e||null);l.projection===null&&(l.projection=n),id();let d=!s[hr]||ed();s[He][Be].projection[l.projection]===null&&c!==null?y_(s,a,c):d&&!pc(l)&&yT(a,s,l)}function y_(t,n,e){let r=Q+e,o=n.data[r],i=t[r],s=ec(i,o.tView.ssrId),a=Ki(t,o,void 0,{dehydratedView:s});Yi(i,a,0,Io(o,s))}function Oo(t,n,e,r){return Wv(t,n,e,r),Oo}function ab(t,n,e){return zv(t,n,e),ab}function Wn(t){let n=C(),e=J(),r=xa();Si(r+1);let o=$f(e,r);if(t.dirty&&$g(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=qv(n,r);t.reset(i,Ey),t.notifyOnChanges()}return!0}return!1}function Gn(){return Vf(C(),xa())}function tp(t,n,e,r,o){return Kv(n,Wv(t,e,r,o)),tp}function cb(t,n,e,r){return Kv(t,zv(n,e,r)),cb}function lb(t=1){Si(xa()+t)}function v_(t){let n=sd();return qu(n,Q+t)}function Ua(t,n){return t<<17|n<<2}function Ar(t){return t>>17&32767}function b_(t){return(t&2)==2}function D_(t,n){return t&131071|n<<17}function cf(t){return t|2}function wo(t){return(t&131068)>>2}function Cd(t,n){return t&-131069|n<<2}function E_(t){return(t&1)===1}function lf(t){return t|1}function I_(t,n,e,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Ar(s),c=wo(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let d=e;u=d[1],(u===null||co(d,u)>0)&&(l=!0)}else u=e;if(o)if(c!==0){let f=Ar(t[a+1]);t[r+1]=Ua(f,a),f!==0&&(t[f+1]=Cd(t[f+1],r)),t[a+1]=D_(t[a+1],r)}else t[r+1]=Ua(a,0),a!==0&&(t[a+1]=Cd(t[a+1],r)),a=r;else t[r+1]=Ua(c,0),a===0?a=r:t[c+1]=Cd(t[c+1],r),c=r;l&&(t[r+1]=cf(t[r+1])),Xm(t,u,r,!0),Xm(t,u,r,!1),C_(n,u,t,r,i),s=Ua(a,c),i?n.classBindings=s:n.styleBindings=s}function C_(t,n,e,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof n=="string"&&co(i,n)>=0&&(e[r+1]=lf(e[r+1]))}function Xm(t,n,e,r){let o=t[e+1],i=n===null,s=r?Ar(o):wo(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],l=t[s+1];w_(c,n)&&(a=!0,t[s+1]=r?lf(l):cf(l)),s=r?Ar(l):wo(l)}a&&(t[e+1]=r?cf(o):lf(o))}function w_(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?co(t,n)>=0:!1}var Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ub(t){return t.substring(Ee.key,Ee.keyEnd)}function T_(t){return t.substring(Ee.value,Ee.valueEnd)}function S_(t){return pb(t),db(t,To(t,0,Ee.textEnd))}function db(t,n){let e=Ee.textEnd;return e===n?-1:(n=Ee.keyEnd=M_(t,Ee.key=n,e),To(t,n,e))}function __(t){return pb(t),fb(t,To(t,0,Ee.textEnd))}function fb(t,n){let e=Ee.textEnd,r=Ee.key=To(t,n,e);return e===r?-1:(r=Ee.keyEnd=N_(t,r,e),r=ey(t,r,e,58),r=Ee.value=To(t,r,e),r=Ee.valueEnd=A_(t,r,e),ey(t,r,e,59))}function pb(t){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=t.length}function To(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function M_(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function N_(t,n,e){let r;for(;n<e&&((r=t.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function ey(t,n,e,r){return n=To(t,n,e),n<e&&n++,n}function A_(t,n,e){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<e;){let c=t.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=ty(t,c,s,e):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=ty(t,41,s,e):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function ty(t,n,e,r){let o=-1,i=e;for(;i<r;){let s=t.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function jc(t,n,e){return hb(t,n,e,!1),jc}function np(t,n){return hb(t,n,null,!0),np}function rp(t){gb(vb,R_,t,!1)}function R_(t,n){for(let e=__(n);e>=0;e=fb(n,e))vb(t,ub(n),T_(n))}function Ve(t){gb(j_,x_,t,!0)}function x_(t,n){for(let e=S_(n);e>=0;e=db(n,e))Di(t,ub(n),!0)}function hb(t,n,e,r){let o=C(),i=J(),s=Ti(2);if(i.firstUpdatePass&&yb(i,t,s,r),n!==Re&&Ze(o,s,n)){let a=i.data[ht()];bb(i,a,o,o[z],t,o[s+1]=U_(n,e),r,s)}}function gb(t,n,e,r){let o=J(),i=Ti(2);o.firstUpdatePass&&yb(o,null,i,r);let s=C();if(e!==Re&&Ze(s,i,e)){let a=o.data[ht()];if(Db(a,r)&&!mb(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=ya(c,e||"")),af(o,a,s,e,r)}else B_(o,a,s,s[z],s[i+1],s[i+1]=F_(t,n,e),r,i)}}function mb(t,n){return n>=t.expandoStartIndex}function yb(t,n,e,r){let o=t.data;if(o[e+1]===null){let i=o[ht()],s=mb(t,e);Db(i,r)&&n===null&&!s&&(n=!1),n=O_(o,i,n,r),I_(o,i,n,e,s,r)}}function O_(t,n,e,r){let o=rm(t),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(e=wd(null,t,n,e,r),e=Vi(e,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=wd(o,t,n,e,r),i===null){let c=k_(t,n,r);c!==void 0&&Array.isArray(c)&&(c=wd(null,t,n,c[1],r),c=Vi(c,n.attrs,r),P_(t,n,r,c))}else i=L_(t,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),e}function k_(t,n,e){let r=e?n.classBindings:n.styleBindings;if(wo(r)!==0)return t[Ar(r)]}function P_(t,n,e,r){let o=e?n.classBindings:n.styleBindings;t[Ar(o)]=r}function L_(t,n,e){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;r=Vi(r,s,e)}return Vi(r,n.attrs,e)}function wd(t,n,e,r,o){let i=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(i=n[a],r=Vi(r,i.hostAttrs,o),i!==t);)a++;return t!==null&&(e.directiveStylingLast=a),r}function Vi(t,n,e){let r=e?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(t)||(t=t===void 0?[]:["",t]),Di(t,s,e?!0:n[++i]))}return t===void 0?null:t}function F_(t,n,e){if(e==null||e==="")return Pe;let r=[],o=nt(e);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(r,o[i],!0);else if(o instanceof Set)for(let i of o)t(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function vb(t,n,e){Di(t,n,nt(e))}function j_(t,n,e){let r=String(n);r!==""&&!r.includes(" ")&&Di(t,r,e)}function B_(t,n,e,r,o,i,s,a){o===Re&&(o=Pe);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,m=null,v;u===d?(c+=2,l+=2,f!==p&&(m=d,v=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,v=p),m!==null&&bb(t,n,e,r,m,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function bb(t,n,e,r,o,i,s,a){if(!(n.type&3))return;let c=t.data,l=c[a+1],u=E_(l)?ny(c,n,e,o,wo(l),s):void 0;if(!lc(u)){lc(i)||b_(l)&&(i=ny(c,null,e,o,a,s));let d=Gu(ht(),e);bT(r,s,d,o,i)}}function ny(t,n,e,r,o,i){let s=n===null,a;for(;o>0;){let c=t[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=e[o+1];f===Re&&(f=d?Pe:void 0);let p=d?wa(f,r):u===r?f:void 0;if(l&&!lc(p)&&(p=wa(c,r)),lc(p)&&(a=p,s))return a;let m=t[o+1];o=s?Ar(m):wo(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=wa(c,r))}return a}function lc(t){return t!==void 0}function U_(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=yi(nt(t)))),t}function Db(t,n){return(t.flags&(n?8:16))!==0}function ts(t,n=""){let e=C(),r=J(),o=t+Q,i=r.firstCreatePass?Rr(r,o,1,n,null):r.data[o],s=H_(r,e,i,n);e[o]=s,Pa()&&xf(r,e,s,i),Er(i,!1)}var H_=(t,n,e,r)=>(Mi(!0),Cw(n[z],r));function V_(t,n,e,r=""){return Ze(t,Bn(),e)?n+Vt(e)+r:Re}function $_(t,n,e,r,o,i=""){let s=cd(),a=Co(t,s,e,o);return Ti(2),a?n+Vt(e)+r+Vt(o)+i:Re}function z_(t,n,e,r,o,i,s,a=""){let c=cd(),l=Hf(t,c,e,o,s);return Ti(3),l?n+Vt(e)+r+Vt(o)+i+Vt(s)+a:Re}function ko(t){return op("",t),ko}function op(t,n,e){let r=C(),o=V_(r,t,n,e);return o!==Re&&ip(r,ht(),o),op}function Eb(t,n,e,r,o){let i=C(),s=$_(i,t,n,e,r,o);return s!==Re&&ip(i,ht(),s),Eb}function Ib(t,n,e,r,o,i,s){let a=C(),c=z_(a,t,n,e,r,o,i,s);return c!==Re&&ip(a,ht(),c),Ib}function ip(t,n,e){let r=Gu(n,t);ww(t[z],r,e)}function Cb(t,n,e){Zf(n)&&(n=n());let r=C(),o=Bn();if(Ze(r,o,n)){let i=J(),s=_i();mv(s,r,t,n,r[z],e)}return Cb}function W_(t,n){let e=Zf(t);return e&&t.set(n),e}function wb(t,n){let e=C(),r=J(),o=he();return sb(r,e,e[z],o,t,n),wb}var Tb={};function Sb(t){xt("NgLet");let n=J(),e=C(),r=t+Q,o=Rr(n,r,128,null,null);return Er(o,!1),_a(n,e,r,Tb),Sb}function G_(t){let n=J(),e=C(),r=ht();return _a(n,e,r,t),t}function q_(t){let n=sd(),e=qu(n,Q+t);if(e===Tb)throw new b(314,!1);return e}function ry(t,n,e){let r=J();r.firstCreatePass&&_b(n,r.data,r.blueprint,St(t),e)}function _b(t,n,e,r,o){if(t=be(t),Array.isArray(t))for(let i=0;i<t.length;i++)_b(t[i],n,e,r,o);else{let i=J(),s=C(),a=he(),c=dr(t)?t:be(t.provide),l=Uu(t),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(dr(t)||!t.multi){let p=new Tr(l,o,P,null),m=Sd(c,n,o?u:u+f,d);m===-1?(Md(Ya(a,s),i,c),Td(i,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[m]=p,s[m]=p)}else{let p=Sd(c,n,u+f,d),m=Sd(c,n,u,u+f),v=p>=0&&e[p],E=m>=0&&e[m];if(o&&!E||!o&&!v){Md(Ya(a,s),i,c);let I=Y_(o?K_:Z_,e.length,o,r,l,t);!o&&E&&(e[m].providerFactory=I),Td(i,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(I),s.push(I)}else{let I=Mb(e[o?m:p],l,!o&&r);Td(i,t,p>-1?p:m,I)}!o&&r&&E&&e[m].componentProviders++}}}function Td(t,n,e,r){let o=dr(n),i=Bg(n);if(o||i){let c=(i?be(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(e);u===-1?l.push(e,[r,c]):l[u+1].push(r,c)}else l.push(e,c)}}}function Mb(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Sd(t,n,e,r){for(let o=e;o<r;o++)if(n[o]===t)return o;return-1}function Z_(t,n,e,r,o){return uf(this.multi,[])}function K_(t,n,e,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=ki(r,r[S],this.providerFactory.index,o);s=c.slice(0,a),uf(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],uf(i,s);return s}function uf(t,n){for(let e=0;e<t.length;e++){let r=t[e];n.push(r())}return n}function Y_(t,n,e,r,o,i){let s=new Tr(t,e,P,null);return s.multi=[],s.index=n,s.componentProviders=0,Mb(s,o,r&&!e),s}function $e(t,n){return e=>{e.providersResolver=(r,o)=>ry(r,o?o(t):t,!1),n&&(e.viewProvidersResolver=(r,o)=>ry(r,o?o(n):n,!0))}}function Q_(t,n){let e=fn()+t,r=C();return r[e]===Re?$n(r,e,n()):Ac(r,e)}function J_(t,n,e){return oM(C(),fn(),t,n,e)}function Bc(t,n,e,r){return iM(C(),fn(),t,n,e,r)}function X_(t,n,e,r,o){return sM(C(),fn(),t,n,e,r,o)}function eM(t,n,e,r,o,i,s){return aM(C(),fn(),t,n,e,r,o,i)}function tM(t,n,e,r,o,i,s){let a=fn()+t,c=C(),l=Rc(c,a,e,r,o,i);return Ze(c,a+4,s)||l?$n(c,a+5,n(e,r,o,i,s)):Ac(c,a+5)}function nM(t,n,e,r,o,i,s,a){let c=fn()+t,l=C(),u=Rc(l,c,e,r,o,i);return Co(l,c+4,s,a)||u?$n(l,c+6,n(e,r,o,i,s,a)):Ac(l,c+6)}function rM(t,n,e,r,o,i,s,a,c){let l=fn()+t,u=C(),d=Rc(u,l,e,r,o,i);return Hf(u,l+4,s,a,c)||d?$n(u,l+7,n(e,r,o,i,s,a,c)):Ac(u,l+7)}function Uc(t,n){let e=t[n];return e===Re?void 0:e}function oM(t,n,e,r,o,i){let s=n+e;return Ze(t,s,o)?$n(t,s+1,i?r.call(i,o):r(o)):Uc(t,s+1)}function iM(t,n,e,r,o,i,s){let a=n+e;return Co(t,a,o,i)?$n(t,a+2,s?r.call(s,o,i):r(o,i)):Uc(t,a+2)}function sM(t,n,e,r,o,i,s,a){let c=n+e;return Hf(t,c,o,i,s)?$n(t,c+3,a?r.call(a,o,i,s):r(o,i,s)):Uc(t,c+3)}function aM(t,n,e,r,o,i,s,a,c){let l=n+e;return Rc(t,l,o,i,s,a)?$n(t,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Uc(t,l+4)}function cM(t,n){return _c(t,n)}var uc=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},sp=(()=>{class t{compileModuleSync(e){return new sc(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),o=xu(e),i=qy(o.declarations).reduce((s,a)=>{let c=ln(a);return c&&s.push(new _r(c)),s},[]);return new uc(r,i)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nb=(()=>{class t{applicationErrorHandler=h(tt);appRef=h(Or);taskService=h(pn);ngZone=h(ce);zonelessEnabled=h(Ai);tracing=h(Rt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _e;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(gd,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){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?fm:fd;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(gi+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 e=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(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ab(){return[{provide:Ut,useExisting:Nb},{provide:ce,useClass:mi},{provide:Ai,useValue:!0}]}function lM(){return typeof $localize<"u"&&$localize.locale||es}var Hc=new D("",{factory:()=>h(Hc,{optional:!0,skipSelf:!0})||lM()});var ns=class{destroyed=!1;listeners=null;errorHandler=h(ct,{optional:!0});destroyRef=h(ge);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed){console.warn(Ht(953,!1));return}if(this.listeners===null)return;let e=w(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{w(e)}}};function X(t){return Eg(t)}function ee(t,n){return ai(t,n?.equal)}var uM=t=>t;function ap(t,n){if(typeof t=="function"){let e=fu(t,uM,n?.equal);return Rb(e,n?.debugName)}else{let e=fu(t.source,t.computation,t.equal);return Rb(e,t.debugName)}}function Rb(t,n){let e=t[ae],r=t;return r.set=o=>bg(e,o),r.update=o=>Dg(e,o),r.asReadonly=Ni.bind(t),r}var Wc=Symbol("InputSignalNode#UNSET"),Hb=x(g({},ci),{transformFn:void 0,applyValueToInputSignal(t,n){Rn(t,n)}});function Vb(t,n){let e=Object.create(Hb);e.value=t,e.transformFn=n?.transform;function r(){if(nn(e),e.value===Wc){let o=null;throw new b(-950,o)}return e.value}return r[ae]=e,r}var $c=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>zi(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function YH(t){return new ns}function xb(t,n){return Vb(t,n)}function NM(t){return Vb(Wc,t)}var oe=(xb.required=NM,xb);function Ob(t,n){return Wf(n)}function AM(t,n){return Gf(n)}var QH=(Ob.required=AM,Ob);function kb(t,n){return Wf(n)}function RM(t,n){return Gf(n)}var xM=(kb.required=RM,kb);function JH(t,n){return Zv(n)}function $b(t,n){let e=Object.create(Hb),r=new ns;e.value=t;function o(){return nn(e),Pb(e.value),e.value}return o[ae]=e,o.asReadonly=Ni.bind(o),o.set=i=>{e.equal(e.value,i)||(Rn(e,i),r.emit(i))},o.update=i=>{Pb(e.value),o.set(i(e.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Pb(t){if(t===Wc)throw new b(952,!1)}function Lb(t,n){return $b(t,n)}function OM(t){return $b(Wc,t)}var XH=(Lb.required=OM,Lb);var lp=new D(""),kM=new D("");function rs(t){return!t.moduleRef}function PM(t){let n=rs(t)?t.r3Injector:t.moduleRef.injector,e=n.get(ce);return e.run(()=>{rs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(tt),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r})}),rs(t)){let i=()=>n.destroy(),s=t.platformInjector.get(lp);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(lp);s.add(i),t.moduleRef.onDestroy(()=>{Oi(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return FM(r,e,()=>{let i=n.get(pn),s=i.add(),a=n.get(Jf);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Hc,es);if(ib(c||es),!n.get(kM,!0))return rs(t)?n.get(Or):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(rs(t)){let u=n.get(Or);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return LM?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{i.remove(s)})})})}var LM;function FM(t,n,e){try{let r=e();return Mo(r)?r.catch(o=>{throw n.runOutsideAngular(()=>t(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var Vc=null;function jM(t=[],n){return ye.create({name:n,providers:[{provide:Ei,useValue:"platform"},{provide:lp,useValue:new Set([()=>Vc=null])},...t]})}function BM(t=[]){if(Vc)return Vc;let n=jM(t);return Vc=n,eb(),UM(n),n}function UM(t){let n=t.get(fc,null);Ie(t,()=>{n?.forEach(e=>e())})}var HM=1e4;var eV=HM-1e3;var Pr=(()=>{class t{static __NG_ELEMENT_ID__=VM}return t})();function VM(t){return $M(he(),C(),(t&16)===16)}function $M(t,n,e){if(dn(t)&&!e){let r=ft(t.index,n);return new Vn(r,r)}else if(t.type&175){let r=n[He];return new Vn(r,n)}return null}var up=class{supports(n){return Uf(n)}create(n){return new dp(n)}},zM=(t,n)=>n,dp=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||zM}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,r=this._removalsHead,o=0,i=null;for(;e||r;){let s=!r||e&&e.currentIndex<Fb(r,o,i)?e:r,a=Fb(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(e=e._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,m=p+f;u<=m&&m<l&&(i[f]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!Uf(n))throw new b(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=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),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,i,s,a),r=!0):(r&&(e=this._verifyReinsertion(e,i,s,a)),Object.is(e.item,i)||this._addIdentityChange(e,i)),e=e._next}else o=0,Fv(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),r=!0):(r&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),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,e,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,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,i,o)):n=this._addAfter(new fp(e,r),i,o)),n}_verifyReinsertion(n,e,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 e=n._next;this._addToRemovals(this._unlink(n)),n=e}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,e,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,e,r),this._addToMoves(n,r),n}_moveAfter(n,e,r){return this._unlink(n),this._insertAfter(n,e,r),this._addToMoves(n,r),n}_addAfter(n,e,r){return this._insertAfter(n,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,r){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new zc),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 e=n._prev,r=n._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new zc),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,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},fp=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,e){this.item=n,this.trackById=e}},pp=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,e){let r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let e=n._prevDup,r=n._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},zc=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new pp,this.map.set(e,r)),r.add(n)}get(n,e){let r=n,o=this.map.get(r);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Fb(t,n,e){let r=t.previousIndex;if(r===null)return r;let o=0;return e&&r<e.length&&(o=e[r]),r+n+o}var hp=class{supports(n){return n instanceof Map||Nc(n)}create(){return new gp}},gp=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 e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Nc(n)))throw new b(900,!1);return this.check(n)?this:null}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{let i=this._getOrCreateRecordForKey(o,r);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;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,e){if(n){let r=n._prev;return e._next=n,e._prev=r,n._prev=e,r&&(r._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);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 mp(n);return this._records.set(n,r),r.currentValue=e,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,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,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,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(r=>e(n[r],r))}},mp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function jb(){return new vp([new up])}var vp=(()=>{class t{factories;static \u0275prov=y({token:t,providedIn:"root",factory:jb});constructor(e){this.factories=e}static create(e,r){if(r!=null){let o=r.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=h(t,{optional:!0,skipSelf:!0});return t.create(e,r||jb())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r!=null)return r;throw new b(901,!1)}}return t})();function Bb(){return new bp([new hp])}var bp=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:Bb});factories;constructor(e){this.factories=e}static create(e,r){if(r){let o=r.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=h(t,{optional:!0,skipSelf:!0});return t.create(e,r||Bb())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r)return r;throw new b(901,!1)}}return t})();function zb(t){let{rootComponent:n,appProviders:e,platformProviders:r,platformRef:o}=t;$(F.BootstrapApplicationStart);try{let i=o?.injector??BM(r),s=[Ab(),hm,...e||[]],a=new Ui({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return PM({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{$(F.BootstrapApplicationEnd)}}function te(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function qn(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var cp=Symbol("NOT_SET"),Wb=new Set,WM=x(g({},ci),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:cp,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(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==cp&&!eo(this))return this.signal;try{for(let o of this.cleanup??Wb)o()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=rn(this),r;try{r=this.userFn.apply(null,n)}finally{Nn(this,e)}return(this.value===cp||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),yp=class extends Fi{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,e,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(ge),s),this.scheduler=o;for(let a of Nf){let c=e[a];if(c===void 0)continue;let l=Object.create(WM);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(nn(l),l.value),l.signal[ae]=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 e of n.cleanup??Wb)e()}finally{An(n)}}};function tV(t,n){let e=n?.injector??h(ye),r=e.get(Ut),o=e.get(bc),i=e.get(Rt,null,{optional:!0});o.impl??=e.get(Af);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(go,null,{optional:!0}),c=new yp(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,e,i?.snapshot(null));return o.impl.register(c),c}function Gb(t){let n=ln(t);if(!n)return null;let e=new _r(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var qb=null;function vn(){return qb}function Dp(t){qb??=t}var os=class{},Po=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>h(Zb),providedIn:"platform"})}return t})();var Zb=(()=>{class t extends Po{_location;_history;_doc=h(V);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return vn().getBaseHref(this._doc)}onPopState(e){let r=vn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=vn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,r,o){this._history.pushState(e,r,o)}replaceState(e,r,o){this._history.replaceState(e,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Qb(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function Kb(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Zn(t){return t&&t[0]!=="?"?`?${t}`:t}var Lo=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>h(qM),providedIn:"root"})}return t})(),GM=new D(""),qM=(()=>{class t extends Lo{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Qb(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Zn(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${r}${o}`:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+Zn(i));this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+Zn(i));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(_(Po),_(GM,8))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Fo=(()=>{class t{_subject=new Y;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=YM(Kb(Yb(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(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Zn(r))}normalize(e){return t.stripTrailingSlash(KM(this._basePath,Yb(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",o=null){this._locationStrategy.pushState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(r)),o)}replaceState(e,r="",o=null){this._locationStrategy.replaceState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(o=>o(e,r))}subscribe(e,r,o){return this._subject.subscribe({next:e,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Zn;static joinWithSlash=Qb;static stripTrailingSlash=Kb;static \u0275fac=function(r){return new(r||t)(_(Lo))};static \u0275prov=y({token:t,factory:()=>ZM(),providedIn:"root"})}return t})();function ZM(){return new Fo(_(Lo))}function KM(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function Yb(t){return t.replace(/\/index.html$/,"")}function YM(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Ep=/\s+/,Jb=[],QM=(()=>{class t{_ngEl;_renderer;initialClasses=Jb;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(Ep):Jb}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ep):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],o=e[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(e,r){e=e.trim(),e.length>0&&e.split(Ep).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||t)(P(Ae),P(Ot))};static \u0275dir=q({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Gc=class{$implicit;ngForOf;index;count;constructor(n,e,r,o){this.$implicit=n,this.ngForOf=e,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}},tD=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,o){this._viewContainer=e,this._template=r,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Gc(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),Xb(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}e.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Xb(i,o)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(P(mt),P(qt),P(vp))};static \u0275dir=q({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Xb(t,n){t.context.$implicit=n.item}var Ip=(()=>{class t{_viewContainer;_context=new qc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){eD(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){eD(e,!1),this._elseTemplateRef=e,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(e,r){return!0}static \u0275fac=function(r){return new(r||t)(P(mt),P(qt))};static \u0275dir=q({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),qc=class{$implicit=null;ngIf=null};function eD(t,n){if(t&&!t.createEmbeddedView)throw new b(2020,!1)}var Cp=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,r,o){this._ngEl=e,this._differs=r,this._renderer=o}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){let[o,i]=e.split("."),s=o.indexOf("-")===-1?void 0:Nt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||t)(P(Ae),P(bp),P(Ot))};static \u0275dir=q({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),wp=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=h(ye);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){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(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(e,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||t)(P(mt))};static \u0275dir=q({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Zt]})}return t})();var kt=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ve({type:t});static \u0275inj=fe({})}return t})();function is(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[o,i]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Lr=class{};var Tp="browser",JM="server";function Fr(t){return t===Tp}function Sp(t){return t===JM}var ss=class{_doc;constructor(n){this._doc=n}manager},Zc=(()=>{class t extends ss{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,o,i){return e.addEventListener(r,o,i),()=>this.removeEventListener(e,r,o,i)}removeEventListener(e,r,o,i){return e.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||t)(_(V))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Qc=new D(""),Ap=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let o=e.filter(s=>!(s instanceof Zc));this._plugins=o.slice().reverse();let i=e.find(s=>s instanceof Zc);i&&this._plugins.push(i)}addEventListener(e,r,o,i){return this._findPluginFor(r).addEventListener(e,r,o,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(i=>i.supports(e)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(_(Qc),_(ce))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),_p="ng-app-id";function rD(t){for(let n of t)n.remove()}function oD(t,n){let e=n.createElement("style");return e.textContent=t,e}function XM(t,n,e,r){let o=t.head?.querySelectorAll(`style[${_p}="${n}"],link[${_p}="${n}"]`);if(o)for(let i of o)i.removeAttribute(_p),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&e.set(i.textContent,{usage:0,elements:[i]})}function Np(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Rp=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,o,i={}){this.doc=e,this.appId=r,this.nonce=o,XM(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let o of e)this.addUsage(o,this.inline,oD);r?.forEach(o=>this.addUsage(o,this.external,Np))}removeStyles(e,r){for(let o of e)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,r,o){let i=r.get(e);i?i.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(e,this.doc)))})}removeUsage(e,r){let o=r.get(e);o&&(o.usage--,o.usage<=0&&(rD(o.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])rD(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(e,oD(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(e,Np(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(_(V),_(dc),_(Wi,8),_(At))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Mp={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"},xp=/%COMP%/g;var sD="%COMP%",eN=`_nghost-${sD}`,tN=`_ngcontent-${sD}`,nN=!0,rN=new D("",{factory:()=>nN});function oN(t){return tN.replace(xp,t)}function iN(t){return eN.replace(xp,t)}function aD(t,n){return n.map(e=>e.replace(xp,t))}var Op=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,o,i,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new as(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,r);return o instanceof Yc?o.applyToHost(e):o instanceof cs&&o.applyStyles(),o}getOrCreateRenderer(e,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 Mt.Emulated:i=new Yc(c,l,r,this.appId,u,s,a,d);break;case Mt.ShadowDom:return new Kc(c,e,r,s,a,this.nonce,d,l);case Mt.ExperimentalIsolatedShadowDom:return new Kc(c,e,r,s,a,this.nonce,d);default:i=new cs(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(_(Ap),_(Rp),_(dc),_(rN),_(V),_(ce),_(Wi),_(Rt,8))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),as=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Mp[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(iD(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(iD(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new b(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,o){if(o){e=o+":"+e;let i=Mp[o];i?n.setAttributeNS(i,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let o=Mp[r];o?n.removeAttributeNS(o,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,o){o&(Nt.DashCase|Nt.Important)?n.style.setProperty(e,r,o&Nt.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Nt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,o){if(typeof n=="string"&&(n=vn().getGlobalEventTarget(this.doc,n),!n))throw new b(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,e,i)),this.eventManager.addEventListener(n,e,i,o)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function iD(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Kc=class extends as{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=aD(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=Np(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},cs=class extends as{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?aD(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Hn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Yc=class extends cs{contentAttr;hostAttr;constructor(n,e,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,e,r,i,s,a,c,l),this.contentAttr=oN(l),this.hostAttr=iN(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var Jc=class t extends os{supportsDOMEvents=!0;static makeCurrent(){Dp(new t)}onAndCancel(n,e,r,o){return n.addEventListener(e,r,o),()=>{n.removeEventListener(e,r,o)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.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,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=sN();return e==null?null:aN(e)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return is(document.cookie,n)}},ls=null;function sN(){return ls=ls||document.head.querySelector("base"),ls?ls.getAttribute("href"):null}function aN(t){return new URL(t,document.baseURI).pathname}var cN=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),cD=["alt","control","meta","shift"],lN={"\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"},uN={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},lD=(()=>{class t extends ss{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,o,i){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vn().onAndCancel(e,s.domEventName,a,i))}static parseEventName(e){let r=e.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),cD.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(e,r){let o=lN[e.key]||e.key,i="";return r.indexOf("code.")>-1&&(o=e.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),cD.forEach(s=>{if(s!==o){let a=uN[s];a(e)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(e,r,o){return i=>{t.matchEventFullKeyCode(i,e)&&o.runGuarded(()=>r(i))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(_(V))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();async function dN(t,n,e){let r=g({rootComponent:t},fN(n,e));return zb(r)}function fN(t,n){return{platformRef:n?.platformRef,appProviders:[...yN,...t?.providers??[]],platformProviders:mN}}function pN(){Jc.makeCurrent()}function hN(){return new ct}function gN(){return pf(document),document}var mN=[{provide:At,useValue:Tp},{provide:fc,useValue:pN,multi:!0},{provide:V,useFactory:gN}];var yN=[{provide:Ei,useValue:"root"},{provide:ct,useFactory:hN},{provide:Qc,useClass:Zc,multi:!0},{provide:Qc,useClass:lD,multi:!0},Op,Rp,Ap,{provide:Sr,useExisting:Op},{provide:Lr,useClass:cN},[]];var Xt=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
5
|
-
`).forEach(e=>{let r=e.indexOf(":");if(r>0){let o=e.slice(0,r),i=e.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?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(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=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,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...r),this.headers.set(e,o);break;case"d":let i=n.value;if(!i)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).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(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var tl=class{map=new Map;set(n,e){return this.map.set(n,e),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()}},nl=class{encodeKey(n){return uD(n)}encodeValue(n){return uD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function vN(t,n){let e=new Map;return t.length>0&&t.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=e.get(s)||[];c.push(a),e.set(s,c)}),e}var bN=/%(\d[a-f0-9])/gi,DN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function uD(t){return encodeURIComponent(t).replace(bN,(n,e)=>DN[e]??n)}function Xc(t){return`${t}`}var bn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new nl,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=vN(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],o=Array.isArray(r)?r.map(Xc):[Xc(r)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{e.push({param:r,value:i,op:"a"})}):e.push({param:r,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}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 e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Xc(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Xc(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 EN(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function dD(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function fD(t){return typeof Blob<"u"&&t instanceof Blob}function pD(t){return typeof FormData<"u"&&t instanceof FormData}function IN(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var us="Content-Type",rl="Accept",hD="text/plain",gD="application/json",mD=`${gD}, ${hD}, */*`,jo=class t{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,e,r,o){this.url=e,this.method=n.toUpperCase();let i;if(EN(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 b(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Xt,this.context??=new tl,!this.params)this.params=new bn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||dD(this.body)||fD(this.body)||pD(this.body)||IN(this.body)?this.body:this.body instanceof bn?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||pD(this.body)?null:fD(this.body)?this.body.type||null:dD(this.body)?null:typeof this.body=="string"?hD:this.body instanceof bn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?gD:null}clone(n={}){let e=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,m=n.transferCache??this.transferCache,v=n.timeout??this.timeout,E=n.body!==void 0?n.body:this.body,I=n.withCredentials??this.withCredentials,L=n.reportProgress??this.reportProgress,K=n.headers||this.headers,ie=n.params||this.params,Tn=n.context??this.context;return n.setHeaders!==void 0&&(K=Object.keys(n.setHeaders).reduce((Sn,tn)=>Sn.set(tn,n.setHeaders[tn]),K)),n.setParams&&(ie=Object.keys(n.setParams).reduce((Sn,tn)=>Sn.set(tn,n.setParams[tn]),ie)),new t(e,r,E,{params:ie,headers:K,context:Tn,reportProgress:L,responseType:o,withCredentials:I,transferCache:m,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:l,credentials:u,referrer:d,integrity:f,referrerPolicy:p})}},Dn=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Dn||{}),Bo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new Xt,this.status=n.status!==void 0?n.status:e,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 t extends Bo{constructor(n={}){super(n)}type=Dn.ResponseHeader;clone(n={}){return new t({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})}},Uo=class t extends Bo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Dn.Response;clone(n={}){return new t({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})}},Jt=class extends Bo{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}},yD=200,CN=204;var wN=/^\)\]\}',?\n/,vD=new D(""),el=(()=>{class t{fetchImpl=h(Pp,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=h(ce);destroyRef=h(ge);handle(e){return new k(r=>{let o=new AbortController;this.doRequest(e,o.signal,r).then(Lp,s=>r.error(new Jt({error:s})));let i;return e.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(e,r,o){let i=this.createRequestInit(e),s;try{let v=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,g({signal:r},i)));TN(v),o.next({type:Dn.Sent}),s=await v}catch(v){o.error(new Jt({error:v,status:v.status??0,statusText:v.statusText,url:e.urlWithParams,headers:v.headers}));return}let a=new Xt(s.headers),c=s.statusText,l=s.url||e.urlWithParams,u=s.status,d=null;if(e.reportProgress&&o.next(new ds({headers:a,status:u,statusText:c,url:l})),s.body){let v=s.headers.get("content-length"),E=[],I=s.body.getReader(),L=0,K,ie,Tn=typeof Zone<"u"&&Zone.current,Sn=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await I.cancel(),Sn=!0;break}let{done:ei,value:Bl}=await I.read();if(ei)break;if(E.push(Bl),L+=Bl.length,e.reportProgress){ie=e.responseType==="text"?(ie??"")+(K??=new TextDecoder).decode(Bl,{stream:!0}):void 0;let Ih=()=>o.next({type:Dn.DownloadProgress,total:v?+v:void 0,loaded:L,partialText:ie});Tn?Tn.run(Ih):Ih()}}}),Sn){o.complete();return}let tn=this.concatChunks(E,L);try{let ei=s.headers.get(us)??"";d=this.parseBody(e,tn,ei,u)}catch(ei){o.error(new Jt({error:ei,headers:new Xt(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}u===0&&(u=d?yD:0);let f=u>=200&&u<300,p=s.redirected,m=s.type;f?(o.next(new Uo({body:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:m})),o.complete()):o.error(new Jt({error:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:m}))}parseBody(e,r,o,i){switch(e.responseType){case"json":let s=new TextDecoder().decode(r).replace(wN,"");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(e){let r={},o;if(o=e.credentials,e.withCredentials&&(o="include"),e.headers.forEach((i,s)=>r[i]=s.join(",")),e.headers.has(rl)||(r[rl]=mD),!e.headers.has(us)){let i=e.detectContentTypeHeader();i!==null&&(r[us]=i)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:o,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,r){let o=new Uint8Array(r),i=0;for(let s of e)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Pp=class{};function Lp(){}function TN(t){t.then(Lp,Lp)}var SN=/^\)\]\}',?\n/;var Fp=(()=>{class t{xhrFactory;tracingService=h(Rt,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new b(-2800,!1);let r=this.xhrFactory;return R(null).pipe(qe(()=>new k(i=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((E,I)=>s.setRequestHeader(E,I.join(","))),e.headers.has(rl)||s.setRequestHeader(rl,mD),!e.headers.has(us)){let E=e.detectContentTypeHeader();E!==null&&s.setRequestHeader(us,E)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let E=e.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let E=s.statusText||"OK",I=new Xt(s.getAllResponseHeaders()),L=s.responseURL||e.url;return c=new ds({headers:I,status:s.status,statusText:E,url:L}),c},u=this.maybePropagateTrace(()=>{let{headers:E,status:I,statusText:L,url:K}=l(),ie=null;I!==CN&&(ie=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=ie?yD:0);let Tn=I>=200&&I<300;if(e.responseType==="json"&&typeof ie=="string"){let Sn=ie;ie=ie.replace(SN,"");try{ie=ie!==""?JSON.parse(ie):null}catch(tn){ie=Sn,Tn&&(Tn=!1,ie={error:tn,text:ie})}}Tn?(i.next(new Uo({body:ie,headers:E,status:I,statusText:L,url:K||void 0})),i.complete()):i.error(new Jt({error:ie,headers:E,status:I,statusText:L,url:K||void 0}))}),d=this.maybePropagateTrace(E=>{let{url:I}=l(),L=new Jt({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(L)}),f=d;e.timeout&&(f=this.maybePropagateTrace(E=>{let{url:I}=l(),L=new Jt({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(L)}));let p=!1,m=this.maybePropagateTrace(E=>{p||(i.next(l()),p=!0);let I={type:Dn.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(I.total=E.total),e.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),v=this.maybePropagateTrace(E=>{let I={type:Dn.UploadProgress,loaded:E.loaded};E.lengthComputable&&(I.total=E.total),i.next(I)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",f),s.addEventListener("abort",d),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:Dn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",f),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(_(Lr))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function _N(t,n){return n(t)}function MN(t,n,e){return(r,o)=>Ie(e,()=>n(r,i=>t(i,o)))}var bD=new D("",{factory:()=>[]}),DD=new D(""),ED=new D("",{factory:()=>!0});var il=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=_(Fp),o},providedIn:"root"})}return t})();var ol=(()=>{class t{backend;injector;chain=null;pendingTasks=h(mo);contributeToStability=h(ED);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(bD),...this.injector.get(DD,[])]));this.chain=r.reduceRight((o,i)=>MN(o,i,this.injector),_N)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(ui(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(_(il),_(re))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jp=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=_(ol),o},providedIn:"root"})}return t})();function kp(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var ID=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,o={}){let i;if(e instanceof jo)i=e;else{let c;o.headers instanceof Xt?c=o.headers:c=new Xt(o.headers);let l;o.params&&(o.params instanceof bn?l=o.params:l=new bn({fromObject:o.params})),i=new jo(e,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=R(i).pipe(sr(c=>this.handler.handle(c)));if(e instanceof jo||o.observe==="events")return s;let a=s.pipe(Ge(c=>c instanceof Uo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(G(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(G(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(G(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(G(c=>c.body))}case"response":return a;default:throw new b(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new bn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,o={}){return this.request("PATCH",e,kp(o,r))}post(e,r,o={}){return this.request("POST",e,kp(o,r))}put(e,r,o={}){return this.request("PUT",e,kp(o,r))}static \u0275fac=function(r){return new(r||t)(_(jp))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var NN=new D("",{factory:()=>!0}),AN="XSRF-TOKEN",RN=new D("",{factory:()=>AN}),xN="X-XSRF-TOKEN",ON=new D("",{factory:()=>xN}),kN=(()=>{class t{cookieName=h(RN);doc=h(V);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=is(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),CD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=_(kN),o},providedIn:"root"})}return t})();function PN(t,n){if(!h(NN)||t.method==="GET"||t.method==="HEAD")return n(t);try{let o=h(Po).href,{origin:i}=new URL(o),{origin:s}=new URL(t.url,i);if(i!==s)return n(t)}catch{return n(t)}let e=h(CD).getToken(),r=h(ON);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var Bp=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Bp||{});function LN(t,n){return{\u0275kind:t,\u0275providers:n}}function FN(...t){let n=[ID,ol,{provide:jp,useExisting:ol},{provide:il,useFactory:()=>h(vD,{optional:!0})??h(Fp)},{provide:bD,useValue:PN,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return lt(n)}function jN(){return LN(Bp.Fetch,[el,{provide:vD,useExisting:el},{provide:il,useExisting:el}])}var wD=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(_(V))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var BN=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=_(UN),o},providedIn:"root"})}return t})(),UN=(()=>{class t extends BN{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case gt.NONE:return r;case gt.HTML:return Kt(r,"HTML")?nt(r):gc(this._doc,String(r)).toString();case gt.STYLE:return Kt(r,"Style")?nt(r):r;case gt.SCRIPT:if(Kt(r,"Script"))return nt(r);throw new b(5200,!1);case gt.URL:return Kt(r,"URL")?nt(r):Gi(String(r));case gt.RESOURCE_URL:if(Kt(r,"ResourceURL"))return nt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(e){return gf(e)}bypassSecurityTrustStyle(e){return mf(e)}bypassSecurityTrustScript(e){return yf(e)}bypassSecurityTrustUrl(e){return vf(e)}bypassSecurityTrustResourceUrl(e){return bf(e)}static \u0275fac=function(r){return new(r||t)(_(V))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var N="primary",Ss=Symbol("RouteTitle"),zp=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Br(t){return new zp(t)}function Up(t,n,e){for(let r=0;r<t.length;r++){let o=t[r],i=n[r];if(o[0]===":")e[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function RD(t,n,e){let r=e.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let c={},l=t.slice(0,r.length);return Up(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>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let a={};return!Up(i,t.slice(0,i.length),a)||!Up(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function dl(t){return new Promise((n,e)=>{t.pipe(an()).subscribe({next:r=>n(r),error:r=>e(r)})})}function VN(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!en(t[e],n[e]))return!1;return!0}function en(t,n){let e=t?Wp(t):void 0,r=n?Wp(n):void 0;if(!e||!r||e.length!=r.length)return!1;let o;for(let i=0;i<e.length;i++)if(o=e[i],!xD(t[o],n[o]))return!1;return!0}function Wp(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function xD(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((o,i)=>r[i]===o)}else return t===n}function $N(t){return t.length>0?t[t.length-1]:null}function Vr(t){return ra(t)?t:Mo(t)?de(Promise.resolve(t)):R(t)}function OD(t){return ra(t)?dl(t):Promise.resolve(t)}var zN={exact:PD,subset:LD},kD={exact:WN,subset:GN,ignored:()=>!0},ih={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ys={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function sh(t,n,e){let r=t instanceof ze?t:n.parseUrl(t);return ee(()=>Gp(n.lastSuccessfulNavigation()?.finalUrl??new ze,r,g(g({},ys),e)))}function Gp(t,n,e){return zN[e.paths](t.root,n.root,e.matrixParams)&&kD[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function WN(t,n){return en(t,n)}function PD(t,n,e){if(!jr(t.segments,n.segments)||!cl(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!PD(t.children[r],n.children[r],e))return!1;return!0}function GN(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>xD(t[e],n[e]))}function LD(t,n,e){return FD(t,n,n.segments,e)}function FD(t,n,e,r){if(t.segments.length>e.length){let o=t.segments.slice(0,e.length);return!(!jr(o,e)||n.hasChildren()||!cl(o,e,r))}else if(t.segments.length===e.length){if(!jr(t.segments,e)||!cl(t.segments,e,r))return!1;for(let o in n.children)if(!t.children[o]||!LD(t.children[o],n.children[o],r))return!1;return!0}else{let o=e.slice(0,t.segments.length),i=e.slice(t.segments.length);return!jr(t.segments,o)||!cl(t.segments,o,r)||!t.children[N]?!1:FD(t.children[N],n,i,r)}}function cl(t,n,e){return n.every((r,o)=>kD[e](t[o].parameters,r.parameters))}var ze=class{root;queryParams;fragment;_queryParamMap;constructor(n=new B([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Br(this.queryParams),this._queryParamMap}toString(){return KN.serialize(this)}},B=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ll(this)}},Kn=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Br(this.parameters),this._parameterMap}toString(){return BD(this)}};function qN(t,n){return jr(t,n)&&t.every((e,r)=>en(e.parameters,n[r].parameters))}function jr(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function ZN(t,n){let e=[];return Object.entries(t.children).forEach(([r,o])=>{r===N&&(e=e.concat(n(o,r)))}),Object.entries(t.children).forEach(([r,o])=>{r!==N&&(e=e.concat(n(o,r)))}),e}var Ko=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>new Yn,providedIn:"root"})}return t})(),Yn=class{parse(n){let e=new Zp(n);return new ze(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${fs(n.root,!0)}`,r=JN(n.queryParams),o=typeof n.fragment=="string"?`#${YN(n.fragment)}`:"";return`${e}${r}${o}`}},KN=new Yn;function ll(t){return t.segments.map(n=>BD(n)).join("/")}function fs(t,n){if(!t.hasChildren())return ll(t);if(n){let e=t.children[N]?fs(t.children[N],!1):"",r=[];return Object.entries(t.children).forEach(([o,i])=>{o!==N&&r.push(`${o}:${fs(i,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=ZN(t,(r,o)=>o===N?[fs(t.children[N],!1)]:[`${o}:${fs(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[N]!=null?`${ll(t)}/${e[0]}`:`${ll(t)}/(${e.join("//")})`}}function jD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sl(t){return jD(t).replace(/%3B/gi,";")}function YN(t){return encodeURI(t)}function qp(t){return jD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ul(t){return decodeURIComponent(t)}function TD(t){return ul(t.replace(/\+/g,"%20"))}function BD(t){return`${qp(t.path)}${QN(t.parameters)}`}function QN(t){return Object.entries(t).map(([n,e])=>`;${qp(n)}=${qp(e)}`).join("")}function JN(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(o=>`${sl(e)}=${sl(o)}`).join("&"):`${sl(e)}=${sl(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var XN=/^[^\/()?;#]+/;function Hp(t){let n=t.match(XN);return n?n[0]:""}var e0=/^[^\/()?;=#]+/;function t0(t){let n=t.match(e0);return n?n[0]:""}var n0=/^[^=?&#]+/;function r0(t){let n=t.match(n0);return n?n[0]:""}var o0=/^[^&#]+/;function i0(t){let n=t.match(o0);return n?n[0]:""}var Zp=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new B([],{}):new B([],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 b(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(o[N]=new B(e,r)),o}parseSegment(){let n=Hp(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(n),new Kn(ul(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=t0(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=Hp(this.remaining);o&&(r=o,this.capture(r))}n[ul(e)]=ul(r)}parseQueryParam(n){let e=r0(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=i0(this.remaining);s&&(r=s,this.capture(r))}let o=TD(e),i=TD(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,e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=Hp(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new b(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=N);let a=this.parseChildren(e+1);r[s??N]=Object.keys(a).length===1&&a[N]?a[N]:new B([],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 b(4011,!1)}};function UD(t){return t.segments.length>0?new B([],{[N]:t}):t}function HD(t){let n={};for(let[r,o]of Object.entries(t.children)){let i=HD(o);if(r===N&&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 e=new B(t.segments,n);return s0(e)}function s0(t){if(t.numberOfChildren===1&&t.children[N]){let n=t.children[N];return new B(t.segments.concat(n.segments),n.children)}return t}function Qn(t){return t instanceof ze}function VD(t,n,e=null,r=null,o=new Yn){let i=$D(t);return zD(i,n,e,r,o)}function $D(t){let n;function e(i){let s={};for(let c of i.children){let l=e(c);s[c.outlet]=l}let a=new B(i.url,s);return i===t&&(n=a),a}let r=e(t.root),o=UD(r);return n??o}function zD(t,n,e,r,o){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Vp(i,i,i,e,r,o);let s=a0(n);if(s.toRoot())return Vp(i,i,new B([],{}),e,r,o);let a=c0(s,i,t),c=a.processChildren?hs(a.segmentGroup,a.index,s.commands):GD(a.segmentGroup,a.index,s.commands);return Vp(i,a.segmentGroup,c,e,r,o)}function fl(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function vs(t){return typeof t=="object"&&t!=null&&t.outlets}function SD(t,n,e){t||="\u0275";let r=new ze;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Vp(t,n,e,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>SD(l,d,i)):SD(l,u,i);let a;t===n?a=e:a=WD(t,n,e);let c=UD(HD(a));return new ze(c,s,o)}function WD(t,n,e){let r={};return Object.entries(t.children).forEach(([o,i])=>{i===n?r[o]=e:r[o]=WD(i,n,e)}),new B(t.segments,r)}var pl=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&fl(r[0]))throw new b(4003,!1);let o=r.find(vs);if(o&&o!==$N(r))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function a0(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new pl(!0,0,t);let n=0,e=!1,r=t.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===""?e=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new pl(e,n,r)}var Vo=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function c0(t,n,e){if(t.isAbsolute)return new Vo(n,!0,0);if(!e)return new Vo(n,!1,NaN);if(e.parent===null)return new Vo(e,!0,0);let r=fl(t.commands[0])?0:1,o=e.segments.length-1+r;return l0(e,o,t.numberOfDoubleDots)}function l0(t,n,e){let r=t,o=n,i=e;for(;i>o;){if(i-=o,r=r.parent,!r)throw new b(4005,!1);o=r.segments.length}return new Vo(r,!1,o-i)}function u0(t){return vs(t[0])?t[0].outlets:{[N]:t}}function GD(t,n,e){if(t??=new B([],{}),t.segments.length===0&&t.hasChildren())return hs(t,n,e);let r=d0(t,n,e),o=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let i=new B(t.segments.slice(0,r.pathIndex),{});return i.children[N]=new B(t.segments.slice(r.pathIndex),t.children),hs(i,0,o)}else return r.match&&o.length===0?new B(t.segments,{}):r.match&&!t.hasChildren()?Kp(t,n,e):r.match?hs(t,0,o):Kp(t,n,e)}function hs(t,n,e){if(e.length===0)return new B(t.segments,{});{let r=u0(e),o={};if(Object.keys(r).some(i=>i!==N)&&t.children[N]&&t.numberOfChildren===1&&t.children[N].segments.length===0){let i=hs(t.children[N],n,e);return new B(t.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=GD(t.children[i],n,s))}),Object.entries(t.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new B(t.segments,o)}}function d0(t,n,e){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(r>=e.length)return i;let s=t.segments[o],a=e[r];if(vs(a))break;let c=`${a}`,l=r<e.length-1?e[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!MD(c,l,s))return i;r+=2}else{if(!MD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Kp(t,n,e){let r=t.segments.slice(0,n),o=0;for(;o<e.length;){let i=e[o];if(vs(i)){let c=f0(i.outlets);return new B(r,c)}if(o===0&&fl(e[0])){let c=t.segments[n];r.push(new Kn(c.path,_D(e[0]))),o++;continue}let s=vs(i)?i.outlets[N]:`${i}`,a=o<e.length-1?e[o+1]:null;s&&a&&fl(a)?(r.push(new Kn(s,_D(a))),o+=2):(r.push(new Kn(s,{})),o++)}return new B(r,{})}function f0(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=Kp(new B([],{}),0,r))}),n}function _D(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function MD(t,n,e){return t==e.path&&en(n,e.parameters)}var gs="imperative",Te=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(Te||{}),ot=class{id;url;constructor(n,e){this.id=n,this.url=e}},Ur=class extends ot{type=Te.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",o=null){super(n,e),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Lt=class extends ot{urlAfterRedirects;type=Te.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},je=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(je||{}),bs=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(bs||{}),vt=class extends ot{reason;code;type=Te.NavigationCancel;constructor(n,e,r,o){super(n,e),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function qD(t){return t instanceof vt&&(t.code===je.Redirect||t.code===je.SupersededByNewNavigation)}var In=class extends ot{reason;code;type=Te.NavigationSkipped;constructor(n,e,r,o){super(n,e),this.reason=r,this.code=o}},Hr=class extends ot{error;target;type=Te.NavigationError;constructor(n,e,r,o){super(n,e),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ds=class extends ot{urlAfterRedirects;state;type=Te.RoutesRecognized;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},hl=class extends ot{urlAfterRedirects;state;type=Te.GuardsCheckStart;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gl=class extends ot{urlAfterRedirects;state;shouldActivate;type=Te.GuardsCheckEnd;constructor(n,e,r,o,i){super(n,e),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})`}},ml=class extends ot{urlAfterRedirects;state;type=Te.ResolveStart;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yl=class extends ot{urlAfterRedirects;state;type=Te.ResolveEnd;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vl=class{route;type=Te.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bl=class{route;type=Te.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Dl=class{snapshot;type=Te.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},El=class{snapshot;type=Te.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Il=class{snapshot;type=Te.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Cl=class{snapshot;type=Te.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var zo=class{},Es=class{},Wo=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function p0(t){return!(t instanceof zo)&&!(t instanceof Wo)&&!(t instanceof Es)}var wl=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 Yo(this.rootInjector)}},Yo=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let o=this.getOrCreateContext(e);o.outlet=r,this.contexts.set(e,o)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new wl(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(_(re))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tl=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Yp(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Yp(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Qp(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Qp(n,this._root).map(e=>e.value)}};function Yp(t,n){if(t===n.value)return n;for(let e of n.children){let r=Yp(t,e);if(r)return r}return null}function Qp(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Qp(t,e);if(r.length)return r.unshift(n),r}return[]}var rt=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ho(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Is=class extends Tl{snapshot;constructor(n,e){super(n),this.snapshot=e,ch(this,n)}toString(){return this.snapshot.toString()}};function ZD(t,n){let e=h0(t,n),r=new Me([new Kn("",{})]),o=new Me({}),i=new Me({}),s=new Me({}),a=new Me(""),c=new Cn(r,o,s,a,i,N,t,e.root);return c.snapshot=e.root,new Is(new rt(c,[]),e)}function h0(t,n){let e={},r={},o={},s=new Go([],e,o,"",r,N,t,null,{},n);return new Cs("",new rt(s,[]))}var Cn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(G(l=>l[Ss]))??R(void 0),this.url=n,this.params=e,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(G(n=>Br(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(G(n=>Br(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ah(t,n,e="emptyOnly"){let r,{routeConfig:o}=t;return n!==null&&(e==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:g(g({},n.params),t.params),data:g(g({},n.data),t.data),resolve:g(g(g(g({},t.data),n.data),o?.data),t._resolvedData)}:r={params:g({},t.params),data:g({},t.data),resolve:g(g({},t.data),t._resolvedData??{})},o&&YD(o)&&(r.resolve[Ss]=o.title),r}var Go=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Ss]}constructor(n,e,r,o,i,s,a,c,l,u){this.url=n,this.params=e,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??=Br(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Br(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Cs=class extends Tl{url;constructor(n,e){super(e),this.url=n,ch(this,e)}toString(){return KD(this._root)}};function ch(t,n){n.value._routerState=t,n.children.forEach(e=>ch(t,e))}function KD(t){let n=t.children.length>0?` { ${t.children.map(KD).join(", ")} } `:"";return`${t.value}${n}`}function $p(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,en(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),en(n.params,e.params)||t.paramsSubject.next(e.params),VN(n.url,e.url)||t.urlSubject.next(e.url),en(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Jp(t,n){let e=en(t.params,n.params)&&qN(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Jp(t.parent,n.parent))}function YD(t){return typeof t.title=="string"||t.title===null}var QD=new D(""),lh=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=N;activateEvents=new me;deactivateEvents=new me;attachEvents=new me;detachEvents=new me;routerOutletData=oe();parentContexts=h(Yo);location=h(mt);changeDetector=h(Pr);inputBinder=h(_s,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:o}=e.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(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Xp(e,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||t)};static \u0275dir=q({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Zt]})}return t})(),Xp=class{route;childContexts;parent;outletData;constructor(n,e,r,o){this.route=n,this.childContexts=e,this.parent=r,this.outletData=o}get(n,e){return n===Cn?this.route:n===Yo?this.childContexts:n===QD?this.outletData:this.parent.get(n,e)}},_s=new D(""),uh=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,o=aa([r.queryParams,r.params,r.data]).pipe(qe(([i,s,a],c)=>(a=g(g(g({},i),s),a),c===0?R(a):Promise.resolve(a)))).subscribe(i=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=Gb(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),dh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Fe({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&yn(0,"router-outlet")},dependencies:[lh],encapsulation:2})}return t})();function fh(t){let n=t.children&&t.children.map(fh),e=n?x(g({},t),{children:n}):g({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==N&&(e.component=dh),e}function g0(t,n,e){let r=ws(t,n._root,e?e._root:void 0);return new Is(r,n)}function ws(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let o=m0(t,n,e);return new rt(r,o)}else{if(t.shouldAttach(n.value)){let i=t.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>ws(t,a)),s}}let r=y0(n.value),o=n.children.map(i=>ws(t,i));return new rt(r,o)}}function m0(t,n,e){return n.children.map(r=>{for(let o of e.children)if(t.shouldReuseRoute(r.value,o.value.snapshot))return ws(t,r,o);return ws(t,r)})}function y0(t){return new Cn(new Me(t.url),new Me(t.params),new Me(t.queryParams),new Me(t.fragment),new Me(t.data),t.outlet,t.component,t)}var qo=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},JD="ngNavigationCancelingError";function Sl(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Qn(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=XD(!1,je.Redirect);return o.url=e,o.navigationBehaviorOptions=r,o}function XD(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[JD]=!0,e.cancellationCode=n,e}function v0(t){return eE(t)&&Qn(t.url)}function eE(t){return!!t&&t[JD]}var eh=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,o,i){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),$p(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let o=Ho(e);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,e,r){let o=n.value,i=e?e.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else i&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),o=r&&n.value.component?r.children:e,i=Ho(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,e){let r=e.getContext(n.value.outlet),o=r&&n.value.component?r.children:e,i=Ho(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,e,r){let o=Ho(e);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Cl(i.value.snapshot))}),n.children.length&&this.forwardEvent(new El(n.value.snapshot))}activateRoutes(n,e,r){let o=n.value,i=e?e.value:null;if($p(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,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),$p(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)}},_l=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},$o=class{component;route;constructor(n,e){this.component=n,this.route=e}};function b0(t,n,e){let r=t._root,o=n?n._root:null;return ps(r,o,e,[r.value])}function D0(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Qo(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Su(t)?t:n.get(t):r}function ps(t,n,e,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Ho(n);return t.children.forEach(s=>{E0(s,i[s.value.outlet],e,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ms(a,e.getContext(s),o)),o}function E0(t,n,e,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=I0(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new _l(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ps(t,n,a?a.children:null,r,o):ps(t,n,e,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new $o(a.outlet.component,s))}else s&&ms(n,a,o),o.canActivateChecks.push(new _l(r)),i.component?ps(t,null,a?a.children:null,r,o):ps(t,null,e,r,o);return o}function I0(t,n,e){if(typeof e=="function")return Ie(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!jr(t.url,n.url);case"pathParamsOrQueryParamsChange":return!jr(t.url,n.url)||!en(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jp(t,n)||!en(t.queryParams,n.queryParams);default:return!Jp(t,n)}}function ms(t,n,e){let r=Ho(t),o=t.value;Object.entries(r).forEach(([i,s])=>{o.component?n?ms(s,n.children.getContext(i),e):ms(s,null,e):ms(s,n,e)}),o.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new $o(n.outlet.component,o)):e.canDeactivateChecks.push(new $o(null,o)):e.canDeactivateChecks.push(new $o(null,o))}function Ms(t){return typeof t=="function"}function C0(t){return typeof t=="boolean"}function w0(t){return t&&Ms(t.canLoad)}function T0(t){return t&&Ms(t.canActivate)}function S0(t){return t&&Ms(t.canActivateChild)}function _0(t){return t&&Ms(t.canDeactivate)}function M0(t){return t&&Ms(t.canMatch)}function tE(t){return t instanceof on||t?.name==="EmptyError"}var al=Symbol("INITIAL_VALUE");function Zo(){return qe(t=>aa(t.map(n=>n.pipe(sn(1),uu(al)))).pipe(G(n=>{for(let e of n)if(e!==!0){if(e===al)return al;if(e===!1||N0(e))return e}return!0}),Ge(n=>n!==al),sn(1)))}function N0(t){return Qn(t)||t instanceof qo}function nE(t){return t.aborted?R(void 0).pipe(sn(1)):new k(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function rE(t){return ar(nE(t))}function A0(t){return ke(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?R(x(g({},n),{guardsResult:!0})):R0(i,e,r).pipe(ke(s=>s&&C0(s)?x0(e,o,t):R(s)),G(s=>x(g({},n),{guardsResult:s})))})}function R0(t,n,e){return de(t).pipe(ke(r=>F0(r.component,r.route,e,n)),an(r=>r!==!0,!0))}function x0(t,n,e){return de(n).pipe(sr(r=>oo(k0(r.route.parent,e),O0(r.route,e),L0(t,r.path),P0(t,r.route))),an(r=>r!==!0,!0))}function O0(t,n){return t!==null&&n&&n(new Il(t)),R(!0)}function k0(t,n){return t!==null&&n&&n(new Dl(t)),R(!0)}function P0(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return R(!0);let r=e.map(o=>li(()=>{let i=n._environmentInjector,s=Qo(o,i),a=T0(s)?s.canActivate(n,t):Ie(i,()=>s(n,t));return Vr(a).pipe(an())}));return R(r).pipe(Zo())}function L0(t,n){let e=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>D0(i)).filter(i=>i!==null).map(i=>li(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=Qo(a,c),u=S0(l)?l.canActivateChild(e,t):Ie(c,()=>l(e,t));return Vr(u).pipe(an())});return R(s).pipe(Zo())}));return R(o).pipe(Zo())}function F0(t,n,e,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let i=o.map(s=>{let a=n._environmentInjector,c=Qo(s,a),l=_0(c)?c.canDeactivate(t,n,e,r):Ie(a,()=>c(t,n,e,r));return Vr(l).pipe(an())});return R(i).pipe(Zo())}function j0(t,n,e,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return R(!0);let s=i.map(a=>{let c=Qo(a,t),l=w0(c)?c.canLoad(n,e):Ie(t,()=>c(n,e)),u=Vr(l);return o?u.pipe(rE(o)):u});return R(s).pipe(Zo(),oE(r))}function oE(t){return su(at(n=>{if(typeof n!="boolean")throw Sl(t,n)}),G(n=>n===!0))}function B0(t,n,e,r,o,i){let s=n.canMatch;if(!s||s.length===0)return R(!0);let a=s.map(c=>{let l=Qo(c,t),u=M0(l)?l.canMatch(n,e,o):Ie(t,()=>l(n,e,o));return Vr(u).pipe(rE(i))});return R(a).pipe(Zo(),oE(r))}var En=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Ts=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function U0(t){throw new b(4e3,!1)}function H0(t){throw XD(!1,je.GuardRejected)}var th=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}async lineralizeSegments(n,e){let r=[],o=e.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[N])throw U0(`${n.redirectTo}`);o=o.children[N]}}async applyRedirectCommands(n,e,r,o,i){let s=await V0(e,o,i);if(s instanceof ze)throw new Ts(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Ts(a);return a}applyRedirectCreateUrlTree(n,e,r,o){let i=this.createSegmentGroup(n,e.root,r,o);return new ze(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=e[a]}else r[o]=i}),r}createSegmentGroup(n,e,r,o){let i=this.createSegments(n,e.segments,r,o),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new B(i,s)}createSegments(n,e,r,o){return e.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,e,r){let o=r[e.path.substring(1)];if(!o)throw new b(4001,!1);return o}findOrReturn(n,e){let r=0;for(let o of e){if(o.path===n.path)return e.splice(r),o;r++}return n}};function V0(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return dl(Vr(Ie(e,()=>r(n))))}function $0(t,n){return t.providers&&!t._injector&&(t._injector=Ji(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Pt(t){return t.outlet||N}function z0(t,n){let e=t.filter(r=>Pt(r)===n);return e.push(...t.filter(r=>Pt(r)!==n)),e}var nh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function iE(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function W0(t,n,e,r,o,i,s){let a=sE(t,n,e);if(!a.matched)return R(a);let c=iE(i(a));return r=$0(n,r),B0(r,n,e,o,c,s).pipe(G(l=>l===!0?a:g({},nh)))}function sE(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?g({},nh):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(n.matcher||RD)(e,t,n);if(!o)return g({},nh);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ND(t,n,e,r,o){return e.length>0&&Z0(t,e,r,o)?{segmentGroup:new B(n,q0(r,new B(e,t.children))),slicedSegments:[]}:e.length===0&&K0(t,e,r)?{segmentGroup:new B(t.segments,G0(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new B(t.segments,t.children),slicedSegments:e}}function G0(t,n,e,r){let o={};for(let i of e)if(Nl(t,n,i)&&!r[Pt(i)]){let s=new B([],{});o[Pt(i)]=s}return g(g({},r),o)}function q0(t,n){let e={};e[N]=n;for(let r of t)if(r.path===""&&Pt(r)!==N){let o=new B([],{});e[Pt(r)]=o}return e}function Z0(t,n,e,r){return e.some(o=>!Nl(t,n,o)||!(Pt(o)!==N)?!1:!(r!==void 0&&Pt(o)===r))}function K0(t,n,e){return e.some(r=>Nl(t,n,r))}function Nl(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Y0(t,n,e){return n.length===0&&!t.children[e]}var rh=class{};async function Q0(t,n,e,r,o,i,s="emptyOnly",a){return new oh(t,n,e,r,o,s,i,a).recognize()}var J0=31,oh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,o,i,s,a,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new th(this.urlSerializer,this.urlTree)}noMatchError(n){return new b(4002,`'${n.segmentGroup}'`)}async recognize(){let n=ND(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),o=new rt(r,e),i=new Cs("",o),s=VD(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 e=new Go([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),N,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,N,e),rootSnapshot:e}}catch(r){if(r instanceof Ts)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof En?this.noMatchError(r):r}}async processSegmentGroup(n,e,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,i);let s=await this.processSegment(n,e,r,r.segments,o,!0,i);return s instanceof rt?[s]:[]}async processChildren(n,e,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=z0(e,c),d=await this.processSegmentGroup(n,u,l,c,o);s.push(...d)}let a=aE(s);return X0(a),a}async processSegment(n,e,r,o,i,s,a){for(let c of e)try{return await this.processSegmentAgainstRoute(c._injector??n,e,c,r,o,i,s,a)}catch(l){if(l instanceof En||tE(l))continue;throw l}if(Y0(r,o,i))return new rh;throw new En(r)}async processSegmentAgainstRoute(n,e,r,o,i,s,a,c){if(Pt(r)!==s&&(s===N||!Nl(o,i,r)))throw new En(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,e,r,i,s,c);throw new En(o)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:f}=sE(e,o,i);if(!c)throw new En(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>J0&&(this.allowRedirects=!1));let p=this.createSnapshot(n,o,i,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let m=await this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,iE(p),n),v=await this.applyRedirects.lineralizeSegments(o,m);return this.processSegment(n,r,e,v.concat(f),s,!1,a)}createSnapshot(n,e,r,o,i){let s=new Go(r,o,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,tA(e),Pt(e),e.component??e._loadedComponent??null,e,nA(e),n),a=ah(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(n,e,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=K=>this.createSnapshot(n,r,K.consumedSegments,K.parameters,s),c=await dl(W0(e,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(e.children={}),!c?.matched)throw new En(e);n=r._injector??n;let{routes:l}=await this.getChildConfig(n,r,o),u=r._loadedInjector??n,{parameters:d,consumedSegments:f,remainingSegments:p}=c,m=this.createSnapshot(n,r,f,d,s),{segmentGroup:v,slicedSegments:E}=ND(e,f,p,l,i);if(E.length===0&&v.hasChildren()){let K=await this.processChildren(u,l,v,m);return new rt(m,K)}if(l.length===0&&E.length===0)return new rt(m,[]);let I=Pt(r)===i,L=await this.processSegment(u,l,v,E,I?N:i,!0,m);return new rt(m,L instanceof rt?[L]:[])}async getChildConfig(n,e,r){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let i=e._loadedNgModuleFactory;return i&&!e._loadedInjector&&(e._loadedInjector=i.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await dl(j0(n,e,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=i.routes,e._loadedInjector=i.injector,e._loadedNgModuleFactory=i.factory,i}throw H0(e)}return{routes:[],injector:n}}};function X0(t){t.sort((n,e)=>n.value.outlet===N?-1:e.value.outlet===N?1:n.value.outlet.localeCompare(e.value.outlet))}function eA(t){let n=t.value.routeConfig;return n&&n.path===""}function aE(t){let n=[],e=new Set;for(let r of t){if(!eA(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),e.add(o)):n.push(r)}for(let r of e){let o=aE(r.children);n.push(new rt(r.value,o))}return n.filter(r=>!e.has(r))}function tA(t){return t.data||{}}function nA(t){return t.resolve||{}}function rA(t,n,e,r,o,i,s){return ke(async a=>{let{state:c,tree:l}=await Q0(t,n,e,r,a.extractedUrl,o,i,s);return x(g({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function oA(t){return ke(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return R(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 cE(a))i.add(c);let s=0;return de(i).pipe(sr(a=>o.has(a)?iA(a,e,t):(a.data=ah(a,a.parent,t).resolve,R(void 0))),at(()=>s++),ca(1),ke(a=>s===i.size?R(n):Ne))})}function cE(t){let n=t.children.map(e=>cE(e)).flat();return[t,...n]}function iA(t,n,e){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!YD(r)&&(o[Ss]=r.title),li(()=>(t.data=ah(t,t.parent,e).resolve,sA(o,t,n).pipe(G(i=>(t._resolvedData=i,t.data=g(g({},t.data),i),null)))))}function sA(t,n,e){let r=Wp(t);if(r.length===0)return R({});let o={};return de(r).pipe(ke(i=>aA(t[i],n,e).pipe(an(),at(s=>{if(s instanceof qo)throw Sl(new Yn,s);o[i]=s}))),ca(1),G(()=>o),io(i=>tE(i)?Ne:cu(i)))}function aA(t,n,e){let r=n._environmentInjector,o=Qo(t,r),i=o.resolve?o.resolve(n,e):Ie(r,()=>o(n,e));return Vr(i)}function AD(t){return qe(n=>{let e=t(n);return e?de(e).pipe(G(()=>n)):R(n)})}var ph=(()=>{class t{buildTitle(e){let r,o=e.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===N);return r}getResolvedTitleForRoute(e){return e.data[Ss]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>h(lE),providedIn:"root"})}return t})(),lE=(()=>{class t extends ph{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(_(wD))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jo=new D("",{factory:()=>({})}),Ns=new D(""),uE=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(sp);async loadComponent(e,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 OD(Ie(e,()=>r.loadComponent())),s=await pE(fE(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(e,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 dE(r,this.compiler,e,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||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();async function dE(t,n,e,r){let o=await OD(Ie(e,()=>t.loadChildren())),i=await pE(fE(o)),s;i instanceof xc||Array.isArray(i)?s=i:s=await n.compileModuleAsync(i),r&&r(t);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(e).injector,u=s,c=a.get(Ns,[],{optional:!0,self:!0}).flat()),{routes:c.map(fh),injector:a,factory:u}}function cA(t){return t&&typeof t=="object"&&"default"in t}function fE(t){return cA(t)?t.default:t}async function pE(t){return t}var Al=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>h(lA),providedIn:"root"})}return t})(),lA=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hE=new D("");var uA=()=>{},gE=new D(""),mE=(()=>{class t{currentNavigation=T(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=T(null);events=new Y;transitionAbortWithErrorSubject=new Y;configLoader=h(uE);environmentInjector=h(re);destroyRef=h(ge);urlSerializer=h(Ko);rootContexts=h(Yo);location=h(Fo);inputBindingEnabled=h(_s,{optional:!0})!==null;titleStrategy=h(ph);options=h(Jo,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(Al);createViewTransition=h(hE,{optional:!0});navigationErrorHandler=h(gE,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>R(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new vl(o)),r=o=>this.events.next(new bl(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;X(()=>{this.transitions?.next(x(g({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Me(null),this.transitions.pipe(Ge(r=>r!==null),qe(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return R(r).pipe(qe(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",je.SupersededByNewNavigation),Ne;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?x(g({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new In(a.id,this.urlSerializer.serialize(a.rawUrl),"",bs.IgnoredSameUrlNavigation)),a.resolve(!1),Ne;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return R(a).pipe(qe(d=>(this.events.next(new Ur(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?Ne:Promise.resolve(d))),rA(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),at(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=d.urlAfterRedirects,f)),this.events.next(new Es)}),qe(d=>de(r.routesRecognizeHandler.deferredHandle??R(void 0)).pipe(G(()=>d))),at(()=>{let d=new Ds(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:m,extras:v}=a,E=new Ur(d,this.urlSerializer.serialize(f),p,m);this.events.next(E);let I=ZD(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=x(g({},a),{targetSnapshot:I,urlAfterRedirects:f,extras:x(g({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(L=>(L.finalUrl=f,L)),R(r)}else return this.events.next(new In(a.id,this.urlSerializer.serialize(a.extractedUrl),"",bs.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Ne}),G(a=>{let c=new hl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=x(g({},a),{guards:b0(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),A0(a=>this.events.next(a)),qe(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Sl(this.urlSerializer,a.guardsResult);let c=new gl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return Ne;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",je.GuardRejected),Ne;if(a.guards.canActivateChecks.length===0)return R(a);let l=new ml(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return Ne;let u=!1;return R(a).pipe(oA(this.paramsInheritanceStrategy),at({next:()=>{u=!0;let d=new yl(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)}}))}),AD(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?R(a):de(Promise.all(l).then(()=>a))}),AD(()=>this.afterPreactivation()),qe(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?de(l).pipe(G(()=>r)):R(r)}),sn(1),qe(a=>{let c=g0(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=x(g({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new zo);let l=r.beforeActivateHandler.deferredHandle;return l?de(l.then(()=>a)):R(a)}),at(a=>{new eh(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=uA,c)),this.lastSuccessfulNavigation.set(X(this.currentNavigation)),this.events.next(new Lt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),ar(nE(i.signal).pipe(Ge(()=>!o&&!r.targetRouterState),at(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",je.Aborted)}))),at({complete:()=>{o=!0}}),ar(this.transitionAbortWithErrorSubject.pipe(at(a=>{throw a}))),ui(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",je.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),io(a=>{if(o=!0,this.destroyed)return r.resolve(!1),Ne;if(eE(a))this.events.next(new vt(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),v0(a)?this.events.next(new Wo(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Hr(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=Ie(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof qo){let{message:u,cancellationCode:d}=Sl(this.urlSerializer,l);this.events.next(new vt(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new Wo(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Ne}))}))}cancelNavigationTransition(e,r,o){let i=new vt(e.id,this.urlSerializer.serialize(e.extractedUrl),r,o);this.events.next(i),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=X(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function dA(t){return t!==gs}var yE=new D("");var vE=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>h(fA),providedIn:"root"})}return t})(),Ml=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},fA=(()=>{class t extends Ml{static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rl=(()=>{class t{urlSerializer=h(Ko);options=h(Jo,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Fo);urlHandlingStrategy=h(Al);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ze;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:o}){let i=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=o??i;return s instanceof ze?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:o}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=e):this.rawUrlTree=o}routerState=ZD(null,h(re));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||t)};static \u0275prov=y({token:t,factory:()=>h(pA),providedIn:"root"})}return t})(),pA=(()=>{class t extends Rl{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof Ur?this.updateStateMemento():e instanceof In?this.commitTransition(r):e instanceof Ds?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof zo?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof vt&&!qD(e)?this.restoreHistory(r):e instanceof Hr?this.restoreHistory(r,!0):e instanceof Lt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||i){let a=this.browserPageId,c=g(g({},s),this.generateNgRouterState(o,a));this.location.replaceState(e,"",c)}else{let a=g(g({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===e.finalUrl&&i===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function hh(t,n){t.events.pipe(Ge(e=>e instanceof Lt||e instanceof vt||e instanceof Hr||e instanceof In),G(e=>e instanceof Lt||e instanceof In?0:(e instanceof vt?e.code===je.Redirect||e.code===je.SupersededByNewNavigation:!1)?2:1),Ge(e=>e!==2),sn(1)).subscribe(()=>{n()})}var $r=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Oc);stateManager=h(Rl);options=h(Jo,{optional:!0})||{};pendingTasks=h(pn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(mE);urlSerializer=h(Ko);location=h(Fo);urlHandlingStrategy=h(Al);injector=h(re);_events=new Y;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(vE);injectorCleanup=h(yE,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Ns,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(_s,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new _e;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=X(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof vt&&r.code!==je.Redirect&&r.code!==je.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Lt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Wo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||dA(o.source)},s);this.scheduleNavigation(a,gs,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}p0(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gs,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,o,i)=>{this.navigateToSyncWithBrowser(e,o,r,i)})}navigateToSyncWithBrowser(e,r,o,i){let s=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(tt)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return X(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(fh),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(e,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=g(g({},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=$D(f)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return zD(d,e,u,l??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let o=Qn(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,gs,null,r)}navigate(e,r={skipLocationChange:!1}){return hA(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(Ht(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let o;if(r===!0?o=g({},ih):r===!1?o=g({},ys):o=g(g({},ys),r),Qn(e))return Gp(this.currentUrlTree,e,o);let i=this.parseUrl(e);return Gp(this.currentUrlTree,i,o)}removeEmptyProps(e){return Object.entries(e).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(e,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 hh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,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||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function hA(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new b(4008,!1)}var mA=(()=>{class t{router=h($r);stateManager=h(Rl);fragment=T("");queryParams=T({});path=T("");serializer=h(Ko);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof Lt&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(o),this.path.set(this.serializer.serialize(new ze(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xl=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=h(new $c("href"),{optional:!0});reactiveHref=ap(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return X(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return X(this._target)}_target=T(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return X(this._queryParams)}_queryParams=T(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return X(this._fragment)}_fragment=T(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return X(this._queryParamsHandling)}_queryParamsHandling=T(void 0);set state(e){this._state.set(e)}get state(){return X(this._state)}_state=T(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return X(this._info)}_info=T(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return X(this._relativeTo)}_relativeTo=T(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return X(this._preserveFragment)}_preserveFragment=T(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return X(this._skipLocationChange)}_skipLocationChange=T(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return X(this._replaceUrl)}_replaceUrl=T(!1);isAnchorElement;onChanges=new Y;applicationErrorHandler=h(tt);options=h(Jo,{optional:!0});reactiveRouterState=h(mA);constructor(e,r,o,i,s,a){this.router=e,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(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=T(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Qn(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(e!==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(e,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,e,r):o.removeAttribute(i,e)}_urlTree=ee(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=o=>o==="preserve"||o==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:Qn(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:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return X(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(P($r),P(Cn),zi("tabindex"),P(Ot),P(Ae),P(Lo))};static \u0275dir=q({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&xo("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Ke("href",o.reactiveHref(),Df)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",te],skipLocationChange:[2,"skipLocationChange","skipLocationChange",te],replaceUrl:[2,"replaceUrl","replaceUrl",te],routerLink:"routerLink"},features:[Zt]})}return t})(),yA=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new me;link=h(xl,{optional:!0});constructor(e,r,o,i){this.router=e,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof Lt&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(ro()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=de(e).pipe(ro()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&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!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=vA(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?g({},ih):g({},ys);return o=>{let i=o.urlTree;return i?X(sh(i,e,r)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(P($r),P(Ae),P(Ot),P(Pr))};static \u0275dir=q({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&Oo(i,xl,5),r&2){let s;Wn(s=Gn())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Zt]})}return t})();function vA(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var bA=new D("");function DA(t,...n){return lt([{provide:Ns,multi:!0,useValue:t},[],{provide:Cn,useFactory:EA},{provide:Pc,multi:!0,useFactory:CA},n.map(e=>e.\u0275providers)])}function EA(){return h($r).routerState.root}function IA(t,n){return{\u0275kind:t,\u0275providers:n}}function CA(){let t=h(ye);return n=>{let e=t.get(Or);if(n!==e.components[0])return;let r=t.get($r),o=t.get(wA);t.get(TA)===1&&r.initialNavigation(),t.get(SA,null,{optional:!0})?.setUpPreloading(),t.get(bA,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var wA=new D("",{factory:()=>new Y}),TA=new D("",{factory:()=>1});var SA=new D("");function _A(){return IA(8,[uh,{provide:_s,useExisting:uh}])}function Jn(...t){if(t){let n=[];for(let e=0;e<t.length;e++){let r=t[e];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[Jn(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}var MA=Object.defineProperty,bE=Object.getOwnPropertySymbols,NA=Object.prototype.hasOwnProperty,AA=Object.prototype.propertyIsEnumerable,DE=(t,n,e)=>n in t?MA(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,EE=(t,n)=>{for(var e in n||(n={}))NA.call(n,e)&&DE(t,e,n[e]);if(bE)for(var e of bE(n))AA.call(n,e)&&DE(t,e,n[e]);return t};function IE(...t){if(t){let n=[];for(let e=0;e<t.length;e++){let r=t[e];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[IE(...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 RA(t){return typeof t=="function"&&"call"in t&&"apply"in t}function xA({skipUndefined:t=!1},...n){return n?.reduce((e,r={})=>{for(let o in r){let i=r[o];if(!(t&&i===void 0))if(o==="style")e.style=EE(EE({},e.style),r.style);else if(o==="class"||o==="className")e[o]=IE(e[o],r[o]);else if(RA(i)){let s=e[o];e[o]=s?(...a)=>{s(...a),i(...a)}:i}else e[o]=i}return e},{})}function gh(...t){return xA({skipUndefined:!1},...t)}var Ol={};function zr(t="pui_id_"){return Object.hasOwn(Ol,t)||(Ol[t]=0),Ol[t]++,`${t}${Ol[t]}`}var CE=["*"];var xe=(()=>{class t{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 t})(),s3=(()=>{class t{static AND="and";static OR="or"}return t})(),a3=(()=>{class t{filter(e,r,o,i,s){let a=[];if(e)for(let c of e)for(let l of r){let u=Fh(c,l);if(this.filters[i](u,o,s)){a.push(c);break}}return a}filters={startsWith:(e,r,o)=>{if(r==null||r.trim()==="")return!0;if(e==null)return!1;let i=Qe(r.toString()).toLocaleLowerCase(o);return Qe(e.toString()).toLocaleLowerCase(o).slice(0,i.length)===i},contains:(e,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(e==null)return!1;let i=Qe(r.toString()).toLocaleLowerCase(o);return Qe(e.toString()).toLocaleLowerCase(o).indexOf(i)!==-1},notContains:(e,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(e==null)return!1;let i=Qe(r.toString()).toLocaleLowerCase(o);return Qe(e.toString()).toLocaleLowerCase(o).indexOf(i)===-1},endsWith:(e,r,o)=>{if(r==null||r.trim()==="")return!0;if(e==null)return!1;let i=Qe(r.toString()).toLocaleLowerCase(o),s=Qe(e.toString()).toLocaleLowerCase(o);return s.indexOf(i,s.length-i.length)!==-1},equals:(e,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!0:e==null?!1:e.getTime&&r.getTime?e.getTime()===r.getTime():e==r?!0:Qe(e.toString()).toLocaleLowerCase(o)==Qe(r.toString()).toLocaleLowerCase(o),notEquals:(e,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!1:e==null?!0:e.getTime&&r.getTime?e.getTime()!==r.getTime():e==r?!1:Qe(e.toString()).toLocaleLowerCase(o)!=Qe(r.toString()).toLocaleLowerCase(o),in:(e,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if(xs(e,r[o]))return!0;return!1},between:(e,r)=>r==null||r[0]==null||r[1]==null?!0:e==null?!1:e.getTime?r[0].getTime()<=e.getTime()&&e.getTime()<=r[1].getTime():r[0]<=e&&e<=r[1],lt:(e,r,o)=>r==null?!0:e==null?!1:e.getTime&&r.getTime?e.getTime()<r.getTime():e<r,lte:(e,r,o)=>r==null?!0:e==null?!1:e.getTime&&r.getTime?e.getTime()<=r.getTime():e<=r,gt:(e,r,o)=>r==null?!0:e==null?!1:e.getTime&&r.getTime?e.getTime()>r.getTime():e>r,gte:(e,r,o)=>r==null?!0:e==null?!1:e.getTime&&r.getTime?e.getTime()>=r.getTime():e>=r,is:(e,r,o)=>this.filters.equals(e,r,o),isNot:(e,r,o)=>this.filters.notEquals(e,r,o),before:(e,r,o)=>this.filters.lt(e,r,o),after:(e,r,o)=>this.filters.gt(e,r,o),dateIs:(e,r)=>r==null?!0:e==null?!1:e.toDateString()===r.toDateString(),dateIsNot:(e,r)=>r==null?!0:e==null?!1:e.toDateString()!==r.toDateString(),dateBefore:(e,r)=>r==null?!0:e==null?!1:e.getTime()<r.getTime(),dateAfter:(e,r)=>r==null?!0:e==null?!1:(e.setHours(0,0,0,0),e.getTime()>r.getTime())};register(e,r){this.filters[e]=r}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var c3=(()=>{class t{clickSource=new Y;parentDragSource=new Y;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(e){e&&this.clickSource.next(e)}emitParentDrag(e){this.parentDragSource.next(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var l3=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Fe({type:t,selectors:[["p-header"]],standalone:!1,ngContentSelectors:CE,decls:1,vars:0,template:function(r,o){r&1&&(Yt(),Qt(0))},encapsulation:2})}return t})(),u3=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Fe({type:t,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:CE,decls:1,vars:0,template:function(r,o){r&1&&(Yt(),Qt(0))},encapsulation:2})}return t})(),wE=(()=>{class t{template;type;name;constructor(e){this.template=e}getType(){return this.name}static \u0275fac=function(r){return new(r||t)(P(qt))};static \u0275dir=q({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return t})(),Xn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ve({type:t});static \u0275inj=fe({imports:[kt]})}return t})(),d3=(()=>{class t{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 t})();function TE(t){t||(t=h(ge));let n=new k(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(ar(n))}function D3(t,n){let r=!n?.manualCleanup?n?.injector?.get(ge)??h(ge):null,o=OA(n?.equal),i;n?.requireSync?i=T({kind:0},{equal:o}):i=T({kind:1,value:n?.initialValue},{equal:o});let s,a=t.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new b(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),ee(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new b(601,!1)}},{equal:n?.equal})}function OA(t=Object.is){return(n,e)=>n.kind===1&&e.kind===1&&t(n.value,e.value)}var SE=`
|
|
6
|
-
*,
|
|
7
|
-
::before,
|
|
8
|
-
::after {
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.p-collapsible-enter-active {
|
|
13
|
-
animation: p-animate-collapsible-expand 0.2s ease-out;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.p-collapsible-leave-active {
|
|
18
|
-
animation: p-animate-collapsible-collapse 0.2s ease-out;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@keyframes p-animate-collapsible-expand {
|
|
23
|
-
from {
|
|
24
|
-
grid-template-rows: 0fr;
|
|
25
|
-
}
|
|
26
|
-
to {
|
|
27
|
-
grid-template-rows: 1fr;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@keyframes p-animate-collapsible-collapse {
|
|
32
|
-
from {
|
|
33
|
-
grid-template-rows: 1fr;
|
|
34
|
-
}
|
|
35
|
-
to {
|
|
36
|
-
grid-template-rows: 0fr;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.p-disabled,
|
|
41
|
-
.p-disabled * {
|
|
42
|
-
cursor: default;
|
|
43
|
-
pointer-events: none;
|
|
44
|
-
user-select: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.p-disabled,
|
|
48
|
-
.p-component:disabled {
|
|
49
|
-
opacity: dt('disabled.opacity');
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.pi {
|
|
53
|
-
font-size: dt('icon.size');
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.p-icon {
|
|
57
|
-
width: dt('icon.size');
|
|
58
|
-
height: dt('icon.size');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.p-overlay-mask {
|
|
62
|
-
background: var(--px-mask-background, dt('mask.background'));
|
|
63
|
-
color: dt('mask.color');
|
|
64
|
-
position: fixed;
|
|
65
|
-
top: 0;
|
|
66
|
-
left: 0;
|
|
67
|
-
width: 100%;
|
|
68
|
-
height: 100%;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.p-overlay-mask-enter-active {
|
|
72
|
-
animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.p-overlay-mask-leave-active {
|
|
76
|
-
animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@keyframes p-animate-overlay-mask-enter {
|
|
80
|
-
from {
|
|
81
|
-
background: transparent;
|
|
82
|
-
}
|
|
83
|
-
to {
|
|
84
|
-
background: var(--px-mask-background, dt('mask.background'));
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
@keyframes p-animate-overlay-mask-leave {
|
|
88
|
-
from {
|
|
89
|
-
background: var(--px-mask-background, dt('mask.background'));
|
|
90
|
-
}
|
|
91
|
-
to {
|
|
92
|
-
background: transparent;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.p-anchored-overlay-enter-active {
|
|
97
|
-
animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.p-anchored-overlay-leave-active {
|
|
101
|
-
animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@keyframes p-animate-anchored-overlay-enter {
|
|
105
|
-
from {
|
|
106
|
-
opacity: 0;
|
|
107
|
-
transform: scale(0.93);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@keyframes p-animate-anchored-overlay-leave {
|
|
112
|
-
to {
|
|
113
|
-
opacity: 0;
|
|
114
|
-
transform: scale(0.93);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
`;var kA=0,_E=(()=>{class t{document=h(V);use(e,r={}){let o=!1,i=e,s=null,{immediate:a=!0,manual:c=!1,name:l=`style_${++kA}`,id:u=void 0,media:d=void 0,nonce:f=void 0,first:p=!1,props:m={}}=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=e;let v=this.document.head;kh(s,"nonce",f),p&&v.firstChild?v.insertBefore(s,v.firstChild):v.appendChild(s),Nh(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||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xo={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},PA=`
|
|
118
|
-
.p-hidden-accessible {
|
|
119
|
-
border: 0;
|
|
120
|
-
clip: rect(0 0 0 0);
|
|
121
|
-
height: 1px;
|
|
122
|
-
margin: -1px;
|
|
123
|
-
overflow: hidden;
|
|
124
|
-
padding: 0;
|
|
125
|
-
position: absolute;
|
|
126
|
-
width: 1px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.p-hidden-accessible input,
|
|
130
|
-
.p-hidden-accessible select {
|
|
131
|
-
transform: scale(0);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.p-overflow-hidden {
|
|
135
|
-
overflow: hidden;
|
|
136
|
-
padding-right: dt('scrollbar.width');
|
|
137
|
-
}
|
|
138
|
-
`,Se=(()=>{class t{name="base";useStyle=h(_E);css=void 0;style=void 0;classes={};inlineStyles={};load=(e,r={},o=i=>i)=>{let i=o(Kr`${_n(e,{dt:Ps})}`);return i?this.useStyle.use(ks(i),g({name:this.name},r)):{}};loadCSS=(e={})=>this.load(this.css,e);loadStyle=(e={},r="")=>this.load(this.style,e,(o="")=>se.transformCSS(e.name||this.name,`${o}${Kr`${r}`}`));loadBaseCSS=(e={})=>this.load(PA,e);loadBaseStyle=(e={},r="")=>this.load(SE,e,(o="")=>se.transformCSS(e.name||this.name,`${o}${Kr`${r}`}`));getCommonTheme=e=>se.getCommon(this.name,e);getComponentTheme=e=>se.getComponent(this.name,e);getPresetTheme=(e,r,o)=>se.getCustomPreset(this.name,e,r,o);getLayerOrderThemeCSS=()=>se.getLayerOrderCSS(this.name);getStyleSheet=(e="",r={})=>{if(this.css){let o=_n(this.css,{dt:Ps}),i=ks(Kr`${o}${e}`),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=(e,r={})=>se.getCommonStyleSheet(this.name,e,r);getThemeStyleSheet=(e,r={})=>{let o=[se.getStyleSheet(this.name,e,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=Kr`${_n(this.style,{dt:Ps})}`,a=ks(se.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||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var LA=(()=>{class t{theme=T(void 0);csp=T({nonce:void 0});isThemeChanged=!1;document=h(V);baseStyle=h(Se);constructor(){Ce(()=>{Zr.on("theme:change",e=>{X(()=>{this.isThemeChanged=!0,this.theme.set(e)})})}),Ce(()=>{let e=this.theme();this.document&&e&&(this.isThemeChanged||this.onThemeChange(e),this.isThemeChanged=!1)})}ngOnDestroy(){se.clearLoadedStyleNames(),Zr.clear()}onThemeChange(e){se.setTheme(e),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!se.isStyleNameLoaded("common")){let{primitive:e,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(e?.css,g({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,g({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,g({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(g({name:"global-style"},s),i),se.setLoadedStyleName("common")}}setThemeConfig(e){let{theme:r,csp:o}=e||{};r&&this.theme.set(r),o&&this.csp.set(o)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mh=(()=>{class t extends LA{ripple=T(!1);platformId=h(At);inputStyle=T(null);inputVariant=T(null);overlayAppendTo=T("self");overlayOptions={};csp=T({nonce:void 0});unstyled=T(void 0);pt=T(void 0);ptOptions=T(void 0);filterMatchModeOptions={text:[xe.STARTS_WITH,xe.CONTAINS,xe.NOT_CONTAINS,xe.ENDS_WITH,xe.EQUALS,xe.NOT_EQUALS],numeric:[xe.EQUALS,xe.NOT_EQUALS,xe.LESS_THAN,xe.LESS_THAN_OR_EQUAL_TO,xe.GREATER_THAN,xe.GREATER_THAN_OR_EQUAL_TO],date:[xe.DATE_IS,xe.DATE_IS_NOT,xe.DATE_BEFORE,xe.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 Y;translationObserver=this.translationSource.asObservable();getTranslation(e){return this.translation[e]}setTranslation(e){this.translation=g(g({},this.translation),e),this.translationSource.next(this.translation)}setConfig(e){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:c,translation:l,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:f,ptOptions:p,pt:m,unstyled:v}=e||{};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),m&&this.pt.set(m),p&&this.ptOptions.set(p),v&&this.unstyled.set(v),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),FA=new D("PRIME_NG_CONFIG");function z3(...t){let n=t?.map(r=>({provide:FA,useValue:r,multi:!1})),e=kc(()=>{let r=h(mh);t?.forEach(o=>r.setConfig(o))});return lt([...n,e])}var ME=(()=>{class t extends Se{name="common";static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wn=new D("PARENT_INSTANCE"),Ye=(()=>{class t{document=h(V);platformId=h(At);el=h(Ae);injector=h(ye);cd=h(Pr);renderer=h(Ot);config=h(mh);$parentInstance=h(wn,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=h(ME);baseStyle=h(Se);scopedStyleEl;parent=this.$params.parent;cn=Jn;_themeScopedListener;themeChangeListenerMap=new Map;dt=oe();unstyled=oe();pt=oe();ptOptions=oe();$attrSelector=zr("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=T(void 0);directiveUnstyled=T(void 0);$unstyled=ee(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=ee(()=>_n(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,e=>_n(e,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,e=>this._getOptionValue(e,this.$hostName||this.$name,this.$params)||_n(e,this.$params))}get $style(){return g(g({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 e=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:e}}}onInit(){}onChanges(e){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){Ce(e=>{this.document&&!Sp(this.platformId)&&(this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener("_themeScopedListener",this._themeScopedListener)):this._unloadScopedThemeStyles()),e(()=>{this._offThemeChangeListener("_themeScopedListener")})}),Ce(e=>{this.document&&!Sp(this.platformId)&&(this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener("_loadCoreStyles",this._loadCoreStyles))),e(()=>{this._offThemeChangeListener("_loadCoreStyles")})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(e){this.onChanges(e),this._hook("onChanges",e)}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(e,...r){return Lh(e)?e(...r):gh(...r)}_getHostInstance(e){return e?this.$hostName?this.$name===this.$hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0}_getPropValue(e){return this[e]||this._getHostInstance(this)?.[e]}_getOptionValue(e,r="",o={}){return jh(e,r,o)}_hook(e,...r){if(!this.$hostName){let o=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${e}`),i=this._useDefaultPT(this._getOptionValue,`hooks.${e}`);o?.(...r),i?.(...r)}}_load(){Xo.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),Xo.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){let e=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);ni(e)&&this.baseStyle.load(e,g({name:"global"},this.$styleOptions))}_loadCoreStyles(){!Xo.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),Xo.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!se.isStyleNameLoaded("common")){let{primitive:e,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(e?.css,g({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,g({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,g({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(g({name:"global-style"},this.$styleOptions),i),se.setLoadedStyleName("common")}if(!se.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:e,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(e,g({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(g({name:`${this.$style?.name}-style`},this.$styleOptions),r),se.setLoadedStyleName(this.$style?.name)}if(!se.isStyleNameLoaded("layer-order")){let e=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(e,g({name:"layer-order",first:!0},this.$styleOptions)),se.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(e){let{css:r}=this.$style?.getPresetTheme?.(e,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,g({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(e,r=()=>{}){this._offThemeChangeListener(e),Xo.clearLoadedStyleNames();let o=r.bind(this);this.themeChangeListenerMap.set(e,o),Zr.on("theme:change",o)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(e){this.themeChangeListenerMap.has(e)&&(Zr.off("theme:change",this.themeChangeListenerMap.get(e)),this.themeChangeListenerMap.delete(e))}_getPTValue(e={},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(e,this.$hostName||this.$name),this._getPTClassValue,r,x(g({},o),{global:l||{}})),d=this._getPTDatasets(r);return a||!a&&u?c?this._mergeProps(c,l,u,d):g(g(g({},l),u),d):g(g({},u),d)}_getPTDatasets(e=""){let r="data-pc-",o=e==="root"&&ni(this.$pt()?.["data-pc-section"]);return e!=="transition"&&x(g({},e==="root"&&x(g({[`${r}name`]:qr(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:qr(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:qr(e.includes(".")?e.split(".").at(-1)??"":e)})}_getPTClassValue(e,r,o){let i=this._getOptionValue(e,r,o);return Os(i)||Bh(i)?{class:i}:i}_getPT(e,r="",o){let i=(s,a=!1)=>{let c=o?o(s):s,l=qr(r),u=qr(this.$hostName||this.$name);return(a?l!==u?c?.[l]:void 0:c?.[l])??c};return e?.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:i(e.originalValue),value:i(e.value)}:i(e,!0)}_usePT(e,r,o,i){let s=a=>r?.call(this,a,o,i);if(e?.hasOwnProperty("_usept")){let{mergeSections:a=!0,mergeProps:c=!1}=e._usept||this.config?.ptOptions()||{},l=s(e.originalValue),u=s(e.value);return l===void 0&&u===void 0?void 0:Os(u)?u:Os(l)?l:a||!a&&u?c?this._mergeProps(c,l,u):g(g({},l),u):u}return s(e)}_useGlobalPT(e,r,o){return this._usePT(this.$globalPT,e,r,o)}_useDefaultPT(e,r,o){return this._usePT(this.$defaultPT,e,r,o)}ptm(e="",r={}){return this._getPTValue(this.$pt(),e,g(g({},this.$params),r))}ptms(e,r={}){return e.reduce((o,i)=>(o=gh(o,this.ptm(i,r))||{},o),{})}ptmo(e={},r="",o={}){return this._getPTValue(e,r,g({instance:this},o),!1)}cx(e,r={}){return this.$unstyled()?void 0:Jn(this._getOptionValue(this.$style.classes,e,g(g({},this.$params),r)))}sx(e="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,e,g(g({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,e,g(g({},this.$params),o));return g(g({},s),i)}}static \u0275fac=function(r){return new(r||t)};static \u0275dir=q({type:t,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[$e([ME,Se]),Zt]})}return t})();var yh=(()=>{class t{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(e,r){e&&r&&(e.classList?e.classList.add(r):e.className+=" "+r)}static addMultipleClasses(e,r){if(e&&r)if(e.classList){let o=r.trim().split(" ");for(let i=0;i<o.length;i++)e.classList.add(o[i])}else{let o=r.split(" ");for(let i=0;i<o.length;i++)e.className+=" "+o[i]}}static removeClass(e,r){e&&r&&(e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(e,r){e&&r&&[r].flat().filter(Boolean).forEach(o=>o.split(" ").forEach(i=>this.removeClass(e,i)))}static hasClass(e,r){return e&&r?e.classList?e.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(e.className):!1}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(r){return r!==e})}static find(e,r){return Array.from(e.querySelectorAll(r))}static findSingle(e,r){return this.isElement(e)?e.querySelector(r):null}static index(e){let r=e.parentNode.childNodes,o=0;for(var i=0;i<r.length;i++){if(r[i]==e)return o;r[i].nodeType==1&&o++}return-1}static indexWithinGroup(e,r){let o=e.parentNode?e.parentNode.childNodes:[],i=0;for(var s=0;s<o.length;s++){if(o[s]==e)return i;o[s].attributes&&o[s].attributes[r]&&o[s].nodeType==1&&i++}return-1}static appendOverlay(e,r,o="self"){o!=="self"&&e&&r&&this.appendChild(e,r)}static alignOverlay(e,r,o="self",i=!0){e&&r&&(i&&(e.style.minWidth=`${t.getOuterWidth(r)}px`),o==="self"?this.relativePosition(e,r):this.absolutePosition(e,r))}static relativePosition(e,r,o=!0){let i=K=>{if(K)return getComputedStyle(K).getPropertyValue("position")==="relative"?K:i(K.parentElement)},s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),a=r.offsetHeight,c=r.getBoundingClientRect(),l=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport(),p=i(e)?.getBoundingClientRect()||{top:-1*l,left:-1*u},m,v,E="top";c.top+a+s.height>d.height?(m=c.top-p.top-s.height,E="bottom",c.top+m<0&&(m=-1*c.top)):(m=a+c.top-p.top,E="top");let I=c.left+s.width-d.width,L=c.left-p.left;if(s.width>d.width?v=(c.left-p.left)*-1:I>0?v=L-I:v=c.left-p.left,e.style.top=m+"px",e.style.left=v+"px",e.style.transformOrigin=E,o){let K=Th(/-anchor-gutter$/)?.value;e.style.marginTop=E==="bottom"?`calc(${K??"2px"} * -1)`:K??""}}static absolutePosition(e,r,o=!0){let i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=i.height,a=i.width,c=r.offsetHeight,l=r.offsetWidth,u=r.getBoundingClientRect(),d=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport(),m,v;u.top+c+s>p.height?(m=u.top+d-s,e.style.transformOrigin="bottom",m<0&&(m=d)):(m=c+u.top+d,e.style.transformOrigin="top"),u.left+a>p.width?v=Math.max(0,u.left+f+l-a):v=u.left+f,e.style.top=m+"px",e.style.left=v+"px",o&&(e.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(e,r=[]){return e.parentNode===null?r:this.getParents(e.parentNode,r.concat([e.parentNode]))}static getScrollableParents(e){let r=[];if(e){let o=this.getParents(e),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(e){e.style.visibility="hidden",e.style.display="block";let r=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",r}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let r=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",r}static getHiddenElementDimensions(e){let r={};return e.style.visibility="hidden",e.style.display="block",r.width=e.offsetWidth,r.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",r}static scrollInView(e,r){let o=getComputedStyle(e).getPropertyValue("borderTopWidth"),i=o?parseFloat(o):0,s=getComputedStyle(e).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,c=e.getBoundingClientRect(),u=r.getBoundingClientRect().top+document.body.scrollTop-(c.top+document.body.scrollTop)-i-a,d=e.scrollTop,f=e.clientHeight,p=this.getOuterHeight(r);u<0?e.scrollTop=d+u:u+p>f&&(e.scrollTop=d+u-f+p)}static fadeIn(e,r){e.style.opacity=0;let o=+new Date,i=0,s=function(){i=+e.style.opacity.replace(",",".")+(new Date().getTime()-o)/r,e.style.opacity=i,o=+new Date,+i<1&&(window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,16))};s()}static fadeOut(e,r){var o=1,i=50,s=r,a=i/s;let c=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(c)),e.style.opacity=o},i)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,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(e,r)}static getOuterWidth(e,r){let o=e.offsetWidth;if(r){let i=getComputedStyle(e);o+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return o}static getHorizontalPadding(e){let r=getComputedStyle(e);return parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)}static getHorizontalMargin(e){let r=getComputedStyle(e);return parseFloat(r.marginLeft)+parseFloat(r.marginRight)}static innerWidth(e){let r=e.offsetWidth,o=getComputedStyle(e);return r+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static width(e){let r=e.offsetWidth,o=getComputedStyle(e);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static getInnerHeight(e){let r=e.offsetHeight,o=getComputedStyle(e);return r+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),r}static getOuterHeight(e,r){let o=e.offsetHeight;if(r){let i=getComputedStyle(e);o+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return o}static getHeight(e){let r=e.offsetHeight,o=getComputedStyle(e);return r-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),r}static getWidth(e){let r=e.offsetWidth,o=getComputedStyle(e);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),r}static getViewport(){let e=window,r=document,o=r.documentElement,i=r.getElementsByTagName("body")[0],s=e.innerWidth||o.clientWidth||i.clientWidth,a=e.innerHeight||o.clientHeight||i.clientHeight;return{width:s,height:a}}static getOffset(e){var r=e.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(e,r){let o=e.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(r,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent,r=e.indexOf("MSIE ");if(r>0)return!0;var o=e.indexOf("Trident/");if(o>0){var i=e.indexOf("rv:");return!0}var s=e.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(e,r){if(this.isElement(r))r.appendChild(e);else if(r&&r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(e);else throw"Cannot append "+r+" to "+e}static removeChild(e,r){if(this.isElement(r))r.removeChild(e);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(e);else throw"Cannot remove "+e+" from "+r}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode?.removeChild(e)}static isElement(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}static calculateScrollbarWidth(e){if(e){let r=getComputedStyle(e);return e.offsetWidth-e.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 e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let r=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=r,r}static invokeElementMethod(e,r,o){e[r].apply(e,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 e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),r=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:r[1]||"",version:r[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||e.offsetParent===null}static isVisible(e){return e&&e.offsetParent!=null}static isExist(e){return e!==null&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,r){e&&document.activeElement!==e&&e.focus(r)}static getFocusableSelectorString(e=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
|
|
139
|
-
[href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
|
|
140
|
-
input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
|
|
141
|
-
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
|
|
142
|
-
textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
|
|
143
|
-
[tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
|
|
144
|
-
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
|
|
145
|
-
.p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
|
|
146
|
-
.p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`}static getFocusableElements(e,r=""){let o=this.find(e,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(e,r=""){let o=this.findSingle(e,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(e,r=""){let o=this.getFocusableElements(e,r);return o.length>0?o[0]:null}static getLastFocusableElement(e,r){let o=this.getFocusableElements(e,r);return o.length>0?o[o.length-1]:null}static getNextFocusableElement(e,r=!1){let o=t.getFocusableElements(e),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(e,r){if(!e)return null;switch(e){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 e;if(o==="string")return document.querySelector(e);if(o==="object"&&e.hasOwnProperty("nativeElement"))return this.isExist(e.nativeElement)?e.nativeElement:void 0;let s=(a=>!!(a&&a.constructor&&a.call&&a.apply))(e)?e():e;return s&&s.nodeType===9||this.isExist(s)?s:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(e,r){if(e){let o=e.getAttribute(r);return isNaN(o)?o==="true"||o==="false"?o==="true":o:+o}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(e="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,e)}static unblockBodyScroll(e="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,e)}static createElement(e,r={},...o){if(e){let i=document.createElement(e);return this.setAttributes(i,r),i.append(...o),i}}static setAttribute(e,r="",o){this.isElement(e)&&o!==null&&o!==void 0&&e.setAttribute(r,o)}static setAttributes(e,r={}){if(this.isElement(e)){let o=(i,s)=>{let a=e?.$attrs?.[i]?[e?.$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?e.addEventListener(a[1].toLowerCase(),s):i==="pBind"?this.setAttributes(e,s):(s=i==="class"?[...new Set(o("class",s))].join(" ").trim():i==="style"?o("style",s).join(";").trim():s,(e.$attrs=e.$attrs||{})&&(e.$attrs[i]=s),e.setAttribute(i,s))}})}}static isFocusableElement(e,r=""){return this.isElement(e)?e.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
147
|
-
[href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
148
|
-
input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
149
|
-
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
150
|
-
textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
151
|
-
[tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
|
|
152
|
-
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}}return t})();function s4(){Ch({variableName:Wl("scrollbar.width").name})}function a4(){wh({variableName:Wl("scrollbar.width").name})}var kl=class{element;listener;scrollableParents;constructor(n,e=()=>{}){this.element=n,this.listener=e}bindScrollListener(){this.scrollableParents=yh.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 NE=(()=>{class t extends Ye{autofocus=!1;focused=!1;platformId=h(At);document=h(V);host=h(Ae);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(){Fr(this.platformId)&&this.autofocus&&setTimeout(()=>{let e=yh.getFocusableElements(this.host?.nativeElement);e.length===0&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275dir=q({type:t,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[we]})}return t})();var it=(()=>{class t{el;renderer;pBind=oe(void 0);_attrs=T(void 0);attrs=ee(()=>this._attrs()||this.pBind());styles=ee(()=>this.attrs()?.style);classes=ee(()=>Jn(this.attrs()?.class));listeners=[];constructor(e,r){this.el=e,this.renderer=r,Ce(()=>{let a=this.attrs()||{},{style:o,class:i}=a,s=Ul(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(e){xs(this._attrs(),e)||this._attrs.set(e)}clearListeners(){this.listeners.forEach(({unlisten:e})=>e()),this.listeners=[]}static \u0275fac=function(r){return new(r||t)(P(Ae),P(Ot))};static \u0275dir=q({type:t,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(r,o){r&2&&(rp(o.styles()),Ve(o.classes()))},inputs:{pBind:[1,"pBind"]}})}return t})(),As=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ve({type:t});static \u0275inj=fe({})}return t})();var AE=`
|
|
153
|
-
.p-badge {
|
|
154
|
-
display: inline-flex;
|
|
155
|
-
border-radius: dt('badge.border.radius');
|
|
156
|
-
align-items: center;
|
|
157
|
-
justify-content: center;
|
|
158
|
-
padding: dt('badge.padding');
|
|
159
|
-
background: dt('badge.primary.background');
|
|
160
|
-
color: dt('badge.primary.color');
|
|
161
|
-
font-size: dt('badge.font.size');
|
|
162
|
-
font-weight: dt('badge.font.weight');
|
|
163
|
-
min-width: dt('badge.min.width');
|
|
164
|
-
height: dt('badge.height');
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.p-badge-dot {
|
|
168
|
-
width: dt('badge.dot.size');
|
|
169
|
-
min-width: dt('badge.dot.size');
|
|
170
|
-
height: dt('badge.dot.size');
|
|
171
|
-
border-radius: 50%;
|
|
172
|
-
padding: 0;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.p-badge-circle {
|
|
176
|
-
padding: 0;
|
|
177
|
-
border-radius: 50%;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.p-badge-secondary {
|
|
181
|
-
background: dt('badge.secondary.background');
|
|
182
|
-
color: dt('badge.secondary.color');
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.p-badge-success {
|
|
186
|
-
background: dt('badge.success.background');
|
|
187
|
-
color: dt('badge.success.color');
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.p-badge-info {
|
|
191
|
-
background: dt('badge.info.background');
|
|
192
|
-
color: dt('badge.info.color');
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.p-badge-warn {
|
|
196
|
-
background: dt('badge.warn.background');
|
|
197
|
-
color: dt('badge.warn.color');
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.p-badge-danger {
|
|
201
|
-
background: dt('badge.danger.background');
|
|
202
|
-
color: dt('badge.danger.color');
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.p-badge-contrast {
|
|
206
|
-
background: dt('badge.contrast.background');
|
|
207
|
-
color: dt('badge.contrast.color');
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.p-badge-sm {
|
|
211
|
-
font-size: dt('badge.sm.font.size');
|
|
212
|
-
min-width: dt('badge.sm.min.width');
|
|
213
|
-
height: dt('badge.sm.height');
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.p-badge-lg {
|
|
217
|
-
font-size: dt('badge.lg.font.size');
|
|
218
|
-
min-width: dt('badge.lg.min.width');
|
|
219
|
-
height: dt('badge.lg.height');
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.p-badge-xl {
|
|
223
|
-
font-size: dt('badge.xl.font.size');
|
|
224
|
-
min-width: dt('badge.xl.min.width');
|
|
225
|
-
height: dt('badge.xl.height');
|
|
226
|
-
}
|
|
227
|
-
`;var jA=`
|
|
228
|
-
${AE}
|
|
229
|
-
|
|
230
|
-
/* For PrimeNG (directive)*/
|
|
231
|
-
.p-overlay-badge {
|
|
232
|
-
position: relative;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.p-overlay-badge > .p-badge {
|
|
236
|
-
position: absolute;
|
|
237
|
-
top: 0;
|
|
238
|
-
inset-inline-end: 0;
|
|
239
|
-
transform: translate(50%, -50%);
|
|
240
|
-
transform-origin: 100% 0;
|
|
241
|
-
margin: 0;
|
|
242
|
-
}
|
|
243
|
-
`,BA={root:({instance:t})=>{let n=typeof t.value=="function"?t.value():t.value,e=typeof t.size=="function"?t.size():t.size,r=typeof t.badgeSize=="function"?t.badgeSize():t.badgeSize,o=typeof t.severity=="function"?t.severity():t.severity;return["p-badge p-component",{"p-badge-circle":ni(n)&&String(n).length===1,"p-badge-dot":Ph(n),"p-badge-sm":e==="small"||r==="small","p-badge-lg":e==="large"||r==="large","p-badge-xl":e==="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"}]}},RE=(()=>{class t extends Se{name="badge";style=jA;classes=BA;static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();var xE=new D("BADGE_INSTANCE");var bh=(()=>{class t extends Ye{componentName="Badge";$pcBadge=h(xE,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(it,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=oe();badgeSize=oe();size=oe();severity=oe();value=oe();badgeDisabled=oe(!1,{transform:te});_componentStyle=h(RE);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 e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275cmp=Fe({type:t,selectors:[["p-badge"]],hostVars:5,hostBindings:function(r,o){r&2&&(Ke("data-p",o.dataP),Ve(o.cn(o.cx("root"),o.styleClass())),jc("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:[$e([RE,{provide:xE,useExisting:t},{provide:wn,useExisting:t}]),xr([it]),we],decls:1,vars:1,template:function(r,o){r&1&&ts(0),r&2&&ko(o.value())},dependencies:[kt,Xn,As],encapsulation:2,changeDetection:0})}return t})(),OE=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ve({type:t});static \u0275inj=fe({imports:[bh,Xn,Xn]})}return t})();var HA=["*"],VA={root:"p-fluid"},kE=(()=>{class t extends Se{name="fluid";classes=VA;static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();var PE=new D("FLUID_INSTANCE"),LE=(()=>{class t extends Ye{componentName="Fluid";$pcFluid=h(PE,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(it,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=h(kE);static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275cmp=Fe({type:t,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(r,o){r&2&&Ve(o.cx("root"))},features:[$e([kE,{provide:PE,useExisting:t},{provide:wn,useExisting:t}]),xr([it]),we],ngContentSelectors:HA,decls:1,vars:0,template:function(r,o){r&1&&(Yt(),Qt(0))},dependencies:[kt],encapsulation:2,changeDetection:0})}return t})();var $A=["*"],zA=`
|
|
244
|
-
.p-icon {
|
|
245
|
-
display: inline-block;
|
|
246
|
-
vertical-align: baseline;
|
|
247
|
-
flex-shrink: 0;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.p-icon-spin {
|
|
251
|
-
-webkit-animation: p-icon-spin 2s infinite linear;
|
|
252
|
-
animation: p-icon-spin 2s infinite linear;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
@-webkit-keyframes p-icon-spin {
|
|
256
|
-
0% {
|
|
257
|
-
-webkit-transform: rotate(0deg);
|
|
258
|
-
transform: rotate(0deg);
|
|
259
|
-
}
|
|
260
|
-
100% {
|
|
261
|
-
-webkit-transform: rotate(359deg);
|
|
262
|
-
transform: rotate(359deg);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
@keyframes p-icon-spin {
|
|
267
|
-
0% {
|
|
268
|
-
-webkit-transform: rotate(0deg);
|
|
269
|
-
transform: rotate(0deg);
|
|
270
|
-
}
|
|
271
|
-
100% {
|
|
272
|
-
-webkit-transform: rotate(359deg);
|
|
273
|
-
transform: rotate(359deg);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
`,FE=(()=>{class t extends Se{name="baseicon";css=zA;static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var jE=(()=>{class t extends Ye{spin=!1;_componentStyle=h(FE);getClassNames(){return Jn("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275cmp=Fe({type:t,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&&Ve(o.getClassNames())},inputs:{spin:[2,"spin","spin",te]},features:[$e([FE]),we],ngContentSelectors:$A,decls:1,vars:0,template:function(r,o){r&1&&(Yt(),Qt(0))},encapsulation:2,changeDetection:0})}return t})();var WA=["data-p-icon","spinner"],BE=(()=>{class t extends jE{pathId;onInit(){this.pathId="url(#"+zr()+")"}static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275cmp=Fe({type:t,selectors:[["","data-p-icon","spinner"]],features:[we],attrs:WA,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&&(ho(),Ao(0,"g"),Xi(1,"path",0),Ro(),Ao(2,"defs")(3,"clipPath",1),Xi(4,"rect",2),Ro()()),r&2&&(Ke("clip-path",o.pathId),Le(3),Fc("id",o.pathId))},encapsulation:2})}return t})();var UE=`
|
|
277
|
-
.p-ink {
|
|
278
|
-
display: block;
|
|
279
|
-
position: absolute;
|
|
280
|
-
background: dt('ripple.background');
|
|
281
|
-
border-radius: 100%;
|
|
282
|
-
transform: scale(0);
|
|
283
|
-
pointer-events: none;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.p-ink-active {
|
|
287
|
-
animation: ripple 0.4s linear;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
@keyframes ripple {
|
|
291
|
-
100% {
|
|
292
|
-
opacity: 0;
|
|
293
|
-
transform: scale(2.5);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
`;var GA=`
|
|
297
|
-
${UE}
|
|
298
|
-
|
|
299
|
-
/* For PrimeNG */
|
|
300
|
-
.p-ripple {
|
|
301
|
-
overflow: hidden;
|
|
302
|
-
position: relative;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.p-ripple-disabled .p-ink {
|
|
306
|
-
display: none !important;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
@keyframes ripple {
|
|
310
|
-
100% {
|
|
311
|
-
opacity: 0;
|
|
312
|
-
transform: scale(2.5);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
`,qA={root:"p-ink"},HE=(()=>{class t extends Se{name="ripple";style=GA;classes=qA;static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();var VE=(()=>{class t extends Ye{componentName="Ripple";zone=h(ce);_componentStyle=h(HE);animationListener;mouseDownListener;timeout;constructor(){super(),Ce(()=>{Fr(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(e){let r=this.getInk();if(!r||this.document.defaultView?.getComputedStyle(r,null).display==="none")return;if(!this.$unstyled()&&Gr(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!$l(r)&&!zl(r)){let a=Math.max(st(this.el.nativeElement),Ft(this.el.nativeElement));r.style.height=a+"px",r.style.width=a+"px"}let o=Rh(this.el.nativeElement),i=e.pageX-o.left+this.document.body.scrollTop-zl(r)/2,s=e.pageY-o.top+this.document.body.scrollLeft-$l(r)/2;this.renderer.setStyle(r,"top",s+"px"),this.renderer.setStyle(r,"left",i+"px"),!this.$unstyled()&&Hl(r,"p-ink-active"),r.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&(!this.$unstyled()&&Gr(a,"p-ink-active"),a.setAttribute("data-p-ink-active","false"))},401)}getInk(){let e=this.el.nativeElement.children;for(let r=0;r<e.length;r++)if(typeof e[r].className=="string"&&e[r].className.indexOf("p-ink")!==-1)return e[r];return null}resetInk(){let e=this.getInk();e&&(!this.$unstyled()&&Gr(e,"p-ink-active"),e.setAttribute("data-p-ink-active","false"))}onAnimationEnd(e){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&Gr(e.currentTarget,"p-ink-active"),e.currentTarget.setAttribute("data-p-ink-active","false")}create(){let e=this.renderer.createElement("span");this.renderer.addClass(e,"p-ink"),this.renderer.appendChild(this.el.nativeElement,e),this.renderer.setAttribute(e,"data-p-ink","true"),this.renderer.setAttribute(e,"data-p-ink-active","false"),this.renderer.setAttribute(e,"aria-hidden","true"),this.renderer.setAttribute(e,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(e,"animationend",this.onAnimationEnd.bind(this)))}remove(){let e=this.getInk();e&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,xh(e))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=q({type:t,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[$e([HE]),we]})}return t})();var $E=`
|
|
316
|
-
.p-button {
|
|
317
|
-
display: inline-flex;
|
|
318
|
-
cursor: pointer;
|
|
319
|
-
user-select: none;
|
|
320
|
-
align-items: center;
|
|
321
|
-
justify-content: center;
|
|
322
|
-
overflow: hidden;
|
|
323
|
-
position: relative;
|
|
324
|
-
color: dt('button.primary.color');
|
|
325
|
-
background: dt('button.primary.background');
|
|
326
|
-
border: 1px solid dt('button.primary.border.color');
|
|
327
|
-
padding: dt('button.padding.y') dt('button.padding.x');
|
|
328
|
-
font-size: 1rem;
|
|
329
|
-
font-family: inherit;
|
|
330
|
-
font-feature-settings: inherit;
|
|
331
|
-
transition:
|
|
332
|
-
background dt('button.transition.duration'),
|
|
333
|
-
color dt('button.transition.duration'),
|
|
334
|
-
border-color dt('button.transition.duration'),
|
|
335
|
-
outline-color dt('button.transition.duration'),
|
|
336
|
-
box-shadow dt('button.transition.duration');
|
|
337
|
-
border-radius: dt('button.border.radius');
|
|
338
|
-
outline-color: transparent;
|
|
339
|
-
gap: dt('button.gap');
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.p-button:disabled {
|
|
343
|
-
cursor: default;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.p-button-icon-right {
|
|
347
|
-
order: 1;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.p-button-icon-right:dir(rtl) {
|
|
351
|
-
order: -1;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
|
|
355
|
-
order: 1;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.p-button-icon-bottom {
|
|
359
|
-
order: 2;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.p-button-icon-only {
|
|
363
|
-
width: dt('button.icon.only.width');
|
|
364
|
-
padding-inline-start: 0;
|
|
365
|
-
padding-inline-end: 0;
|
|
366
|
-
gap: 0;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.p-button-icon-only.p-button-rounded {
|
|
370
|
-
border-radius: 50%;
|
|
371
|
-
height: dt('button.icon.only.width');
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.p-button-icon-only .p-button-label {
|
|
375
|
-
visibility: hidden;
|
|
376
|
-
width: 0;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.p-button-icon-only::after {
|
|
380
|
-
content: "\xA0";
|
|
381
|
-
visibility: hidden;
|
|
382
|
-
width: 0;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
.p-button-sm {
|
|
386
|
-
font-size: dt('button.sm.font.size');
|
|
387
|
-
padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.p-button-sm .p-button-icon {
|
|
391
|
-
font-size: dt('button.sm.font.size');
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.p-button-sm.p-button-icon-only {
|
|
395
|
-
width: dt('button.sm.icon.only.width');
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.p-button-sm.p-button-icon-only.p-button-rounded {
|
|
399
|
-
height: dt('button.sm.icon.only.width');
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.p-button-lg {
|
|
403
|
-
font-size: dt('button.lg.font.size');
|
|
404
|
-
padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.p-button-lg .p-button-icon {
|
|
408
|
-
font-size: dt('button.lg.font.size');
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.p-button-lg.p-button-icon-only {
|
|
412
|
-
width: dt('button.lg.icon.only.width');
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.p-button-lg.p-button-icon-only.p-button-rounded {
|
|
416
|
-
height: dt('button.lg.icon.only.width');
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.p-button-vertical {
|
|
420
|
-
flex-direction: column;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.p-button-label {
|
|
424
|
-
font-weight: dt('button.label.font.weight');
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
.p-button-fluid {
|
|
428
|
-
width: 100%;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
.p-button-fluid.p-button-icon-only {
|
|
432
|
-
width: dt('button.icon.only.width');
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.p-button:not(:disabled):hover {
|
|
436
|
-
background: dt('button.primary.hover.background');
|
|
437
|
-
border: 1px solid dt('button.primary.hover.border.color');
|
|
438
|
-
color: dt('button.primary.hover.color');
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
.p-button:not(:disabled):active {
|
|
442
|
-
background: dt('button.primary.active.background');
|
|
443
|
-
border: 1px solid dt('button.primary.active.border.color');
|
|
444
|
-
color: dt('button.primary.active.color');
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.p-button:focus-visible {
|
|
448
|
-
box-shadow: dt('button.primary.focus.ring.shadow');
|
|
449
|
-
outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
|
|
450
|
-
outline-offset: dt('button.focus.ring.offset');
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
.p-button .p-badge {
|
|
454
|
-
min-width: dt('button.badge.size');
|
|
455
|
-
height: dt('button.badge.size');
|
|
456
|
-
line-height: dt('button.badge.size');
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.p-button-raised {
|
|
460
|
-
box-shadow: dt('button.raised.shadow');
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.p-button-rounded {
|
|
464
|
-
border-radius: dt('button.rounded.border.radius');
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.p-button-secondary {
|
|
468
|
-
background: dt('button.secondary.background');
|
|
469
|
-
border: 1px solid dt('button.secondary.border.color');
|
|
470
|
-
color: dt('button.secondary.color');
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
.p-button-secondary:not(:disabled):hover {
|
|
474
|
-
background: dt('button.secondary.hover.background');
|
|
475
|
-
border: 1px solid dt('button.secondary.hover.border.color');
|
|
476
|
-
color: dt('button.secondary.hover.color');
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.p-button-secondary:not(:disabled):active {
|
|
480
|
-
background: dt('button.secondary.active.background');
|
|
481
|
-
border: 1px solid dt('button.secondary.active.border.color');
|
|
482
|
-
color: dt('button.secondary.active.color');
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
.p-button-secondary:focus-visible {
|
|
486
|
-
outline-color: dt('button.secondary.focus.ring.color');
|
|
487
|
-
box-shadow: dt('button.secondary.focus.ring.shadow');
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
.p-button-success {
|
|
491
|
-
background: dt('button.success.background');
|
|
492
|
-
border: 1px solid dt('button.success.border.color');
|
|
493
|
-
color: dt('button.success.color');
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
.p-button-success:not(:disabled):hover {
|
|
497
|
-
background: dt('button.success.hover.background');
|
|
498
|
-
border: 1px solid dt('button.success.hover.border.color');
|
|
499
|
-
color: dt('button.success.hover.color');
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
.p-button-success:not(:disabled):active {
|
|
503
|
-
background: dt('button.success.active.background');
|
|
504
|
-
border: 1px solid dt('button.success.active.border.color');
|
|
505
|
-
color: dt('button.success.active.color');
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.p-button-success:focus-visible {
|
|
509
|
-
outline-color: dt('button.success.focus.ring.color');
|
|
510
|
-
box-shadow: dt('button.success.focus.ring.shadow');
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.p-button-info {
|
|
514
|
-
background: dt('button.info.background');
|
|
515
|
-
border: 1px solid dt('button.info.border.color');
|
|
516
|
-
color: dt('button.info.color');
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
.p-button-info:not(:disabled):hover {
|
|
520
|
-
background: dt('button.info.hover.background');
|
|
521
|
-
border: 1px solid dt('button.info.hover.border.color');
|
|
522
|
-
color: dt('button.info.hover.color');
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
.p-button-info:not(:disabled):active {
|
|
526
|
-
background: dt('button.info.active.background');
|
|
527
|
-
border: 1px solid dt('button.info.active.border.color');
|
|
528
|
-
color: dt('button.info.active.color');
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.p-button-info:focus-visible {
|
|
532
|
-
outline-color: dt('button.info.focus.ring.color');
|
|
533
|
-
box-shadow: dt('button.info.focus.ring.shadow');
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.p-button-warn {
|
|
537
|
-
background: dt('button.warn.background');
|
|
538
|
-
border: 1px solid dt('button.warn.border.color');
|
|
539
|
-
color: dt('button.warn.color');
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.p-button-warn:not(:disabled):hover {
|
|
543
|
-
background: dt('button.warn.hover.background');
|
|
544
|
-
border: 1px solid dt('button.warn.hover.border.color');
|
|
545
|
-
color: dt('button.warn.hover.color');
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
.p-button-warn:not(:disabled):active {
|
|
549
|
-
background: dt('button.warn.active.background');
|
|
550
|
-
border: 1px solid dt('button.warn.active.border.color');
|
|
551
|
-
color: dt('button.warn.active.color');
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
.p-button-warn:focus-visible {
|
|
555
|
-
outline-color: dt('button.warn.focus.ring.color');
|
|
556
|
-
box-shadow: dt('button.warn.focus.ring.shadow');
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.p-button-help {
|
|
560
|
-
background: dt('button.help.background');
|
|
561
|
-
border: 1px solid dt('button.help.border.color');
|
|
562
|
-
color: dt('button.help.color');
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
.p-button-help:not(:disabled):hover {
|
|
566
|
-
background: dt('button.help.hover.background');
|
|
567
|
-
border: 1px solid dt('button.help.hover.border.color');
|
|
568
|
-
color: dt('button.help.hover.color');
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.p-button-help:not(:disabled):active {
|
|
572
|
-
background: dt('button.help.active.background');
|
|
573
|
-
border: 1px solid dt('button.help.active.border.color');
|
|
574
|
-
color: dt('button.help.active.color');
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.p-button-help:focus-visible {
|
|
578
|
-
outline-color: dt('button.help.focus.ring.color');
|
|
579
|
-
box-shadow: dt('button.help.focus.ring.shadow');
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
.p-button-danger {
|
|
583
|
-
background: dt('button.danger.background');
|
|
584
|
-
border: 1px solid dt('button.danger.border.color');
|
|
585
|
-
color: dt('button.danger.color');
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
.p-button-danger:not(:disabled):hover {
|
|
589
|
-
background: dt('button.danger.hover.background');
|
|
590
|
-
border: 1px solid dt('button.danger.hover.border.color');
|
|
591
|
-
color: dt('button.danger.hover.color');
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.p-button-danger:not(:disabled):active {
|
|
595
|
-
background: dt('button.danger.active.background');
|
|
596
|
-
border: 1px solid dt('button.danger.active.border.color');
|
|
597
|
-
color: dt('button.danger.active.color');
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
.p-button-danger:focus-visible {
|
|
601
|
-
outline-color: dt('button.danger.focus.ring.color');
|
|
602
|
-
box-shadow: dt('button.danger.focus.ring.shadow');
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
.p-button-contrast {
|
|
606
|
-
background: dt('button.contrast.background');
|
|
607
|
-
border: 1px solid dt('button.contrast.border.color');
|
|
608
|
-
color: dt('button.contrast.color');
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
.p-button-contrast:not(:disabled):hover {
|
|
612
|
-
background: dt('button.contrast.hover.background');
|
|
613
|
-
border: 1px solid dt('button.contrast.hover.border.color');
|
|
614
|
-
color: dt('button.contrast.hover.color');
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.p-button-contrast:not(:disabled):active {
|
|
618
|
-
background: dt('button.contrast.active.background');
|
|
619
|
-
border: 1px solid dt('button.contrast.active.border.color');
|
|
620
|
-
color: dt('button.contrast.active.color');
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.p-button-contrast:focus-visible {
|
|
624
|
-
outline-color: dt('button.contrast.focus.ring.color');
|
|
625
|
-
box-shadow: dt('button.contrast.focus.ring.shadow');
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
.p-button-outlined {
|
|
629
|
-
background: transparent;
|
|
630
|
-
border-color: dt('button.outlined.primary.border.color');
|
|
631
|
-
color: dt('button.outlined.primary.color');
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
.p-button-outlined:not(:disabled):hover {
|
|
635
|
-
background: dt('button.outlined.primary.hover.background');
|
|
636
|
-
border-color: dt('button.outlined.primary.border.color');
|
|
637
|
-
color: dt('button.outlined.primary.color');
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
.p-button-outlined:not(:disabled):active {
|
|
641
|
-
background: dt('button.outlined.primary.active.background');
|
|
642
|
-
border-color: dt('button.outlined.primary.border.color');
|
|
643
|
-
color: dt('button.outlined.primary.color');
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
.p-button-outlined.p-button-secondary {
|
|
647
|
-
border-color: dt('button.outlined.secondary.border.color');
|
|
648
|
-
color: dt('button.outlined.secondary.color');
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
.p-button-outlined.p-button-secondary:not(:disabled):hover {
|
|
652
|
-
background: dt('button.outlined.secondary.hover.background');
|
|
653
|
-
border-color: dt('button.outlined.secondary.border.color');
|
|
654
|
-
color: dt('button.outlined.secondary.color');
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
.p-button-outlined.p-button-secondary:not(:disabled):active {
|
|
658
|
-
background: dt('button.outlined.secondary.active.background');
|
|
659
|
-
border-color: dt('button.outlined.secondary.border.color');
|
|
660
|
-
color: dt('button.outlined.secondary.color');
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
.p-button-outlined.p-button-success {
|
|
664
|
-
border-color: dt('button.outlined.success.border.color');
|
|
665
|
-
color: dt('button.outlined.success.color');
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
.p-button-outlined.p-button-success:not(:disabled):hover {
|
|
669
|
-
background: dt('button.outlined.success.hover.background');
|
|
670
|
-
border-color: dt('button.outlined.success.border.color');
|
|
671
|
-
color: dt('button.outlined.success.color');
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.p-button-outlined.p-button-success:not(:disabled):active {
|
|
675
|
-
background: dt('button.outlined.success.active.background');
|
|
676
|
-
border-color: dt('button.outlined.success.border.color');
|
|
677
|
-
color: dt('button.outlined.success.color');
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.p-button-outlined.p-button-info {
|
|
681
|
-
border-color: dt('button.outlined.info.border.color');
|
|
682
|
-
color: dt('button.outlined.info.color');
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
.p-button-outlined.p-button-info:not(:disabled):hover {
|
|
686
|
-
background: dt('button.outlined.info.hover.background');
|
|
687
|
-
border-color: dt('button.outlined.info.border.color');
|
|
688
|
-
color: dt('button.outlined.info.color');
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.p-button-outlined.p-button-info:not(:disabled):active {
|
|
692
|
-
background: dt('button.outlined.info.active.background');
|
|
693
|
-
border-color: dt('button.outlined.info.border.color');
|
|
694
|
-
color: dt('button.outlined.info.color');
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
.p-button-outlined.p-button-warn {
|
|
698
|
-
border-color: dt('button.outlined.warn.border.color');
|
|
699
|
-
color: dt('button.outlined.warn.color');
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
.p-button-outlined.p-button-warn:not(:disabled):hover {
|
|
703
|
-
background: dt('button.outlined.warn.hover.background');
|
|
704
|
-
border-color: dt('button.outlined.warn.border.color');
|
|
705
|
-
color: dt('button.outlined.warn.color');
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
.p-button-outlined.p-button-warn:not(:disabled):active {
|
|
709
|
-
background: dt('button.outlined.warn.active.background');
|
|
710
|
-
border-color: dt('button.outlined.warn.border.color');
|
|
711
|
-
color: dt('button.outlined.warn.color');
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
.p-button-outlined.p-button-help {
|
|
715
|
-
border-color: dt('button.outlined.help.border.color');
|
|
716
|
-
color: dt('button.outlined.help.color');
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
.p-button-outlined.p-button-help:not(:disabled):hover {
|
|
720
|
-
background: dt('button.outlined.help.hover.background');
|
|
721
|
-
border-color: dt('button.outlined.help.border.color');
|
|
722
|
-
color: dt('button.outlined.help.color');
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
.p-button-outlined.p-button-help:not(:disabled):active {
|
|
726
|
-
background: dt('button.outlined.help.active.background');
|
|
727
|
-
border-color: dt('button.outlined.help.border.color');
|
|
728
|
-
color: dt('button.outlined.help.color');
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.p-button-outlined.p-button-danger {
|
|
732
|
-
border-color: dt('button.outlined.danger.border.color');
|
|
733
|
-
color: dt('button.outlined.danger.color');
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
.p-button-outlined.p-button-danger:not(:disabled):hover {
|
|
737
|
-
background: dt('button.outlined.danger.hover.background');
|
|
738
|
-
border-color: dt('button.outlined.danger.border.color');
|
|
739
|
-
color: dt('button.outlined.danger.color');
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
.p-button-outlined.p-button-danger:not(:disabled):active {
|
|
743
|
-
background: dt('button.outlined.danger.active.background');
|
|
744
|
-
border-color: dt('button.outlined.danger.border.color');
|
|
745
|
-
color: dt('button.outlined.danger.color');
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
.p-button-outlined.p-button-contrast {
|
|
749
|
-
border-color: dt('button.outlined.contrast.border.color');
|
|
750
|
-
color: dt('button.outlined.contrast.color');
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
.p-button-outlined.p-button-contrast:not(:disabled):hover {
|
|
754
|
-
background: dt('button.outlined.contrast.hover.background');
|
|
755
|
-
border-color: dt('button.outlined.contrast.border.color');
|
|
756
|
-
color: dt('button.outlined.contrast.color');
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
.p-button-outlined.p-button-contrast:not(:disabled):active {
|
|
760
|
-
background: dt('button.outlined.contrast.active.background');
|
|
761
|
-
border-color: dt('button.outlined.contrast.border.color');
|
|
762
|
-
color: dt('button.outlined.contrast.color');
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
.p-button-outlined.p-button-plain {
|
|
766
|
-
border-color: dt('button.outlined.plain.border.color');
|
|
767
|
-
color: dt('button.outlined.plain.color');
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
.p-button-outlined.p-button-plain:not(:disabled):hover {
|
|
771
|
-
background: dt('button.outlined.plain.hover.background');
|
|
772
|
-
border-color: dt('button.outlined.plain.border.color');
|
|
773
|
-
color: dt('button.outlined.plain.color');
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
.p-button-outlined.p-button-plain:not(:disabled):active {
|
|
777
|
-
background: dt('button.outlined.plain.active.background');
|
|
778
|
-
border-color: dt('button.outlined.plain.border.color');
|
|
779
|
-
color: dt('button.outlined.plain.color');
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
.p-button-text {
|
|
783
|
-
background: transparent;
|
|
784
|
-
border-color: transparent;
|
|
785
|
-
color: dt('button.text.primary.color');
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
.p-button-text:not(:disabled):hover {
|
|
789
|
-
background: dt('button.text.primary.hover.background');
|
|
790
|
-
border-color: transparent;
|
|
791
|
-
color: dt('button.text.primary.color');
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
.p-button-text:not(:disabled):active {
|
|
795
|
-
background: dt('button.text.primary.active.background');
|
|
796
|
-
border-color: transparent;
|
|
797
|
-
color: dt('button.text.primary.color');
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
.p-button-text.p-button-secondary {
|
|
801
|
-
background: transparent;
|
|
802
|
-
border-color: transparent;
|
|
803
|
-
color: dt('button.text.secondary.color');
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
.p-button-text.p-button-secondary:not(:disabled):hover {
|
|
807
|
-
background: dt('button.text.secondary.hover.background');
|
|
808
|
-
border-color: transparent;
|
|
809
|
-
color: dt('button.text.secondary.color');
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
.p-button-text.p-button-secondary:not(:disabled):active {
|
|
813
|
-
background: dt('button.text.secondary.active.background');
|
|
814
|
-
border-color: transparent;
|
|
815
|
-
color: dt('button.text.secondary.color');
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
.p-button-text.p-button-success {
|
|
819
|
-
background: transparent;
|
|
820
|
-
border-color: transparent;
|
|
821
|
-
color: dt('button.text.success.color');
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
.p-button-text.p-button-success:not(:disabled):hover {
|
|
825
|
-
background: dt('button.text.success.hover.background');
|
|
826
|
-
border-color: transparent;
|
|
827
|
-
color: dt('button.text.success.color');
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
.p-button-text.p-button-success:not(:disabled):active {
|
|
831
|
-
background: dt('button.text.success.active.background');
|
|
832
|
-
border-color: transparent;
|
|
833
|
-
color: dt('button.text.success.color');
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
.p-button-text.p-button-info {
|
|
837
|
-
background: transparent;
|
|
838
|
-
border-color: transparent;
|
|
839
|
-
color: dt('button.text.info.color');
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
.p-button-text.p-button-info:not(:disabled):hover {
|
|
843
|
-
background: dt('button.text.info.hover.background');
|
|
844
|
-
border-color: transparent;
|
|
845
|
-
color: dt('button.text.info.color');
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
.p-button-text.p-button-info:not(:disabled):active {
|
|
849
|
-
background: dt('button.text.info.active.background');
|
|
850
|
-
border-color: transparent;
|
|
851
|
-
color: dt('button.text.info.color');
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
.p-button-text.p-button-warn {
|
|
855
|
-
background: transparent;
|
|
856
|
-
border-color: transparent;
|
|
857
|
-
color: dt('button.text.warn.color');
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
.p-button-text.p-button-warn:not(:disabled):hover {
|
|
861
|
-
background: dt('button.text.warn.hover.background');
|
|
862
|
-
border-color: transparent;
|
|
863
|
-
color: dt('button.text.warn.color');
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
.p-button-text.p-button-warn:not(:disabled):active {
|
|
867
|
-
background: dt('button.text.warn.active.background');
|
|
868
|
-
border-color: transparent;
|
|
869
|
-
color: dt('button.text.warn.color');
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
.p-button-text.p-button-help {
|
|
873
|
-
background: transparent;
|
|
874
|
-
border-color: transparent;
|
|
875
|
-
color: dt('button.text.help.color');
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
.p-button-text.p-button-help:not(:disabled):hover {
|
|
879
|
-
background: dt('button.text.help.hover.background');
|
|
880
|
-
border-color: transparent;
|
|
881
|
-
color: dt('button.text.help.color');
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
.p-button-text.p-button-help:not(:disabled):active {
|
|
885
|
-
background: dt('button.text.help.active.background');
|
|
886
|
-
border-color: transparent;
|
|
887
|
-
color: dt('button.text.help.color');
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
.p-button-text.p-button-danger {
|
|
891
|
-
background: transparent;
|
|
892
|
-
border-color: transparent;
|
|
893
|
-
color: dt('button.text.danger.color');
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
.p-button-text.p-button-danger:not(:disabled):hover {
|
|
897
|
-
background: dt('button.text.danger.hover.background');
|
|
898
|
-
border-color: transparent;
|
|
899
|
-
color: dt('button.text.danger.color');
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
.p-button-text.p-button-danger:not(:disabled):active {
|
|
903
|
-
background: dt('button.text.danger.active.background');
|
|
904
|
-
border-color: transparent;
|
|
905
|
-
color: dt('button.text.danger.color');
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
.p-button-text.p-button-contrast {
|
|
909
|
-
background: transparent;
|
|
910
|
-
border-color: transparent;
|
|
911
|
-
color: dt('button.text.contrast.color');
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
.p-button-text.p-button-contrast:not(:disabled):hover {
|
|
915
|
-
background: dt('button.text.contrast.hover.background');
|
|
916
|
-
border-color: transparent;
|
|
917
|
-
color: dt('button.text.contrast.color');
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
.p-button-text.p-button-contrast:not(:disabled):active {
|
|
921
|
-
background: dt('button.text.contrast.active.background');
|
|
922
|
-
border-color: transparent;
|
|
923
|
-
color: dt('button.text.contrast.color');
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
.p-button-text.p-button-plain {
|
|
927
|
-
background: transparent;
|
|
928
|
-
border-color: transparent;
|
|
929
|
-
color: dt('button.text.plain.color');
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
.p-button-text.p-button-plain:not(:disabled):hover {
|
|
933
|
-
background: dt('button.text.plain.hover.background');
|
|
934
|
-
border-color: transparent;
|
|
935
|
-
color: dt('button.text.plain.color');
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
.p-button-text.p-button-plain:not(:disabled):active {
|
|
939
|
-
background: dt('button.text.plain.active.background');
|
|
940
|
-
border-color: transparent;
|
|
941
|
-
color: dt('button.text.plain.color');
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
.p-button-link {
|
|
945
|
-
background: transparent;
|
|
946
|
-
border-color: transparent;
|
|
947
|
-
color: dt('button.link.color');
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
.p-button-link:not(:disabled):hover {
|
|
951
|
-
background: transparent;
|
|
952
|
-
border-color: transparent;
|
|
953
|
-
color: dt('button.link.hover.color');
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
.p-button-link:not(:disabled):hover .p-button-label {
|
|
957
|
-
text-decoration: underline;
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
.p-button-link:not(:disabled):active {
|
|
961
|
-
background: transparent;
|
|
962
|
-
border-color: transparent;
|
|
963
|
-
color: dt('button.link.active.color');
|
|
964
|
-
}
|
|
965
|
-
`;var ZA=["content"],KA=["loadingicon"],YA=["icon"],QA=["*"],GE=(t,n)=>({class:t,pt:n});function JA(t,n){t&1&&Lc(0)}function XA(t,n){if(t&1&&yn(0,"span",7),t&2){let e=yt(3);Ve(e.cn(e.cx("loadingIcon"),"pi-spin",e.loadingIcon||(e.buttonProps==null?null:e.buttonProps.loadingIcon))),ue("pBind",e.ptm("loadingIcon")),Ke("aria-hidden",!0)}}function eR(t,n){if(t&1&&(ho(),yn(0,"svg",8)),t&2){let e=yt(3);Ve(e.cn(e.cx("loadingIcon"),e.cx("spinnerIcon"))),ue("pBind",e.ptm("loadingIcon"))("spin",!0),Ke("aria-hidden",!0)}}function tR(t,n){if(t&1&&(kr(0),mn(1,XA,1,4,"span",3)(2,eR,1,5,"svg",6),zn()),t&2){let e=yt(2);Le(),ue("ngIf",e.loadingIcon||(e.buttonProps==null?null:e.buttonProps.loadingIcon)),Le(),ue("ngIf",!(e.loadingIcon||e.buttonProps!=null&&e.buttonProps.loadingIcon))}}function nR(t,n){}function rR(t,n){if(t&1&&mn(0,nR,0,0,"ng-template",9),t&2){let e=yt(2);ue("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function oR(t,n){if(t&1&&(kr(0),mn(1,tR,3,2,"ng-container",2)(2,rR,1,1,null,5),zn()),t&2){let e=yt();Le(),ue("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),Le(),ue("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)("ngTemplateOutletContext",Bc(3,GE,e.cx("loadingIcon"),e.ptm("loadingIcon")))}}function iR(t,n){if(t&1&&yn(0,"span",7),t&2){let e=yt(2);Ve(e.cn(e.cx("icon"),e.icon||(e.buttonProps==null?null:e.buttonProps.icon))),ue("pBind",e.ptm("icon")),Ke("data-p",e.dataIconP)}}function sR(t,n){}function aR(t,n){if(t&1&&mn(0,sR,0,0,"ng-template",9),t&2){let e=yt(2);ue("ngIf",!e.icon&&(e.iconTemplate||e._iconTemplate))}}function cR(t,n){if(t&1&&(kr(0),mn(1,iR,1,4,"span",3)(2,aR,1,1,null,5),zn()),t&2){let e=yt();Le(),ue("ngIf",(e.icon||(e.buttonProps==null?null:e.buttonProps.icon))&&!e.iconTemplate&&!e._iconTemplate),Le(),ue("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)("ngTemplateOutletContext",Bc(3,GE,e.cx("icon"),e.ptm("icon")))}}function lR(t,n){if(t&1&&(Nr(0,"span",7),ts(1),No()),t&2){let e=yt();Ve(e.cx("label")),ue("pBind",e.ptm("label")),Ke("aria-hidden",(e.icon||(e.buttonProps==null?null:e.buttonProps.icon))&&!(e.label||e.buttonProps!=null&&e.buttonProps.label))("data-p",e.dataLabelP),Le(),ko(e.label||(e.buttonProps==null?null:e.buttonProps.label))}}function uR(t,n){if(t&1&&yn(0,"p-badge",10),t&2){let e=yt();ue("value",e.badge||(e.buttonProps==null?null:e.buttonProps.badge))("severity",e.badgeSeverity||(e.buttonProps==null?null:e.buttonProps.badgeSeverity))("pt",e.ptm("pcBadge"))("unstyled",e.unstyled())}}var dR={root:({instance:t})=>["p-button p-component",{"p-button-icon-only":t.hasIcon&&!t.label&&!t.buttonProps?.label&&!t.badge,"p-button-vertical":(t.iconPos==="top"||t.iconPos==="bottom")&&t.label,"p-button-loading":t.loading||t.buttonProps?.loading,"p-button-link":t.link||t.buttonProps?.link,[`p-button-${t.severity||t.buttonProps?.severity}`]:t.severity||t.buttonProps?.severity,"p-button-raised":t.raised||t.buttonProps?.raised,"p-button-rounded":t.rounded||t.buttonProps?.rounded,"p-button-text":t.text||t.variant==="text"||t.buttonProps?.text||t.buttonProps?.variant==="text","p-button-outlined":t.outlined||t.variant==="outlined"||t.buttonProps?.outlined||t.buttonProps?.variant==="outlined","p-button-sm":t.size==="small"||t.buttonProps?.size==="small","p-button-lg":t.size==="large"||t.buttonProps?.size==="large","p-button-plain":t.plain||t.buttonProps?.plain,"p-button-fluid":t.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({instance:t})=>["p-button-icon",{[`p-button-icon-${t.iconPos||t.buttonProps?.iconPos}`]:t.label||t.buttonProps?.label,"p-button-icon-left":(t.iconPos==="left"||t.buttonProps?.iconPos==="left")&&t.label||t.buttonProps?.label,"p-button-icon-right":(t.iconPos==="right"||t.buttonProps?.iconPos==="right")&&t.label||t.buttonProps?.label,"p-button-icon-top":(t.iconPos==="top"||t.buttonProps?.iconPos==="top")&&t.label||t.buttonProps?.label,"p-button-icon-bottom":(t.iconPos==="bottom"||t.buttonProps?.iconPos==="bottom")&&t.label||t.buttonProps?.label},t.icon,t.buttonProps?.icon],spinnerIcon:({instance:t})=>Object.entries(t.cx("icon")).filter(([,n])=>!!n).reduce((n,[e])=>n+` ${e}`,"p-button-loading-icon"),label:"p-button-label"},zE=(()=>{class t extends Se{name="button";style=$E;classes=dR;static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();var WE=new D("BUTTON_INSTANCE");var fR=(()=>{class t extends Ye{componentName="Button";hostName="";$pcButton=h(WE,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(it,{self:!0});_componentStyle=h(zE);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}type="button";badge;disabled;raised=!1;rounded=!1;text=!1;plain=!1;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;iconPos="left";icon;label;loading=!1;loadingIcon;severity;buttonProps;fluid=oe(void 0,{transform:te});onClick=new me;onFocus=new me;onBlur=new me;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=h(LE,{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(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"icon":this._iconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;default:this._contentTemplate=e.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 e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275cmp=Fe({type:t,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&Oo(i,ZA,5)(i,KA,5)(i,YA,5)(i,wE,4),r&2){let s;Wn(s=Gn())&&(o.contentTemplate=s.first),Wn(s=Gn())&&(o.loadingIconTemplate=s.first),Wn(s=Gn())&&(o.iconTemplate=s.first),Wn(s=Gn())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",te],raised:[2,"raised","raised",te],rounded:[2,"rounded","rounded",te],text:[2,"text","text",te],plain:[2,"plain","plain",te],outlined:[2,"outlined","outlined",te],link:[2,"link","link",te],tabindex:[2,"tabindex","tabindex",qn],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",te],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",te],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[$e([zE,{provide:WE,useExisting:t},{provide:wn,useExisting:t}]),xr([it]),we],ngContentSelectors:QA,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&&(Yt(),Nr(0,"button",0),xo("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),Qt(1),mn(2,JA,1,0,"ng-container",1)(3,oR,3,6,"ng-container",2)(4,cR,3,6,"ng-container",2)(5,lR,2,6,"span",3)(6,uR,1,4,"p-badge",4),No()),r&2&&(Ve(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),ue("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")),Ke("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)),Le(2),ue("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),Le(),ue("ngIf",o.loading||(o.buttonProps==null?null:o.buttonProps.loading)),Le(),ue("ngIf",!(o.loading||o.buttonProps!=null&&o.buttonProps.loading)),Le(),ue("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.label||(o.buttonProps==null?null:o.buttonProps.label))),Le(),ue("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.badge||(o.buttonProps==null?null:o.buttonProps.badge))))},dependencies:[kt,Ip,wp,Cp,VE,NE,BE,OE,bh,Xn,it],encapsulation:2,changeDetection:0})}return t})(),$W=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ve({type:t});static \u0275inj=fe({imports:[kt,fR,Xn,Xn]})}return t})();var qE=class t{static isArray(n,e=!0){return Array.isArray(n)&&(e||n.length!==0)}static isObject(n,e=!0){return typeof n=="object"&&!Array.isArray(n)&&n!=null&&(e||Object.keys(n).length!==0)}static equals(n,e,r){return r?this.resolveFieldData(n,r)===this.resolveFieldData(e,r):this.equalsByValue(n,e)}static equalsByValue(n,e){if(n===e)return!0;if(n&&e&&typeof n=="object"&&typeof e=="object"){var r=Array.isArray(n),o=Array.isArray(e),i,s,a;if(r&&o){if(s=n.length,s!=e.length)return!1;for(i=s;i--!==0;)if(!this.equalsByValue(n[i],e[i]))return!1;return!0}if(r!=o)return!1;var c=this.isDate(n),l=this.isDate(e);if(c!=l)return!1;if(c&&l)return n.getTime()==e.getTime();var u=n instanceof RegExp,d=e instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==e.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(e).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.equalsByValue(n[a],e[a]))return!1;return!0}return n!==n&&e!==e}static resolveFieldData(n,e){if(n&&e){if(this.isFunction(e))return e(n);if(e.indexOf(".")==-1)return n[e];{let r=e.split("."),o=n;for(let i=0,s=r.length;i<s;++i){if(o==null)return null;o=o[r[i]]}return o}}else return null}static isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)}static reorderArray(n,e,r){let o;n&&e!==r&&(r>=n.length&&(r%=n.length,e%=n.length),n.splice(r,0,n.splice(e,1)[0]))}static insertIntoOrderedArray(n,e,r,o){if(r.length>0){let i=!1;for(let s=0;s<r.length;s++)if(this.findIndexInList(r[s],o)>e){r.splice(s,0,n),i=!0;break}i||r.push(n)}else r.push(n)}static findIndexInList(n,e){let r=-1;if(e){for(let o=0;o<e.length;o++)if(e[o]==n){r=o;break}}return r}static contains(n,e){if(n!=null&&e&&e.length){for(let r of e)if(this.equals(n,r))return!0}return!1}static removeAccents(n){return n&&(n=n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),n}static isDate(n){return Object.prototype.toString.call(n)==="[object Date]"}static isEmpty(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!this.isDate(n)&&typeof n=="object"&&Object.keys(n).length===0}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,e,r,o=1){let i=-1,s=this.isEmpty(n),a=this.isEmpty(e);return s&&a?i=0:s?i=o:a?i=-o:typeof n=="string"&&typeof e=="string"?i=n.localeCompare(e,r,{numeric:!0}):i=n<e?-1:n>e?1:0,i}static sort(n,e,r=1,o,i=1){let s=t.compare(n,e,o,r),a=r;return(t.isEmpty(n)||t.isEmpty(e))&&(a=i===1?r:i),a*s}static merge(n,e){if(!(n==null&&e==null)){{if((n==null||typeof n=="object")&&(e==null||typeof e=="object"))return g(g({},n||{}),e||{});if((n==null||typeof n=="string")&&(e==null||typeof e=="string"))return[n||"",e||""].join(" ")}return e||n}}static isPrintableCharacter(n=""){return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}static getItemValue(n,...e){return this.isFunction(n)?n(...e):n}static findLastIndex(n,e){let r=-1;if(this.isNotEmpty(n))try{r=n.findLastIndex(e)}catch{r=n.lastIndexOf([...n].reverse().find(e))}return r}static findLast(n,e){let r;if(this.isNotEmpty(n))try{r=n.findLast(e)}catch{r=[...n].reverse().find(e)}return r}static deepEquals(n,e){if(n===e)return!0;if(n&&e&&typeof n=="object"&&typeof e=="object"){var r=Array.isArray(n),o=Array.isArray(e),i,s,a;if(r&&o){if(s=n.length,s!=e.length)return!1;for(i=s;i--!==0;)if(!this.deepEquals(n[i],e[i]))return!1;return!0}if(r!=o)return!1;var c=n instanceof Date,l=e instanceof Date;if(c!=l)return!1;if(c&&l)return n.getTime()==e.getTime();var u=n instanceof RegExp,d=e instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==e.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(e).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.deepEquals(n[a],e[a]))return!1;return!0}return n!==n&&e!==e}static minifyCSS(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(n){return this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}static isString(n,e=!0){return typeof n=="string"&&(e||n!=="")}},ZE=0;function GW(t="pn_id_"){return ZE++,`${t}${ZE}`}function pR(){let t=[],n=(i,s)=>{let a=t.length>0?t[t.length-1]:{key:i,value:s},c=a.value+(a.key===i?0:s)+2;return t.push({key:i,value:c}),c},e=i=>{t=t.filter(s=>s.value!==i)},r=()=>t.length>0?t[t.length-1].value:0,o=i=>i&&parseInt(i.style.zIndex,10)||0;return{get:o,set:(i,s,a)=>{s&&(s.style.zIndex=String(n(i,a)))},clear:i=>{i&&(e(o(i)),i.style.zIndex="")},getCurrent:()=>r(),generateZIndex:n,revertZIndex:e}}var Pl=pR();var KE=`
|
|
966
|
-
.p-tooltip {
|
|
967
|
-
position: absolute;
|
|
968
|
-
display: none;
|
|
969
|
-
max-width: dt('tooltip.max.width');
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
.p-tooltip-right,
|
|
973
|
-
.p-tooltip-left {
|
|
974
|
-
padding: 0 dt('tooltip.gutter');
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
.p-tooltip-top,
|
|
978
|
-
.p-tooltip-bottom {
|
|
979
|
-
padding: dt('tooltip.gutter') 0;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
.p-tooltip-text {
|
|
983
|
-
white-space: pre-line;
|
|
984
|
-
word-break: break-word;
|
|
985
|
-
background: dt('tooltip.background');
|
|
986
|
-
color: dt('tooltip.color');
|
|
987
|
-
padding: dt('tooltip.padding');
|
|
988
|
-
box-shadow: dt('tooltip.shadow');
|
|
989
|
-
border-radius: dt('tooltip.border.radius');
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
.p-tooltip-arrow {
|
|
993
|
-
position: absolute;
|
|
994
|
-
width: 0;
|
|
995
|
-
height: 0;
|
|
996
|
-
border-color: transparent;
|
|
997
|
-
border-style: solid;
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
.p-tooltip-right .p-tooltip-arrow {
|
|
1001
|
-
margin-top: calc(-1 * dt('tooltip.gutter'));
|
|
1002
|
-
border-width: dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter') 0;
|
|
1003
|
-
border-right-color: dt('tooltip.background');
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
.p-tooltip-left .p-tooltip-arrow {
|
|
1007
|
-
margin-top: calc(-1 * dt('tooltip.gutter'));
|
|
1008
|
-
border-width: dt('tooltip.gutter') 0 dt('tooltip.gutter') dt('tooltip.gutter');
|
|
1009
|
-
border-left-color: dt('tooltip.background');
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
.p-tooltip-top .p-tooltip-arrow {
|
|
1013
|
-
margin-left: calc(-1 * dt('tooltip.gutter'));
|
|
1014
|
-
border-width: dt('tooltip.gutter') dt('tooltip.gutter') 0 dt('tooltip.gutter');
|
|
1015
|
-
border-top-color: dt('tooltip.background');
|
|
1016
|
-
border-bottom-color: dt('tooltip.background');
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
.p-tooltip-bottom .p-tooltip-arrow {
|
|
1020
|
-
margin-left: calc(-1 * dt('tooltip.gutter'));
|
|
1021
|
-
border-width: 0 dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter');
|
|
1022
|
-
border-top-color: dt('tooltip.background');
|
|
1023
|
-
border-bottom-color: dt('tooltip.background');
|
|
1024
|
-
}
|
|
1025
|
-
`;var hR={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},YE=(()=>{class t extends Se{name="tooltip";style=KE;classes=hR;static \u0275fac=(()=>{let e;return function(o){return(e||(e=W(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();var QE=new D("TOOLTIP_INSTANCE"),lG=(()=>{class t extends Ye{zone;viewContainer;componentName="Tooltip";$pcTooltip=h(QE,{optional:!0,skipSelf:!0})??void 0;tooltipPosition;tooltipEvent="hover";positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;showOnEllipsis=!1;content;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}tooltipOptions;appendTo=oe(void 0);$appendTo=ee(()=>this.appendTo()||this.config.overlayAppendTo());_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,showOnEllipsis:!1,id:zr("pn_id_")+"_tooltip"};_disabled;container;styleClass;tooltipText;rootPTClasses="";showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;touchStartListener;touchEndListener;documentTouchListener;documentEscapeListener;scrollHandler;resizeListener;_componentStyle=h(YE);interactionInProgress=!1;ptTooltip=oe();pTooltipPT=oe();pTooltipUnstyled=oe();constructor(e,r){super(),this.zone=e,this.viewContainer=r,Ce(()=>{let o=this.ptTooltip()||this.pTooltipPT();o&&this.directivePT.set(o)}),Ce(()=>{this.pTooltipUnstyled()&&this.directiveUnstyled.set(this.pTooltipUnstyled())})}onAfterViewInit(){Fr(this.platformId)&&this.zone.runOutsideAngular(()=>{let e=this.getOption("tooltipEvent");if((e==="hover"||e==="both")&&(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener),this.touchStartListener=this.onTouchStart.bind(this),this.touchEndListener=this.onTouchEnd.bind(this),this.el.nativeElement.addEventListener("touchstart",this.touchStartListener,{passive:!0}),this.el.nativeElement.addEventListener("touchend",this.touchEndListener,{passive:!0})),e==="focus"||e==="both"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let r=this.el.nativeElement.querySelector(".p-component");r||(r=this.getTarget(this.el.nativeElement)),r.addEventListener("focus",this.focusListener),r.addEventListener("blur",this.blurListener)}})}onChanges(e){e.tooltipPosition&&this.setOption({tooltipPosition:e.tooltipPosition.currentValue}),e.tooltipEvent&&this.setOption({tooltipEvent:e.tooltipEvent.currentValue}),e.appendTo&&this.setOption({appendTo:e.appendTo.currentValue}),e.positionStyle&&this.setOption({positionStyle:e.positionStyle.currentValue}),e.tooltipStyleClass&&this.setOption({tooltipStyleClass:e.tooltipStyleClass.currentValue}),e.tooltipZIndex&&this.setOption({tooltipZIndex:e.tooltipZIndex.currentValue}),e.escape&&this.setOption({escape:e.escape.currentValue}),e.showDelay&&this.setOption({showDelay:e.showDelay.currentValue}),e.hideDelay&&this.setOption({hideDelay:e.hideDelay.currentValue}),e.life&&this.setOption({life:e.life.currentValue}),e.positionTop&&this.setOption({positionTop:e.positionTop.currentValue}),e.positionLeft&&this.setOption({positionLeft:e.positionLeft.currentValue}),e.disabled&&this.setOption({disabled:e.disabled.currentValue}),e.content&&(this.setOption({tooltipLabel:e.content.currentValue}),this.active&&(e.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),e.autoHide&&this.setOption({autoHide:e.autoHide.currentValue}),e.showOnEllipsis&&this.setOption({showOnEllipsis:e.showOnEllipsis.currentValue}),e.id&&this.setOption({id:e.id.currentValue}),e.tooltipOptions&&(this._tooltipOptions=g(g({},this._tooltipOptions),e.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(e){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(e){this.isAutoHide()?this.deactivate():!(Wr(e.relatedTarget,"p-tooltip")||Wr(e.relatedTarget,"p-tooltip-text")||Wr(e.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onTouchStart(e){!this.container&&!this.showTimeout&&(this.activate(),this.isAutoHide()||this.bindDocumentTouchListener())}onTouchEnd(e){this.isAutoHide()&&this.deactivate()}bindDocumentTouchListener(){this.documentTouchListener||(this.documentTouchListener=this.renderer.listen("document","touchstart",e=>{this.container&&!this.container.contains(e.target)&&!this.el.nativeElement.contains(e.target)&&(this.deactivate(),this.unbindDocumentTouchListener())}))}unbindDocumentTouchListener(){this.documentTouchListener&&(this.documentTouchListener(),this.documentTouchListener=null)}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}hasEllipsis(){let e=this.el.nativeElement;return e.offsetWidth<e.scrollWidth||e.offsetHeight<e.scrollHeight}activate(){if(!this.interactionInProgress){if(this.getOption("showOnEllipsis")&&!this.hasEllipsis())return;if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let e=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},e)}this.getOption("hideOnEscape")&&(this.documentEscapeListener=this.renderer.listen("document","keydown.escape",()=>{this.deactivate(),this.documentEscapeListener?.()})),this.interactionInProgress=!0}}deactivate(){this.interactionInProgress=!1,this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide(),this.documentEscapeListener&&this.documentEscapeListener()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=ti("div",{class:this.cx("root"),"p-bind":this.ptm("root"),"data-pc-section":"root"}),this.container.setAttribute("role","tooltip");let e=ti("div",{class:this.cx("arrow"),"p-bind":this.ptm("arrow"),"data-pc-section":"arrow"});this.container.appendChild(e),this.tooltipText=ti("div",{class:this.cx("text"),"p-bind":this.ptm("text"),"data-pc-section":"text"}),this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),this.getOption("appendTo")==="body"?document.body.appendChild(this.container):this.getOption("appendTo")==="target"?Vl(this.container,this.el.nativeElement):Vl(this.getOption("appendTo"),this.container),this.container.style.display="none",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){if(!this.containerMouseleaveListener){let e=this.container??this.container.nativeElement;this.containerMouseleaveListener=this.renderer.listen(e,"mouseleave",r=>{this.deactivate()})}}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){if(!this.getOption("tooltipLabel")||this.getOption("disabled"))return;this.create(),this.el.nativeElement.closest("p-dialog")?setTimeout(()=>{this.container&&(this.container.style.display="inline-block"),this.container&&this.align()},100):(this.container.style.display="inline-block",this.align()),Ah(this.container,250),this.getOption("tooltipZIndex")==="auto"?Pl.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&Pl.clear(this.container),this.remove()}updateText(){let e=this.getOption("tooltipLabel");if(e&&typeof e.createEmbeddedView=="function"){let r=this.viewContainer.createEmbeddedView(e);r.detectChanges(),r.rootNodes.forEach(o=>this.tooltipText.appendChild(o))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(e))):this.tooltipText.innerHTML=e}align(){let e=this.getOption("tooltipPosition"),o={top:[this.alignTop,this.alignBottom,this.alignRight,this.alignLeft],bottom:[this.alignBottom,this.alignTop,this.alignRight,this.alignLeft],left:[this.alignLeft,this.alignRight,this.alignTop,this.alignBottom],right:[this.alignRight,this.alignLeft,this.alignTop,this.alignBottom]}[e]||[];for(let[i,s]of o.entries())if(i===0)s.call(this);else if(this.isOutOfBounds())s.call(this);else break}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let e=this.el.nativeElement.getBoundingClientRect(),r=e.left+_h(),o=e.top+Mh();return{left:r,top:o}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.startsWith("P-")?Rs(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let e=this.activeElement,r=st(e),o=(Ft(e)-Ft(this.container))/2;this.alignTooltip(r,o);let i=this.getArrowElement();i.style.top="50%",i.style.right=null,i.style.bottom=null,i.style.left="0"}alignLeft(){this.preAlign("left");let e=this.getArrowElement(),r=st(this.container),o=(Ft(this.el.nativeElement)-Ft(this.container))/2;this.alignTooltip(-r,o),e.style.top="50%",e.style.right="0",e.style.bottom=null,e.style.left=null}alignTop(){this.preAlign("top");let e=this.getArrowElement(),r=this.getHostOffset(),o=st(this.container),i=(st(this.el.nativeElement)-st(this.container))/2,s=Ft(this.container);this.alignTooltip(i,-s);let a=r.left-this.getHostOffset().left+o/2;e.style.top=null,e.style.right=null,e.style.bottom="0",e.style.left=a+"px"}getArrowElement(){return Rs(this.container,'[data-pc-section="arrow"]')}alignBottom(){this.preAlign("bottom");let e=this.getArrowElement(),r=st(this.container),o=this.getHostOffset(),i=(st(this.el.nativeElement)-st(this.container))/2,s=Ft(this.el.nativeElement);this.alignTooltip(i,s);let a=o.left-this.getHostOffset().left+r/2;e.style.top="0",e.style.right=null,e.style.bottom=null,e.style.left=a+"px"}alignTooltip(e,r){let o=this.getHostOffset(),i=o.left+e,s=o.top+r;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions=g(g({},this._tooltipOptions),e)}getOption(e){return this._tooltipOptions[e]}getTarget(e){return Wr(e,"p-inputwrapper")?Rs(e,"input"):e}preAlign(e){this.container.style.left="-999px",this.container.style.top="-999px",this.container.className=this.cn(this.cx("root"),this.ptm("root")?.class,"p-tooltip-"+e,this.getOption("tooltipStyleClass"))}isOutOfBounds(){let e=this.container.getBoundingClientRect(),r=e.top,o=e.left,i=st(this.container),s=Ft(this.container),a=Sh();return o+i>a.width||o<0||r<0||r+s>a.height}onWindowResize(e){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new kl(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){let e=this.getOption("tooltipEvent");if((e==="hover"||e==="both")&&(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener),this.el.nativeElement.removeEventListener("touchstart",this.touchStartListener),this.el.nativeElement.removeEventListener("touchend",this.touchEndListener),this.unbindDocumentTouchListener()),e==="focus"||e==="both"){let r=this.el.nativeElement.querySelector(".p-component");r||(r=this.getTarget(this.el.nativeElement)),r.removeEventListener("focus",this.focusListener),r.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):Oh(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.unbindDocumentTouchListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}onDestroy(){this.unbindEvents(),this.container&&Pl.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(r){return new(r||t)(P(ce),P(mt))};static \u0275dir=q({type:t,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:[2,"escape","escape",te],showDelay:[2,"showDelay","showDelay",qn],hideDelay:[2,"hideDelay","hideDelay",qn],life:[2,"life","life",qn],positionTop:[2,"positionTop","positionTop",qn],positionLeft:[2,"positionLeft","positionLeft",qn],autoHide:[2,"autoHide","autoHide",te],fitContent:[2,"fitContent","fitContent",te],hideOnEscape:[2,"hideOnEscape","hideOnEscape",te],showOnEllipsis:[2,"showOnEllipsis","showOnEllipsis",te],content:[0,"pTooltip","content"],disabled:[0,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions",appendTo:[1,"appendTo"],ptTooltip:[1,"ptTooltip"],pTooltipPT:[1,"pTooltipPT"],pTooltipUnstyled:[1,"pTooltipUnstyled"]},features:[$e([YE,{provide:QE,useExisting:t},{provide:wn,useExisting:t}]),we]})}return t})(),uG=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ve({type:t});static \u0275inj=fe({imports:[As,As]})}return t})();var XE=new D("DATA_SOURCE"),JE=class extends Error{code;details;constructor(n,e,r){super(e),this.name="DataSourceError",this.code=n,this.details=r}};var eI=class t{dataSource=h(XE);destroyRef=h(ge);_nodes=T([]);_scan=T(null);_loading=T(!1);_error=T(null);pendingRefresh=!1;nodes=this._nodes.asReadonly();scan=this._scan.asReadonly();loading=this._loading.asReadonly();error=this._error.asReadonly();count=ee(()=>this._nodes().length);byKind=ee(()=>{let n=new Map;for(let e of this._nodes()){let r=n.get(e.kind);r?r.push(e):n.set(e.kind,[e])}return n});hasAnyFavorites=ee(()=>this._nodes().some(n=>n.isFavorite===!0));constructor(){this.dataSource.events().pipe(Ge(n=>n.type==="scan.completed"),TE(this.destroyRef)).subscribe(()=>{this.load()})}setFavoriteLocal(n,e){this._nodes.update(r=>{let o=!1,i=r.map(s=>s.path!==n||s.isFavorite===e?s:(o=!0,x(g({},s),{isFavorite:e})));return o?i:r})}async toggleFavorite(n,e){this.setFavoriteLocal(n,e);try{return e?await this.dataSource.setFavorite(n):await this.dataSource.unsetFavorite(n),e}catch(r){this.setFavoriteLocal(n,!e);let o=r instanceof Error?r.message:String(r);return this._error.set(o),!e}}patchSidecarFromBump(n){this._nodes.update(e=>{let r=!1,o=e.map(i=>{if(i.path!==n.nodePath)return i;r=!0;let s=i.sidecar,a=g({},s?.annotations??{});return n.version!==null&&(a.version=n.version),x(g({},i),{sidecar:g({present:!0,status:n.status,annotations:a},s?.root===void 0?{}:{root:s.root})})});return r?o:e})}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(gR))}catch(n){let e=n instanceof Error?n.message:String(n);this._error.set(e)}finally{this._loading.set(!1),this.pendingRefresh&&(this.pendingRefresh=!1,queueMicrotask(()=>{this.load()}))}}static \u0275fac=function(e){return new(e||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})};function gR(t){let n=t.kind,e=t.frontmatter??{},r=x(g({},e),{name:typeof e.name=="string"?e.name:t.title??"",description:typeof e.description=="string"?e.description:t.description??""}),o={path:t.path,kind:n,provider:t.provider,frontmatter:r,linksOutCount:t.linksOutCount,linksInCount:t.linksInCount,externalRefsCount:t.externalRefsCount,bytesTotal:t.bytes?.total,tokensTotal:t.tokens?.total,bodyHash:t.bodyHash,frontmatterHash:t.frontmatterHash,isFavorite:t.isFavorite===!0};return t.sidecar&&(o.sidecar=g({},t.sidecar)),o}var mR=new Set(["stale-body","stale-frontmatter","stale-both"]);function tI(t){return t?mR.has(t.status??null):!1}function Dh(t){let n=t.metadata;return n&&typeof n=="object"&&!Array.isArray(n)?n:null}function Ll(t,n,e){return[Math.round(t[0]+(n[0]-t[0])*e),Math.round(t[1]+(n[1]-t[1])*e),Math.round(t[2]+(n[2]-t[2])*e)]}function yR(t){let n=/^#([0-9a-f]{6})$/i.exec(t);if(!n)throw new Error(`deriveTints: invalid hex color "${t}" (expected #RRGGBB)`);let e=parseInt(n[1],16);return[e>>16&255,e>>8&255,e&255]}function Fl([t,n,e]){let r=o=>Math.max(0,Math.min(255,o)).toString(16).padStart(2,"0");return`#${r(t)}${r(n)}${r(e)}`}var nI=[255,255,255],rI=[0,0,0];function Eh(t,n){let e=yR(t);return n==="light"?{bg:Fl(Ll(e,nI,.85)),fg:Fl(Ll(e,rI,.5))}:{bg:Fl(Ll(e,rI,.7)),fg:Fl(Ll(e,nI,.6))}}var jl=class t{_entries=T([]);kinds=this._entries.asReadonly();index=ee(()=>{let n=new Map;for(let e of this._entries())n.set(e.name,e);return n});ingest(n){if(!n)return;let e=[];for(let[o,i]of Object.entries(n)){let s=i.providers[i.primaryProviderId];if(!s)continue;let a={name:o,primaryProviderId:i.primaryProviderId,providers:i.providers,label:s.label,color:s.color};s.colorDark!==void 0&&(a.colorDark=s.colorDark),s.emoji!==void 0&&(a.emoji=s.emoji),s.icon!==void 0&&(a.icon=s.icon),e.push(a)}let r=this._entries();bR(r,e)||(this._entries.set(e),this.applyCssVars())}lookup(n){return this.index().get(n)}labelOf(n){return this.lookup(n)?.label??n}colorOf(n,e="light"){let r=this.lookup(n);return r?e==="dark"?r.colorDark??r.color:r.color:"#9ca3af"}iconOf(n){return this.lookup(n)?.icon}emojiOf(n){return this.lookup(n)?.emoji}providersOf(n){return this.lookup(n)?.providers}applyCssVars(){if(typeof document>"u")return;let n=vR(),e=[],r=[];for(let o of this._entries()){let i=Eh(o.color,"light"),s=o.colorDark??o.color,a=Eh(s,"dark");e.push(`--sm-kind-${o.name}: ${o.color};`),e.push(`--sm-kind-${o.name}-bg: ${i.bg};`),e.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 { ${e.join(" ")} } .app-dark { ${r.join(" ")} }`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})},oI="sm-kind-vars";function vR(){let t=document.getElementById(oI);return t||(t=document.createElement("style"),t.id=oI,document.head.appendChild(t)),t}function bR(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;e++){let r=t[e],o=n[e];if(r.name!==o.name||r.primaryProviderId!==o.primaryProviderId||JSON.stringify(r.providers)!==JSON.stringify(o.providers))return!1}return!0}var xG=["stable","experimental","deprecated"],iI=class t{kindRegistry=h(jl);searchText=T("");selectedKinds=T([]);selectedStabilities=T([]);hasIssuesOnly=T(!1);staleOnly=T(!1);favoritesOnly=T(!1);isActive=ee(()=>this.searchText().trim().length>0||this.selectedKinds().length>0||this.selectedStabilities().length>0||this.hasIssuesOnly()||this.staleOnly()||this.favoritesOnly());setSearchText(n){this.searchText.set(n)}setKinds(n){this.selectedKinds.set([...n])}toggleKind(n){let e=this.selectedKinds(),r=this.kindRegistry.kinds().map(i=>i.name),o=e.length===0?new Set(r):new Set(e);o.has(n)?o.delete(n):o.add(n),o.size===r.length?this.selectedKinds.set([]):this.selectedKinds.set([...o])}isKindActive(n){let e=this.selectedKinds();return e.length===0?!0:e.includes(n)}setStabilities(n){this.selectedStabilities.set([...n])}setHasIssuesOnly(n){this.hasIssuesOnly.set(n)}setStaleOnly(n){this.staleOnly.set(n)}setFavoritesOnly(n){this.favoritesOnly.set(n)}reset(){this.searchText.set(""),this.selectedKinds.set([]),this.selectedStabilities.set([]),this.hasIssuesOnly.set(!1),this.staleOnly.set(!1),this.favoritesOnly.set(!1)}apply(n){let e=this.searchText().trim().toLowerCase(),r=this.selectedKinds(),o=this.selectedStabilities(),i=this.hasIssuesOnly(),s=this.staleOnly(),a=this.favoritesOnly();return n.filter(c=>{if(e&&![c.path,c.frontmatter.name??"",c.frontmatter.description??""].join(" ").toLowerCase().includes(e)||r.length>0&&!r.includes(c.kind))return!1;if(o.length>0){let l=sI(c);if(!l||!o.includes(l))return!1}return!(i&&!DR(c)||s&&!tI(c.sidecar)||a&&c.isFavorite!==!0)})}static \u0275fac=function(e){return new(e||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})};function sI(t){let e=t.sidecar?.annotations?.stability;if(e==="stable"||e==="experimental"||e==="deprecated")return e;let r=Dh(t.frontmatter)?.stability;return r==="stable"||r==="experimental"||r==="deprecated"?r:null}function DR(t){if(sI(t)==="deprecated")return!0;let e=t.sidecar?.annotations?.supersededBy;if(typeof e=="string"&&e.length>0)return!0;let r=Dh(t.frontmatter)?.supersededBy;return typeof r=="string"&&r.length>0}export{k as a,Y as b,Ne as c,xx as d,de as e,_I as f,G as g,LI as h,Ge as i,jI as j,va as k,y as l,fe as m,D as n,_ as o,h as p,Ie as q,Yg as r,Qg as s,ho as t,ye as u,V as v,ge as w,me as x,ce as y,mC as z,T as A,Ce as B,Zt as C,W as D,Ae as E,At as F,Mw as G,Wy as H,Rw as I,xw as J,Le as K,Dc as L,qt as M,Ot as N,P as O,mt as P,Fe as Q,ve as R,q as S,xr as T,we as U,mn as V,Mo as W,kc as X,Ke as Y,Wa as Z,Ga as _,o_ as $,i_ as aa,s_ as ba,a_ as ca,c_ as da,ue as ea,Nr as fa,No as ga,yn as ha,Ao as ia,Ro as ja,Xi as ka,kr as la,zn as ma,Lc as na,rb as oa,p_ as pa,h_ as qa,Fc as ra,xo as sa,yt as ta,Yt as ua,Qt as va,Oo as wa,ab as xa,Wn as ya,Gn as za,tp as Aa,cb as Ba,lb as Ca,v_ as Da,jc as Ea,np as Fa,rp as Ga,Ve as Ha,ts as Ia,ko as Ja,op as Ka,Eb as La,Ib as Ma,Cb as Na,W_ as Oa,wb as Pa,Sb as Qa,G_ as Ra,q_ as Sa,$e as Ta,Q_ as Ua,J_ as Va,Bc as Wa,X_ as Xa,eM as Ya,tM as Za,nM as _a,rM as $a,cM as ab,X as bb,ee as cb,YH as db,oe as eb,QH as fb,xM as gb,JH as hb,XH as ib,Pr as jb,te as kb,qn as lb,tV as mb,vn as nb,QM as ob,tD as pb,Ip as qb,Cp as rb,wp as sb,kt as tb,Fr as ub,dN as vb,Jt as wb,ID as xb,FN as yb,jN as zb,BN as Ab,Lt as Bb,Cn as Cb,lh as Db,$r as Eb,xl as Fb,yA as Gb,DA as Hb,_A as Ib,zr as Jb,xe as Kb,s3 as Lb,a3 as Mb,c3 as Nb,l3 as Ob,u3 as Pb,wE as Qb,Xn as Rb,d3 as Sb,Se as Tb,mh as Ub,z3 as Vb,TE as Wb,D3 as Xb,wn as Yb,Ye as Zb,yh as _b,s4 as $b,a4 as ac,kl as bc,NE as cc,it as dc,As as ec,bh as fc,OE as gc,LE as hc,jE as ic,BE as jc,VE as kc,fR as lc,$W as mc,qE as nc,GW as oc,Pl as pc,lG as qc,uG as rc,XE as sc,JE as tc,eI as uc,tI as vc,Dh as wc,jl as xc,xG as yc,iI as zc};
|