diff --git a/latest/chunk-JOBM76N2.js b/latest/chunk-JOBM76N2.js new file mode 100644 index 0000000..aeb00c0 --- /dev/null +++ b/latest/chunk-JOBM76N2.js @@ -0,0 +1 @@ +import{$d as d,Yd as a,Zd as b,_d as c,ae as e,be as f,ce as g}from"./chunk-SK2T2ZXR.js";export{f as Button,b as ButtonClasses,e as ButtonDirective,d as ButtonIcon,c as ButtonLabel,g as ButtonModule,a as ButtonStyle}; diff --git a/latest/chunk-SK2T2ZXR.js b/latest/chunk-SK2T2ZXR.js new file mode 100644 index 0000000..359d5e9 --- /dev/null +++ b/latest/chunk-SK2T2ZXR.js @@ -0,0 +1,993 @@ +var Jy=Object.defineProperty,Xy=Object.defineProperties;var ev=Object.getOwnPropertyDescriptors;var di=Object.getOwnPropertySymbols;var Nd=Object.prototype.hasOwnProperty,Md=Object.prototype.propertyIsEnumerable;var tv=(e,n)=>(n=Symbol[e])?n:Symbol.for("Symbol."+e);var Td=(e,n,t)=>n in e?Jy(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,D=(e,n)=>{for(var t in n||={})Nd.call(n,t)&&Td(e,t,n[t]);if(di)for(var t of di(n))Md.call(n,t)&&Td(e,t,n[t]);return e},H=(e,n)=>Xy(e,ev(n));var I_=e=>typeof e=="symbol"?e:e+"",xd=(e,n)=>{var t={};for(var r in e)Nd.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&di)for(var r of di(e))n.indexOf(r)<0&&Md.call(e,r)&&(t[r]=e[r]);return t};var Oa=(e,n,t)=>new Promise((r,o)=>{var i=l=>{try{a(t.next(l))}catch(c){o(c)}},s=l=>{try{a(t.throw(l))}catch(c){o(c)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(i,s);a((t=t.apply(e,n)).next())}),nv=function(e,n){this[0]=e,this[1]=n},w_=(e,n,t)=>{var r=(a,l,c,u)=>{try{var d=t[a](l),p=(l=d.value)instanceof nv,f=d.done;Promise.resolve(p?l[0]:l).then(h=>p?r(a==="return"?a:"next",l[1]?{done:h.done,value:h.value}:h,c,u):c({value:h,done:f})).catch(h=>r("throw",h,c,u))}catch(h){u(h)}},o=(a,l,c,u)=>s[a]=d=>(l=new Promise((p,f,h)=>(h=()=>r(a,d,p,f),i?i.then(h):h())),u=()=>i===c&&(i=0),i=c=l.then(u,u),l),i,s={};return t=t.apply(e,n),s[tv("asyncIterator")]=()=>s,o("next"),o("throw"),o("return"),s};var Ra;function fi(){return Ra}function lt(e){let n=Ra;return Ra=e,n}var Ad=Symbol("NotFound");function qn(e){return e===Ad||e?.name==="\u0275NotFound"}var pe=null,pi=!1,ka=1,rv=null,ie=Symbol("SIGNAL");function w(e){let n=pe;return pe=e,n}function yi(){return pe}var hn={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 Zn(e){if(pi)throw new Error("");if(pe===null)return;pe.consumerOnSignalRead(e);let n=pe.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=pe.recomputing;if(r&&(t=n!==void 0?n.nextProducer:pe.producers,t!==void 0&&t.producer===e)){pe.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===pe&&(!r||iv(o,pe)))return;let i=Kn(pe),s={producer:e,consumer:pe,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};pe.producersTail=s,n!==void 0?n.nextProducer=s:pe.producers=s,i&&Fd(e,s)}function Od(){ka++}function vi(e){if(!(Kn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ka)){if(!e.producerMustRecompute(e)&&!Qn(e)){mi(e);return}e.producerRecomputeValue(e),mi(e)}}function Fa(e){if(e.consumers===void 0)return;let n=pi;pi=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||ov(r)}}finally{pi=n}}function La(){return pe?.consumerAllowSignalWrites!==!1}function ov(e){e.dirty=!0,Fa(e),e.consumerMarkedDirty?.(e)}function mi(e){e.dirty=!1,e.lastCleanEpoch=ka}function gn(e){return e&&Rd(e),w(e)}function Rd(e){e.producersTail=void 0,e.recomputing=!0}function Yn(e,n){w(n),e&&kd(e)}function kd(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Kn(e))do t=Pa(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function Qn(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(vi(t),r!==t.version))return!0}return!1}function mn(e){if(Kn(e)){let n=e.producers;for(;n!==void 0;)n=Pa(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Fd(e,n){let t=e.consumersTail,r=Kn(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Fd(o.producer,o)}function Pa(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Kn(n)){let i=n.producers;for(;i!==void 0;)i=Pa(i)}return t}function Kn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function bi(e){rv?.(e)}function iv(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Di(e,n){return Object.is(e,n)}function to(e,n){let t=Object.create(sv);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(vi(t),Zn(t),t.value===eo)throw t.error;return t.value};return r[ie]=t,bi(t),r}var hi=Symbol("UNSET"),gi=Symbol("COMPUTING"),eo=Symbol("ERRORED"),sv=H(D({},hn),{value:hi,dirty:!0,error:null,equal:Di,kind:"computed",producerMustRecompute(e){return e.value===hi||e.value===gi},producerRecomputeValue(e){if(e.value===gi)throw new Error("");let n=e.value;e.value=gi;let t=gn(e),r,o=!1;try{r=e.computation(),w(null),o=n!==hi&&n!==eo&&r!==eo&&e.equal(n,r)}catch(i){r=eo,e.error=i}finally{Yn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function av(){throw new Error}var Ld=av;function Pd(e){Ld(e)}function ja(e){Ld=e}var lv=null;function Ba(e,n){let t=Object.create(Ei);t.value=e,n!==void 0&&(t.equal=n);let r=()=>jd(t);return r[ie]=t,bi(t),[r,s=>Jn(t,s),s=>Va(t,s)]}function jd(e){return Zn(e),e.value}function Jn(e,n){La()||Pd(e),e.equal(e.value,n)||(e.value=n,cv(e))}function Va(e,n){La()||Pd(e),Jn(e,n(e.value))}var Ei=H(D({},hn),{equal:Di,value:void 0,kind:"signal"});function cv(e){e.version++,Od(),Fa(e),lv?.(e)}function _(e){return typeof e=="function"}function Xn(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Ci=Xn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription: +${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=t});function yn(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Q=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(_(r))try{r()}catch(i){n=i instanceof Ci?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Bd(i)}catch(s){n=n??[],s instanceof Ci?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ci(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Bd(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&yn(t,n)}remove(n){let{_finalizers:t}=this;t&&yn(t,n),n instanceof e&&n._removeParent(this)}};Q.EMPTY=(()=>{let e=new Q;return e.closed=!0,e})();var $a=Q.EMPTY;function Ii(e){return e instanceof Q||e&&"closed"in e&&_(e.remove)&&_(e.add)&&_(e.unsubscribe)}function Bd(e){_(e)?e():e.unsubscribe()}var qe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var er={setTimeout(e,n,...t){let{delegate:r}=er;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=er;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wi(e){er.setTimeout(()=>{let{onUnhandledError:n}=qe;if(n)n(e);else throw e})}function no(){}var Vd=Ha("C",void 0,void 0);function $d(e){return Ha("E",void 0,e)}function Hd(e){return Ha("N",e,void 0)}function Ha(e,n,t){return{kind:e,value:n,error:t}}var vn=null;function tr(e){if(qe.useDeprecatedSynchronousErrorHandling){let n=!vn;if(n&&(vn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=vn;if(vn=null,t)throw r}}else e()}function Ud(e){qe.useDeprecatedSynchronousErrorHandling&&vn&&(vn.errorThrown=!0,vn.error=e)}var bn=class extends Q{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ii(n)&&n.add(this)):this.destination=fv}static create(n,t,r){return new wt(n,t,r)}next(n){this.isStopped?Wa(Hd(n),this):this._next(n)}error(n){this.isStopped?Wa($d(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Wa(Vd,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()}}},uv=Function.prototype.bind;function Ua(e,n){return uv.call(e,n)}var za=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Si(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Si(r)}else Si(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Si(t)}}},wt=class extends bn{constructor(n,t,r){super();let o;if(_(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&qe.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Ua(n.next,i),error:n.error&&Ua(n.error,i),complete:n.complete&&Ua(n.complete,i)}):o=n}this.destination=new za(o)}};function Si(e){qe.useDeprecatedSynchronousErrorHandling?Ud(e):wi(e)}function dv(e){throw e}function Wa(e,n){let{onStoppedNotification:t}=qe;t&&er.setTimeout(()=>t(e,n))}var fv={closed:!0,next:no,error:dv,complete:no};var nr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function be(e){return e}function pv(...e){return Ga(e)}function Ga(e){return e.length===0?be:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var O=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=gv(t)?t:new wt(t,r,o);return tr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Wd(r),new r((o,i)=>{let s=new wt({next:a=>{try{t(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[nr](){return this}pipe(...t){return Ga(t)(this)}toPromise(t){return t=Wd(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Wd(e){var n;return(n=e??qe.Promise)!==null&&n!==void 0?n:Promise}function hv(e){return e&&_(e.next)&&_(e.error)&&_(e.complete)}function gv(e){return e&&e instanceof bn||hv(e)&&Ii(e)}function qa(e){return _(e?.lift)}function N(e){return n=>{if(qa(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function M(e,n,t,r,o){return new Za(e,n,t,r,o)}var Za=class extends bn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Ya(){return N((e,n)=>{let t=null;e._refCount++;let r=M(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var Qa=class extends O{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,qa(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Q;let t=this.getSubject();n.add(this.source.subscribe(M(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Q.EMPTY)}return n}refCount(){return Ya()(this)}};var zd=Xn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new _i(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new zd}next(t){tr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){tr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){tr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?$a:(this.currentObservers=null,i.push(t),new Q(()=>{this.currentObservers=null,yn(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new O;return t.source=this,t}}return e.create=(n,t)=>new _i(n,t),e})(),_i=class extends se{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:$a}};var ro=class extends se{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var oo={now(){return(oo.delegate||Date).now()},delegate:void 0};var io=class extends se{constructor(n=1/0,t=1/0,r=oo){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s0?super.schedule(n,t):(this.delay=t,this.state=n,this.scheduler.flush(this),this)}execute(n,t){return t>0||this.closed?super.execute(n,t):this._execute(n,t)}requestAsyncId(n,t,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(n,t,r):(n.flush(this),0)}};var Mi=class extends ir{};var mv=new Mi(Ni);var St=new O(e=>e.complete());function xi(e){return e&&_(e.schedule)}function Ja(e){return e[e.length-1]}function Ai(e){return _(Ja(e))?e.pop():void 0}function ct(e){return xi(Ja(e))?e.pop():void 0}function qd(e,n){return typeof Ja(e)=="number"?e.pop():n}var Zd=function(){return Zd=Object.assign||function(n){for(var t,r=1,o=arguments.length;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dn(e){return this instanceof Dn?(this.v=e,this):new Dn(e)}function Kd(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(y,v){i.push([f,m,y,v])>1||l(f,m)})},h&&(o[f]=h(o[f])))}function l(f,h){try{c(r[f](h))}catch(m){p(i[0][3],m)}}function c(f){f.value instanceof Dn?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function p(f,h){f(h),i.shift(),i.length&&l(i[0][0],i[0][1])}}function Jd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof Yd=="function"?Yd(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,l){s=e[i](s),o(a,l,s.done,s.value)})}}function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}}var Oi=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ri(e){return _(e?.then)}function ki(e){return _(e[nr])}function Fi(e){return Symbol.asyncIterator&&_(e?.[Symbol.asyncIterator])}function Li(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function yv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Pi=yv();function ji(e){return _(e?.[Pi])}function Bi(e){return Kd(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Dn(t.read());if(o)return yield Dn(void 0);yield yield Dn(r)}}finally{t.releaseLock()}})}function Vi(e){return _(e?.getReader)}function V(e){if(e instanceof O)return e;if(e!=null){if(ki(e))return vv(e);if(Oi(e))return bv(e);if(Ri(e))return Dv(e);if(Fi(e))return Xd(e);if(ji(e))return Ev(e);if(Vi(e))return Cv(e)}throw Li(e)}function vv(e){return new O(n=>{let t=e[nr]();if(_(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bv(e){return new O(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,wi)})}function Ev(e){return new O(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Xd(e){return new O(n=>{Iv(e,n).catch(t=>n.error(t))})}function Cv(e){return Xd(Bi(e))}function Iv(e,n){var t,r,o,i;return Qd(this,void 0,void 0,function*(){try{for(t=Jd(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Me(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ao(e,n=0){return N((t,r)=>{t.subscribe(M(r,o=>Me(r,e,()=>r.next(o),n),()=>Me(r,e,()=>r.complete(),n),o=>Me(r,e,()=>r.error(o),n)))})}function $i(e,n=0){return N((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function ef(e,n){return V(e).pipe($i(n),ao(n))}function tf(e,n){return V(e).pipe($i(n),ao(n))}function nf(e,n){return new O(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function rf(e,n){return new O(t=>{let r;return Me(t,n,()=>{r=e[Pi](),Me(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>_(r?.return)&&r.return()})}function Hi(e,n){if(!e)throw new Error("Iterable cannot be null");return new O(t=>{Me(t,n,()=>{let r=e[Symbol.asyncIterator]();Me(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function of(e,n){return Hi(Bi(e),n)}function sf(e,n){if(e!=null){if(ki(e))return ef(e,n);if(Oi(e))return nf(e,n);if(Ri(e))return tf(e,n);if(Fi(e))return Hi(e,n);if(ji(e))return rf(e,n);if(Vi(e))return of(e,n)}throw Li(e)}function ut(e,n){return n?sf(e,n):V(e)}function Xa(...e){let n=ct(e);return ut(e,n)}function el(e,n){let t=_(e)?e:()=>e,r=o=>o.error(t());return new O(n?o=>n.schedule(r,0,o):r)}var Bt=class e{constructor(n,t,r){this.kind=n,this.value=t,this.error=r,this.hasValue=n==="N"}observe(n){return wv(this,n)}do(n,t,r){let{kind:o,value:i,error:s}=this;return o==="N"?n?.(i):o==="E"?t?.(s):r?.()}accept(n,t,r){var o;return _((o=n)===null||o===void 0?void 0:o.next)?this.observe(n):this.do(n,t,r)}toObservable(){let{kind:n,value:t,error:r}=this,o=n==="N"?Xa(t):n==="E"?el(()=>r):n==="C"?St:0;if(!o)throw new TypeError(`Unexpected notification kind ${n}`);return o}static createNext(n){return new e("N",n)}static createError(n){return new e("E",void 0,n)}static createComplete(){return e.completeNotification}};Bt.completeNotification=new Bt("C");function wv(e,n){var t,r,o;let{kind:i,value:s,error:a}=e;if(typeof i!="string")throw new TypeError('Invalid notification, missing "kind"');i==="N"?(t=n.next)===null||t===void 0||t.call(n,s):i==="E"?(r=n.error)===null||r===void 0||r.call(n,a):(o=n.complete)===null||o===void 0||o.call(n)}function Sv(e){return!!e&&(e instanceof O||_(e.lift)&&_(e.subscribe))}var _t=Xn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function _v(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):t?r(n.defaultValue):o(new _t)}})})}function af(e){return e instanceof Date&&!isNaN(e)}function Vt(e,n){return N((t,r)=>{let o=0;t.subscribe(M(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:Tv}=Array;function Nv(e,n){return Tv(n)?e(...n):e(n)}function Ui(e){return Vt(n=>Nv(e,n))}var{isArray:Mv}=Array,{getPrototypeOf:xv,prototype:Av,keys:Ov}=Object;function Wi(e){if(e.length===1){let n=e[0];if(Mv(n))return{args:n,keys:null};if(Rv(n)){let t=Ov(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Rv(e){return e&&typeof e=="object"&&xv(e)===Av}function zi(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function kv(...e){let n=ct(e),t=Ai(e),{args:r,keys:o}=Wi(e);if(r.length===0)return ut([],n);let i=new O(Fv(r,n,o?s=>zi(o,s):be));return t?i.pipe(Ui(t)):i}function Fv(e,n,t=be){return r=>{lf(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let l=0;l{let c=ut(e[l],n),u=!1;c.subscribe(M(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function lf(e,n,t){e?Me(t,e,n):n()}function cf(e,n,t,r,o,i,s,a){let l=[],c=0,u=0,d=!1,p=()=>{d&&!l.length&&!c&&n.complete()},f=m=>c{i&&n.next(m),c++;let y=!1;V(t(m,u++)).subscribe(M(n,v=>{o?.(v),i?f(v):n.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&ch(v)):h(v)}p()}catch(v){n.error(v)}}))};return e.subscribe(M(n,f,()=>{d=!0,p()})),()=>{a?.()}}function $t(e,n,t=1/0){return _(n)?$t((r,o)=>Vt((i,s)=>n(r,i,o,s))(V(e(r,o))),t):(typeof n=="number"&&(t=n),N((r,o)=>cf(r,o,e,t)))}function Gi(e=1/0){return $t(be,e)}function uf(){return Gi(1)}function qi(...e){return uf()(ut(e,ct(e)))}function Lv(e){return new O(n=>{V(e()).subscribe(n)})}function Pv(...e){let n=Ai(e),{args:t,keys:r}=Wi(e),o=new O(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=p},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?zi(r,a):a),i.complete())}))}});return n?o.pipe(Ui(n)):o}function jv(e=0,n,t=Gd){let r=-1;return n!=null&&(xi(n)?t=n:r=n),new O(o=>{let i=af(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Bv(...e){let n=ct(e),t=qd(e,1/0),r=e;return r.length?r.length===1?V(r[0]):Gi(t)(ut(r,n)):St}function sr(e,n){return N((t,r)=>{let o=0;t.subscribe(M(r,i=>e.call(n,i,o++)&&r.next(i)))})}function tl(e){return N((n,t)=>{let r=null,o=!1,i;r=n.subscribe(M(t,void 0,void 0,s=>{i=V(e(s,tl(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function df(e,n,t,r,o){return(i,s)=>{let a=t,l=n,c=0;i.subscribe(M(s,u=>{let d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function Vv(e,n){return _(n)?$t(e,n,1):$t(e,1)}function $v(e,n=Ka){return N((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function l(){let c=s+e,u=n.now();if(u{i=c,s=n.now(),o||(o=n.schedule(l,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function lo(e){return N((n,t)=>{let r=!1;n.subscribe(M(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function nl(e){return e<=0?()=>St:N((n,t)=>{let r=0;n.subscribe(M(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Hv(e,n=be){return e=e??Uv,N((t,r)=>{let o,i=!0;t.subscribe(M(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Uv(e,n){return e===n}function Zi(e=Wv){return N((n,t)=>{let r=!1;n.subscribe(M(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Wv(){return new _t}function ff(e){return N((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function zv(e,n){let t=arguments.length>=2;return r=>r.pipe(e?sr((o,i)=>e(o,i,r)):be,nl(1),t?lo(n):Zi(()=>new _t))}function rl(e){return e<=0?()=>St:N((n,t)=>{let r=[];n.subscribe(M(t,o=>{r.push(o),e{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Gv(e,n){let t=arguments.length>=2;return r=>r.pipe(e?sr((o,i)=>e(o,i,r)):be,rl(1),t?lo(n):Zi(()=>new _t))}function qv(){return N((e,n)=>{e.subscribe(M(n,t=>{n.next(Bt.createNext(t))},()=>{n.next(Bt.createComplete()),n.complete()},t=>{n.next(Bt.createError(t)),n.complete()}))})}function Zv(e,n){return N(df(e,n,arguments.length>=2,!0))}function il(e={}){let{connector:n=()=>new se,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,c=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=l=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return N((m,y)=>{c++,!d&&!u&&p();let v=l=l??n();y.add(()=>{c--,c===0&&!d&&!u&&(a=ol(h,o))}),v.subscribe(y),!s&&c>0&&(s=new wt({next:A=>v.next(A),error:A=>{d=!0,p(),a=ol(f,t,A),v.error(A)},complete:()=>{u=!0,p(),a=ol(f,r),v.complete()}}),V(m).subscribe(s))})(i)}}function ol(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new wt({next:()=>{r.unsubscribe(),e()}});return V(n(...t)).subscribe(r)}function Yv(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,il({connector:()=>new io(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Qv(...e){let n=ct(e);return N((t,r)=>{(n?qi(e,t,n):qi(e,t)).subscribe(r)})}function Kv(e,n){return N((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(M(r,l=>{o?.unsubscribe();let c=0,u=i++;V(e(l,u)).subscribe(o=M(r,d=>r.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Jv(e){return N((n,t)=>{V(e).subscribe(M(t,()=>t.complete(),no)),!t.closed&&n.subscribe(t)})}function pf(e,n,t){let r=_(e)||n||t?{next:e,error:n,complete:t}:e;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(M(i,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),i.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),i.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),i.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):be}function hf(e){let n=w(null);try{return e()}finally{w(n)}}var gf=H(D({},hn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function mf(e){if(e.dirty=!1,e.version>0&&!Qn(e))return;e.version++;let n=gn(e);try{e.cleanup(),e.fn()}finally{Yn(e,n)}}var Ji="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",T=class extends Error{code;constructor(n,t){super(ho(n,t)),this.code=n}};function Xv(e){return`NG0${Math.abs(e)}`}function ho(e,n){return`${Xv(e)}${n?": "+n:""}`}function k(e){for(let n in e)if(e[n]===k)return n;throw Error("")}function bf(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Nt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Nt).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(` +`);return r>=0?t.slice(0,r):t}function Xi(e,n){return e?n?`${e} ${n}`:e:n||""}var eb=k({__forward_ref__:k});function es(e){return e.__forward_ref__=es,e.toString=function(){return Nt(this())},e}function X(e){return ml(e)?e():e}function ml(e){return typeof e=="function"&&e.hasOwnProperty(eb)&&e.__forward_ref__===es}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ee(e){return{providers:e.providers||[],imports:e.imports||[]}}function go(e){return nb(e,ts)}function tb(e){return go(e)!==null}function nb(e,n){return e.hasOwnProperty(n)&&e[n]||null}function rb(e){let n=e?.[ts]??null;return n||null}function al(e){return e&&e.hasOwnProperty(Qi)?e[Qi]:null}var ts=k({\u0275prov:k}),Qi=k({\u0275inj:k}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=I({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function yl(e){return e&&!!e.\u0275providers}var vl=k({\u0275cmp:k}),bl=k({\u0275dir:k}),Dl=k({\u0275pipe:k}),El=k({\u0275mod:k}),uo=k({\u0275fac:k}),Sn=k({__NG_ELEMENT_ID__:k}),yf=k({__NG_ENV_ID__:k});function _n(e){return typeof e=="string"?e:e==null?"":String(e)}function Df(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():_n(e)}var Ef=k({ngErrorCode:k}),ob=k({ngErrorMessage:k}),ib=k({ngTokenPath:k});function Cl(e,n){return Cf("",-200,n)}function ns(e,n){throw new T(-201,!1)}function Cf(e,n,t){let r=new T(n,e);return r[Ef]=n,r[ob]=e,t&&(r[ib]=t),r}function sb(e){return e[Ef]}var ll;function If(){return ll}function De(e){let n=ll;return ll=e,n}function Il(e,n,t){let r=go(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;ns(e,"Injector")}var ab={},En=ab,lb="__NG_DI_FLAG__",cl=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=Cn(t)||0;try{return this.injector.get(n,r&8?null:En,r)}catch(o){if(qn(o))return o;throw o}}};function cb(e,n=0){let t=fi();if(t===void 0)throw new T(-203,!1);if(t===null)return Il(e,void 0,n);{let r=ub(n),o=t.retrieve(e,r);if(qn(o)){if(r.optional)return null;throw o}return o}}function ue(e,n=0){return(If()||cb)(X(e),n)}function g(e,n){return ue(e,Cn(n))}function Cn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ub(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ul(e){let n=[];for(let t=0;tArray.isArray(t)?rs(t,n):n(t))}function wl(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function mo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function _f(e,n){let t=[];for(let r=0;rn;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function yo(e,n,t){let r=lr(e,n);return r>=0?e[r|1]=t:(r=~r,Tf(e,r,n,t)),r}function os(e,n){let t=lr(e,n);if(t>=0)return e[t|1]}function lr(e,n){return fb(e,n,1)}function fb(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{t.push(s)};return rs(n,s=>{let a=s;Ki(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&xf(o,i),t}function xf(e,n){for(let t=0;t{n(i,r)})}}function Ki(e,n,t,r){if(e=X(e),!e)return!1;let o=null,i=al(e),s=!i&&xt(e);if(!i&&!s){let l=e.ngModule;if(i=al(l),i)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Ki(c,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;rs(i.imports,u=>{Ki(u,n,t,r)&&(c||=[],c.push(u))}),c!==void 0&&xf(c,n)}if(!a){let c=Ht(o)||(()=>new o);n({provide:o,useFactory:c,deps:he},o),n({provide:_l,useValue:o,multi:!0},o),n({provide:Wt,useValue:()=>ue(o),multi:!0},o)}let l=i.providers;if(l!=null&&!a){let c=e;Ml(l,u=>{n(u,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Ml(e,n){for(let t of e)yl(t)&&(t=t.\u0275providers),Array.isArray(t)?Ml(t,n):n(t)}var pb=k({provide:String,useValue:k});function Af(e){return e!==null&&typeof e=="object"&&pb in e}function hb(e){return!!(e&&e.useExisting)}function gb(e){return!!(e&&e.useFactory)}function In(e){return typeof e=="function"}function Of(e){return!!e.useClass}var xl=new C(""),Yi={},vf={},sl;function bo(){return sl===void 0&&(sl=new fo),sl}var Le=class{},wn=class extends Le{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,fl(n,s=>this.processProvider(s)),this.records.set(Sl,ar(void 0,this)),o.has("environment")&&this.records.set(Le,ar(void 0,this));let i=this.records.get(xl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(_l,he,{self:!0}))}retrieve(n,t){let r=Cn(t)||0;try{return this.get(n,En,r)}catch(o){if(qn(o))return o;throw o}}destroy(){co(this),this._destroyed=!0;let n=w(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(n)}}onDestroy(n){return co(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){co(this);let t=lt(this),r=De(void 0),o;try{return n()}finally{lt(t),De(r)}}get(n,t=En,r){if(co(this),n.hasOwnProperty(yf))return n[yf](this);let o=Cn(r),i,s=lt(this),a=De(void 0);try{if(!(o&4)){let c=this.records.get(n);if(c===void 0){let u=Db(n)&&go(n);u&&this.injectableDefInScope(u)?c=ar(dl(n),Yi):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,o)}let l=o&2?bo():this.parent;return t=o&8&&t===En?null:t,l.get(n,t)}catch(l){let c=sb(l);throw c===-200||c===-201?new T(c,null):l}finally{De(a),lt(s)}}resolveInjectorInitializers(){let n=w(null),t=lt(this),r=De(void 0),o;try{let i=this.get(Wt,he,{self:!0});for(let s of i)s()}finally{lt(t),De(r),w(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(Nt(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=X(n);let t=In(n)?n:X(n&&n.provide),r=yb(n);if(!In(n)&&n.multi===!0){let o=this.records.get(t);o||(o=ar(void 0,Yi,!0),o.factory=()=>ul(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=w(null);try{if(t.value===vf)throw Cl(Nt(n));return t.value===Yi&&(t.value=vf,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&bb(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{w(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=X(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function dl(e){let n=go(e),t=n!==null?n.factory:Ht(e);if(t!==null)return t;if(e instanceof C)throw new T(204,!1);if(e instanceof Function)return mb(e);throw new T(204,!1)}function mb(e){if(e.length>0)throw new T(204,!1);let t=rb(e);return t!==null?()=>t.factory(e):()=>new e}function yb(e){if(Af(e))return ar(void 0,e.useValue);{let n=Al(e);return ar(n,Yi)}}function Al(e,n,t){let r;if(In(e)){let o=X(e);return Ht(o)||dl(o)}else if(Af(e))r=()=>X(e.useValue);else if(gb(e))r=()=>e.useFactory(...ul(e.deps||[]));else if(hb(e))r=(o,i)=>ue(X(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=X(e&&(e.useClass||e.provide));if(vb(e))r=()=>new o(...ul(e.deps));else return Ht(o)||dl(o)}return r}function co(e){if(e.destroyed)throw new T(205,!1)}function ar(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function vb(e){return!!e.deps}function bb(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Db(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function fl(e,n){for(let t of e)Array.isArray(t)?fl(t,n):t&&yl(t)?fl(t.\u0275providers,n):n(t)}function ss(e,n){let t;e instanceof wn?(co(e),t=e):t=new cl(e);let r,o=lt(t),i=De(void 0);try{return n()}finally{lt(o),De(i)}}function Rf(){return If()!==void 0||fi()!=null}var Qe=0,b=1,S=2,K=3,He=4,Ce=5,Tn=6,cr=7,q=8,xe=9,dt=10,L=11,ur=12,Ol=13,Nn=14,Ie=15,Gt=16,Mn=17,ft=18,Do=19,Rl=20,Tt=21,as=22,At=23,Pe=24,xn=25,An=26,P=27,kf=1,qt=6,Zt=7,Eo=8,On=9,U=10;function pt(e){return Array.isArray(e)&&typeof e[kf]=="object"}function Ke(e){return Array.isArray(e)&&e[kf]===!0}function kl(e){return(e.flags&4)!==0}function Yt(e){return e.componentOffset>-1}function dr(e){return(e.flags&1)===1}function Je(e){return!!e.template}function fr(e){return(e[S]&512)!==0}function Qt(e){return(e[S]&256)===256}var Fl="svg",Ff="math";function Ue(e){for(;Array.isArray(e);)e=e[Qe];return e}function Ll(e,n){return Ue(n[e])}function Xe(e,n){return Ue(n[e.index])}function Rn(e,n){return e.data[n]}function Pl(e,n){return e[n]}function jl(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function We(e,n){let t=n[e];return pt(t)?t:t[Qe]}function Lf(e){return(e[S]&4)===4}function ls(e){return(e[S]&128)===128}function Pf(e){return Ke(e[K])}function je(e,n){return n==null?null:e[n]}function Bl(e){e[Mn]=0}function cs(e){e[S]&1024||(e[S]|=1024,ls(e)&&Kt(e))}function jf(e,n){for(;e>0;)n=n[Nn],e--;return n}function pr(e){return!!(e[S]&9216||e[Pe]?.dirty)}function us(e){e[dt].changeDetectionScheduler?.notify(8),e[S]&64&&(e[S]|=1024),pr(e)&&Kt(e)}function Kt(e){e[dt].changeDetectionScheduler?.notify(0);let n=Ut(e);for(;n!==null&&!(n[S]&8192||(n[S]|=8192,!ls(n)));)n=Ut(n)}function ds(e,n){if(Qt(e))throw new T(911,!1);e[Tt]===null&&(e[Tt]=[]),e[Tt].push(n)}function Vl(e,n){if(e[Tt]===null)return;let t=e[Tt].indexOf(n);t!==-1&&e[Tt].splice(t,1)}function Ut(e){let n=e[K];return Ke(n)?n[K]:n}function $l(e){return e[cr]??=[]}function Hl(e){return e.cleanup??=[]}function Bf(e,n,t,r){let o=$l(n);o.push(t),e.firstCreatePass&&Hl(e).push(r,o.length-1)}var x={lFrame:Xf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var pl=!1;function Vf(){return x.lFrame.elementDepthCount}function $f(){x.lFrame.elementDepthCount++}function Ul(){x.lFrame.elementDepthCount--}function fs(){return x.bindingsEnabled}function Wl(){return x.skipHydrationRootTNode!==null}function zl(e){return x.skipHydrationRootTNode===e}function Gl(){x.skipHydrationRootTNode=null}function E(){return x.lFrame.lView}function B(){return x.lFrame.tView}function Hf(e){return x.lFrame.contextLView=e,e[q]}function Uf(e){return x.lFrame.contextLView=null,e}function ae(){let e=ql();for(;e!==null&&e.type===64;)e=e.parent;return e}function ql(){return x.lFrame.currentTNode}function Wf(){let e=x.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function hr(e,n){let t=x.lFrame;t.currentTNode=e,t.isParent=n}function Zl(){return x.lFrame.isParent}function Yl(){x.lFrame.isParent=!1}function zf(){return x.lFrame.contextLView}function Ql(){return pl}function gr(e){let n=pl;return pl=e,n}function ht(){let e=x.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Gf(){return x.lFrame.bindingIndex}function qf(e){return x.lFrame.bindingIndex=e}function Ot(){return x.lFrame.bindingIndex++}function ps(e){let n=x.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Zf(){return x.lFrame.inI18n}function Yf(e,n){let t=x.lFrame;t.bindingIndex=t.bindingRootIndex=e,hs(n)}function Qf(){return x.lFrame.currentDirectiveIndex}function hs(e){x.lFrame.currentDirectiveIndex=e}function Kf(e){let n=x.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function gs(){return x.lFrame.currentQueryIndex}function Co(e){x.lFrame.currentQueryIndex=e}function Eb(e){let n=e[b];return n.type===2?n.declTNode:n.type===1?e[Ce]:null}function Kl(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=Eb(i),o===null||(i=i[Nn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=x.lFrame=Jf();return r.currentTNode=n,r.lView=e,!0}function ms(e){let n=Jf(),t=e[b];x.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Jf(){let e=x.lFrame,n=e===null?null:e.child;return n===null?Xf(e):n}function Xf(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function ep(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Jl=ep;function ys(){let e=ep();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function tp(e){return(x.lFrame.contextLView=jf(e,x.lFrame.contextLView))[q]}function gt(){return x.lFrame.selectedIndex}function Jt(e){x.lFrame.selectedIndex=e}function mr(){let e=x.lFrame;return Rn(e.tView,e.selectedIndex)}function yr(){x.lFrame.currentNamespace=Fl}function Xl(){return x.lFrame.currentNamespace}var np=!0;function vs(){return np}function Io(e){np=e}function hl(e,n=null,t=null,r){let o=ec(e,n,t,r);return o.resolveInjectorInitializers(),o}function ec(e,n=null,t=null,r,o=new Set){let i=[t||he,Mf(e)];return r=r||(typeof e=="object"?void 0:Nt(e)),new wn(i,n||bo(),r||null,o)}var $e=class e{static THROW_IF_NOT_FOUND=En;static NULL=new fo;static create(n,t){if(Array.isArray(n))return hl({name:""},t,n,"");{let r=n.name??"";return hl({name:r},n.parent,n.providers,r)}}static \u0275prov=I({token:e,providedIn:"any",factory:()=>ue(Sl)});static __NG_ELEMENT_ID__=-1},Ae=new C(""),Xt=(()=>{class e{static __NG_ELEMENT_ID__=Cb;static __NG_ENV_ID__=t=>t}return e})(),po=class extends Xt{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Qt(this._lView)}onDestroy(n){let t=this._lView;return ds(t,n),()=>Vl(t,n)}};function Cb(){return new po(E())}var Mt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},et=new C("",{providedIn:"root",factory:()=>{let e=g(Le),n;return t=>{e.destroyed&&!n?setTimeout(()=>{throw t}):(n??=e.get(Mt),n.handleError(t))}}}),rp={provide:Wt,useValue:()=>{g(Mt)},multi:!0},Ib=new C("",{providedIn:"root",factory:()=>{let e=g(Ae).defaultView;if(!e)return;let n=g(et),t=i=>{n(i.reason),i.preventDefault()},r=i=>{i.error?n(i.error):n(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",t),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),g(Xt).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function wb(){return zt([Nf(()=>{g(Ib)})])}function tc(e){return typeof e=="function"&&e[ie]!==void 0}function ee(e,n){let[t,r,o]=Ba(e,n?.equal),i=t,s=i[ie];return i.set=r,i.update=o,i.asReadonly=nc.bind(i),i}function nc(){let e=this[ie];if(e.readonlyFn===void 0){let n=()=>this();n[ie]=e,e.readonlyFn=n}return e.readonlyFn}function rc(e){return tc(e)&&typeof e.set=="function"}var vr=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=Sb}return e})();function Sb(){return new vr(E(),ae())}var Ze=class{},wo=new C("",{providedIn:"root",factory:()=>!1});var oc=new C(""),ic=new C(""),en=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ro(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new O(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})(),bs=(()=>{class e{internalPendingTasks=g(en);scheduler=g(Ze);errorHandler=g(et);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})();function kn(...e){}var So=(()=>{class e{static \u0275prov=I({token:e,providedIn:"root",factory:()=>new gl})}return e})(),gl=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}};function Fo(e){return{toString:e}.toString()}function kb(e){return typeof e=="function"}var _s=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function $p(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Lo=(()=>{let e=()=>Hp;return e.ngInherit=!0,e})();function Hp(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lb),Fb}function Fb(){let e=Wp(this),n=e?.current;if(n){let t=e.previous;if(t===Ye)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Lb(e,n,t,r,o){let i=this.declaredInputs[r],s=Wp(e)||Pb(e,{previous:Ye,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new _s(c&&c.currentValue,t,l===Ye),$p(e,n,o,t)}var Up="__ngSimpleChanges__";function Wp(e){return e[Up]||null}function Pb(e,n){return e[Up]=n}var op=[];var R=function(e,n=null,t){for(let r=0;r=r)break}else n[l]<0&&(e[Mn]+=65536),(a>14>16&&(e[S]&3)===n&&(e[S]+=16384,ip(a,i)):ip(a,i)}var Dr=-1,Ln=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function Vb(e){return(e.flags&8)!==0}function $b(e){return(e.flags&16)!==0}function Hb(e,n,t){let r=0;for(;rn){s=i-1;break}}}for(;i>16}function Ns(e,n){let t=zb(e),r=n;for(;t>0;)r=r[Nn],t--;return r}var bc=!0;function Ms(e){let n=bc;return bc=e,n}var Gb=256,Zp=Gb-1,Yp=5,qb=0,mt={};function Zb(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Sn)&&(r=t[Sn]),r==null&&(r=t[Sn]=qb++);let o=r&Zp,i=1<>Yp)]|=i}function xs(e,n){let t=Qp(e,n);if(t!==-1)return t;let r=n[b];r.firstCreatePass&&(e.injectorIndex=n.length,ac(r.data,e),ac(n,null),ac(r.blueprint,null));let o=Yc(e,n),i=e.injectorIndex;if(qp(o)){let s=Ts(o),a=Ns(o,n),l=a[b].data;for(let c=0;c<8;c++)n[i+c]=a[s+c]|l[s+c]}return n[i+8]=o,i}function ac(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Qp(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Yc(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=th(o),r===null)return Dr;if(t++,o=o[Nn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Dr}function Dc(e,n,t){Zb(e,n,t)}function Kp(e,n,t){if(t&8||e!==void 0)return e;ns(n,"NodeInjector")}function Jp(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[xe],i=De(void 0);try{return o?o.get(n,r,t&8):Il(n,r,t&8)}finally{De(i)}}return Kp(r,n,t)}function Xp(e,n,t,r=0,o){if(e!==null){if(n[S]&2048&&!(r&2)){let s=Jb(e,n,t,r,mt);if(s!==mt)return s}let i=eh(e,n,t,r,mt);if(i!==mt)return i}return Jp(n,t,r,o)}function eh(e,n,t,r,o){let i=Qb(t);if(typeof i=="function"){if(!Kl(n,e,r))return r&1?Kp(o,t,r):Jp(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ns(t);else return s}finally{Jl()}}else if(typeof i=="number"){let s=null,a=Qp(e,n),l=Dr,c=r&1?n[Ie][Ce]:null;for((a===-1||r&4)&&(l=a===-1?Yc(e,n):n[a+8],l===Dr||!lp(r,!1)?a=-1:(s=n[b],a=Ts(l),n=Ns(l,n)));a!==-1;){let u=n[b];if(ap(i,a,u.data)){let d=Yb(a,n,t,s,r,c);if(d!==mt)return d}l=n[a+8],l!==Dr&&lp(r,n[b].data[a+8]===c)&&ap(i,a,n)?(s=u,a=Ts(l),n=Ns(l,n)):a=-1}}return o}function Yb(e,n,t,r,o,i){let s=n[b],a=s.data[e+8],l=r==null?Yt(a)&&bc:r!=s&&(a.type&3)!==0,c=o&1&&i===a,u=Is(a,s,t,l,c);return u!==null?No(n,s,u,a,o):mt}function Is(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,l=e.directiveStart,c=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:c;for(let f=d;f=l&&h.type===t)return f}if(o){let f=s[l];if(f&&Je(f)&&f.type===t)return l}return null}function No(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Ln){let a=i;if(a.resolving){let f=Df(s[t]);throw Cl(f)}let l=Ms(a.canSeeViewProviders);a.resolving=!0;let c=s[t].type||s[t],u,d=a.injectImpl?De(a.injectImpl):null,p=Kl(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&jb(t,s[t],n)}finally{d!==null&&De(d),Ms(l),a.resolving=!1,Jl()}}return i}function Qb(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Sn)?e[Sn]:void 0;return typeof n=="number"?n>=0?n&Zp:Kb:n}function ap(e,n,t){let r=1<>Yp)]&r)}function lp(e,n){return!(e&2)&&!(e&1&&n)}var Fn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Xp(this._tNode,this._lView,n,Cn(r),t)}};function Kb(){return new Fn(ae(),E())}function $(e){return Fo(()=>{let n=e.prototype.constructor,t=n[uo]||Ec(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[uo]||Ec(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ec(e){return ml(e)?()=>{let n=Ec(X(e));return n&&n()}:Ht(e)}function Jb(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[S]&2048&&!fr(s);){let a=eh(i,s,t,r|2,mt);if(a!==mt)return a;let l=i.parent;if(!l){let c=s[Rl];if(c){let u=c.get(t,mt,r);if(u!==mt)return u}l=th(s),s=s[Nn]}i=l}return o}function th(e){let n=e[b],t=n.type;return t===2?n.declTNode:t===1?e[Ce]:null}function Xb(){return xr(ae(),E())}function xr(e,n){return new Re(Xe(e,n))}var Re=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Xb}return e})();function nh(e){return e instanceof Re?e.nativeElement:e}function eD(){return this._results[Symbol.iterator]()}var As=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 se}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=Sf(n);(this._changesDetected=!wf(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=eD};function rh(e){return(e.flags&128)===128}var Qc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Qc||{}),oh=new Map,tD=0;function nD(){return tD++}function rD(e){oh.set(e[Do],e)}function Cc(e){oh.delete(e[Do])}var cp="__ngContext__";function Ir(e,n){pt(n)?(e[cp]=n[Do],rD(n)):e[cp]=n}function ih(e){return ah(e[ur])}function sh(e){return ah(e[He])}function ah(e){for(;e!==null&&!Ke(e);)e=e[He];return e}var Ic;function oD(e){Ic=e}function lh(){if(Ic!==void 0)return Ic;if(typeof document<"u")return document;throw new T(210,!1)}var iD=new C("",{providedIn:"root",factory:()=>sD}),sD="ng",ch=new C(""),$n=new C("",{providedIn:"platform",factory:()=>"unknown"});var aD=new C(""),lD=new C("",{providedIn:"root",factory:()=>lh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var cD="h",uD="b";var uh="r";var Kc="di",Jc="s";var dh=!1,fh=new C("",{providedIn:"root",factory:()=>dh});var ph=new C("");var dD=(e,n,t,r)=>{};function fD(e,n,t,r){dD(e,n,t,r)}var hh=new C("");function Ys(e){return(e.flags&32)===32}var pD=()=>null;function gh(e,n,t=!1){return pD(e,n,t)}function Xc(e){return e.get(ph,!1,{optional:!0})}function mh(e,n){let t=e.contentQueries;if(t!==null){let r=w(null);try{for(let o=0;o|^->||--!>|)/g,yD="\u200B$1\u200B";function vD(e){return e.replace(gD,n=>n.replace(mD,yD))}function bD(e,n){return e.createText(n)}function DD(e,n,t){e.setValue(n,t)}function ED(e,n){return e.createComment(vD(n))}function Dh(e,n,t){return e.createElement(n,t)}function Rs(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Eh(e,n,t){e.appendChild(n,t)}function up(e,n,t,r,o){r!==null?Rs(e,n,t,r,o):Eh(e,n,t)}function Ch(e,n,t,r){e.removeChild(null,n,t,r)}function CD(e,n,t){e.setAttribute(n,"style",t)}function ID(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Ih(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&Hb(e,n,r),o!==null&&ID(e,n,o),i!==null&&CD(e,n,i)}var tu=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(tu||{});function wD(e){let n=SD();return n?n.sanitize(tu.URL,e)||"":yh(e,"URL")?Po(e):bh(_n(e))}function SD(){let e=E();return e&&e[dt].sanitizer}function wh(e){return e instanceof Function?e():e}function _D(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var Sh="ng-template";function TD(e,n,t,r){let o=0;if(r){for(;o-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&c!==d){if(tt(r))return!1;s=!0}}}}return tt(r)||s}function tt(e){return(e&1)===0}function xD(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!tt(s)&&(n+=dp(i,o),o=""),r=s,i=i||!tt(r);t++}return o!==""&&(n+=dp(i,o)),n}function LD(e){return e.map(FD).join(",")}function PD(e){let n=[],t=[],r=1,o=2;for(;rnull),s=r;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof Q&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Be=_c;function Ah(e){let n,t;function r(){e=kn;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function pp(e){return queueMicrotask(()=>e()),()=>{e=kn}}var au="isAngularZone",ks=au+"_ID",HD=0,de=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Be(!1);onMicrotaskEmpty=new Be(!1);onStable=new Be(!1);onError=new Be(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=xh}=n;if(typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,zD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(au)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new T(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,UD,kn,kn);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},UD={};function lu(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function WD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Ah(()=>{e.callbackScheduled=!1,Tc(e),e.isCheckStableRunning=!0,lu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Tc(e)}function zD(e){let n=()=>{WD(e)},t=HD++;e._inner=e._inner.fork({name:"angular",properties:{[au]:!0,[ks]:t,[ks+t]:!0},onInvokeTask:(r,o,i,s,a,l)=>{if(GD(l))return r.invokeTask(i,s,a,l);try{return hp(e),r.invokeTask(i,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),gp(e)}},onInvoke:(r,o,i,s,a,l,c)=>{try{return hp(e),r.invoke(i,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!qD(l)&&n(),gp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Tc(e),lu(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Tc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function hp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gp(e){e._nesting--,lu(e)}var Fs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Be;onMicrotaskEmpty=new Be;onStable=new Be;onError=new Be;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function GD(e){return Oh(e,"__ignore_ng_zone__")}function qD(e){return Oh(e,"__scheduler_tick__")}function Oh(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var cu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rh=[0,1,2,3],kh=(()=>{class e{ngZone=g(de);scheduler=g(Ze);errorHandler=g(Mt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(jo,{optional:!0})}execute(){let t=this.sequences.size>0;t&&R(16),this.executing=!0;for(let r of Rh)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&R(17)}register(t){let{view:r}=t;r!==void 0?((r[xn]??=[]).push(t),Kt(r),r[S]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Ks.AFTER_NEXT_RENDER,t):t()}static \u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ls=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[xn];n&&(this.view[xn]=n.filter(t=>t!==this))}};function ZD(e,n){let t=n?.injector??g($e);return Rt("NgAfterNextRender"),QD(e,t,n,!0)}function YD(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function QD(e,n,t,r){let o=n.get(cu);o.impl??=n.get(kh);let i=n.get(jo,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(Xt):null,a=n.get(vr,null,{optional:!0}),l=new Ls(o.impl,YD(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(l),l}var Fh=new C("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Lh(e,n,t){let r=e.get(Fh);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function KD(e,n){let t=e.get(Fh);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function JD(e,n){for(let[t,r]of n)Lh(e,r.animateFns)}function mp(e,n,t,r){let o=e?.[An]?.enter;n!==null&&o&&o.has(t.index)&&JD(r,o)}function br(e,n,t,r,o,i,s,a){if(o!=null){let l,c=!1;Ke(o)?l=o:pt(o)&&(c=!0,o=o[Qe]);let u=Ue(o);e===0&&r!==null?(mp(a,r,i,t),s==null?Eh(n,r,u):Rs(n,r,u,s||null,!0)):e===1&&r!==null?(mp(a,r,i,t),Rs(n,r,u,s||null,!0)):e===2?yp(a,i,t,d=>{Ch(n,u,c,d)}):e===3&&yp(a,i,t,()=>{n.destroyNode(u)}),l!=null&&cE(n,e,t,l,i,r,s)}}function XD(e,n){Ph(e,n),n[Qe]=null,n[Ce]=null}function eE(e,n,t,r,o,i){r[Qe]=o,r[Ce]=n,Xs(e,r,t,1,o,i)}function Ph(e,n){n[dt].changeDetectionScheduler?.notify(9),Xs(e,n,n[L],2,null,null)}function tE(e){let n=e[ur];if(!n)return lc(e[b],e);for(;n;){let t=null;if(pt(n))t=n[ur];else{let r=n[U];r&&(t=r)}if(!t){for(;n&&!n[He]&&n!==e;)pt(n)&&lc(n[b],n),n=n[K];n===null&&(n=e),pt(n)&&lc(n[b],n),t=n&&n[He]}n=t}}function uu(e,n){let t=e[On],r=t.indexOf(n);t.splice(r,1)}function Js(e,n){if(Qt(n))return;let t=n[L];t.destroyNode&&Xs(e,n,t,3,null,null),tE(n)}function lc(e,n){if(Qt(n))return;let t=w(null);try{n[S]&=-129,n[S]|=256,n[Pe]&&mn(n[Pe]),oE(e,n),rE(e,n),n[b].type===1&&n[L].destroy();let r=n[Gt];if(r!==null&&Ke(n[K])){r!==n[K]&&uu(r,n);let o=n[ft];o!==null&&o.detachView(e)}Cc(n)}finally{w(t)}}function yp(e,n,t,r){let o=e?.[An];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Mo.add(e),Lh(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let l=0;l{e[An].running=void 0,Mo.delete(e),n(!0)});return}n(!1)}function rE(e,n){let t=e.cleanup,r=n[cr];if(t!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[cr]=null);let o=n[Tt];if(o!==null){n[Tt]=null;for(let s=0;sP&&Mh(e,n,P,!1),R(s?2:0,o,t),t(r,o)}finally{Jt(i),R(s?3:1,o,t)}}function ea(e,n,t){mE(e,n,t),(t.flags&64)===64&&yE(e,n,t)}function Bo(e,n,t=Xe){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;inull;function hE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Uh(e,n,t,r,o,i){let s=n[b];if(yu(e,s,n,t,r)){Yt(e)&&gE(n,e.index);return}e.type&3&&(t=hE(t)),Wh(e,n,t,r,o,i)}function Wh(e,n,t,r,o,i){if(e.type&3){let s=Xe(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function gE(e,n){let t=We(n,e);t[S]&16||(t[S]|=64)}function mE(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Yt(t)&&VD(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||xs(t,n);let i=t.initialInputs;for(let s=r;s{Kt(e.lView)},consumerOnSignalRead(){this.lView[Pe]=this}});function ME(e){let n=e[Pe]??Object.create(xE);return n.lView=e,n}var xE=H(D({},hn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Ut(e.lView);for(;n&&!Zh(n[b]);)n=Ut(n);n&&cs(n)},consumerOnSignalRead(){this.lView[Pe]=this}});function Zh(e){return e.type!==2}function Yh(e){if(e[At]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[At])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[S]&8192)}}var AE=100;function Qh(e,n=0){let r=e[dt].rendererFactory,o=!1;o||r.begin?.();try{OE(e,n)}finally{o||r.end?.()}}function OE(e,n){let t=Ql();try{gr(!0),Mc(e,n);let r=0;for(;pr(e);){if(r===AE)throw new T(103,!1);r++,Mc(e,1)}}finally{gr(t)}}function RE(e,n,t,r){if(Qt(n))return;let o=n[S],i=!1,s=!1;ms(n);let a=!0,l=null,c=null;i||(Zh(e)?(c=SE(n),l=gn(c)):yi()===null?(a=!1,c=ME(n),l=gn(c)):n[Pe]&&(mn(n[Pe]),n[Pe]=null));try{Bl(n),qf(e.bindingStartIndex),t!==null&&Hh(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Es(n,f,null)}else{let f=e.preOrderHooks;f!==null&&Cs(n,f,0,null),sc(n,0)}if(s||kE(n),Yh(n),Kh(n,0),e.contentQueries!==null&&mh(e,n),!i)if(u){let f=e.contentCheckHooks;f!==null&&Es(n,f)}else{let f=e.contentHooks;f!==null&&Cs(n,f,1),sc(n,1)}LE(e,n);let d=e.components;d!==null&&Xh(n,d,0);let p=e.viewQuery;if(p!==null&&wc(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Es(n,f)}else{let f=e.viewHooks;f!==null&&Cs(n,f,2),sc(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[as]){for(let f of n[as])f();n[as]=null}i||(Gh(n),n[S]&=-73)}catch(u){throw i||Kt(n),u}finally{c!==null&&(Yn(c,l),a&&TE(c)),ys()}}function Kh(e,n){for(let t=ih(e);t!==null;t=sh(t))for(let r=U;r0&&(e[t-1][He]=r[He]);let i=mo(e,U+n);XD(r[b],r);let s=i[ft];s!==null&&s.detachView(i[b]),r[K]=null,r[He]=null,r[S]&=-129}return r}function PE(e,n,t,r){let o=U+r,i=t.length;r>0&&(t[o-1][He]=n),r-1&&(Ao(n,r),mo(t,r))}this._attachedToViewContainer=!1}Js(this._lView[b],this._lView)}onDestroy(n){ds(this._lView,n)}markForCheck(){ta(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[S]&=-129}reattach(){us(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,Qh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=fr(this._lView),t=this._lView[Gt];t!==null&&!n&&uu(t,this._lView),Ph(this._lView[b],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n;let t=fr(this._lView),r=this._lView[Gt];r!==null&&!t&&ng(r,this._lView),us(this._lView)}};function jE(e){return pr(e._lView)||!!(e._lView[S]&64)}function BE(e){cs(e._lView)}var yt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=VE;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=Ar(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new nn(i)}}return e})();function VE(){return na(ae(),E())}function na(e,n){return e.type&4?new yt(n,e,xr(e,n)):null}function Rr(e,n,t,r,o){let i=e.data[n];if(i===null)i=$E(e,n,t,r,o),Zf()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Wf();i.injectorIndex=s===null?-1:s.injectorIndex}return hr(i,!0),i}function $E(e,n,t,r,o){let i=ql(),s=Zl(),a=s?i:i&&i.parent,l=e.data[n]=UE(e,a,t,n,r,o);return HE(e,l,i,s),l}function HE(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function UE(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Wl()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Xl(),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}}var pR=new RegExp(`^(\\d+)*(${uD}|${cD})*(.*)`);function WE(e){let n=e[qt]??[],r=e[K][L],o=[];for(let i of n)i.data[Kc]!==void 0?o.push(i):zE(i,r);e[qt]=o}function zE(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[uh];for(;tnull,qE=()=>null;function Ps(e,n){return GE(e,n)}function rg(e,n,t){return qE(e,n,t)}var og=class{},ra=class{},xc=class{resolveComponentFactory(n){throw new T(917,!1)}},Vo=class{static NULL=new xc},Oo=class{},rn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ZE()}return e})();function ZE(){let e=E(),n=ae(),t=We(n.index,e);return(pt(t)?t:e)[L]}var ig=(()=>{class e{static \u0275prov=I({token:e,providedIn:"root",factory:()=>null})}return e})();var ws={},Er=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,ws,r);return o!==ws||t===ws?o:this.parentInjector.get(n,t,r)}};function js(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s0&&(t.directiveToIndex=new Map);for(let p=0;p0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function nC(e,n,t){if(t){if(n.exportAs)for(let r=0;rr(Ue(m[e.index])):e.index;ug(h,n,t,i,a,f,!1)}}return c}function sC(e){return e.startsWith("animation")||e.startsWith("transition")}function aC(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;il?a[l]:null}typeof s=="string"&&(i+=2)}return null}function ug(e,n,t,r,o,i,s){let a=n.firstCreatePass?Hl(n):null,l=$l(t),c=l.length;l.push(o,i),a&&a.push(r,e,c,(c+1)*(s?-1:1))}function Ip(e,n,t,r,o,i){let s=n[t],a=n[b],c=a.data[t].outputs[r],d=s[c].subscribe(i);ug(e.index,a,n,o,i,d,!0)}var Ac=Symbol("BINDING");var Bs=class extends Vo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=xt(n);return new Tr(t,this.ngModule)}};function lC(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Qs.SignalBased)!==0};return o&&(i.transform=o),i})}function cC(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function uC(e,n,t){let r=n instanceof Le?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Er(t,r):t}function dC(e){let n=e.get(Oo,null);if(n===null)throw new T(407,!1);let t=e.get(ig,null),r=e.get(Ze,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1}}function fC(e,n){let t=dg(e);return Dh(n,t,t==="svg"?Fl:t==="math"?Ff:null)}function dg(e){return(e.selectors[0][0]||"div").toLowerCase()}var Tr=class extends ra{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=lC(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=cC(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=LD(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){R(22);let a=w(null);try{let l=this.componentDef,c=pC(r,l,s,i),u=uC(l,o||this.ngModule,n),d=dC(u),p=d.rendererFactory.createRenderer(null,l),f=r?dE(p,r,l.encapsulation,u):fC(l,p),h=s?.some(wp)||i?.some(v=>typeof v!="function"&&v.bindings.some(wp)),m=ou(null,c,null,512|Th(l),null,null,d,p,u,null,gh(f,u,!0));m[P]=f,ms(m);let y=null;try{let v=Du(P,m,2,"#host",()=>c.directiveRegistry,!0,0);Ih(p,f,v),Ir(f,m),ea(c,m,v),eu(c,v,m),Eu(c,v),t!==void 0&&gC(v,this.ngContentSelectors,t),y=We(v.index,m),m[q]=y[q],vu(c,m,null)}catch(v){throw y!==null&&Cc(y),Cc(m),v}finally{R(23),ys()}return new Vs(this.componentType,m,!!h)}finally{w(a)}}};function pC(e,n,t,r){let o=e?["ng-version","20.3.24"]:PD(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[Ac].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function wp(e){let n=e[Ac].kind;return n==="input"||n==="twoWay"}var Vs=class extends og{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Rn(t[b],P),this.location=xr(this._tNode,t),this.instance=We(this._tNode.index,t)[q],this.hostView=this.changeDetectorRef=new nn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=yu(r,o[b],o,n,t);this.previousInputValues.set(n,t);let s=We(r.index,o);ta(s,1)}get injector(){return new Fn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function gC(e,n,t){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=mC}return e})();function mC(){let e=ae();return pg(e,E())}var yC=sn,fg=class extends yC{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return xr(this._hostTNode,this._hostLView)}get injector(){return new Fn(this._hostTNode,this._hostLView)}get parentInjector(){let n=Yc(this._hostTNode,this._hostLView);if(qp(n)){let t=Ns(n,this._hostLView),r=Ts(n),o=t[b].data[r+8];return new Fn(o,t)}else return new Fn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Sp(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-U}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ps(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Pn(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let l=n&&!kb(n),c;if(l)c=t;else{let y=t||{};c=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let u=l?n:new Tr(xt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let v=(l?d:this.parentInjector).get(Le,null);v&&(i=v)}let p=xt(u.componentType??{}),f=Ps(this._lContainer,p?.id??null),h=f?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,c,Pn(this._hostTNode,f)),m}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Pf(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[K],c=new fg(l,l[Ce],l[K]);c.detach(c.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Or(s,o,i,r),n.attachToViewContainerRef(),wl(uc(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Sp(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Ao(this._lContainer,t);r&&(mo(uc(this._lContainer),t),Js(r[b],r))}detach(n){let t=this._adjustIndex(n,-1),r=Ao(this._lContainer,t);return r&&mo(uc(this._lContainer),t)!=null?new nn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Sp(e){return e[Eo]}function uc(e){return e[Eo]||(e[Eo]=[])}function pg(e,n){let t,r=n[e.index];return Ke(r)?t=r:(t=eg(r,n,null,e),n[e.index]=t,iu(n,t)),bC(t,n,e,r),new fg(t,e,n)}function vC(e,n){let t=e[L],r=t.createComment(""),o=Xe(n,e),i=t.parentNode(o);return Rs(t,i,r,t.nextSibling(o),!1),r}var bC=EC,DC=()=>!1;function hg(e,n,t){return DC(e,n,t)}function EC(e,n,t,r){if(e[Zt])return;let o;t.type&8?o=Ue(r):o=vC(n,t),e[Zt]=o}var Oc=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Rc=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],u=n[-l];for(let d=U;dn.trim())}function bg(e,n,t){e.queries===null&&(e.queries=new kc),e.queries.track(new Fc(n,t))}function TC(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function wu(e,n){return e.queries.getByIndex(n)}function Dg(e,n){let t=e[b],r=wu(t,n);return r.crossesNgTemplate?Lc(t,e,n,[]):gg(t,e,r,n)}function Eg(e,n,t){let r,o=to(()=>{r._dirtyCounter();let i=NC(r,e);if(n&&i===void 0)throw new T(-951,!1);return i});return r=o[ie],r._dirtyCounter=ee(0),r._flatValue=void 0,o}function Su(e){return Eg(!0,!1,e)}function _u(e){return Eg(!0,!0,e)}function Cg(e,n){let t=e[ie];t._lView=E(),t._queryIndex=n,t._queryList=Iu(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function NC(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[S]&4)return n?void 0:he;let o=Iu(t,r),i=Dg(t,r);return o.reset(i,nh),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var jn=class{},Ig=class{};var Hs=class extends jn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Bs(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Tl(n);this._bootstrapComponents=wh(i.bootstrap),this._r3Injector=ec(n,t,[{provide:jn,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver},...r],Nt(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Us=class extends Ig{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Hs(this.moduleType,n,[])}};var Ro=class extends jn{injector;componentFactoryResolver=new Bs(this);instance=null;constructor(n){super();let t=new wn([...n.providers,{provide:jn,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver}],n.parent||bo(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Tu(e,n,t=null){return new Ro({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var MC=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=is(!1,t.type),o=r.length>0?Tu([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(ue(Le))})}return e})();function ke(e){return Fo(()=>{let n=wg(e),t=H(D({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Qc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(MC).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||wr.Emulated,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Rt("NgStandalone"),Sg(t);let r=e.dependencies;return t.directiveDefs=_p(r,xC),t.pipeDefs=_p(r,Nl),t.id=RC(t),t})}function xC(e){return xt(e)||vo(e)}function Fe(e){return Fo(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function AC(e,n){if(e==null)return Ye;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,l;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,l=o[3]||null):(i=o,s=o,a=Qs.None,l=null),t[i]=[r,a,l],n[i]=s}return t}function OC(e){if(e==null)return Ye;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function z(e){return Fo(()=>{let n=wg(e);return Sg(n),n})}function Nu(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function wg(e){let n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||Ye,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:AC(e.inputs,n),outputs:OC(e.outputs),debugInfo:null}}function Sg(e){e.features?.forEach(n=>n(e))}function _p(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function RC(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function kC(e){return Object.getPrototypeOf(e.prototype).constructor}function ne(e){let n=kC(e.type),t=!0,r=[e];for(;n;){let o;if(Je(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new T(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=dc(e.inputs),s.declaredInputs=dc(e.declaredInputs),s.outputs=dc(e.outputs);let a=o.hostBindings;a&&BC(e,a);let l=o.viewQuery,c=o.contentQueries;if(l&&PC(e,l),c&&jC(e,c),FC(e,o),bf(e.outputs,o.outputs),Je(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Cr(o.hostAttrs,t=Cr(t,o.hostAttrs))}}function dc(e){return e===Ye?{}:e===he?[]:e}function PC(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function jC(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function BC(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function vt(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=VC,t.hostDirectives=r?e.map(Pc):[e]):r?t.hostDirectives.unshift(...e.map(Pc)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function VC(e){let n=[],t=!1,r=null,o=null;for(let i=0;i{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?Tu(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=I({token:e,providedIn:"environment",factory:()=>new e})}return e})();var Ag=new C("");function pc(e,n,t){return e.get(oI).getOrCreateInjector(n,e,t,"")}function iI(e,n,t){if(e instanceof Er){let o=e.injector,i=e.parentInjector,s=pc(i,n,t);return new Er(o,s)}let r=e.get(Le);if(r!==e){let o=pc(r,n,t);return new Er(e,o)}return pc(e,n,t)}function tn(e,n,t,r=!1){let o=t[K],i=o[b];if(Qt(o))return;let s=kr(o,n),a=s[$o],l=s[QC];if(!(l!==null&&eo.data[Jc]===n[$o])??-1;return{dehydratedView:t>-1?e[qt][t]:null,dehydratedViewIx:t}}function aI(e,n,t,r,o){R(20);let i=tI(e,o,r);if(i!==null){n[$o]=e;let s=o[b],a=i+P,l=Rn(s,a),c=0;bu(t,c);let u;if(e===Z.Complete){let h=Fr(s,r),m=h.providers;m&&m.length>0&&(u=iI(o[xe],h,m))}let{dehydratedView:d,dehydratedViewIx:p}=sI(t,n),f=Ar(o,l,null,{injector:u,dehydratedView:d});if(Or(t,f,c,Pn(l,d)),ta(f,2),p>-1&&t[qt]?.splice(p,1),(e===Z.Complete||e===Z.Error)&&Array.isArray(n[fc])){for(let h of n[fc])h();n[fc]=null}}R(21)}function Op(e,n){return e{e.loadingState===Oe.COMPLETE?tn(Z.Complete,n,t):e.loadingState===Oe.FAILED&&tn(Z.Error,n,t)})}var cI=null;var uI=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Og=new C("");function la(e){return!!e&&typeof e.then=="function"}function xu(e){return!!e&&typeof e.subscribe=="function"}var Au=new C("");function Ou(e){return zt([{provide:Au,multi:!0,useValue:e}])}var Ru=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(Au,{optional:!0})??[];injector=g($e);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=ss(this.injector,o);if(la(i))t.push(i);else if(xu(i)){let s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rg=new C("");function kg(){ja(()=>{let e="";throw new T(600,e)})}function Fg(e){return e.isBoundToModule}var dI=10;var Ho=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(et);afterRenderManager=g(cu);zonelessEnabled=g(wo);rootEffectScheduler=g(So);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new se;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(en);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Vt(t=>!t))}constructor(){g(jo,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(Le);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=$e.NULL){return this._injector.get(de).run(()=>{R(10);let s=t instanceof ra;if(!this._injector.get(Ru).done){let h="";throw new T(405,h)}let l;s?l=t:l=this._injector.get(Vo).resolveComponentFactory(t),this.componentTypes.push(l.componentType);let c=Fg(l)?void 0:this._injector.get(jn),u=r||l.selector,d=l.create(o,[],u,c),p=d.location.nativeElement,f=d.injector.get(Og,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),To(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),R(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ks.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new T(101,!1);let t=w(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(t),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Oo,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++pr(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;To(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(Rg,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>To(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function To(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Lg(e,n,t){let r=n[xe],o=n[b];if(e.loadingState!==Oe.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=kr(n,t),s=rI(o,e);e.loadingState=Oe.IN_PROGRESS,Ss(1,i);let a=e.dependencyResolverFn,l=r.get(bs).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(c=>{let u=!1,d=[],p=[];for(let f of c)if(f.status==="fulfilled"){let h=f.value,m=xt(h)||vo(h);if(m)d.push(m);else{let y=Nl(h);y&&p.push(y)}}else{u=!0;break}if(u){if(e.loadingState=Oe.FAILED,e.errorTmplIndex===null){let h=new T(-750,!1);mu(n,h)}}else{e.loadingState=Oe.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=Ap(f.directiveRegistry,d);let h=d.map(y=>y.type),m=is(!1,...h);e.providers=m}p.length>0&&(f.pipeRegistry=Ap(f.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,l()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Oe.COMPLETE,l()}),e.loadingPromise)}function fI(e,n){return n[xe].get(Ag,null,{optional:!0})?.behavior!==Mu.Manual}function pI(e,n,t){let r=n[b],o=n[t.index];if(!fI(e,n))return;let i=kr(n,t),s=Fr(r,t);switch(Mg(i),s.loadingState){case Oe.NOT_STARTED:tn(Z.Loading,t,o),Lg(s,n,t),s.loadingState===Oe.IN_PROGRESS&&Rp(s,t,o);break;case Oe.IN_PROGRESS:tn(Z.Loading,t,o),Rp(s,t,o);break;case Oe.COMPLETE:tn(Z.Complete,t,o);break;case Oe.FAILED:tn(Z.Error,t,o);break;default:}}function hI(e,n,t){return e===0?kp(n,t):e===2?!kp(n,t):!0}function gI(e){return e!=null&&(e&1)===1}function kp(e,n){let t=e[xe],r=Fr(e[b],n),o=Xc(t),i=gI(r.flags),a=kr(e,n)[YC]!==null;return!(i&&a&&o)}function mI(e,n,t,r,o,i,s,a,l,c){let u=E(),d=B(),p=e+P,f=Bn(u,d,e,null,0,0),h=u[xe],m=Xc(h);if(d.firstCreatePass){Rt("NgDefer");let at={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:Oe.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:c??0};l?.(d,at,a,s),eI(d,p,at)}let y=u[p];hg(y,f,u);let v=null,A=null;if(y[qt]?.length>0){let at=y[qt][0].data;A=at[Kc]??null,v=at[Jc]}let ce=[null,Ws.Initial,null,null,null,null,A,v,null,null];XC(u,p,ce);let jt=null;A!==null&&m&&(jt=h.get(hh),jt.add(A,{lView:u,tNode:f,lContainer:y}));let pn=()=>{Mg(ce),A!==null&&jt?.cleanup([A])};JC(0,ce,()=>Vl(u,pn)),ds(u,pn)}function yI(e){let n=E(),t=mr();if(!hI(0,n,t))return;let r=Ot();if(we(n,r,e)){let o=w(null);try{let i=!!e,a=kr(n,t)[$o];i===!1&&a===Ws.Initial?lI(n,t):i===!0&&(a===Ws.Initial||a===Z.Placeholder)&&pI(0,n,t)}finally{w(o)}}}function Ft(e,n,t,r){let o=E(),i=Ot();if(we(o,i,n)){let s=B(),a=mr();bE(a,o,e,n,t,r)}return Ft}var DR=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var jc=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function hc(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function vI(e,n,t){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;i<=s&&i<=l;){let c=e.at(i),u=n[i],d=hc(i,c,i,u,t);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=n[l],h=hc(s,p,l,f,t);if(h!==0){h<0&&e.updateValue(s,f),s--,l--;continue}let m=t(i,c),y=t(s,p),v=t(i,u);if(Object.is(v,y)){let A=t(l,f);Object.is(A,m)?(e.swap(i,s),e.updateValue(s,f),l--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new zs,o??=Lp(e,i,s,t),Bc(e,r,i,v))e.updateValue(i,u),i++,s++;else if(o.has(v))r.set(m,e.detach(i)),s--;else{let A=e.create(i,n[i]);e.attach(i,A),i++,s++}}for(;i<=l;)Fp(e,r,t,i,n[i]),i++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&i<=s;){let u=e.at(i),d=c.value,p=hc(i,u,i,d,t);if(p!==0)p<0&&e.updateValue(i,d),i++,c=l.next();else{r??=new zs,o??=Lp(e,i,s,t);let f=t(i,d);if(Bc(e,r,i,f))e.updateValue(i,d),i++,s++,c=l.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=l.next();else{let h=t(i,u);r.set(h,e.detach(i)),s--}}}for(;!c.done;)Fp(e,r,t,e.length,c.value),c=l.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function Bc(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Fp(e,n,t,r,o){if(Bc(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Lp(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var zs=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function bI(e,n,t,r,o,i,s,a){Rt("NgControlFlow");let l=E(),c=B(),u=je(c.consts,i);return Bn(l,c,e,n,t,r,o,u,256,s,a),ku}function ku(e,n,t,r,o,i,s,a){Rt("NgControlFlow");let l=E(),c=B(),u=je(c.consts,i);return Bn(l,c,e,n,t,r,o,u,512,s,a),ku}function DI(e,n){Rt("NgControlFlow");let t=E(),r=Ot(),o=t[r]!==Se?t[r]:-1,i=o!==-1?Gs(t,P+o):void 0,s=0;if(we(t,r,e)){let a=w(null);try{if(i!==void 0&&bu(i,s),e!==-1){let l=P+e,c=Gs(t,l),u=Uc(t[b],l),d=rg(c,u,t),p=Ar(t,u,n,{dehydratedView:d});Or(c,p,s,Pn(u,d))}}finally{w(a)}}else if(i!==void 0){let a=tg(i,s);a!==void 0&&(a[q]=n)}}var Vc=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-U}};function EI(e){return e}var $c=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function CI(e,n,t,r,o,i,s,a,l,c,u,d,p){Rt("NgControlFlow");let f=E(),h=B(),m=l!==void 0,y=E(),v=a?s.bind(y[Ie][q]):s,A=new $c(m,v);y[P+e]=A,Bn(f,h,e+1,n,t,r,o,je(h.consts,i),256),m&&Bn(f,h,e+2,l,c,u,d,je(h.consts,p),512)}var Hc=class extends jc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-U}at(n){return this.getLView(n)[q].$implicit}attach(n,t){let r=t[Tn];this.needsIndexUpdate||=n!==this.length,Or(this.lContainer,t,n,Pn(this.templateTNode,r)),wI(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,SI(this.lContainer,n),_I(this.lContainer,n)}create(n,t){let r=Ps(this.lContainer,this.templateTNode.tView.ssrId),o=Ar(this.hostLView,this.templateTNode,new Vc(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(n){Js(n[b],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[q].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n0){let i=r[xe];KD(i,o),Mo.delete(r),o.detachedLeaveAnimationFns=void 0}}function SI(e,n){if(e.length<=U)return;let t=U+n,r=e[t],o=r?r[An]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function _I(e,n){return Ao(e,n)}function TI(e,n){return tg(e,n)}function Uc(e,n){return Rn(e,n)}function G(e,n,t){let r=E(),o=Ot();if(we(r,o,n)){let i=B(),s=mr();Uh(s,r,e,n,r[L],t)}return G}function Wc(e,n,t,r,o){yu(n,e,t,o?"class":"style",r)}function Lr(e,n,t,r){let o=E(),i=o[b],s=e+P,a=i.firstCreatePass?Du(s,o,2,n,pu,fs(),t,r):i.data[s];if(hu(a,o,e,n,Pg),dr(a)){let l=o[b];ea(l,o,a),eu(l,a,o)}return r!=null&&Bo(o,a),Lr}function Pr(){let e=B(),n=ae(),t=gu(n);return e.firstCreatePass&&Eu(e,t),zl(t)&&Gl(),Ul(),t.classesWithoutHost!=null&&Vb(t)&&Wc(e,t,E(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&$b(t)&&Wc(e,t,E(),t.stylesWithoutHost,!1),Pr}function Hn(e,n,t,r){return Lr(e,n,t,r),Pr(),Hn}function jr(e,n,t,r){let o=E(),i=o[b],s=e+P,a=i.firstCreatePass?oC(s,i,2,n,t,r):i.data[s];return hu(a,o,e,n,Pg),r!=null&&Bo(o,a),jr}function Br(){let e=ae(),n=gu(e);return zl(n)&&Gl(),Ul(),Br}function Uo(e,n,t,r){return jr(e,n,t,r),Br(),Uo}var Pg=(e,n,t,r,o)=>(Io(!0),Dh(n[L],r,Xl()));function Un(e,n,t){let r=E(),o=r[b],i=e+P,s=o.firstCreatePass?Du(i,r,8,"ng-container",pu,fs(),n,t):o.data[i];if(hu(s,r,e,"ng-container",NI),dr(s)){let a=r[b];ea(a,r,s),eu(a,s,r)}return t!=null&&Bo(r,s),Un}function Wn(){let e=B(),n=ae(),t=gu(n);return e.firstCreatePass&&Eu(e,t),Wn}function ca(e,n,t){return Un(e,n,t),Wn(),ca}var NI=(e,n,t,r,o)=>(Io(!0),ED(n[L],""));function MI(){return E()}function ua(e,n,t){let r=E(),o=Ot();if(we(r,o,n)){let i=B(),s=mr();Wh(s,r,e,n,r[L],t)}return ua}var Wo="en-US";var xI=Wo;function jg(e){typeof e=="string"&&(xI=e.toLowerCase().replace(/_/g,"-"))}function da(e,n,t){let r=E(),o=B(),i=ae();return Bg(o,r,r[L],i,e,n,t),da}function Bg(e,n,t,r,o,i,s){let a=!0,l=null;if((r.type&3||s)&&(l??=cc(r,n,i),iC(r,e,n,s,t,o,i,l)&&(a=!1)),a){let c=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d>17&32767}function LI(e){return(e&2)==2}function PI(e,n){return e&131071|n<<17}function zc(e){return e|2}function Nr(e){return(e&131068)>>2}function gc(e,n){return e&-131069|n<<2}function jI(e){return(e&1)===1}function Gc(e){return e|1}function BI(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Vn(s),l=Nr(s);e[r]=t;let c=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||lr(d,u)>0)&&(c=!0)}else u=t;if(o)if(l!==0){let p=Vn(e[a+1]);e[r+1]=Ds(p,a),p!==0&&(e[p+1]=gc(e[p+1],r)),e[a+1]=PI(e[a+1],r)}else e[r+1]=Ds(a,0),a!==0&&(e[a+1]=gc(e[a+1],r)),a=r;else e[r+1]=Ds(l,0),a===0?a=r:e[l+1]=gc(e[l+1],r),l=r;c&&(e[r+1]=zc(e[r+1])),Pp(e,u,r,!0),Pp(e,u,r,!1),VI(n,u,e,r,i),s=Ds(a,l),i?n.classBindings=s:n.styleBindings=s}function VI(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&lr(i,n)>=0&&(t[r+1]=Gc(t[r+1]))}function Pp(e,n,t,r){let o=e[t+1],i=n===null,s=r?Vn(o):Nr(o),a=!1;for(;s!==0&&(a===!1||i);){let l=e[s],c=e[s+1];$I(l,n)&&(a=!0,e[s+1]=r?Gc(c):zc(c)),s=r?Vn(c):Nr(c)}a&&(e[t+1]=r?zc(o):Gc(o))}function $I(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?lr(e,n)>=0:!1}var te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vg(e){return e.substring(te.key,te.keyEnd)}function HI(e){return e.substring(te.value,te.valueEnd)}function UI(e){return Ug(e),$g(e,Mr(e,0,te.textEnd))}function $g(e,n){let t=te.textEnd;return t===n?-1:(n=te.keyEnd=zI(e,te.key=n,t),Mr(e,n,t))}function WI(e){return Ug(e),Hg(e,Mr(e,0,te.textEnd))}function Hg(e,n){let t=te.textEnd,r=te.key=Mr(e,n,t);return t===r?-1:(r=te.keyEnd=GI(e,r,t),r=jp(e,r,t,58),r=te.value=Mr(e,r,t),r=te.valueEnd=qI(e,r,t),jp(e,r,t,59))}function Ug(e){te.key=0,te.keyEnd=0,te.value=0,te.valueEnd=0,te.textEnd=e.length}function Mr(e,n,t){for(;n32;)n++;return n}function GI(e,n,t){let r;for(;n=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function jp(e,n,t,r){return n=Mr(e,n,t),n32&&(a=s),i=o,o=r,r=l&-33}return a}function Bp(e,n,t,r){let o=-1,i=t;for(;i=0;t=Hg(n,t))Zg(e,Vg(n),HI(n))}function _e(e){zg(tw,YI,e,!0)}function YI(e,n){for(let t=UI(n);t>=0;t=$g(n,t))yo(e,Vg(n),!0)}function Wg(e,n,t,r){let o=E(),i=B(),s=ps(2);if(i.firstUpdatePass&&qg(i,e,s,r),n!==Se&&we(o,s,n)){let a=i.data[gt()];Yg(i,a,o,o[L],e,o[s+1]=rw(n,t),r,s)}}function zg(e,n,t,r){let o=B(),i=ps(2);o.firstUpdatePass&&qg(o,null,i,r);let s=E();if(t!==Se&&we(s,i,t)){let a=o.data[gt()];if(Qg(a,r)&&!Gg(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(t=Xi(l,t||"")),Wc(o,a,s,t,r)}else nw(o,a,s,s[L],s[i+1],s[i+1]=ew(e,n,t),r,i)}}function Gg(e,n){return n>=e.expandoStartIndex}function qg(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[gt()],s=Gg(e,t);Qg(i,r)&&n===null&&!s&&(n=!1),n=QI(o,i,n,r),BI(o,i,n,t,s,r)}}function QI(e,n,t,r){let o=Kf(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=mc(null,e,n,t,r),t=ko(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=mc(o,e,n,t,r),i===null){let l=KI(e,n,r);l!==void 0&&Array.isArray(l)&&(l=mc(null,e,n,l[1],r),l=ko(l,n.attrs,r),JI(e,n,r,l))}else i=XI(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function KI(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Nr(r)!==0)return e[Vn(r)]}function JI(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Vn(o)]=r}function XI(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0;){let l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=u===null,p=t[o+1];p===Se&&(p=d?he:void 0);let f=d?os(p,r):u===r?p:void 0;if(c&&!qs(f)&&(f=os(l,r)),qs(f)&&(a=f,s))return a;let h=e[o+1];o=s?Vn(h):Nr(h)}if(n!==null){let l=i?n.residualClasses:n.residualStyles;l!=null&&(a=os(l,r))}return a}function qs(e){return e!==void 0}function rw(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Nt(Po(e)))),e}function Qg(e,n){return(e.flags&(n?8:16))!==0}function zo(e,n=""){let t=E(),r=B(),o=e+P,i=r.firstCreatePass?Rr(r,o,1,n,null):r.data[o],s=ow(r,t,i,n,e);t[o]=s,vs()&&du(r,t,s,i),hr(i,!1)}var ow=(e,n,t,r,o)=>(Io(!0),bD(n[L],r));function Kg(e,n,t,r=""){return we(e,Ot(),t)?n+_n(t)+r:Se}function iw(e,n,t,r,o,i=""){let s=Gf(),a=_r(e,s,t,o);return ps(2),a?n+_n(t)+r+_n(o)+i:Se}function Wr(e){return Pu("",e),Wr}function Pu(e,n,t){let r=E(),o=Kg(r,e,n,t);return o!==Se&&Xg(r,gt(),o),Pu}function Jg(e,n,t,r,o){let i=E(),s=iw(i,e,n,t,r,o);return s!==Se&&Xg(i,gt(),s),Jg}function Xg(e,n,t){let r=Ll(n,e);DD(e[L],r,t)}function em(e,n,t){rc(n)&&(n=n());let r=E(),o=Ot();if(we(r,o,n)){let i=B(),s=mr();Uh(s,r,e,n,r[L],t)}return em}function sw(e,n){let t=rc(e);return t&&e.set(n),t}function tm(e,n){let t=E(),r=B(),o=ae();return Bg(r,t,t[L],o,e,n),tm}function aw(e,n,t=""){return Kg(E(),e,n,t)}function lw(e,n,t){let r=B();if(r.firstCreatePass){let o=Je(e);qc(t,r.data,r.blueprint,o,!0),qc(n,r.data,r.blueprint,o,!1)}}function qc(e,n,t,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i>20;if(In(e)||!e.multi){let f=new Ln(c,o,W,null),h=vc(l,n,o?u:u+p,d);h===-1?(Dc(xs(a,s),i,l),yc(i,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[h]=f,s[h]=f)}else{let f=vc(l,n,u+p,d),h=vc(l,n,u,u+p),m=f>=0&&t[f],y=h>=0&&t[h];if(o&&!y||!o&&!m){Dc(xs(a,s),i,l);let v=dw(o?uw:cw,t.length,o,r,c,e);!o&&y&&(t[h].providerFactory=v),yc(i,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(v),s.push(v)}else{let v=nm(t[o?h:f],c,!o&&r);yc(i,e,f>-1?f:h,v)}!o&&r&&y&&t[h].componentProviders++}}}function yc(e,n,t,r){let o=In(n),i=Of(n);if(o||i){let l=(i?X(n.useClass):n).prototype.ngOnDestroy;if(l){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=c.indexOf(t);u===-1?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function nm(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function vc(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>lw(r,o?o(e):e,n)}}function fw(e,n,t){let r=ht()+e,o=E();return o[r]===Se?on(o,r,t?n.call(t):n()):ia(o,r)}function pw(e,n,t,r){return bw(E(),ht(),e,n,t,r)}function ha(e,n,t,r,o){return Dw(E(),ht(),e,n,t,r,o)}function hw(e,n,t,r,o,i){return rm(E(),ht(),e,n,t,r,o,i)}function gw(e,n,t,r,o,i,s){return Ew(E(),ht(),e,n,t,r,o,i,s)}function mw(e,n,t,r,o,i,s,a){let l=ht()+e,c=E(),u=sa(c,l,t,r,o,i);return we(c,l+4,s)||u?on(c,l+5,a?n.call(a,t,r,o,i,s):n(t,r,o,i,s)):ia(c,l+5)}function yw(e,n,t,r,o,i,s,a,l){let c=ht()+e,u=E(),d=sa(u,c,t,r,o,i);return _r(u,c+4,s,a)||d?on(u,c+6,l?n.call(l,t,r,o,i,s,a):n(t,r,o,i,s,a)):ia(u,c+6)}function vw(e,n,t,r,o,i,s,a,l,c){let u=ht()+e,d=E(),p=sa(d,u,t,r,o,i);return cg(d,u+4,s,a,l)||p?on(d,u+7,c?n.call(c,t,r,o,i,s,a,l):n(t,r,o,i,s,a,l)):ia(d,u+7)}function ga(e,n){let t=e[n];return t===Se?void 0:t}function bw(e,n,t,r,o,i){let s=n+t;return we(e,s,o)?on(e,s+1,i?r.call(i,o):r(o)):ga(e,s+1)}function Dw(e,n,t,r,o,i,s){let a=n+t;return _r(e,a,o,i)?on(e,a+2,s?r.call(s,o,i):r(o,i)):ga(e,a+2)}function rm(e,n,t,r,o,i,s,a){let l=n+t;return cg(e,l,o,i,s)?on(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):ga(e,l+3)}function Ew(e,n,t,r,o,i,s,a,l){let c=n+t;return sa(e,c,o,i,s,a)?on(e,c+4,l?r.call(l,o,i,s,a):r(o,i,s,a)):ga(e,c+4)}function Cw(e,n){let t=B(),r,o=e+P;t.firstCreatePass?(r=Iw(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Ht(r.type,!0)),s,a=De(W);try{let l=Ms(!1),c=i();return Ms(l),jl(t,E(),o,c),c}finally{De(a)}}function Iw(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function ww(e,n,t,r,o){let i=e+P,s=E(),a=Pl(s,i);return Sw(s,i)?rm(s,ht(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function Sw(e,n){return e[b].data[n].pure}function _w(e,n){return na(e,n)}var Zs=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Tw=(()=>{class e{compileModuleSync(t){return new Us(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Tl(t),i=wh(o.declarations).reduce((s,a)=>{let l=xt(a);return l&&s.push(new Tr(l)),s},[]);return new Zs(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Nw=(()=>{class e{zone=g(de);changeDetectionScheduler=g(Ze);applicationRef=g(Ho);applicationErrorHandler=g(et);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),om=new C("",{factory:()=>!1});function ju({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new de(H(D({},Bu()),{scheduleInRootZone:t})),[{provide:de,useFactory:e},{provide:Wt,multi:!0,useFactory:()=>{let r=g(Nw,{optional:!0});return()=>r.initialize()}},{provide:Wt,multi:!0,useFactory:()=>{let r=g(xw);return()=>{r.initialize()}}},n===!0?{provide:oc,useValue:!0}:[],{provide:ic,useValue:t??xh},{provide:et,useFactory:()=>{let r=g(de),o=g(Le),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Mt),i.handleError(s))})}}}]}function Mw(e){let n=e?.ignoreChangesOutsideZone,t=e?.scheduleInRootZone,r=ju({ngZoneFactory:()=>{let o=Bu(e);return o.scheduleInRootZone=t,o.shouldCoalesceEventChangeDetection&&Rt("NgZone_CoalesceEvent"),new de(o)},ignoreChangesOutsideZone:n,scheduleInRootZone:t});return zt([{provide:om,useValue:!0},{provide:wo,useValue:!1},r])}function Bu(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var xw=(()=>{class e{subscription=new Q;initialized=!1;zone=g(de);pendingTasks=g(en);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{de.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{de.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var im=(()=>{class e{applicationErrorHandler=g(et);appRef=g(Ho);taskService=g(en);ngZone=g(de);zonelessEnabled=g(wo);tracing=g(jo,{optional:!0});disableScheduling=g(oc,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Q;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ks):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(ic,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Fs||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?pp:Ah;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ks+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(t),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,pp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Aw(){return typeof $localize<"u"&&$localize.locale||Wo}var ma=new C("",{providedIn:"root",factory:()=>g(ma,{optional:!0,skipSelf:!0})||Aw()});function ya(e){return hf(e)}function nt(e,n){return to(e,n?.equal)}var Vu=class{[ie];constructor(n){this[ie]=n}destroy(){this[ie].destroy()}};function ye(e,n){let t=n?.injector??g($e),r=n?.manualCleanup!==!0?t.get(Xt):null,o,i=t.get(vr,null,{optional:!0}),s=t.get(Ze);return i!==null?(o=kw(i.view,s,e),r instanceof po&&r._lView===i.view&&(r=null)):o=Fw(e,t.get(So),s),o.injector=t,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Vu(o)}var sm=H(D({},gf),{cleanupFns:void 0,zone:null,onDestroyFn:kn,run(){let e=gr(!1);try{mf(this)}finally{gr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=w(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],w(e)}}}),Ow=H(D({},sm),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){mn(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),Rw=H(D({},sm),{consumerMarkedDirty(){this.view[S]|=8192,Kt(this.view),this.notifier.notify(13)},destroy(){mn(this),this.onDestroyFn(),this.cleanup(),this.view[At]?.delete(this)}});function kw(e,n,t){let r=Object.create(Rw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=am(r,t),e[At]??=new Set,e[At].add(r),r.consumerMarkedDirty(r),r}function Fw(e,n,t){let r=Object.create(Ow);return r.fn=am(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function am(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}var hm=Symbol("InputSignalNode#UNSET"),zw=H(D({},Ei),{transformFn:void 0,applyValueToInputSignal(e,n){Jn(e,n)}});function gm(e,n){let t=Object.create(zw);t.value=e,t.transformFn=n?.transform;function r(){if(Zn(t),t.value===hm){let o=null;throw new T(-950,o)}return t.value}return r[ie]=t,r}var Gw=new C("");Gw.__NG_ELEMENT_ID__=e=>{let n=ae();if(n===null)throw new T(204,!1);if(n.type&2)return n.value;if(e&8)return null;throw new T(204,!1)};function lm(e,n){return gm(e,n)}function qw(e){return gm(hm,e)}var J=(lm.required=qw,lm);function cm(e,n){return Su(n)}function Zw(e,n){return _u(n)}var o2=(cm.required=Zw,cm);function um(e,n){return Su(n)}function Yw(e,n){return _u(n)}var Yu=(um.required=Yw,um);var $u=new C(""),Qw=new C("");function Go(e){return!e.moduleRef}function Kw(e){let n=Go(e)?e.r3Injector:e.moduleRef.injector,t=n.get(de);return t.run(()=>{Go(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(et),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),Go(e)){let i=()=>n.destroy(),s=e.platformInjector.get($u);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get($u);s.add(i),e.moduleRef.onDestroy(()=>{To(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Xw(r,t,()=>{let i=n.get(en),s=i.add(),a=n.get(Ru);return a.runInitializers(),a.donePromise.then(()=>{let l=n.get(ma,Wo);if(jg(l||Wo),!n.get(Qw,!0))return Go(e)?n.get(Ho):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Go(e)){let u=n.get(Ho);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Jw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Jw;function Xw(e,n,t){try{let r=t();return la(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var va=null;function eS(e=[],n){return $e.create({name:n,providers:[{provide:xl,useValue:"platform"},{provide:$u,useValue:new Set([()=>va=null])},...e]})}function tS(e=[]){if(va)return va;let n=eS(e);return va=n,kg(),nS(n),n}function nS(e){let n=e.get(ch,null);ss(e,()=>{n?.forEach(t=>t())})}var Qu=(()=>{class e{static __NG_ELEMENT_ID__=rS}return e})();function rS(e){return oS(ae(),E(),(e&16)===16)}function oS(e,n,t){if(Yt(e)&&!t){let r=We(e.index,n);return new nn(r,r)}else if(e.type&175){let r=n[Ie];return new nn(r,n)}return null}var Hu=class{constructor(){}supports(n){return Cu(n)}create(n){return new Uu(n)}},iS=(e,n)=>n,Uu=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||iS}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Wu(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new ba),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ba),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Wu=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},zu=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},ba=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new zu,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function dm(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Zu(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},Zu=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function fm(){return new Ku([new Hu])}var Ku=(()=>{class e{factories;static \u0275prov=I({token:e,providedIn:"root",factory:fm});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(t,r||fm())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new T(901,!1)}}return e})();function pm(){return new Ju([new Gu])}var Ju=(()=>{class e{static \u0275prov=I({token:e,providedIn:"root",factory:pm});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(t,r||pm())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new T(901,!1)}}return e})();function i2(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;R(8);try{let i=o?.injector??tS(r),s=[ju({}),{provide:Ze,useExisting:im},rp,...t||[]],a=new Ro({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Kw({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{R(9)}}function Y(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function mm(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var bm=null;function Da(){return bm}function sS(e){bm??=e}var Xu=class{},ed=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:()=>g(Dm),providedIn:"platform"})}return e})();var Dm=(()=>{class e extends ed{_location;_history;_doc=g(Ae);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Da().getBaseHref(this._doc)}onPopState(t){let r=Da().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Da().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Em(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function ym(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function an(e){return e&&e[0]!=="?"?`?${e}`:e}var Ea=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:()=>g(Im),providedIn:"root"})}return e})(),Cm=new C(""),Im=(()=>{class e extends Ea{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(Ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Em(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+an(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+an(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+an(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(ue(ed),ue(Cm,8))};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wm=(()=>{class e{_subject=new se;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=cS(ym(vm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+an(r))}normalize(t){return e.stripTrailingSlash(lS(this._basePath,vm(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+an(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+an(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=an;static joinWithSlash=Em;static stripTrailingSlash=ym;static \u0275fac=function(r){return new(r||e)(ue(Ea))};static \u0275prov=I({token:e,factory:()=>aS(),providedIn:"root"})}return e})();function aS(){return new wm(ue(Ea))}function lS(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function vm(e){return e.replace(/\/index.html$/,"")}function cS(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var td=/\s+/,Sm=[],uS=(()=>{class e{_ngEl;_renderer;initialClasses=Sm;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(td):Sm}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(td):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(td).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(W(Re),W(rn))};static \u0275dir=z({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Ca=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Nm=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Ca(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),_m(a,o)}});for(let o=0,i=r.length;o{let i=r.get(o.currentIndex);_m(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(W(sn),W(yt),W(Ku))};static \u0275dir=z({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function _m(e,n){e.context.$implicit=n.item}var nd=(()=>{class e{_viewContainer;_context=new Ia;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Tm(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Tm(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(W(sn),W(yt))};static \u0275dir=z({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ia=class{$implicit=null;ngIf=null};function Tm(e,n){if(e&&!e.createEmbeddedView)throw new T(2020,!1)}var rd=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:Sr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(W(Re),W(Ju),W(rn))};static \u0275dir=z({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),od=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(W(sn))};static \u0275dir=z({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Lo]})}return e})();function dS(e,n){return new T(2100,!1)}var fS=(()=>{class e{transform(t,r,o){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw dS(e,t);return t.slice(r,o)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Nu({name:"slice",type:e,pure:!1})}return e})();var Et=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Fe({type:e});static \u0275inj=Ee({})}return e})();function pS(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var id=class{};var hS="browser",gS="server";function zr(e){return e===hS}function sd(e){return e===gS}function ln(...e){if(e){let n=[];for(let t=0;ta?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}function Mm(e,n){return e?e.classList?e.classList.contains(n):new RegExp("(^| )"+n+"( |$)","gi").test(e.className):!1}function zn(e,n){if(e&&n){let t=r=>{Mm(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(t))}}function yS(){return window.innerWidth-document.documentElement.offsetWidth}function xm(e){typeof e=="string"?zn(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.setProperty(e.variableName,yS()+"px"),zn(document.body,e?.className||"p-overflow-hidden"))}function cn(e,n){if(e&&n){let t=r=>{e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(t))}}function Am(e){typeof e=="string"?cn(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.removeProperty(e.variableName),cn(document.body,e?.className||"p-overflow-hidden"))}function qo(e){for(let n of document?.styleSheets)try{for(let t of n?.cssRules)for(let r of t?.style)if(e.test(r))return{name:r,value:t.style.getPropertyValue(r).trim()}}catch{}return null}function Om(e){let n={width:0,height:0};if(e){let[t,r]=[e.style.visibility,e.style.display],o=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",n.width=o.width||e.offsetWidth,n.height=o.height||e.offsetHeight,e.style.display=r,e.style.visibility=t}return n}function Rm(){let e=window,n=document,t=n.documentElement,r=n.getElementsByTagName("body")[0],o=e.innerWidth||t.clientWidth||r.clientWidth,i=e.innerHeight||t.clientHeight||r.clientHeight;return{width:o,height:i}}function ad(e){return e?Math.abs(e.scrollLeft):0}function vS(){let e=document.documentElement;return(window.pageXOffset||ad(e))-(e.clientLeft||0)}function bS(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function DS(e){return e?getComputedStyle(e).direction==="rtl":!1}function PB(e,n,t=!0){var r,o,i,s;if(e){let a=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Om(e),l=a.height,c=a.width,u=n.offsetHeight,d=n.offsetWidth,p=n.getBoundingClientRect(),f=bS(),h=vS(),m=Rm(),y,v,A="top";p.top+u+l>m.height?(y=p.top+f-l,A="bottom",y<0&&(y=f)):y=u+p.top+f,p.left+c>m.width?v=Math.max(0,p.left+h+d-c):v=p.left+h,DS(e)?e.style.insetInlineEnd=v+"px":e.style.insetInlineStart=v+"px",e.style.top=y+"px",e.style.transformOrigin=A,t&&(e.style.marginTop=A==="bottom"?`calc(${(o=(r=qo(/-anchor-gutter$/))==null?void 0:r.value)!=null?o:"2px"} * -1)`:(s=(i=qo(/-anchor-gutter$/))==null?void 0:i.value)!=null?s:"")}}function jB(e,n){e&&(typeof n=="string"?e.style.cssText=n:Object.entries(n||{}).forEach(([t,r])=>e.style[t]=r))}function km(e,n){if(e instanceof HTMLElement){let t=e.offsetWidth;if(n){let r=getComputedStyle(e);t+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return t}return 0}function BB(e,n,t=!0,r=void 0){var o;if(e){let i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Om(e),s=n.offsetHeight,a=n.getBoundingClientRect(),l=Rm(),c,u,d=r??"top";if(!r&&a.top+s+i.height>l.height?(c=-1*i.height,d="bottom",a.top+c<0&&(c=-1*a.top)):c=s,i.width>l.width?u=a.left*-1:a.left+i.width>l.width?u=(a.left+i.width-l.width)*-1:u=0,e.style.top=c+"px",e.style.insetInlineStart=u+"px",e.style.transformOrigin=d,t){let p=(o=qo(/-anchor-gutter$/))==null?void 0:o.value;e.style.marginTop=d==="bottom"?`calc(${p??"2px"} * -1)`:p??""}}}function Fm(e){if(e){let n=e.parentNode;return n&&n instanceof ShadowRoot&&n.host&&(n=n.host),n}return null}function ES(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&Fm(e))}function Zo(e){return typeof Element<"u"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function Lm(e){let n=e;return e&&typeof e=="object"&&(Object.hasOwn(e,"current")?n=e.current:Object.hasOwn(e,"el")&&(Object.hasOwn(e.el,"nativeElement")?n=e.el.nativeElement:n=e.el)),Zo(n)?n:void 0}function CS(e,n){var t,r,o;if(e)switch(e){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return n?.nextElementSibling;case"@prev":return n?.previousElementSibling;case"@first":return n?.firstElementChild;case"@last":return n?.lastElementChild;case"@child":return(t=n?.children)==null?void 0:t[0];case"@parent":return n?.parentElement;case"@grandparent":return(r=n?.parentElement)==null?void 0:r.parentElement;default:{if(typeof e=="string"){let a=e.match(/^@child\[(\d+)]/);return a?((o=n?.children)==null?void 0:o[parseInt(a[1],10)])||null:document.querySelector(e)||null}let i=(a=>typeof a=="function"&&"call"in a&&"apply"in a)(e)?e():e,s=Lm(i);return ES(s)?s:i?.nodeType===9?i:void 0}}}function VB(e,n){let t=CS(e,n);if(t)t.appendChild(n);else throw new Error("Cannot append "+n+" to "+e)}function wa(e,n={}){if(Zo(e)){let t=(r,o)=>{var i,s;let a=(i=e?.$attrs)!=null&&i[r]?[(s=e?.$attrs)==null?void 0:s[r]]:[];return[o].flat().reduce((l,c)=>{if(c!=null){let u=typeof c;if(u==="string"||u==="number")l.push(c);else if(u==="object"){let d=Array.isArray(c)?t(r,c):Object.entries(c).map(([p,f])=>r==="style"&&(f||f===0)?`${p.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${f}`:f?p:void 0);l=d.length?l.concat(d.filter(p=>!!p)):l}}return l},a)};Object.entries(n).forEach(([r,o])=>{if(o!=null){let i=r.match(/^on(.+)/);i?e.addEventListener(i[1].toLowerCase(),o):r==="p-bind"||r==="pBind"?wa(e,o):(o=r==="class"?[...new Set(t("class",o))].join(" ").trim():r==="style"?t("style",o).join(";").trim():o,(e.$attrs=e.$attrs||{})&&(e.$attrs[r]=o),e.setAttribute(r,o))}})}}function Sa(e,n={},...t){if(e){let r=document.createElement(e);return wa(r,n),r.append(...t),r}}function $B(e,n){if(e){e.style.opacity="0";let t=+new Date,r="0",o=function(){r=`${+e.style.opacity+(new Date().getTime()-t)/n}`,e.style.opacity=r,t=+new Date,+r<1&&("requestAnimationFrame"in window?requestAnimationFrame(o):setTimeout(o,16))};o()}}function IS(e,n){return Zo(e)?Array.from(e.querySelectorAll(n)):[]}function Gr(e,n){return Zo(e)?e.matches(n)?e:e.querySelector(n):null}function HB(e,n){e&&document.activeElement!==e&&e.focus(n)}function Pm(e,n=""){let t=IS(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, + [href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${n}, + input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, + select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, + textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, + [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, + [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}`),r=[];for(let o of t)getComputedStyle(o).display!="none"&&getComputedStyle(o).visibility!="hidden"&&r.push(o);return r}function UB(e,n){let t=Pm(e,n);return t.length>0?t[0]:null}function ld(e){if(e){let n=e.offsetHeight,t=getComputedStyle(e);return n-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),n}return 0}function WB(e){var n;if(e){let t=(n=Fm(e))==null?void 0:n.childNodes,r=0;if(t)for(let o=0;o0?t[t.length-1]:null}function jm(e){if(e){let n=e.getBoundingClientRect();return{top:n.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:n.left+(window.pageXOffset||ad(document.documentElement)||ad(document.body)||0)}}return{top:"auto",left:"auto"}}function cd(e,n){if(e){let t=e.offsetHeight;if(n){let r=getComputedStyle(e);t+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return t}return 0}function GB(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function ud(e){if(e){let n=e.offsetWidth,t=getComputedStyle(e);return n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderLeftWidth)+parseFloat(t.borderRightWidth),n}return 0}function qB(e){return!!(e&&e.offsetParent!=null)}function ZB(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function Bm(e){var n;e&&("remove"in Element.prototype?e.remove():(n=e.parentNode)==null||n.removeChild(e))}function YB(e,n){let t=Lm(e);if(t)t.removeChild(n);else throw new Error("Cannot remove "+n+" from "+e)}function QB(e,n){let t=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=t?parseFloat(t):0,o=getComputedStyle(e).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,s=e.getBoundingClientRect(),a=n.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-r-i,l=e.scrollTop,c=e.clientHeight,u=cd(n);a<0?e.scrollTop=l+a:a+u>c&&(e.scrollTop=l+a-c+u)}function Vm(e,n="",t){Zo(e)&&t!==null&&t!==void 0&&e.setAttribute(n,t)}function $m(){let e=new Map;return{on(n,t){let r=e.get(n);return r?r.push(t):r=[t],e.set(n,r),this},off(n,t){let r=e.get(n);return r&&r.splice(r.indexOf(t)>>>0,1),this},emit(n,t){let r=e.get(n);r&&r.forEach(o=>{o(t)})},clear(){e.clear()}}}var wS=Object.defineProperty,Hm=Object.getOwnPropertySymbols,SS=Object.prototype.hasOwnProperty,_S=Object.prototype.propertyIsEnumerable,Um=(e,n,t)=>n in e?wS(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Wm=(e,n)=>{for(var t in n||(n={}))SS.call(n,t)&&Um(e,t,n[t]);if(Hm)for(var t of Hm(n))_S.call(n,t)&&Um(e,t,n[t]);return e};function zm(...e){if(e){let n=[];for(let t=0;ta?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}function TS(e){return typeof e=="function"&&"call"in e&&"apply"in e}function NS({skipUndefined:e=!1},...n){return n?.reduce((t,r={})=>{for(let o in r){let i=r[o];if(!(e&&i===void 0))if(o==="style")t.style=Wm(Wm({},t.style),r.style);else if(o==="class"||o==="className")t[o]=zm(t[o],r[o]);else if(TS(i)){let s=t[o];t[o]=s?(...a)=>{s(...a),i(...a)}:i}else t[o]=i}return t},{})}function dd(...e){return NS({skipUndefined:!1},...e)}var MS=Object.defineProperty,Gm=Object.getOwnPropertySymbols,xS=Object.prototype.hasOwnProperty,AS=Object.prototype.propertyIsEnumerable,qm=(e,n,t)=>n in e?MS(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,OS=(e,n)=>{for(var t in n||(n={}))xS.call(n,t)&&qm(e,t,n[t]);if(Gm)for(var t of Gm(n))AS.call(n,t)&&qm(e,t,n[t]);return e};function Ct(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function fd(e,n,t=new WeakSet){if(e===n)return!0;if(!e||!n||typeof e!="object"||typeof n!="object"||t.has(e)||t.has(n))return!1;t.add(e).add(n);let r=Array.isArray(e),o=Array.isArray(n),i,s,a;if(r&&o){if(s=e.length,s!=n.length)return!1;for(i=s;i--!==0;)if(!fd(e[i],n[i],t))return!1;return!0}if(r!=o)return!1;let l=e instanceof Date,c=n instanceof Date;if(l!=c)return!1;if(l&&c)return e.getTime()==n.getTime();let u=e instanceof RegExp,d=n instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==n.toString();let p=Object.keys(e);if(s=p.length,s!==Object.keys(n).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,p[i]))return!1;for(i=s;i--!==0;)if(a=p[i],!fd(e[a],n[a],t))return!1;return!0}function RS(e,n){return fd(e,n)}function Ta(e){return typeof e=="function"&&"call"in e&&"apply"in e}function F(e){return!Ct(e)}function _a(e,n){if(!e||!n)return null;try{let t=e[n];if(F(t))return t}catch{}if(Object.keys(e).length){if(Ta(n))return n(e);if(n.indexOf(".")===-1)return e[n];{let t=n.split("."),r=e;for(let o=0,i=t.length;o{let o=r;rt(n[o])&&o in e&&rt(e[o])?t[o]=Zm(e[o],n[o]):t[o]=n[o]}),t}function Ym(...e){return e.reduce((n,t,r)=>r===0?t:Zm(n,t),{})}function tV(e,n){let t=-1;if(F(e))try{t=e.findLastIndex(n)}catch{t=e.lastIndexOf([...e].reverse().find(n))}return t}function le(e,...n){return Ta(e)?e(...n):e}function Ge(e,n=!0){return typeof e=="string"&&(n||e!=="")}function un(e){return Ge(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function Na(e,n="",t={}){let r=un(n).split("."),o=r.shift();if(o){if(rt(e)){let i=Object.keys(e).find(s=>un(s)===o)||"";return Na(le(e[i],t),r.join("."),t)}return}return le(e,t)}function pd(e,n=!0){return Array.isArray(e)&&(n||e.length!==0)}function nV(e){return e instanceof Date}function Qm(e){return F(e)&&!isNaN(e)}function rV(e=""){return F(e)&&e.length===1&&!!e.match(/\S| /)}function ot(e,n){if(n){let t=n.test(e);return n.lastIndex=0,t}return!1}function Gn(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function Ve(e){if(e&&/[\xC0-\xFF\u0100-\u017E]/.test(e)){let n={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let t in n)e=e.replace(n[t],t)}return e}function Ma(e){return Ge(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}var xa={};function Qo(e="pui_id_"){return Object.hasOwn(xa,e)||(xa[e]=0),xa[e]++,`${e}${xa[e]}`}var Km=["*"];var fe=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return e})(),cV=(()=>{class e{static AND="and";static OR="or"}return e})(),uV=(()=>{class e{filter(t,r,o,i,s){let a=[];if(t)for(let l of t)for(let c of r){let u=_a(l,c);if(this.filters[i](u,o,s)){a.push(l);break}}return a}filters={startsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=Ve(r.toString()).toLocaleLowerCase(o);return Ve(t.toString()).toLocaleLowerCase(o).slice(0,i.length)===i},contains:(t,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(t==null)return!1;let i=Ve(r.toString()).toLocaleLowerCase(o);return Ve(t.toString()).toLocaleLowerCase(o).indexOf(i)!==-1},notContains:(t,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(t==null)return!1;let i=Ve(r.toString()).toLocaleLowerCase(o);return Ve(t.toString()).toLocaleLowerCase(o).indexOf(i)===-1},endsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=Ve(r.toString()).toLocaleLowerCase(o),s=Ve(t.toString()).toLocaleLowerCase(o);return s.indexOf(i,s.length-i.length)!==-1},equals:(t,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()===r.getTime():t==r?!0:Ve(t.toString()).toLocaleLowerCase(o)==Ve(r.toString()).toLocaleLowerCase(o),notEquals:(t,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!1:t==null?!0:t.getTime&&r.getTime?t.getTime()!==r.getTime():t==r?!1:Ve(t.toString()).toLocaleLowerCase(o)!=Ve(r.toString()).toLocaleLowerCase(o),in:(t,r)=>{if(r==null||r.length===0)return!0;for(let o=0;or==null||r[0]==null||r[1]==null?!0:t==null?!1:t.getTime?r[0].getTime()<=t.getTime()&&t.getTime()<=r[1].getTime():r[0]<=t&&t<=r[1],lt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<=r.getTime():t<=r,gt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>r.getTime():t>r,gte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>=r.getTime():t>=r,is:(t,r,o)=>this.filters.equals(t,r,o),isNot:(t,r,o)=>this.filters.notEquals(t,r,o),before:(t,r,o)=>this.filters.lt(t,r,o),after:(t,r,o)=>this.filters.gt(t,r,o),dateIs:(t,r)=>r==null?!0:t==null?!1:t.toDateString()===r.toDateString(),dateIsNot:(t,r)=>r==null?!0:t==null?!1:t.toDateString()!==r.toDateString(),dateBefore:(t,r)=>r==null?!0:t==null?!1:t.getTime()r==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>r.getTime())};register(t,r){this.filters[t]=r}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var dV=(()=>{class e{clickSource=new se;clickObservable=this.clickSource.asObservable();add(t){t&&this.clickSource.next(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fV=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ke({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:Km,decls:1,vars:0,template:function(r,o){r&1&&(bt(),Dt(0))},encapsulation:2})}return e})(),pV=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ke({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:Km,decls:1,vars:0,template:function(r,o){r&1&&(bt(),Dt(0))},encapsulation:2})}return e})(),Jm=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(r){return new(r||e)(W(yt))};static \u0275dir=z({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),dn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Fe({type:e});static \u0275inj=Ee({imports:[Et]})}return e})(),hV=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return e})();var kS=Object.defineProperty,FS=Object.defineProperties,LS=Object.getOwnPropertyDescriptors,Aa=Object.getOwnPropertySymbols,ty=Object.prototype.hasOwnProperty,ny=Object.prototype.propertyIsEnumerable,Xm=(e,n,t)=>n in e?kS(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,st=(e,n)=>{for(var t in n||(n={}))ty.call(n,t)&&Xm(e,t,n[t]);if(Aa)for(var t of Aa(n))ny.call(n,t)&&Xm(e,t,n[t]);return e},hd=(e,n)=>FS(e,LS(n)),Lt=(e,n)=>{var t={};for(var r in e)ty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&Aa)for(var r of Aa(e))n.indexOf(r)<0&&ny.call(e,r)&&(t[r]=e[r]);return t};function yV(...e){return Ym(...e)}var PS=$m(),re=PS,Ko=/{([^}]*)}/g,ry=/(\d+\s+[\+\-\*\/]\s+\d+)/g,oy=/var\([^)]+\)/g;function ey(e){return Ge(e)?e.replace(/[A-Z]/g,(n,t)=>t===0?n:"."+n.toLowerCase()).toLowerCase():e}function jS(e){return rt(e)&&e.hasOwnProperty("$value")&&e.hasOwnProperty("$type")?e.$value:e}function BS(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function gd(e="",n=""){return BS(`${Ge(e,!1)&&Ge(n,!1)?`${e}-`:e}${n}`)}function iy(e="",n=""){return`--${gd(e,n)}`}function VS(e=""){let n=(e.match(/{/g)||[]).length,t=(e.match(/}/g)||[]).length;return(n+t)%2!==0}function sy(e,n="",t="",r=[],o){if(Ge(e)){let i=e.trim();if(VS(i))return;if(ot(i,Ko)){let s=i.replaceAll(Ko,a=>{let l=a.replace(/{|}/g,"").split(".").filter(c=>!r.some(u=>ot(c,u)));return`var(${iy(t,Ma(l.join("-")))}${F(o)?`, ${o}`:""})`});return ot(s.replace(oy,"0"),ry)?`calc(${s})`:s}return i}else if(Qm(e))return e}function $S(e,n,t){Ge(n,!1)&&e.push(`${n}:${t};`)}function qr(e,n){return e?`${e}{${n}}`:""}function ay(e,n){if(e.indexOf("dt(")===-1)return e;function t(s,a){let l=[],c=0,u="",d=null,p=0;for(;c<=s.length;){let f=s[c];if((f==='"'||f==="'"||f==="`")&&s[c-1]!=="\\"&&(d=d===f?null:f),!d&&(f==="("&&p++,f===")"&&p--,(f===","||c===s.length)&&p===0)){let h=u.trim();h.startsWith("dt(")?l.push(ay(h,a)):l.push(r(h)),u="",c++;continue}f!==void 0&&(u+=f),c++}return l}function r(s){let a=s[0];if((a==='"'||a==="'"||a==="`")&&s[s.length-1]===a)return s.slice(1,-1);let l=Number(s);return isNaN(l)?s:l}let o=[],i=[];for(let s=0;s0){let a=i.pop();i.length===0&&o.push([a,s])}if(!o.length)return e;for(let s=o.length-1;s>=0;s--){let[a,l]=o[s],c=e.slice(a+3,l),u=t(c,n),d=n(...u);e=e.slice(0,a)+d+e.slice(l+1)}return e}var yd=e=>{var n;let t=j.getTheme(),r=md(t,e,void 0,"variable"),o=(n=r?.match(/--[\w-]+/g))==null?void 0:n[0],i=md(t,e,void 0,"value");return{name:o,variable:r,value:i}},Pt=(...e)=>md(j.getTheme(),...e),md=(e={},n,t,r)=>{if(n){let{variable:o,options:i}=j.defaults||{},{prefix:s,transform:a}=e?.options||i||{},l=ot(n,Ko)?n:`{${n}}`;return r==="value"||Ct(r)&&a==="strict"?j.getTokenValue(n):sy(l,void 0,s,[o.excludedKeyRegex],t)}return""};function Zr(e,...n){if(e instanceof Array){let t=e.reduce((r,o,i)=>{var s;return r+o+((s=le(n[i],{dt:Pt}))!=null?s:"")},"");return ay(t,Pt)}return le(e,{dt:Pt})}function HS(e,n={}){let t=j.defaults.variable,{prefix:r=t.prefix,selector:o=t.selector,excludedKeyRegex:i=t.excludedKeyRegex}=n,s=[],a=[],l=[{node:e,path:r}];for(;l.length;){let{node:u,path:d}=l.pop();for(let p in u){let f=u[p],h=jS(f),m=ot(p,i)?gd(d):gd(d,Ma(p));if(rt(h))l.push({node:h,path:m});else{let y=iy(m),v=sy(h,m,r,[i]);$S(a,y,v);let A=m;r&&A.startsWith(r+"-")&&(A=A.slice(r.length+1)),s.push(A.replace(/-/g,"."))}}}let c=a.join("");return{value:a,tokens:s,declarations:c,css:qr(o,c)}}var it={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let n=Object.keys(this.rules).filter(t=>t!=="custom").map(t=>this.rules[t]);return[e].flat().map(t=>{var r;return(r=n.map(o=>o.resolve(t)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(t)})}},_toVariables(e,n){return HS(e,{prefix:n?.prefix})},getCommon({name:e="",theme:n={},params:t,set:r,defaults:o}){var i,s,a,l,c,u,d;let{preset:p,options:f}=n,h,m,y,v,A,ce,jt;if(F(p)&&f.transform!=="strict"){let{primitive:pn,semantic:at,extend:Jo}=p,Kr=at||{},{colorScheme:Xo}=Kr,ei=Lt(Kr,["colorScheme"]),ti=Jo||{},{colorScheme:ni}=ti,Jr=Lt(ti,["colorScheme"]),Xr=Xo||{},{dark:ri}=Xr,oi=Lt(Xr,["dark"]),ii=ni||{},{dark:si}=ii,ai=Lt(ii,["dark"]),li=F(pn)?this._toVariables({primitive:pn},f):{},ci=F(ei)?this._toVariables({semantic:ei},f):{},ui=F(oi)?this._toVariables({light:oi},f):{},Id=F(ri)?this._toVariables({dark:ri},f):{},wd=F(Jr)?this._toVariables({semantic:Jr},f):{},Sd=F(ai)?this._toVariables({light:ai},f):{},_d=F(si)?this._toVariables({dark:si},f):{},[ky,Fy]=[(i=li.declarations)!=null?i:"",li.tokens],[Ly,Py]=[(s=ci.declarations)!=null?s:"",ci.tokens||[]],[jy,By]=[(a=ui.declarations)!=null?a:"",ui.tokens||[]],[Vy,$y]=[(l=Id.declarations)!=null?l:"",Id.tokens||[]],[Hy,Uy]=[(c=wd.declarations)!=null?c:"",wd.tokens||[]],[Wy,zy]=[(u=Sd.declarations)!=null?u:"",Sd.tokens||[]],[Gy,qy]=[(d=_d.declarations)!=null?d:"",_d.tokens||[]];h=this.transformCSS(e,ky,"light","variable",f,r,o),m=Fy;let Zy=this.transformCSS(e,`${Ly}${jy}`,"light","variable",f,r,o),Yy=this.transformCSS(e,`${Vy}`,"dark","variable",f,r,o);y=`${Zy}${Yy}`,v=[...new Set([...Py,...By,...$y])];let Qy=this.transformCSS(e,`${Hy}${Wy}color-scheme:light`,"light","variable",f,r,o),Ky=this.transformCSS(e,`${Gy}color-scheme:dark`,"dark","variable",f,r,o);A=`${Qy}${Ky}`,ce=[...new Set([...Uy,...zy,...qy])],jt=le(p.css,{dt:Pt})}return{primitive:{css:h,tokens:m},semantic:{css:y,tokens:v},global:{css:A,tokens:ce},style:jt}},getPreset({name:e="",preset:n={},options:t,params:r,set:o,defaults:i,selector:s}){var a,l,c;let u,d,p;if(F(n)&&t.transform!=="strict"){let f=e.replace("-directive",""),h=n,{colorScheme:m,extend:y,css:v}=h,A=Lt(h,["colorScheme","extend","css"]),ce=y||{},{colorScheme:jt}=ce,pn=Lt(ce,["colorScheme"]),at=m||{},{dark:Jo}=at,Kr=Lt(at,["dark"]),Xo=jt||{},{dark:ei}=Xo,ti=Lt(Xo,["dark"]),ni=F(A)?this._toVariables({[f]:st(st({},A),pn)},t):{},Jr=F(Kr)?this._toVariables({[f]:st(st({},Kr),ti)},t):{},Xr=F(Jo)?this._toVariables({[f]:st(st({},Jo),ei)},t):{},[ri,oi]=[(a=ni.declarations)!=null?a:"",ni.tokens||[]],[ii,si]=[(l=Jr.declarations)!=null?l:"",Jr.tokens||[]],[ai,li]=[(c=Xr.declarations)!=null?c:"",Xr.tokens||[]],ci=this.transformCSS(f,`${ri}${ii}`,"light","variable",t,o,i,s),ui=this.transformCSS(f,ai,"dark","variable",t,o,i,s);u=`${ci}${ui}`,d=[...new Set([...oi,...si,...li])],p=le(v,{dt:Pt})}return{css:u,tokens:d,style:p}},getPresetC({name:e="",theme:n={},params:t,set:r,defaults:o}){var i;let{preset:s,options:a}=n,l=(i=s?.components)==null?void 0:i[e];return this.getPreset({name:e,preset:l,options:a,params:t,set:r,defaults:o})},getPresetD({name:e="",theme:n={},params:t,set:r,defaults:o}){var i,s;let a=e.replace("-directive",""),{preset:l,options:c}=n,u=((i=l?.components)==null?void 0:i[a])||((s=l?.directives)==null?void 0:s[a]);return this.getPreset({name:a,preset:u,options:c,params:t,set:r,defaults:o})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,n){var t;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?n.options.darkModeSelector:(t=e.darkModeSelector)!=null?t:n.options.darkModeSelector):[]},getLayerOrder(e,n={},t,r){let{cssLayer:o}=n;return o?`@layer ${le(o.order||o.name||"primeui",t)}`:""},getCommonStyleSheet({name:e="",theme:n={},params:t,props:r={},set:o,defaults:i}){let s=this.getCommon({name:e,theme:n,params:t,set:o,defaults:i}),a=Object.entries(r).reduce((l,[c,u])=>l.push(`${c}="${u}"`)&&l,[]).join(" ");return Object.entries(s||{}).reduce((l,[c,u])=>{if(rt(u)&&Object.hasOwn(u,"css")){let d=Gn(u.css),p=`${c}-variables`;l.push(``)}return l},[]).join("")},getStyleSheet({name:e="",theme:n={},params:t,props:r={},set:o,defaults:i}){var s;let a={name:e,theme:n,params:t,set:o,defaults:i},l=(s=e.includes("-directive")?this.getPresetD(a):this.getPresetC(a))==null?void 0:s.css,c=Object.entries(r).reduce((u,[d,p])=>u.push(`${d}="${p}"`)&&u,[]).join(" ");return l?``:""},createTokens(e={},n,t="",r="",o={}){let i=function(a,l={},c=[]){if(c.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:a,path:this.path,paths:l,value:void 0};c.push(this.path),l.name=this.path,l.binding||(l.binding={});let u=this.value;if(typeof this.value=="string"&&Ko.test(this.value)){let d=this.value.trim().replace(Ko,p=>{var f;let h=p.slice(1,-1),m=this.tokens[h];if(!m)return console.warn(`Token not found for path: ${h}`),"__UNRESOLVED__";let y=m.computed(a,l,c);return Array.isArray(y)&&y.length===2?`light-dark(${y[0].value},${y[1].value})`:(f=y?.value)!=null?f:"__UNRESOLVED__"});u=ry.test(d.replace(oy,"0"))?`calc(${d})`:d}return Ct(l.binding)&&delete l.binding,c.pop(),{colorScheme:a,path:this.path,paths:l,value:u.includes("__UNRESOLVED__")?void 0:u}},s=(a,l,c)=>{Object.entries(a).forEach(([u,d])=>{let p=ot(u,n.variable.excludedKeyRegex)?l:l?`${l}.${ey(u)}`:ey(u),f=c?`${c}.${u}`:u;rt(d)?s(d,p,f):(o[p]||(o[p]={paths:[],computed:(h,m={},y=[])=>{if(o[p].paths.length===1)return o[p].paths[0].computed(o[p].paths[0].scheme,m.binding,y);if(h&&h!=="none")for(let v=0;vv.computed(v.scheme,m[v.scheme],y))}}),o[p].paths.push({path:f,value:d,scheme:f.includes("colorScheme.light")?"light":f.includes("colorScheme.dark")?"dark":"none",computed:i,tokens:o}))})};return s(e,t,r),o},getTokenValue(e,n,t){var r;let o=(a=>a.split(".").filter(l=>!ot(l.toLowerCase(),t.variable.excludedKeyRegex)).join("."))(n),i=n.includes("colorScheme.light")?"light":n.includes("colorScheme.dark")?"dark":void 0,s=[(r=e[o])==null?void 0:r.computed(i)].flat().filter(a=>a);return s.length===1?s[0].value:s.reduce((a={},l)=>{let c=l,{colorScheme:u}=c,d=Lt(c,["colorScheme"]);return a[u]=d,a},void 0)},getSelectorRule(e,n,t,r){return t==="class"||t==="attr"?qr(F(n)?`${e}${n},${e} ${n}`:e,r):qr(e,qr(n??":root,:host",r))},transformCSS(e,n,t,r,o={},i,s,a){if(F(n)){let{cssLayer:l}=o;if(r!=="style"){let c=this.getColorSchemeOption(o,s);n=t==="dark"?c.reduce((u,{type:d,selector:p})=>(F(p)&&(u+=p.includes("[CSS]")?p.replace("[CSS]",n):this.getSelectorRule(p,a,d,n)),u),""):qr(a??":root,:host",n)}if(l){let c={name:"primeui",order:"primeui"};rt(l)&&(c.name=le(l.name,{name:e,type:r})),F(c.name)&&(n=qr(`@layer ${c.name}`,n),i?.layerNames(c.name))}return n}return""}},j={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:n}=e;n&&(this._theme=hd(st({},n),{options:st(st({},this.defaults.options),n.options)}),this._tokens=it.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),re.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=hd(st({},this.theme),{preset:e}),this._tokens=it.createTokens(e,this.defaults),this.clearLoadedStyleNames(),re.emit("preset:change",e),re.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=hd(st({},this.theme),{options:e}),this.clearLoadedStyleNames(),re.emit("options:change",e),re.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return it.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",n){return it.getCommon({name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",n){let t={name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return it.getPresetC(t)},getDirective(e="",n){let t={name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return it.getPresetD(t)},getCustomPreset(e="",n,t,r){let o={name:e,preset:n,options:this.options,selector:t,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return it.getPreset(o)},getLayerOrderCSS(e=""){return it.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",n,t="style",r){return it.transformCSS(e,n,r,t,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",n,t={}){return it.getCommonStyleSheet({name:e,theme:this.theme,params:n,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,n,t={}){return it.getStyleSheet({name:e,theme:this.theme,params:n,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:n}){this._loadingStyles.size&&(this._loadingStyles.delete(n),re.emit(`theme:${n}:load`,e),!this._loadingStyles.size&&re.emit("theme:load"))}};var ly=` + *, + ::before, + ::after { + box-sizing: border-box; + } + + /* Non vue overlay animations */ + .p-connected-overlay { + opacity: 0; + transform: scaleY(0.8); + transition: + transform 0.12s cubic-bezier(0, 0, 0.2, 1), + opacity 0.12s cubic-bezier(0, 0, 0.2, 1); + } + + .p-connected-overlay-visible { + opacity: 1; + transform: scaleY(1); + } + + .p-connected-overlay-hidden { + opacity: 0; + transform: scaleY(1); + transition: opacity 0.1s linear; + } + + /* Vue based overlay animations */ + .p-connected-overlay-enter-from { + opacity: 0; + transform: scaleY(0.8); + } + + .p-connected-overlay-leave-to { + opacity: 0; + } + + .p-connected-overlay-enter-active { + transition: + transform 0.12s cubic-bezier(0, 0, 0.2, 1), + opacity 0.12s cubic-bezier(0, 0, 0.2, 1); + } + + .p-connected-overlay-leave-active { + transition: opacity 0.1s linear; + } + + /* Toggleable Content */ + .p-toggleable-content-enter-from, + .p-toggleable-content-leave-to { + max-height: 0; + } + + .p-toggleable-content-enter-to, + .p-toggleable-content-leave-from { + max-height: 1000px; + } + + .p-toggleable-content-leave-active { + overflow: hidden; + transition: max-height 0.45s cubic-bezier(0, 1, 0, 1); + } + + .p-toggleable-content-enter-active { + overflow: hidden; + transition: max-height 1s ease-in-out; + } + + .p-disabled, + .p-disabled * { + cursor: default; + pointer-events: none; + user-select: none; + } + + .p-disabled, + .p-component:disabled { + opacity: dt('disabled.opacity'); + } + + .pi { + font-size: dt('icon.size'); + } + + .p-icon { + width: dt('icon.size'); + height: dt('icon.size'); + } + + .p-overlay-mask { + background: dt('mask.background'); + color: dt('mask.color'); + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + + .p-overlay-mask-enter { + animation: p-overlay-mask-enter-animation dt('mask.transition.duration') forwards; + } + + .p-overlay-mask-leave { + animation: p-overlay-mask-leave-animation dt('mask.transition.duration') forwards; + } + + @keyframes p-overlay-mask-enter-animation { + from { + background: transparent; + } + to { + background: dt('mask.background'); + } + } + @keyframes p-overlay-mask-leave-animation { + from { + background: dt('mask.background'); + } + to { + background: transparent; + } + } +`;var US=0,cy=(()=>{class e{document=g(Ae);use(t,r={}){let o=!1,i=t,s=null,{immediate:a=!0,manual:l=!1,name:c=`style_${++US}`,id:u=void 0,media:d=void 0,nonce:p=void 0,first:f=!1,props:h={}}=r;if(this.document){if(s=this.document.querySelector(`style[data-primeng-style-id="${c}"]`)||u&&this.document.getElementById(u)||this.document.createElement("style"),s){if(!s.isConnected){i=t;let m=this.document.head;Vm(s,"nonce",p),f&&m.firstChild?m.insertBefore(s,m.firstChild):m.appendChild(s),wa(s,{type:"text/css",media:d,nonce:p,"data-primeng-style-id":c})}s.textContent!==i&&(s.textContent=i)}return{id:u,name:c,el:s,css:i}}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Yr={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},WS=` +.p-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} + +.p-hidden-accessible input, +.p-hidden-accessible select { + transform: scale(0); +} + +.p-overflow-hidden { + overflow: hidden; + padding-right: dt('scrollbar.width'); +} +`,ve=(()=>{class e{name="base";useStyle=g(cy);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,r={},o=i=>i)=>{let i=o(Zr`${le(t,{dt:Pt})}`);return i?this.useStyle.use(Gn(i),D({name:this.name},r)):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},r="")=>this.load(this.style,t,(o="")=>j.transformCSS(t.name||this.name,`${o}${Zr`${r}`}`));loadBaseCSS=(t={})=>this.load(WS,t);loadBaseStyle=(t={},r="")=>this.load(ly,t,(o="")=>j.transformCSS(t.name||this.name,`${o}${Zr`${r}`}`));getCommonTheme=t=>j.getCommon(this.name,t);getComponentTheme=t=>j.getComponent(this.name,t);getPresetTheme=(t,r,o)=>j.getCustomPreset(this.name,t,r,o);getLayerOrderThemeCSS=()=>j.getLayerOrderCSS(this.name);getStyleSheet=(t="",r={})=>{if(this.css){let o=le(this.css,{dt:Pt}),i=Gn(Zr`${o}${t}`),s=Object.entries(r).reduce((a,[l,c])=>a.push(`${l}="${c}"`)&&a,[]).join(" ");return``}return""};getCommonThemeStyleSheet=(t,r={})=>j.getCommonStyleSheet(this.name,t,r);getThemeStyleSheet=(t,r={})=>{let o=[j.getStyleSheet(this.name,t,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=Zr`${le(this.style,{dt:Pt})}`,a=Gn(j.transformCSS(i,s)),l=Object.entries(r).reduce((c,[u,d])=>c.push(`${u}="${d}"`)&&c,[]).join(" ");o.push(``)}return o.join("")};static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var zS=(()=>{class e{theme=ee(void 0);csp=ee({nonce:void 0});isThemeChanged=!1;document=g(Ae);baseStyle=g(ve);constructor(){ye(()=>{re.on("theme:change",t=>{ya(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),ye(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){j.clearLoadedStyleNames(),re.clear()}onThemeChange(t){j.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!j.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,D({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,D({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,D({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(D({name:"global-style"},s),i),j.setLoadedStyleName("common")}}setThemeConfig(t){let{theme:r,csp:o}=t||{};r&&this.theme.set(r),o&&this.csp.set(o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vd=(()=>{class e extends zS{ripple=ee(!1);platformId=g($n);inputStyle=ee(null);inputVariant=ee(null);overlayAppendTo=ee("self");overlayOptions={};csp=ee({nonce:void 0});unstyled=ee(void 0);pt=ee(void 0);ptOptions=ee(void 0);filterMatchModeOptions={text:[fe.STARTS_WITH,fe.CONTAINS,fe.NOT_CONTAINS,fe.ENDS_WITH,fe.EQUALS,fe.NOT_EQUALS],numeric:[fe.EQUALS,fe.NOT_EQUALS,fe.LESS_THAN,fe.LESS_THAN_OR_EQUAL_TO,fe.GREATER_THAN,fe.GREATER_THAN_OR_EQUAL_TO],date:[fe.DATE_IS,fe.DATE_IS_NOT,fe.DATE_BEFORE,fe.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 se;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=D(D({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:l,translation:c,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:p,ptOptions:f,pt:h,unstyled:m}=t||{};r&&this.csp.set(r),d&&this.overlayAppendTo.set(d),o&&this.ripple.set(o),i&&this.inputStyle.set(i),s&&this.inputVariant.set(s),l&&(this.overlayOptions=l),c&&this.setTranslation(c),u&&(this.filterMatchModeOptions=u),p&&(this.zIndex=p),h&&this.pt.set(h),f&&this.ptOptions.set(f),m&&this.unstyled.set(m),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GS=new C("PRIME_NG_CONFIG");function GV(...e){let n=e?.map(r=>({provide:GS,useValue:r,multi:!1})),t=Ou(()=>{let r=g(vd);e?.forEach(o=>r.setConfig(o))});return zt([...n,t])}var uy=(()=>{class e extends ve{name="common";static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),It=new C("PARENT_INSTANCE"),Ne=(()=>{class e{document=g(Ae);platformId=g($n);el=g(Re);injector=g($e);cd=g(Qu);renderer=g(rn);config=g(vd);$parentInstance=g(It,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=g(uy);baseStyle=g(ve);scopedStyleEl;parent=this.$params.parent;cn=ln;_themeScopedListener;dt=J();unstyled=J();pt=J();ptOptions=J();$attrSelector=Qo("pc");get $name(){return this.componentName||this.constructor?.name?.replace(/^_/,"")||"UnknownComponent"}get $hostName(){return this.hostName}$unstyled=nt(()=>this.unstyled()!==void 0?this.unstyled():this.config?.unstyled()||!1);$pt=nt(()=>le(this.pt()||this.directivePT(),this.$params));directivePT=ee(void 0);get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>le(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||le(t,this.$params))}get $style(){return D(D({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let t=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:t}}}onInit(){}onChanges(t){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){ye(t=>{this.document&&!sd(this.platformId)&&(re.off("theme:change",this._themeScopedListener),this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()),t(()=>{re.off("theme:change",this._themeScopedListener)})}),ye(t=>{this.document&&!sd(this.platformId)&&(re.off("theme:change",this._loadCoreStyles),this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))),t(()=>{re.off("theme:change",this._loadCoreStyles)})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(t){this.onChanges(t),this._hook("onChanges",t)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.el?.nativeElement?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(t,...r){return Ta(t)?t(...r):dd(...r)}_getHostInstance(t){return t?this.$hostName?this.$name===this.$hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0}_getPropValue(t){return this[t]||this._getHostInstance(this)?.[t]}_getOptionValue(t,r="",o={}){return Na(t,r,o)}_hook(t,...r){if(!this.$hostName){let o=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${t}`),i=this._useDefaultPT(this._getOptionValue,`hooks.${t}`);o?.(...r),i?.(...r)}}_load(){Yr.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),Yr.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener(()=>this._load())}_loadGlobalStyles(){let t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);F(t)&&this.baseStyle.load(t,D({name:"global"},this.$styleOptions))}_loadCoreStyles(){!Yr.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),Yr.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!j.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,D({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,D({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,D({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(D({name:"global-style"},this.$styleOptions),i),j.setLoadedStyleName("common")}if(!j.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:t,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,D({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(D({name:`${this.$style?.name}-style`},this.$styleOptions),r),j.setLoadedStyleName(this.$style?.name)}if(!j.isStyleNameLoaded("layer-order")){let t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,D({name:"layer-order",first:!0},this.$styleOptions)),j.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){let{css:r}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,D({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t=()=>{}){Yr.clearLoadedStyleNames(),re.on("theme:change",t.bind(this))}_removeThemeListeners(){re.off("theme:change",this._loadCoreStyles),re.off("theme:change",this._load),re.off("theme:change",this._themeScopedListener)}_getPTValue(t={},r="",o={},i=!0){let s=/./g.test(r)&&!!o[r.split(".")[0]],{mergeSections:a=!0,mergeProps:l=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},c=i?s?this._useGlobalPT(this._getPTClassValue,r,o):this._useDefaultPT(this._getPTClassValue,r,o):void 0,u=s?void 0:this._usePT(this._getPT(t,this.$hostName||this.$name),this._getPTClassValue,r,H(D({},o),{global:c||{}})),d=this._getPTDatasets(r);return a||!a&&u?l?this._mergeProps(l,c,u,d):D(D(D({},c),u),d):D(D({},u),d)}_getPTDatasets(t=""){let r="data-pc-",o=t==="root"&&F(this.$pt()?.["data-pc-section"]);return t!=="transition"&&H(D({},t==="root"&&H(D({[`${r}name`]:un(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:un(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:un(t.includes(".")?t.split(".").at(-1)??"":t)})}_getPTClassValue(t,r,o){let i=this._getOptionValue(t,r,o);return Ge(i)||pd(i)?{class:i}:i}_getPT(t,r="",o){let i=(s,a=!1)=>{let l=o?o(s):s,c=un(r),u=un(this.$hostName||this.$name);return(a?c!==u?l?.[c]:void 0:l?.[c])??l};return t?.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t,!0)}_usePT(t,r,o,i){let s=a=>r?.call(this,a,o,i);if(t?.hasOwnProperty("_usept")){let{mergeSections:a=!0,mergeProps:l=!1}=t._usept||this.config?.ptOptions()||{},c=s(t.originalValue),u=s(t.value);return c===void 0&&u===void 0?void 0:Ge(u)?u:Ge(c)?c:a||!a&&u?l?this._mergeProps(l,c,u):D(D({},c),u):u}return s(t)}_useGlobalPT(t,r,o){return this._usePT(this.$globalPT,t,r,o)}_useDefaultPT(t,r,o){return this._usePT(this.$defaultPT,t,r,o)}ptm(t="",r={}){return this._getPTValue(this.$pt(),t,D(D({},this.$params),r))}ptms(t,r={}){return t.reduce((o,i)=>(o=dd(o,this.ptm(i,r))||{},o),{})}ptmo(t={},r="",o={}){return this._getPTValue(t,r,D({instance:this},o),!1)}cx(t,r={}){return this.$unstyled()?void 0:ln(this._getOptionValue(this.$style.classes,t,D(D({},this.$params),r)))}sx(t="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,t,D(D({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,t,D(D({},this.$params),o));return D(D({},s),i)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[me([uy,ve]),Lo]})}return e})();var bd=(()=>{class e{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,r){t&&r&&(t.classList?t.classList.add(r):t.className+=" "+r)}static addMultipleClasses(t,r){if(t&&r)if(t.classList){let o=r.trim().split(" ");for(let i=0;io.split(" ").forEach(i=>this.removeClass(t,i)))}static hasClass(t,r){return t&&r?t.classList?t.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(r){return r!==t})}static find(t,r){return Array.from(t.querySelectorAll(r))}static findSingle(t,r){return this.isElement(t)?t.querySelector(r):null}static index(t){let r=t.parentNode.childNodes,o=0;for(var i=0;i{if(ce)return getComputedStyle(ce).getPropertyValue("position")==="relative"?ce:i(ce.parentElement)},s=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),a=r.offsetHeight,l=r.getBoundingClientRect(),c=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport(),f=i(t)?.getBoundingClientRect()||{top:-1*c,left:-1*u},h,m,y="top";l.top+a+s.height>d.height?(h=l.top-f.top-s.height,y="bottom",l.top+h<0&&(h=-1*l.top)):(h=a+l.top-f.top,y="top");let v=l.left+s.width-d.width,A=l.left-f.left;if(s.width>d.width?m=(l.left-f.left)*-1:v>0?m=A-v:m=l.left-f.left,t.style.top=h+"px",t.style.left=m+"px",t.style.transformOrigin=y,o){let ce=qo(/-anchor-gutter$/)?.value;t.style.marginTop=y==="bottom"?`calc(${ce??"2px"} * -1)`:ce??""}}static absolutePosition(t,r,o=!0){let i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=i.height,a=i.width,l=r.offsetHeight,c=r.offsetWidth,u=r.getBoundingClientRect(),d=this.getWindowScrollTop(),p=this.getWindowScrollLeft(),f=this.getViewport(),h,m;u.top+l+s>f.height?(h=u.top+d-s,t.style.transformOrigin="bottom",h<0&&(h=d)):(h=l+u.top+d,t.style.transformOrigin="top"),u.left+a>f.width?m=Math.max(0,u.left+p+c-a):m=u.left+p,t.style.top=h+"px",t.style.left=m+"px",o&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,r=[]){return t.parentNode===null?r:this.getParents(t.parentNode,r.concat([t.parentNode]))}static getScrollableParents(t){let r=[];if(t){let o=this.getParents(t),i=/(auto|scroll)/,s=a=>{let l=window.getComputedStyle(a,null);return i.test(l.getPropertyValue("overflow"))||i.test(l.getPropertyValue("overflowX"))||i.test(l.getPropertyValue("overflowY"))};for(let a of o){let l=a.nodeType===1&&a.dataset.scrollselectors;if(l){let c=l.split(",");for(let u of c){let d=this.findSingle(a,u);d&&s(d)&&r.push(d)}}a.nodeType!==9&&s(a)&&r.push(a)}}return r}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementDimensions(t){let r={};return t.style.visibility="hidden",t.style.display="block",r.width=t.offsetWidth,r.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",r}static scrollInView(t,r){let o=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=o?parseFloat(o):0,s=getComputedStyle(t).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,l=t.getBoundingClientRect(),u=r.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-i-a,d=t.scrollTop,p=t.clientHeight,f=this.getOuterHeight(r);u<0?t.scrollTop=d+u:u+f>p&&(t.scrollTop=d+u-p+f)}static fadeIn(t,r){t.style.opacity=0;let o=+new Date,i=0,s=function(){i=+t.style.opacity.replace(",",".")+(new Date().getTime()-o)/r,t.style.opacity=i,o=+new Date,+i<1&&(window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,16))};s()}static fadeOut(t,r){var o=1,i=50,s=r,a=i/s;let l=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(l)),t.style.opacity=o},i)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,r){var o=Element.prototype,i=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||function(s){return[].indexOf.call(document.querySelectorAll(s),this)!==-1};return i.call(t,r)}static getOuterWidth(t,r){let o=t.offsetWidth;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return o}static getHorizontalPadding(t){let r=getComputedStyle(t);return parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)}static getHorizontalMargin(t){let r=getComputedStyle(t);return parseFloat(r.marginLeft)+parseFloat(r.marginRight)}static innerWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static width(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static getInnerHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),r}static getOuterHeight(t,r){let o=t.offsetHeight;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return o}static getHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),r}static getWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),r}static getViewport(){let t=window,r=document,o=r.documentElement,i=r.getElementsByTagName("body")[0],s=t.innerWidth||o.clientWidth||i.clientWidth,a=t.innerHeight||o.clientHeight||i.clientHeight;return{width:s,height:a}}static getOffset(t){var r=t.getBoundingClientRect();return{top:r.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:r.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,r){let o=t.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(r,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return!0;var o=t.indexOf("Trident/");if(o>0){var i=t.indexOf("rv:");return!0}var s=t.indexOf("Edge/");return s>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,r){if(this.isElement(r))r.appendChild(t);else if(r&&r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(t);else throw"Cannot append "+r+" to "+t}static removeChild(t,r){if(this.isElement(r))r.removeChild(t);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+r}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let r=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let r=document.createElement("div");r.className="p-scrollbar-measure",document.body.appendChild(r);let o=r.offsetWidth-r.clientWidth;return document.body.removeChild(r),this.calculatedScrollbarWidth=o,o}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let r=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=r,r}static invokeElementMethod(t,r,o){t[r].apply(t,o)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),r=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:r[1]||"",version:r[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,r){t&&document.activeElement!==t&&t.focus(r)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, + [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, + input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, + select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, + textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, + [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, + [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, + .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, + .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`}static getFocusableElements(t,r=""){let o=this.find(t,this.getFocusableSelectorString(r)),i=[];for(let s of o){let a=getComputedStyle(s);this.isVisible(s)&&a.display!="none"&&a.visibility!="hidden"&&i.push(s)}return i}static getFocusableElement(t,r=""){let o=this.findSingle(t,this.getFocusableSelectorString(r));if(o){let i=getComputedStyle(o);if(this.isVisible(o)&&i.display!="none"&&i.visibility!="hidden")return o}return null}static getFirstFocusableElement(t,r=""){let o=this.getFocusableElements(t,r);return o.length>0?o[0]:null}static getLastFocusableElement(t,r){let o=this.getFocusableElements(t,r);return o.length>0?o[o.length-1]:null}static getNextFocusableElement(t,r=!1){let o=e.getFocusableElements(t),i=0;if(o&&o.length>0){let s=o.indexOf(o[0].ownerDocument.activeElement);r?s==-1||s===0?i=o.length-1:i=s-1:s!=-1&&s!==o.length-1&&(i=s+1)}return o[i]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection()?.toString():document.getSelection?document.getSelection()?.toString():document.selection?document.selection.createRange().text:null}static getTargetElement(t,r){if(!t)return null;switch(t){case"document":return document;case"window":return window;case"@next":return r?.nextElementSibling;case"@prev":return r?.previousElementSibling;case"@parent":return r?.parentElement;case"@grandparent":return r?.parentElement?.parentElement;default:let o=typeof t;if(o==="string")return document.querySelector(t);if(o==="object"&&t.hasOwnProperty("nativeElement"))return this.isExist(t.nativeElement)?t.nativeElement:void 0;let s=(a=>!!(a&&a.constructor&&a.call&&a.apply))(t)?t():t;return s&&s.nodeType===9||this.isExist(s)?s:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(t,r){if(t){let o=t.getAttribute(r);return isNaN(o)?o==="true"||o==="false"?o==="true":o:+o}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(t="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}static unblockBodyScroll(t="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}static createElement(t,r={},...o){if(t){let i=document.createElement(t);return this.setAttributes(i,r),i.append(...o),i}}static setAttribute(t,r="",o){this.isElement(t)&&o!==null&&o!==void 0&&t.setAttribute(r,o)}static setAttributes(t,r={}){if(this.isElement(t)){let o=(i,s)=>{let a=t?.$attrs?.[i]?[t?.$attrs?.[i]]:[];return[s].flat().reduce((l,c)=>{if(c!=null){let u=typeof c;if(u==="string"||u==="number")l.push(c);else if(u==="object"){let d=Array.isArray(c)?o(i,c):Object.entries(c).map(([p,f])=>i==="style"&&(f||f===0)?`${p.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${f}`:f?p:void 0);l=d.length?l.concat(d.filter(p=>!!p)):l}}return l},a)};Object.entries(r).forEach(([i,s])=>{if(s!=null){let a=i.match(/^on(.+)/);a?t.addEventListener(a[1].toLowerCase(),s):i==="pBind"?this.setAttributes(t,s):(s=i==="class"?[...new Set(o("class",s))].join(" ").trim():i==="style"?o("style",s).join(";").trim():s,(t.$attrs=t.$attrs||{})&&(t.$attrs[i]=s),t.setAttribute(i,s))}})}}static isFocusableElement(t,r=""){return this.isElement(t)?t.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}}return e})();function l$(){xm({variableName:yd("scrollbar.width").name})}function c$(){Am({variableName:yd("scrollbar.width").name})}var dy=class{element;listener;scrollableParents;constructor(n,t=()=>{}){this.element=n,this.listener=t}bindScrollListener(){this.scrollableParents=bd.getScrollableParents(this.element);for(let n=0;n{class e extends Ne{autofocus=!1;focused=!1;platformId=g($n);document=g(Ae);host=g(Re);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(){zr(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=bd.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275dir=z({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[ne]})}return e})();var oe=(()=>{class e{el;renderer;pBind=J(void 0);_attrs=ee(void 0);attrs=nt(()=>this._attrs()||this.pBind());styles=nt(()=>this.attrs()?.style);classes=nt(()=>ln(this.attrs()?.class));listeners=[];constructor(t,r){this.el=t,this.renderer=r,ye(()=>{let a=this.attrs()||{},{style:o,class:i}=a,s=xd(a,["style","class"]);for(let[l,c]of Object.entries(s))if(l.startsWith("on")&&typeof c=="function"){let u=l.slice(2).toLowerCase();if(!this.listeners.some(d=>d.eventName===u)){let d=this.renderer.listen(this.el.nativeElement,u,c);this.listeners.push({eventName:u,unlisten:d})}}else c==null?this.renderer.removeAttribute(this.el.nativeElement,l):(this.renderer.setAttribute(this.el.nativeElement,l,c.toString()),l in this.el.nativeElement&&(this.el.nativeElement[l]=c))})}ngOnDestroy(){this.clearListeners()}setAttrs(t){Yo(this._attrs(),t)||this._attrs.set(t)}clearListeners(){this.listeners.forEach(({unlisten:t})=>t()),this.listeners=[]}static \u0275fac=function(r){return new(r||e)(W(Re),W(rn))};static \u0275dir=z({type:e,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(r,o){r&2&&(Lu(o.styles()),_e(o.classes()))},inputs:{pBind:[1,"pBind"]}})}return e})(),py=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Fe({type:e});static \u0275inj=Ee({})}return e})();var hy=` + .p-badge { + display: inline-flex; + border-radius: dt('badge.border.radius'); + align-items: center; + justify-content: center; + padding: dt('badge.padding'); + background: dt('badge.primary.background'); + color: dt('badge.primary.color'); + font-size: dt('badge.font.size'); + font-weight: dt('badge.font.weight'); + min-width: dt('badge.min.width'); + height: dt('badge.height'); + } + + .p-badge-dot { + width: dt('badge.dot.size'); + min-width: dt('badge.dot.size'); + height: dt('badge.dot.size'); + border-radius: 50%; + padding: 0; + } + + .p-badge-circle { + padding: 0; + border-radius: 50%; + } + + .p-badge-secondary { + background: dt('badge.secondary.background'); + color: dt('badge.secondary.color'); + } + + .p-badge-success { + background: dt('badge.success.background'); + color: dt('badge.success.color'); + } + + .p-badge-info { + background: dt('badge.info.background'); + color: dt('badge.info.color'); + } + + .p-badge-warn { + background: dt('badge.warn.background'); + color: dt('badge.warn.color'); + } + + .p-badge-danger { + background: dt('badge.danger.background'); + color: dt('badge.danger.color'); + } + + .p-badge-contrast { + background: dt('badge.contrast.background'); + color: dt('badge.contrast.color'); + } + + .p-badge-sm { + font-size: dt('badge.sm.font.size'); + min-width: dt('badge.sm.min.width'); + height: dt('badge.sm.height'); + } + + .p-badge-lg { + font-size: dt('badge.lg.font.size'); + min-width: dt('badge.lg.min.width'); + height: dt('badge.lg.height'); + } + + .p-badge-xl { + font-size: dt('badge.xl.font.size'); + min-width: dt('badge.xl.min.width'); + height: dt('badge.xl.height'); + } +`;var qS=` + ${hy} + + /* For PrimeNG (directive)*/ + .p-overlay-badge { + position: relative; + } + + .p-overlay-badge > .p-badge { + position: absolute; + top: 0; + inset-inline-end: 0; + transform: translate(50%, -50%); + transform-origin: 100% 0; + margin: 0; + } +`,ZS={root:({instance:e})=>{let n=typeof e.value=="function"?e.value():e.value,t=typeof e.size=="function"?e.size():e.size,r=typeof e.badgeSize=="function"?e.badgeSize():e.badgeSize,o=typeof e.severity=="function"?e.severity():e.severity;return["p-badge p-component",{"p-badge-circle":F(n)&&String(n).length===1,"p-badge-dot":Ct(n),"p-badge-sm":t==="small"||r==="small","p-badge-lg":t==="large"||r==="large","p-badge-xl":t==="xlarge"||r==="xlarge","p-badge-info":o==="info","p-badge-success":o==="success","p-badge-warn":o==="warn","p-badge-danger":o==="danger","p-badge-secondary":o==="secondary","p-badge-contrast":o==="contrast"}]}},gy=(()=>{class e extends ve{name="badge";style=qS;classes=ZS;static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})();var my=new C("BADGE_INSTANCE");var Ed=(()=>{class e extends Ne{$pcBadge=g(my,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(oe,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=J();badgeSize=J();size=J();severity=J();value=J();badgeDisabled=J(!1,{transform:Y});_componentStyle=g(gy);static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["p-badge"]],hostVars:4,hostBindings:function(r,o){r&2&&(_e(o.cn(o.cx("root"),o.styleClass())),pa("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:[me([gy,{provide:my,useExisting:e},{provide:It,useExisting:e}]),vt([oe]),ne],decls:1,vars:1,template:function(r,o){r&1&&zo(0),r&2&&Wr(o.value())},dependencies:[Et,dn,py],encapsulation:2,changeDetection:0})}return e})(),yy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Fe({type:e});static \u0275inj=Ee({imports:[Ed,dn,dn]})}return e})();var QS=["*"],KS={root:"p-fluid"},vy=(()=>{class e extends ve{name="fluid";classes=KS;static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})();var by=new C("FLUID_INSTANCE"),Cd=(()=>{class e extends Ne{$pcFluid=g(by,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(oe,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=g(vy);static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(r,o){r&2&&_e(o.cx("root"))},features:[me([vy,{provide:by,useExisting:e},{provide:It,useExisting:e}]),vt([oe]),ne],ngContentSelectors:QS,decls:1,vars:0,template:function(r,o){r&1&&(bt(),Dt(0))},dependencies:[Et],encapsulation:2,changeDetection:0})}return e})();var JS=["*"],XS=` +.p-icon { + display: inline-block; + vertical-align: baseline; + flex-shrink: 0; +} + +.p-icon-spin { + -webkit-animation: p-icon-spin 2s infinite linear; + animation: p-icon-spin 2s infinite linear; +} + +@-webkit-keyframes p-icon-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +@keyframes p-icon-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +`,Dy=(()=>{class e extends ve{name="baseicon";css=XS;static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ey=(()=>{class e extends Ne{spin=!1;_componentStyle=g(Dy);getClassNames(){return ln("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["ng-component"]],hostAttrs:["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],hostVars:2,hostBindings:function(r,o){r&2&&_e(o.getClassNames())},inputs:{spin:[2,"spin","spin",Y]},features:[me([Dy]),ne],ngContentSelectors:JS,decls:1,vars:0,template:function(r,o){r&1&&(bt(),Dt(0))},encapsulation:2,changeDetection:0})}return e})();var e_=["data-p-icon","spinner"],Cy=(()=>{class e extends Ey{pathId;onInit(){this.pathId="url(#"+Qo()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["","data-p-icon","spinner"]],features:[ne],attrs:e_,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&&(yr(),jr(0,"g"),Uo(1,"path",0),Br(),jr(2,"defs")(3,"clipPath",1),Uo(4,"rect",2),Br()()),r&2&&(Ft("clip-path",o.pathId),ge(3),ua("id",o.pathId))},encapsulation:2})}return e})();var Iy=` + .p-ink { + display: block; + position: absolute; + background: dt('ripple.background'); + border-radius: 100%; + transform: scale(0); + pointer-events: none; + } + + .p-ink-active { + animation: ripple 0.4s linear; + } + + @keyframes ripple { + 100% { + opacity: 0; + transform: scale(2.5); + } + } +`;var t_=` + ${Iy} + + /* For PrimeNG */ + .p-ripple { + overflow: hidden; + position: relative; + } + + .p-ripple-disabled .p-ink { + display: none !important; + } + + @keyframes ripple { + 100% { + opacity: 0; + transform: scale(2.5); + } + } +`,n_={root:"p-ink"},wy=(()=>{class e extends ve{name="ripple";style=t_;classes=n_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})();var Sy=(()=>{class e extends Ne{zone=g(de);_componentStyle=g(wy);animationListener;mouseDownListener;timeout;constructor(){super(),ye(()=>{zr(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(t){let r=this.getInk();if(!r||this.document.defaultView?.getComputedStyle(r,null).display==="none")return;if(cn(r,"p-ink-active"),!ld(r)&&!ud(r)){let a=Math.max(km(this.el.nativeElement),cd(this.el.nativeElement));r.style.height=a+"px",r.style.width=a+"px"}let o=jm(this.el.nativeElement),i=t.pageX-o.left+this.document.body.scrollTop-ud(r)/2,s=t.pageY-o.top+this.document.body.scrollLeft-ld(r)/2;this.renderer.setStyle(r,"top",s+"px"),this.renderer.setStyle(r,"left",i+"px"),zn(r,"p-ink-active"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&cn(a,"p-ink-active")},401)}getInk(){let t=this.el.nativeElement.children;for(let r=0;r({class:e,pt:n});function a_(e,n){e&1&&ca(0)}function l_(e,n){if(e&1&&Hn(0,"span",7),e&2){let t=ze(3);_e(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon)),G("pBind",t.ptm("loadingIcon")),Ft("aria-hidden",!0)}}function c_(e,n){if(e&1&&(yr(),Hn(0,"svg",8)),e&2){let t=ze(3);_e(t.cn(t.cx("loadingIcon"),t.spinnerIconClass())),G("pBind",t.ptm("loadingIcon"))("spin",!0),Ft("aria-hidden",!0)}}function u_(e,n){if(e&1&&(Un(0),kt(1,l_,1,4,"span",3)(2,c_,1,5,"svg",6),Wn()),e&2){let t=ze(2);ge(),G("ngIf",t.loadingIcon),ge(),G("ngIf",!t.loadingIcon)}}function d_(e,n){}function f_(e,n){if(e&1&&kt(0,d_,0,0,"ng-template",9),e&2){let t=ze(2);G("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function p_(e,n){if(e&1&&(Un(0),kt(1,u_,3,2,"ng-container",2)(2,f_,1,1,null,5),Wn()),e&2){let t=ze();ge(),G("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),ge(),G("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",ha(3,Ry,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function h_(e,n){if(e&1&&Hn(0,"span",7),e&2){let t=ze(2);_e(t.cn("icon",t.iconClass())),G("pBind",t.ptm("icon"))}}function g_(e,n){}function m_(e,n){if(e&1&&kt(0,g_,0,0,"ng-template",9),e&2){let t=ze(2);G("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function y_(e,n){if(e&1&&(Un(0),kt(1,h_,1,3,"span",3)(2,m_,1,1,null,5),Wn()),e&2){let t=ze();ge(),G("ngIf",t.icon&&!t.iconTemplate&&!t._iconTemplate),ge(),G("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",ha(3,Ry,t.cx("icon"),t.ptm("icon")))}}function v_(e,n){if(e&1&&(Lr(0,"span",7),zo(1),Pr()),e&2){let t=ze();_e(t.cx("label")),G("pBind",t.ptm("label")),Ft("aria-hidden",t.icon&&!t.label),ge(),Wr(t.label)}}function b_(e,n){if(e&1&&Hn(0,"p-badge",10),e&2){let t=ze();G("value",t.badge)("severity",t.badgeSeverity)("pt",t.ptm("pcBadge"))}}var D_={root:({instance:e})=>["p-button p-component",{"p-button-icon-only":(e.icon||e.buttonProps?.icon||e.iconTemplate||e._iconTemplate||e.loadingIcon||e.loadingIconTemplate||e._loadingIconTemplate)&&!e.label&&!e.buttonProps?.label,"p-button-vertical":(e.iconPos==="top"||e.iconPos==="bottom")&&e.label,"p-button-loading":e.loading||e.buttonProps?.loading,"p-button-link":e.link||e.buttonProps?.link,[`p-button-${e.severity||e.buttonProps?.severity}`]:e.severity||e.buttonProps?.severity,"p-button-raised":e.raised||e.buttonProps?.raised,"p-button-rounded":e.rounded||e.buttonProps?.rounded,"p-button-text":e.text||e.variant==="text"||e.buttonProps?.text||e.buttonProps?.variant==="text","p-button-outlined":e.outlined||e.variant==="outlined"||e.buttonProps?.outlined||e.buttonProps?.variant==="outlined","p-button-sm":e.size==="small"||e.buttonProps?.size==="small","p-button-lg":e.size==="large"||e.buttonProps?.size==="large","p-button-plain":e.plain||e.buttonProps?.plain,"p-button-fluid":e.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({instance:e})=>["p-button-icon",{[`p-button-icon-${e.iconPos||e.buttonProps?.iconPos}`]:e.label||e.buttonProps?.label,"p-button-icon-left":(e.iconPos==="left"||e.buttonProps?.iconPos==="left")&&e.label||e.buttonProps?.label,"p-button-icon-right":(e.iconPos==="right"||e.buttonProps?.iconPos==="right")&&e.label||e.buttonProps?.label},e.icon,e.buttonProps?.icon],spinnerIcon:({instance:e})=>Object.entries(e.iconClass()).filter(([,n])=>!!n).reduce((n,[t])=>n+` ${t}`,"p-button-loading-icon"),label:"p-button-label"},Qr=(()=>{class e extends ve{name="button";style=_y;classes=D_;static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),E_=(function(e){return e.root="p-button",e.loadingIcon="p-button-loading-icon",e.icon="p-button-icon",e.label="p-button-label",e})(E_||{}),Ty=new C("BUTTON_INSTANCE"),Ny=new C("BUTTON_DIRECTIVE_INSTANCE"),My=new C("BUTTON_LABEL_INSTANCE"),xy=new C("BUTTON_ICON_INSTANCE"),fn={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"},Ay=(()=>{class e extends Ne{ptButtonLabel=J();$pcButtonLabel=g(My,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(oe,{self:!0});constructor(){super(),ye(()=>{this.ptButtonLabel()&&this.directivePT.set(this.ptButtonLabel())})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,selectors:[["","pButtonLabel",""]],hostVars:2,hostBindings:function(r,o){r&2&&Ur("p-button-label",!0)},inputs:{ptButtonLabel:[1,"ptButtonLabel"]},features:[me([Qr,{provide:My,useExisting:e},{provide:It,useExisting:e}]),vt([oe]),ne]})}return e})(),Oy=(()=>{class e extends Ne{ptButtonIcon=J();$pcButtonIcon=g(xy,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(oe,{self:!0});constructor(){super(),ye(()=>{this.ptButtonIcon()&&this.directivePT.set(this.ptButtonIcon())})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,selectors:[["","pButtonIcon",""]],hostVars:2,hostBindings:function(r,o){r&2&&Ur("p-button-icon",!0)},inputs:{ptButtonIcon:[1,"ptButtonIcon"]},features:[me([Qr,{provide:xy,useExisting:e},{provide:It,useExisting:e}]),vt([oe]),ne]})}return e})(),GH=(()=>{class e extends Ne{$pcButtonDirective=g(Ny,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(oe,{self:!0});_componentStyle=g(Qr);ptButtonDirective=J();hostName="";onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("root"))}constructor(){super(),ye(()=>{this.ptButtonDirective()&&this.directivePT.set(this.ptButtonDirective())})}text=!1;plain=!1;raised=!1;size;outlined=!1;rounded=!1;iconPos="left";loadingIcon;fluid=J(void 0,{transform:Y});iconSignal=Yu(Oy);labelSignal=Yu(Ay);isIconOnly=nt(()=>!!(!this.labelSignal()&&this.iconSignal()));_label;_icon;_loading=!1;_severity;_buttonProps;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(fn);pcFluid=g(Cd,{optional:!0,host:!0,skipSelf:!0});isTextButton=nt(()=>!!(!this.iconSignal()&&this.labelSignal()&&this.text));get label(){return this._label}set label(t){this._label=t,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(t){this._icon=t,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(t){this._loading=t,this.initialized&&(this.updateIcon(),this.setStyleClass())}get buttonProps(){return this._buttonProps}set buttonProps(t){this._buttonProps=t,t&&typeof t=="object"&&Object.entries(t).forEach(([r,o])=>this[`_${r}`]!==o&&(this[`_${r}`]=o))}get severity(){return this._severity}set severity(t){this._severity=t,this.initialized&&this.setStyleClass()}spinnerIcon=` + + + + + + + + + `;onAfterViewInit(){zn(this.htmlElement,this.getStyleClass().join(" ")),zr(this.platformId)&&(this.createIcon(),this.createLabel(),this.initialized=!0)}getStyleClass(){let t=[fn.button,fn.component];return this.icon&&!this.label&&Ct(this.htmlElement.textContent)&&t.push(fn.iconOnly),this.loading&&(t.push(fn.disabled,fn.loading),!this.icon&&this.label&&t.push(fn.labelOnly),this.icon&&!this.label&&!Ct(this.htmlElement.textContent)&&t.push(fn.iconOnly)),this.text&&t.push("p-button-text"),this.severity&&t.push(`p-button-${this.severity}`),this.plain&&t.push("p-button-plain"),this.raised&&t.push("p-button-raised"),this.size&&t.push(`p-button-${this.size}`),this.outlined&&t.push("p-button-outlined"),this.rounded&&t.push("p-button-rounded"),this.size==="small"&&t.push("p-button-sm"),this.size==="large"&&t.push("p-button-lg"),this.hasFluid&&t.push("p-button-fluid"),t}get hasFluid(){return this.fluid()??!!this.pcFluid}setStyleClass(){let t=this.getStyleClass();this.removeExistingSeverityClass(),this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...t)}removeExistingSeverityClass(){let t=["success","info","warn","danger","help","primary","secondary","contrast"],r=this.htmlElement.classList.value.split(" ").find(o=>t.some(i=>o===`p-button-${i}`));r&&this.htmlElement.classList.remove(r)}createLabel(){if(!Gr(this.htmlElement,".p-button-label")&&this.label){let r=Sa("span",{class:this.cx("label"),"p-bind":this.ptm("label"),"aria-hidden":this.icon&&!this.label?"true":null});r.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(r)}}createIcon(){if(!Gr(this.htmlElement,".p-button-icon")&&(this.icon||this.loading)){let r=this.label?"p-button-icon-"+this.iconPos:null,o=this.getIconClass(),i=Sa("span",{class:this.cn(this.cx("icon"),r,o),"aria-hidden":"true","p-bind":this.ptm("icon")});!this.loadingIcon&&this.loading&&(i.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(i,this.htmlElement.firstChild)}}updateLabel(){let t=Gr(this.htmlElement,".p-button-label");if(!this.label){t&&this.htmlElement.removeChild(t);return}t?t.textContent=this.label:this.createLabel()}updateIcon(){let t=Gr(this.htmlElement,".p-button-icon"),r=Gr(this.htmlElement,".p-button-label");this.loading&&!this.loadingIcon&&t?t.innerHTML=this.spinnerIcon:t?.innerHTML&&(t.innerHTML=""),t?this.iconPos?t.className="p-button-icon "+(r?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():t.className="p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}onDestroy(){this.initialized=!1}static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,selectors:[["","pButton",""]],contentQueries:function(r,o,i){r&1&&(fa(i,o.iconSignal,Oy,5),fa(i,o.labelSignal,Ay,5)),r&2&&Fu(2)},hostVars:4,hostBindings:function(r,o){r&2&&Ur("p-button-icon-only",o.isIconOnly())("p-button-text",o.isTextButton())},inputs:{ptButtonDirective:[1,"ptButtonDirective"],hostName:"hostName",text:[2,"text","text",Y],plain:[2,"plain","plain",Y],raised:[2,"raised","raised",Y],size:"size",outlined:[2,"outlined","outlined",Y],rounded:[2,"rounded","rounded",Y],iconPos:"iconPos",loadingIcon:"loadingIcon",fluid:[1,"fluid"],label:"label",icon:"icon",loading:"loading",buttonProps:"buttonProps",severity:"severity"},features:[me([Qr,{provide:Ny,useExisting:e},{provide:It,useExisting:e}]),vt([oe]),ne]})}return e})(),C_=(()=>{class e extends Ne{hostName="";$pcButton=g(Ty,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(oe,{self:!0});_componentStyle=g(Qr);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=J(void 0,{transform:Y});onClick=new Be;onFocus=new Be;onBlur=new Be;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=g(Cd,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}_contentTemplate;_iconTemplate;_loadingIconTemplate;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"loadingicon":this._loadingIconTemplate=t.template;break;default:this._contentTemplate=t.template;break}})}spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,t])=>!!t).reduce((t,[r])=>t+` ${r}`,"p-button-loading-icon")}iconClass(){return{[`p-button-loading-icon pi-spin ${this.loadingIcon??""}`]:this.loading,"p-button-icon":!0,[this.icon]:!0,"p-button-icon-left":this.iconPos==="left"&&this.label,"p-button-icon-right":this.iconPos==="right"&&this.label,"p-button-icon-top":this.iconPos==="top"&&this.label,"p-button-icon-bottom":this.iconPos==="bottom"&&this.label}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=$(e)))(o||e)}})();static \u0275cmp=ke({type:e,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&(Vr(i,r_,5),Vr(i,o_,5),Vr(i,i_,5),Vr(i,Jm,4)),r&2){let s;$r(s=Hr())&&(o.contentTemplate=s.first),$r(s=Hr())&&(o.loadingIconTemplate=s.first),$r(s=Hr())&&(o.iconTemplate=s.first),$r(s=Hr())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",Y],raised:[2,"raised","raised",Y],rounded:[2,"rounded","rounded",Y],text:[2,"text","text",Y],plain:[2,"plain","plain",Y],outlined:[2,"outlined","outlined",Y],link:[2,"link","link",Y],tabindex:[2,"tabindex","tabindex",mm],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",Y],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",Y],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[me([Qr,{provide:Ty,useExisting:e},{provide:It,useExisting:e}]),vt([oe]),ne],ngContentSelectors:s_,decls:7,vars:14,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","pAutoFocus","pBind"],[4,"ngTemplateOutlet"],[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"value","severity","pt",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"]],template:function(r,o){r&1&&(bt(),Lr(0,"button",0),da("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),Dt(1),kt(2,a_,1,0,"ng-container",1)(3,p_,3,6,"ng-container",2)(4,y_,3,6,"ng-container",2)(5,v_,2,5,"span",3)(6,b_,1,3,"p-badge",4),Pr()),r&2&&(_e(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),G("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")),Ft("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)),ge(2),G("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),ge(),G("ngIf",o.loading),ge(),G("ngIf",!o.loading),ge(),G("ngIf",!o.contentTemplate&&!o._contentTemplate&&o.label),ge(),G("ngIf",!o.contentTemplate&&!o._contentTemplate&&o.badge))},dependencies:[Et,nd,od,rd,Sy,fy,Cy,yy,Ed,dn,oe],encapsulation:2,changeDetection:0})}return e})(),qH=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Fe({type:e});static \u0275inj=Ee({imports:[Et,C_,dn,dn]})}return e})();export{D as a,H as b,I_ as c,xd as d,Oa as e,nv as f,w_ as g,Q as h,pv as i,O as j,Ya as k,Qa as l,se as m,ro as n,io as o,mv as p,St as q,Zd as r,ao as s,ut as t,Xa as u,el as v,Sv as w,_t as x,_v as y,Vt as z,kv as A,$t as B,qi as C,Lv as D,Pv as E,jv as F,Bv as G,sr as H,tl as I,Vv as J,$v as K,lo as L,nl as M,Hv as N,ff as O,zv as P,rl as Q,Gv as R,qv as S,Zv as T,il as U,Yv as V,Qv as W,Kv as X,Jv as Y,pf as Z,T as _,ho as $,es as aa,I as ba,Ee as ca,tb as da,C as ea,ue as fa,g as ga,zt as ha,xl as ia,Le as ja,ss as ka,Hf as la,Uf as ma,yr as na,$e as oa,Ae as pa,Xt as qa,Mt as ra,et as sa,wb as ta,ee as ua,Ze as va,en as wa,bs as xa,Lo as ya,$ as za,Re as Aa,oD as Ba,iD as Ca,ch as Da,$n as Ea,aD as Fa,lD as Ga,wr as Ha,wD as Ia,ge as Ja,Sr as Ka,Mo as La,jo as Ma,Rt as Na,Be as Oa,de as Pa,ZD as Qa,jE as Ra,BE as Sa,Vo as Ta,Oo as Ua,rn as Va,W as Wa,sn as Xa,Ig as Ya,Tu as Za,ke as _a,Fe as $a,z as ab,ne as bb,vt as cb,kt as db,Ng as eb,uI as fb,la as gb,Ou as hb,Rg as ib,Ho as jb,mI as kb,yI as lb,Ft as mb,bI as nb,DI as ob,EI as pb,CI as qb,II as rb,G as sb,Lr as tb,Pr as ub,Hn as vb,jr as wb,Br as xb,Uo as yb,Un as zb,Wn as Ab,ca as Bb,MI as Cb,ua as Db,da as Eb,ze as Fb,bt as Gb,Dt as Hb,Vr as Ib,RI as Jb,$r as Kb,Hr as Lb,kI as Mb,Fu as Nb,FI as Ob,pa as Pb,Ur as Qb,Lu as Rb,_e as Sb,zo as Tb,Wr as Ub,Pu as Vb,Jg as Wb,em as Xb,sw as Yb,tm as Zb,aw as _b,me as $b,fw as ac,pw as bc,ha as cc,hw as dc,gw as ec,mw as fc,yw as gc,vw as hc,Cw as ic,ww as jc,_w as kc,Tw as lc,Mw as mc,ya as nc,nt as oc,ye as pc,J as qc,o2 as rc,Qu as sc,i2 as tc,Y as uc,mm as vc,Da as wc,sS as xc,Xu as yc,Cm as zc,wm as Ac,uS as Bc,Nm as Cc,nd as Dc,rd as Ec,od as Fc,fS as Gc,Et as Hc,pS as Ic,id as Jc,hS as Kc,zr as Lc,Mm as Mc,zn as Nc,cn as Oc,Rm as Pc,vS as Qc,bS as Rc,PB as Sc,jB as Tc,km as Uc,BB as Vc,CS as Wc,VB as Xc,Sa as Yc,$B as Zc,IS as _c,Gr as $c,HB as ad,Pm as bd,UB as cd,ld as dd,WB as ed,zB as fd,cd as gd,GB as hd,ud as id,qB as jd,ZB as kd,YB as ld,QB as md,Vm as nd,Ct as od,RS as pd,F as qd,_a as rd,Yo as sd,eV as td,tV as ud,nV as vd,rV as wd,Qo as xd,fe as yd,cV as zd,uV as Ad,dV as Bd,fV as Cd,pV as Dd,Jm as Ed,dn as Fd,hV as Gd,yV as Hd,ve as Id,GV as Jd,It as Kd,Ne as Ld,bd as Md,l$ as Nd,c$ as Od,dy as Pd,fy as Qd,oe as Rd,py as Sd,yy as Td,Cd as Ud,Ey as Vd,Cy as Wd,Sy as Xd,Qr as Yd,E_ as Zd,Ay as _d,Oy as $d,GH as ae,C_ as be,qH as ce}; diff --git a/latest/chunk-SPIR5TD3.js b/latest/chunk-SPIR5TD3.js new file mode 100644 index 0000000..90876a4 --- /dev/null +++ b/latest/chunk-SPIR5TD3.js @@ -0,0 +1 @@ +import{p as a}from"./chunk-YBGBPGZM.js";import"./chunk-SK2T2ZXR.js";export{a as Base}; diff --git a/latest/chunk-YBGBPGZM.js b/latest/chunk-YBGBPGZM.js new file mode 100644 index 0000000..809688e --- /dev/null +++ b/latest/chunk-YBGBPGZM.js @@ -0,0 +1,62 @@ +import{$ as Cn,$b as ei,$c as Nt,A as bn,Ac as Pt,B as z,Ba as Nr,C as Tr,Ca as Pn,Cb as Wr,D as Tt,Da as Lr,Ea as St,Eb as Xr,Fb as Zr,Ga as An,Gb as Jr,H as Z,Ha as Dn,Hb as Yr,I as we,Ic as At,Id as mi,J as ue,Ja as xn,Jc as Dt,Ka as qe,Kc as ci,Kd as vi,L as Rn,La as kr,Lc as li,Ld as yi,M as be,Ma as Ur,Mc as Ze,O as Re,Oa as Ee,P as te,Pa as ne,Pc as ui,Pd as wi,Q as En,Qc as di,R as Cr,Rc as hi,T as Sr,Tb as Kr,Ua as jr,Ub as Qr,Uc as V,W as Mr,Wa as Nn,X as P,Xa as Mt,Xc as kn,Y as Tn,Ya as Fr,Yc as xt,Z as _,Za as Ln,Zc as pi,_ as E,_a as Ot,a as d,ab as _t,b as U,ba as w,bb as zr,be as bi,da as Or,ea as C,fa as R,fb as $r,ga as h,gb as Br,gd as ie,h as wr,ha as Ct,i as br,ia as _r,ib as Hr,j as Et,ja as de,jb as Vr,k as yn,ka as N,l as wn,la as Ir,lc as ti,ld as fi,m as ee,ma as Pr,n as j,nb as qr,nc as he,oa as Sn,ob as Gr,oc as ni,pa as x,pc as ri,q as X,qa as Mn,qc as re,ra as On,sa as _n,sc as ii,t as F,tb as Ge,tc as oi,u as p,ua as In,ub as We,uc as Te,v as He,vb as It,vc as Ce,w as Rr,wa as Ar,wc as Xe,x as Er,xa as Dr,xc as si,xd as gi,ya as xr,yc as ai,z as y,za as Ve}from"./chunk-SK2T2ZXR.js";var Je=class{_doc;constructor(t){this._doc=t}manager},Lt=(()=>{class n extends Je{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||n)(R(x))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),Ut=new C(""),$n=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Lt));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Lt);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||n)(R(Ut),R(ne))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),Un="ng-app-id";function Ri(n){for(let t of n)t.remove()}function Ei(n,t){let e=t.createElement("style");return e.textContent=n,e}function Ho(n,t,e,r){let i=n.head?.querySelectorAll(`style[${Un}="${t}"],link[${Un}="${t}"]`);if(i)for(let o of i)o.removeAttribute(Un),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Fn(n,t){let e=t.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var Bn=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,Ho(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,Ei);r?.forEach(i=>this.addUsage(i,this.external,Fn))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(Ri(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Ri(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,Ei(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,Fn(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||n)(R(x),R(Pn),R(An,8),R(St))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),jn={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"},Hn=/%COMP%/g;var Ci="%COMP%",Vo=`_nghost-${Ci}`,qo=`_ngcontent-${Ci}`,Go=!0,Wo=new C("",{providedIn:"root",factory:()=>Go});function Xo(n){return qo.replace(Hn,n)}function Zo(n){return Vo.replace(Hn,n)}function Si(n,t){return t.map(e=>e.replace(Hn,n))}var Vn=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new Ye(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof kt?i.applyToHost(e):i instanceof Ke&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,g=this.platformIsServer,m=this.tracingService;switch(r.encapsulation){case Dn.Emulated:o=new kt(c,l,r,this.appId,u,s,a,g,m);break;case Dn.ShadowDom:return new zn(c,l,e,r,s,a,this.nonce,g,m);default:o=new Ke(c,l,r,u,s,a,g,m);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||n)(R($n),R(Bn),R(Pn),R(Wo),R(x),R(ne),R(An),R(Ur,8))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),Ye=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,r,i,o){this.eventManager=t,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(jn[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Ti(t)?t.content:t).appendChild(e)}insertBefore(t,e,r){t&&(Ti(t)?t.content:t).insertBefore(e,r)}removeChild(t,e){e.remove()}selectRootElement(t,e){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new E(-5104,!1);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,i){if(i){e=i+":"+e;let o=jn[i];o?t.setAttributeNS(o,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){let i=jn[r];i?t.removeAttributeNS(i,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,i){i&(qe.DashCase|qe.Important)?t.style.setProperty(e,r,i&qe.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&qe.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t!=null&&(t[e]=r)}setValue(t,e){t.nodeValue=e}listen(t,e,r,i){if(typeof t=="string"&&(t=Xe().getGlobalEventTarget(this.doc,t),!t))throw new E(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,e,o)),this.eventManager.addEventListener(t,e,o,i)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;t(e)===!1&&e.preventDefault()}}};function Ti(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var zn=class extends Ye{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,r,i,o,s,a,c,l){super(t,o,s,c,l),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=Si(i.id,u);for(let m of u){let S=document.createElement("style");a&&S.setAttribute("nonce",a),S.textContent=m,this.shadowRoot.appendChild(S)}let g=i.getExternalStyles?.();if(g)for(let m of g){let S=Fn(m,o);a&&S.setAttribute("nonce",a),this.shadowRoot.appendChild(S)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,r){return super.insertBefore(this.nodeOrShadowRoot(t),e,r)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ke=class extends Ye{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,r,i,o,s,a,c,l){super(t,o,s,a,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=l?Si(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&kr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},kt=class extends Ke{contentAttr;hostAttr;constructor(t,e,r,i,o,s,a,c,l){let u=i+"-"+r.id;super(t,e,r,o,s,a,c,l,u),this.contentAttr=Xo(u),this.hostAttr=Zo(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let r=super.createElement(t,e);return super.setAttribute(r,this.contentAttr,""),r}};var jt=class n extends ai{supportsDOMEvents=!0;static makeCurrent(){si(new n)}onAndCancel(t,e,r,i){return t.addEventListener(e,r,i),()=>{t.removeEventListener(e,r,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=Jo();return e==null?null:Yo(e)}resetBaseElement(){Qe=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return At(document.cookie,t)}},Qe=null;function Jo(){return Qe=Qe||document.head.querySelector("base"),Qe?Qe.getAttribute("href"):null}function Yo(n){return new URL(n,document.baseURI).pathname}var Ko=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),Mi=["alt","control","meta","shift"],Qo={"\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"},es={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Oi=(()=>{class n extends Je{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=n.parseEventName(r),a=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xe().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=n._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Mi.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let i=Qo[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Mi.forEach(s=>{if(s!==i){let a=es[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{n.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||n)(R(x))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})();function ts(n){return oi(ns(n))}function ns(n){return{appProviders:[...as,...n?.providers??[]],platformProviders:ss}}function rs(){jt.makeCurrent()}function is(){return new On}function os(){return Nr(document),document}var ss=[{provide:St,useValue:ci},{provide:Lr,useValue:rs,multi:!0},{provide:x,useFactory:os}];var as=[{provide:_r,useValue:"root"},{provide:On,useFactory:is},{provide:Ut,useClass:Lt,multi:!0,deps:[x]},{provide:Ut,useClass:Oi,multi:!0,deps:[x]},Vn,Bn,$n,{provide:jr,useExisting:Vn},{provide:Dt,useClass:Ko},[]];var _e=class{},et=class{},oe=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,e);let i=(t.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(t,e){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(t,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var zt=class{encodeKey(t){return _i(t)}encodeValue(t){return _i(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function ls(n,t){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var us=/%(\d[a-f0-9])/gi,ds={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _i(n){return encodeURIComponent(n).replace(us,(t,e)=>ds[e]??t)}function Ft(n){return`${n}`}var J=class n{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new zt,t.fromString){if(t.fromObject)throw new E(2805,!1);this.map=ls(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let r=t.fromObject[e],i=Array.isArray(r)?r.map(Ft):[Ft(r)];this.map.set(e,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(Ft(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf(Ft(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var $t=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function hs(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ii(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Pi(n){return typeof Blob<"u"&&n instanceof Blob}function Ai(n){return typeof FormData<"u"&&n instanceof FormData}function ps(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Di="Content-Type",xi="Accept",Ni="X-Request-URL",Li="text/plain",ki="application/json",fs=`${ki}, ${Li}, */*`,Me=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,e,r,i){this.url=e,this.method=t.toUpperCase();let o;if(hs(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new E(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new oe,this.context??=new $t,!this.params)this.params=new J,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":ace.set(le,t.setHeaders[le]),D)),t.setParams&&(B=Object.keys(t.setParams).reduce((ce,le)=>ce.set(le,t.setParams[le]),B)),new n(e,r,$,{params:B,headers:D,context:I,reportProgress:T,responseType:i,withCredentials:v,transferCache:S,keepalive:o,cache:a,priority:s,timeout:M,mode:c,redirect:l,credentials:u,referrer:g,integrity:m})}},pe=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(pe||{}),Ie=class{headers;status;statusText;url;ok;type;redirected;constructor(t,e=200,r="OK"){this.headers=t.headers||new oe,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Bt=class n extends Ie{constructor(t={}){super(t)}type=pe.ResponseHeader;clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},tt=class n extends Ie{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=pe.Response;clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Oe=class extends Ie{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},gs=200,ms=204;function Wn(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,credentials:n.credentials,transferCache:n.transferCache,timeout:n.timeout,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,integrity:n.integrity,referrer:n.referrer}}var Ui=(()=>{class n{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof Me)o=e;else{let c;i.headers instanceof oe?c=i.headers:c=new oe(i.headers);let l;i.params&&(i.params instanceof J?l=i.params:l=new J({fromObject:i.params})),o=new Me(e,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}let s=p(o).pipe(ue(c=>this.handler.handle(c)));if(e instanceof Me||i.observe==="events")return s;let a=s.pipe(Z(c=>c instanceof tt));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(y(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(y(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(y(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));default:return a.pipe(y(c=>c.body))}case"response":return a;default:throw new E(2809,!1)}}delete(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 J().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Wn(i,r))}post(e,r,i={}){return this.request("POST",e,Wn(i,r))}put(e,r,i={}){return this.request("PUT",e,Wn(i,r))}static \u0275fac=function(r){return new(r||n)(R(_e))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})();var vs=new C("");function ys(n,t){return t(n)}function ws(n,t,e){return(r,i)=>N(e,()=>t(r,o=>n(o,i)))}var ji=new C(""),Fi=new C(""),zi=new C("",{providedIn:"root",factory:()=>!0});var Ht=(()=>{class n extends _e{backend;injector;chain=null;pendingTasks=h(Dr);contributeToStability=h(zi);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(ji),...this.injector.get(Fi,[])]));this.chain=r.reduceRight((i,o)=>ws(i,o,this.injector),ys)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(Re(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||n)(R(et),R(de))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})();var bs=/^\)\]\}',?\n/,Rs=RegExp(`^${Ni}:`,"m");function Es(n){return"responseURL"in n&&n.responseURL?n.responseURL:Rs.test(n.getAllResponseHeaders())?n.getResponseHeader(Ni):null}var Xn=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return p(null).pipe(P(()=>new Et(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((v,T)=>s.setRequestHeader(v,T.join(","))),e.headers.has(xi)||s.setRequestHeader(xi,fs),!e.headers.has(Di)){let v=e.detectContentTypeHeader();v!==null&&s.setRequestHeader(Di,v)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let v=e.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let v=s.statusText||"OK",T=new oe(s.getAllResponseHeaders()),D=Es(s)||e.url;return c=new Bt({headers:T,status:s.status,statusText:v,url:D}),c},u=()=>{let{headers:v,status:T,statusText:D,url:B}=l(),I=null;T!==ms&&(I=typeof s.response>"u"?s.responseText:s.response),T===0&&(T=I?gs:0);let ce=T>=200&&T<300;if(e.responseType==="json"&&typeof I=="string"){let le=I;I=I.replace(bs,"");try{I=I!==""?JSON.parse(I):null}catch(Bo){I=le,ce&&(ce=!1,I={error:Bo,text:I})}}ce?(o.next(new tt({body:I,headers:v,status:T,statusText:D,url:B||void 0})),o.complete()):o.error(new Oe({error:I,headers:v,status:T,statusText:D,url:B||void 0}))},g=v=>{let{url:T}=l(),D=new Oe({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:T||void 0});o.error(D)},m=g;e.timeout&&(m=v=>{let{url:T}=l(),D=new Oe({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:T||void 0});o.error(D)});let S=!1,M=v=>{S||(o.next(l()),S=!0);let T={type:pe.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(T.total=v.total),e.responseType==="text"&&s.responseText&&(T.partialText=s.responseText),o.next(T)},$=v=>{let T={type:pe.UploadProgress,loaded:v.loaded};v.lengthComputable&&(T.total=v.total),o.next(T)};return s.addEventListener("load",u),s.addEventListener("error",g),s.addEventListener("timeout",m),s.addEventListener("abort",g),e.reportProgress&&(s.addEventListener("progress",M),a!==null&&s.upload&&s.upload.addEventListener("progress",$)),s.send(a),o.next({type:pe.Sent}),()=>{s.removeEventListener("error",g),s.removeEventListener("abort",g),s.removeEventListener("load",u),s.removeEventListener("timeout",m),e.reportProgress&&(s.removeEventListener("progress",M),a!==null&&s.upload&&s.upload.removeEventListener("progress",$)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||n)(R(Dt))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),$i=new C(""),Ts="XSRF-TOKEN",Cs=new C("",{providedIn:"root",factory:()=>Ts}),Ss="X-XSRF-TOKEN",Ms=new C("",{providedIn:"root",factory:()=>Ss}),nt=class{},Os=(()=>{class n{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r){this.doc=e,this.cookieName=r}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=At(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||n)(R(x),R(Cs))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),_s=/^(?:https?:)?\/\//i;function Is(n,t){if(!h($i)||n.method==="GET"||n.method==="HEAD"||_s.test(n.url))return t(n);let e=h(nt).getToken(),r=h(Ms);return e!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,e)})),t(n)}function Ps(...n){let t=[Ui,Xn,Ht,{provide:_e,useExisting:Ht},{provide:et,useFactory:()=>h(vs,{optional:!0})??h(Xn)},{provide:ji,useValue:Is,multi:!0},{provide:$i,useValue:!0},{provide:nt,useClass:Os}];for(let e of n)t.push(...e.\u0275providers);return Ct(t)}var Bi=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||n)(R(x))};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var f="primary",vt=Symbol("RouteTitle"),Qn=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function me(n){return new Qn(n)}function Ji(n,t,e){let r=e.path.split("/");if(r.length>n.length||e.pathMatch==="full"&&(t.hasChildren()||r.lengthr[o]===i)}else return n===t}function Ki(n){return n.length>0?n[n.length-1]:null}function Q(n){return Rr(n)?n:Br(n)?F(Promise.resolve(n)):p(n)}var xs={exact:eo,subset:to},Qi={exact:Ns,subset:Ls,ignored:()=>!0};function Hi(n,t,e){return xs[e.paths](n.root,t.root,e.matrixParams)&&Qi[e.queryParams](n.queryParams,t.queryParams)&&!(e.fragment==="exact"&&n.fragment!==t.fragment)}function Ns(n,t){return q(n,t)}function eo(n,t,e){if(!fe(n.segments,t.segments)||!Gt(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!n.children[r]||!eo(n.children[r],t.children[r],e))return!1;return!0}function Ls(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>Yi(n[e],t[e]))}function to(n,t,e){return no(n,t,t.segments,e)}function no(n,t,e,r){if(n.segments.length>e.length){let i=n.segments.slice(0,e.length);return!(!fe(i,e)||t.hasChildren()||!Gt(i,e,r))}else if(n.segments.length===e.length){if(!fe(n.segments,e)||!Gt(n.segments,e,r))return!1;for(let i in t.children)if(!n.children[i]||!to(n.children[i],t.children[i],r))return!1;return!0}else{let i=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!fe(n.segments,i)||!Gt(n.segments,i,r)||!n.children[f]?!1:no(n.children[f],t,o,r)}}function Gt(n,t,e){return t.every((r,i)=>Qi[e](n[i].parameters,r.parameters))}var W=class{root;queryParams;fragment;_queryParamMap;constructor(t=new b([],{}),e={},r=null){this.root=t,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=me(this.queryParams),this._queryParamMap}toString(){return js.serialize(this)}},b=class{segments;children;parent=null;constructor(t,e){this.segments=t,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 Wt(this)}},se=class{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=me(this.parameters),this._parameterMap}toString(){return io(this)}};function ks(n,t){return fe(n,t)&&n.every((e,r)=>q(e.parameters,t[r].parameters))}function fe(n,t){return n.length!==t.length?!1:n.every((e,r)=>e.path===t[r].path)}function Us(n,t){let e=[];return Object.entries(n.children).forEach(([r,i])=>{r===f&&(e=e.concat(t(i,r)))}),Object.entries(n.children).forEach(([r,i])=>{r!==f&&(e=e.concat(t(i,r)))}),e}var yt=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>new ve,providedIn:"root"})}return n})(),ve=class{parse(t){let e=new nr(t);return new W(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){let e=`/${rt(t.root,!0)}`,r=$s(t.queryParams),i=typeof t.fragment=="string"?`#${Fs(t.fragment)}`:"";return`${e}${r}${i}`}},js=new ve;function Wt(n){return n.segments.map(t=>io(t)).join("/")}function rt(n,t){if(!n.hasChildren())return Wt(n);if(t){let e=n.children[f]?rt(n.children[f],!1):"",r=[];return Object.entries(n.children).forEach(([i,o])=>{i!==f&&r.push(`${i}:${rt(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Us(n,(r,i)=>i===f?[rt(n.children[f],!1)]:[`${i}:${rt(r,!1)}`]);return Object.keys(n.children).length===1&&n.children[f]!=null?`${Wt(n)}/${e[0]}`:`${Wt(n)}/(${e.join("//")})`}}function ro(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vt(n){return ro(n).replace(/%3B/gi,";")}function Fs(n){return encodeURI(n)}function tr(n){return ro(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Xt(n){return decodeURIComponent(n)}function Vi(n){return Xt(n.replace(/\+/g,"%20"))}function io(n){return`${tr(n.path)}${zs(n.parameters)}`}function zs(n){return Object.entries(n).map(([t,e])=>`;${tr(t)}=${tr(e)}`).join("")}function $s(n){let t=Object.entries(n).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Vt(e)}=${Vt(i)}`).join("&"):`${Vt(e)}=${Vt(r)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}var Bs=/^[^\/()?;#]+/;function Zn(n){let t=n.match(Bs);return t?t[0]:""}var Hs=/^[^\/()?;=#]+/;function Vs(n){let t=n.match(Hs);return t?t[0]:""}var qs=/^[^=?&#]+/;function Gs(n){let t=n.match(qs);return t?t[0]:""}var Ws=/^[^&#]+/;function Xs(n){let t=n.match(Ws);return t?t[0]:""}var nr=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(r[f]=new b(t,e)),r}parseSegment(){let t=Zn(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new se(Xt(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let e=Vs(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Zn(this.remaining);i&&(r=i,this.capture(r))}t[Xt(e)]=Xt(r)}parseQueryParam(t){let e=Gs(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=Xs(this.remaining);s&&(r=s,this.capture(r))}let i=Vi(e),o=Vi(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Zn(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=f);let s=this.parseChildren();e[o??f]=Object.keys(s).length===1&&s[f]?s[f]:new b([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}};function oo(n){return n.segments.length>0?new b([],{[f]:n}):n}function so(n){let t={};for(let[r,i]of Object.entries(n.children)){let o=so(i);if(r===f&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let e=new b(n.segments,t);return Zs(e)}function Zs(n){if(n.numberOfChildren===1&&n.children[f]){let t=n.children[f];return new b(n.segments.concat(t.segments),t.children)}return n}function Ne(n){return n instanceof W}function ao(n,t,e=null,r=null){let i=co(n);return lo(i,t,e,r)}function co(n){let t;function e(o){let s={};for(let c of o.children){let l=e(c);s[c.outlet]=l}let a=new b(o.url,s);return o===n&&(t=a),a}let r=e(n.root),i=oo(r);return t??i}function lo(n,t,e,r){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return Jn(i,i,i,e,r);let o=Js(t);if(o.toRoot())return Jn(i,i,new b([],{}),e,r);let s=Ys(o,i,n),a=s.processChildren?ot(s.segmentGroup,s.index,o.commands):ho(s.segmentGroup,s.index,o.commands);return Jn(i,s.segmentGroup,a,e,r)}function Zt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function ct(n){return typeof n=="object"&&n!=null&&n.outlets}function Jn(n,t,e,r,i){let o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;n===t?s=e:s=uo(n,t,e);let a=oo(so(s));return new W(a,o,i)}function uo(n,t,e){let r={};return Object.entries(n.children).forEach(([i,o])=>{o===t?r[i]=e:r[i]=uo(o,t,e)}),new b(n.segments,r)}var Jt=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,r){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=r,t&&r.length>0&&Zt(r[0]))throw new E(4003,!1);let i=r.find(ct);if(i&&i!==Ki(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Js(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Jt(!0,0,n);let t=0,e=!1,r=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Jt(e,t,r)}var De=class{segmentGroup;processChildren;index;constructor(t,e,r){this.segmentGroup=t,this.processChildren=e,this.index=r}};function Ys(n,t,e){if(n.isAbsolute)return new De(t,!0,0);if(!e)return new De(t,!1,NaN);if(e.parent===null)return new De(e,!0,0);let r=Zt(n.commands[0])?0:1,i=e.segments.length-1+r;return Ks(e,i,n.numberOfDoubleDots)}function Ks(n,t,e){let r=n,i=t,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new De(r,!1,i-o)}function Qs(n){return ct(n[0])?n[0].outlets:{[f]:n}}function ho(n,t,e){if(n??=new b([],{}),n.segments.length===0&&n.hasChildren())return ot(n,t,e);let r=ea(n,t,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndexo!==f)&&n.children[f]&&n.numberOfChildren===1&&n.children[f].segments.length===0){let o=ot(n.children[f],t,e);return new b(n.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ho(n.children[o],t,s))}),Object.entries(n.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new b(n.segments,i)}}function ea(n,t,e){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=e.length)return o;let s=n.segments[i],a=e[r];if(ct(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Gi(c,l,s))return o;r+=2}else{if(!Gi(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function rr(n,t,e){let r=n.segments.slice(0,t),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(t[e]=rr(new b([],{}),0,r))}),t}function qi(n){let t={};return Object.entries(n).forEach(([e,r])=>t[e]=`${r}`),t}function Gi(n,t,e){return n==e.path&&q(t,e.parameters)}var st="imperative",O=(function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n})(O||{}),k=class{id;url;constructor(t,e){this.id=t,this.url=e}},ye=class extends k{type=O.NavigationStart;navigationTrigger;restoredState;constructor(t,e,r="imperative",i=null){super(t,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Y=class extends k{urlAfterRedirects;type=O.NavigationEnd;constructor(t,e,r){super(t,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},A=(function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n})(A||{}),lt=(function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n})(lt||{}),G=class extends k{reason;code;type=O.NavigationCancel;constructor(t,e,r,i){super(t,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},K=class extends k{reason;code;type=O.NavigationSkipped;constructor(t,e,r,i){super(t,e),this.reason=r,this.code=i}},Le=class extends k{error;target;type=O.NavigationError;constructor(t,e,r,i){super(t,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ut=class extends k{urlAfterRedirects;state;type=O.RoutesRecognized;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Yt=class extends k{urlAfterRedirects;state;type=O.GuardsCheckStart;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kt=class extends k{urlAfterRedirects;state;shouldActivate;type=O.GuardsCheckEnd;constructor(t,e,r,i,o){super(t,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Qt=class extends k{urlAfterRedirects;state;type=O.ResolveStart;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},en=class extends k{urlAfterRedirects;state;type=O.ResolveEnd;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tn=class{route;type=O.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},nn=class{route;type=O.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},rn=class{snapshot;type=O.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},on=class{snapshot;type=O.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sn=class{snapshot;type=O.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},an=class{snapshot;type=O.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var dt=class{},ke=class{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}};function na(n){return!(n instanceof dt)&&!(n instanceof ke)}function ra(n,t){return n.providers&&!n._injector&&(n._injector=Ln(n.providers,t,`Route: ${n.path}`)),n._injector??t}function H(n){return n.outlet||f}function ia(n,t){let e=n.filter(r=>H(r)===t);return e.push(...n.filter(r=>H(r)!==t)),e}function Fe(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var cn=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Fe(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new ze(this.rootInjector)}},ze=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}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 cn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||n)(R(de))};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ln=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){let e=ir(t,this._root);return e?e.children.map(r=>r.value):[]}firstChild(t){let e=ir(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){let e=or(t,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return or(t,this._root).map(e=>e.value)}};function ir(n,t){if(n===t.value)return t;for(let e of t.children){let r=ir(n,e);if(r)return r}return null}function or(n,t){if(n===t.value)return[t];for(let e of t.children){let r=or(n,e);if(r.length)return r.unshift(t),r}return[]}var L=class{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ae(n){let t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}var ht=class extends ln{snapshot;constructor(t,e){super(t),this.snapshot=e,pr(this,t)}toString(){return this.snapshot.toString()}};function po(n){let t=oa(n),e=new j([new se("",{})]),r=new j({}),i=new j({}),o=new j({}),s=new j(""),a=new ae(e,r,o,s,i,f,n,t.root);return a.snapshot=t.root,new ht(new L(a,[]),t)}function oa(n){let t={},e={},r={},o=new ge([],t,r,"",e,f,n,null,{});return new pt("",new L(o,[]))}var ae=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,r,i,o,s,a,c){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(y(l=>l[vt]))??p(void 0),this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(y(t=>me(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(y(t=>me(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function un(n,t,e="emptyOnly"){let r,{routeConfig:i}=n;return t!==null&&(e==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:d(d({},t.params),n.params),data:d(d({},t.data),n.data),resolve:d(d(d(d({},n.data),t.data),i?.data),n._resolvedData)}:r={params:d({},n.params),data:d({},n.data),resolve:d(d({},n.data),n._resolvedData??{})},i&&go(i)&&(r.resolve[vt]=i.title),r}var ge=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[vt]}constructor(t,e,r,i,o,s,a,c,l){this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}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??=me(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=me(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${e}')`}},pt=class extends ln{url;constructor(t,e){super(e),this.url=t,pr(this,e)}toString(){return fo(this._root)}};function pr(n,t){t.value._routerState=n,t.children.forEach(e=>pr(n,e))}function fo(n){let t=n.children.length>0?` { ${n.children.map(fo).join(", ")} } `:"";return`${n.value}${t}`}function Yn(n){if(n.snapshot){let t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,q(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),q(t.params,e.params)||n.paramsSubject.next(e.params),Ds(t.url,e.url)||n.urlSubject.next(e.url),q(t.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function sr(n,t){let e=q(n.params,t.params)&&ks(n.url,t.url),r=!n.parent!=!t.parent;return e&&!r&&(!n.parent||sr(n.parent,t.parent))}function go(n){return typeof n.title=="string"||n.title===null}var mo=new C(""),fr=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new Ee;deactivateEvents=new Ee;attachEvents=new Ee;detachEvents=new Ee;routerOutletData=re();parentContexts=h(ze);location=h(Mt);changeDetector=h(ii);inputBinder=h(fn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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 E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let 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 E(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new ar(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.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||n)};static \u0275dir=_t({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[xr]})}return n})(),ar=class{route;childContexts;parent;outletData;constructor(t,e,r,i){this.route=t,this.childContexts=e,this.parent=r,this.outletData=i}get(t,e){return t===ae?this.route:t===ze?this.childContexts:t===mo?this.outletData:this.parent.get(t,e)}},fn=new C("");var gr=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275cmp=Ot({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&It(0,"router-outlet")},dependencies:[fr],encapsulation:2})}return n})();function mr(n){let t=n.children&&n.children.map(mr),e=t?U(d({},n),{children:t}):d({},n);return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==f&&(e.component=gr),e}function sa(n,t,e){let r=ft(n,t._root,e?e._root:void 0);return new ht(r,t)}function ft(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=t.value;let i=aa(n,t,e);return new L(r,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ft(n,a)),s}}let r=ca(t.value),i=t.children.map(o=>ft(n,o));return new L(r,i)}}function aa(n,t,e){return t.children.map(r=>{for(let i of e.children)if(n.shouldReuseRoute(r.value,i.value.snapshot))return ft(n,r,i);return ft(n,r)})}function ca(n){return new ae(new j(n.url),new j(n.params),new j(n.queryParams),new j(n.fragment),new j(n.data),n.outlet,n.component,n)}var Ue=class{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}},vo="ngNavigationCancelingError";function dn(n,t){let{redirectTo:e,navigationBehaviorOptions:r}=Ne(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=yo(!1,A.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function yo(n,t){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[vo]=!0,e.cancellationCode=t,e}function la(n){return wo(n)&&Ne(n.url)}function wo(n){return!!n&&n[vo]}var ua=(n,t,e,r)=>y(i=>(new cr(t,i.targetRouterState,i.currentRouterState,e,r).activate(n),i)),cr=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,r,i,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,t),Yn(this.futureState.root),this.activateChildRoutes(e,r,t)}deactivateChildRoutes(t,e,r){let i=Ae(e);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,e,r){let i=t.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){let r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,o=Ae(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){let r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,o=Ae(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,e,r){let i=Ae(e);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new an(o.value.snapshot))}),t.children.length&&this.forwardEvent(new on(t.value.snapshot))}activateRoutes(t,e,r){let i=t.value,o=e?e.value:null;if(Yn(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),Yn(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},hn=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},xe=class{component;route;constructor(t,e){this.component=t,this.route=e}};function da(n,t,e){let r=n._root,i=t?t._root:null;return it(r,i,e,[r.value])}function ha(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function $e(n,t){let e=Symbol(),r=t.get(n,e);return r===e?typeof n=="function"&&!Or(n)?n:t.get(n):r}function it(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ae(t);return n.children.forEach(s=>{pa(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>at(a,e.getContext(s),i)),i}function pa(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=fa(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new hn(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?it(n,t,a?a.children:null,r,i):it(n,t,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new xe(a.outlet.component,s))}else s&&at(t,a,i),i.canActivateChecks.push(new hn(r)),o.component?it(n,null,a?a.children:null,r,i):it(n,null,e,r,i);return i}function fa(n,t,e){if(typeof e=="function")return e(n,t);switch(e){case"pathParamsChange":return!fe(n.url,t.url);case"pathParamsOrQueryParamsChange":return!fe(n.url,t.url)||!q(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sr(n,t)||!q(n.queryParams,t.queryParams);default:return!sr(n,t)}}function at(n,t,e){let r=Ae(n),i=n.value;Object.entries(r).forEach(([o,s])=>{i.component?t?at(s,t.children.getContext(o),e):at(s,null,e):at(s,t,e)}),i.component?t&&t.outlet&&t.outlet.isActivated?e.canDeactivateChecks.push(new xe(t.outlet.component,i)):e.canDeactivateChecks.push(new xe(null,i)):e.canDeactivateChecks.push(new xe(null,i))}function wt(n){return typeof n=="function"}function ga(n){return typeof n=="boolean"}function ma(n){return n&&wt(n.canLoad)}function va(n){return n&&wt(n.canActivate)}function ya(n){return n&&wt(n.canActivateChild)}function wa(n){return n&&wt(n.canDeactivate)}function ba(n){return n&&wt(n.canMatch)}function bo(n){return n instanceof Er||n?.name==="EmptyError"}var qt=Symbol("INITIAL_VALUE");function je(){return P(n=>bn(n.map(t=>t.pipe(be(1),Mr(qt)))).pipe(y(t=>{for(let e of t)if(e!==!0){if(e===qt)return qt;if(e===!1||Ra(e))return e}return!0}),Z(t=>t!==qt),be(1)))}function Ra(n){return Ne(n)||n instanceof Ue}function Ea(n,t){return z(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?p(U(d({},e),{guardsResult:!0})):Ta(s,r,i,n).pipe(z(a=>a&&ga(a)?Ca(r,o,n,t):p(a)),y(a=>U(d({},e),{guardsResult:a})))})}function Ta(n,t,e,r){return F(n).pipe(z(i=>Ia(i.component,i.route,e,t,r)),te(i=>i!==!0,!0))}function Ca(n,t,e,r){return F(t).pipe(ue(i=>Tr(Ma(i.route.parent,r),Sa(i.route,r),_a(n,i.path,e),Oa(n,i.route,e))),te(i=>i!==!0,!0))}function Sa(n,t){return n!==null&&t&&t(new sn(n)),p(!0)}function Ma(n,t){return n!==null&&t&&t(new rn(n)),p(!0)}function Oa(n,t,e){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return p(!0);let i=r.map(o=>Tt(()=>{let s=Fe(t)??e,a=$e(o,s),c=va(a)?a.canActivate(t,n):N(s,()=>a(t,n));return Q(c).pipe(te())}));return p(i).pipe(je())}function _a(n,t,e){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>ha(s)).filter(s=>s!==null).map(s=>Tt(()=>{let a=s.guards.map(c=>{let l=Fe(s.node)??e,u=$e(c,l),g=ya(u)?u.canActivateChild(r,n):N(l,()=>u(r,n));return Q(g).pipe(te())});return p(a).pipe(je())}));return p(o).pipe(je())}function Ia(n,t,e,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return p(!0);let s=o.map(a=>{let c=Fe(t)??i,l=$e(a,c),u=wa(l)?l.canDeactivate(n,t,e,r):N(c,()=>l(n,t,e,r));return Q(u).pipe(te())});return p(s).pipe(je())}function Pa(n,t,e,r){let i=t.canLoad;if(i===void 0||i.length===0)return p(!0);let o=i.map(s=>{let a=$e(s,n),c=ma(a)?a.canLoad(t,e):N(n,()=>a(t,e));return Q(c)});return p(o).pipe(je(),Ro(r))}function Ro(n){return br(_(t=>{if(typeof t!="boolean")throw dn(n,t)}),y(t=>t===!0))}function Aa(n,t,e,r){let i=t.canMatch;if(!i||i.length===0)return p(!0);let o=i.map(s=>{let a=$e(s,n),c=ba(a)?a.canMatch(t,e):N(n,()=>a(t,e));return Q(c)});return p(o).pipe(je(),Ro(r))}var gt=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},mt=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Pe(n){return He(new gt(n))}function Da(n){return He(new E(4e3,!1))}function xa(n){return He(yo(!1,A.GuardRejected))}var lr=class{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return p(r);if(i.numberOfChildren>1||!i.children[f])return Da(`${t.redirectTo}`);i=i.children[f]}}applyRedirectCommands(t,e,r,i,o){return Na(e,i,o).pipe(y(s=>{if(s instanceof W)throw new mt(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new mt(a);return a}))}applyRedirectCreateUrlTree(t,e,r,i){let o=this.createSegmentGroup(t,e.root,r,i);return new W(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(t,e,r,i){let o=this.createSegments(t,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,i)}),new b(o,s)}createSegments(t,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,e,r){let i=r[e.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(t,e){let r=0;for(let i of e){if(i.path===t.path)return e.splice(r),i;r++}return t}};function Na(n,t,e){if(typeof n=="string")return p(n);let r=n,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,params:l,data:u,title:g}=t;return Q(N(e,()=>r({params:l,data:u,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,title:g})))}var ur={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function La(n,t,e,r,i){let o=Eo(n,t,e);return o.matched?(r=ra(t,r),Aa(r,t,e,i).pipe(y(s=>s===!0?o:d({},ur)))):p(o)}function Eo(n,t,e){if(t.path==="**")return ka(e);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||e.length>0)?d({},ur):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Ji)(e,n,t);if(!i)return d({},ur);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?d(d({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ka(n){return{matched:!0,parameters:n.length>0?Ki(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Wi(n,t,e,r){return e.length>0&&Fa(n,e,r)?{segmentGroup:new b(t,ja(r,new b(e,n.children))),slicedSegments:[]}:e.length===0&&za(n,e,r)?{segmentGroup:new b(n.segments,Ua(n,e,r,n.children)),slicedSegments:e}:{segmentGroup:new b(n.segments,n.children),slicedSegments:e}}function Ua(n,t,e,r){let i={};for(let o of e)if(gn(n,t,o)&&!r[H(o)]){let s=new b([],{});i[H(o)]=s}return d(d({},r),i)}function ja(n,t){let e={};e[f]=t;for(let r of n)if(r.path===""&&H(r)!==f){let i=new b([],{});e[H(r)]=i}return e}function Fa(n,t,e){return e.some(r=>gn(n,t,r)&&H(r)!==f)}function za(n,t,e){return e.some(r=>gn(n,t,r))}function gn(n,t,e){return(n.hasChildren()||t.length>0)&&e.pathMatch==="full"?!1:e.path===""}function $a(n,t,e){return t.length===0&&!n.children[e]}var dr=class{};function Ba(n,t,e,r,i,o,s="emptyOnly"){return new hr(n,t,e,r,i,s,o).recognize()}var Ha=31,hr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,r,i,o,s,a){this.injector=t,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new lr(this.urlSerializer,this.urlTree)}noMatchError(t){return new E(4002,`'${t.segmentGroup}'`)}recognize(){let t=Wi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(y(({children:e,rootSnapshot:r})=>{let i=new L(r,e),o=new pt("",i),s=ao(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let e=new ge([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,f,e).pipe(y(r=>({children:r,rootSnapshot:e})),we(r=>{if(r instanceof mt)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof gt?this.noMatchError(r):r}))}processSegmentGroup(t,e,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,e,r,o):this.processSegment(t,e,r,r.segments,i,!0,o).pipe(y(s=>s instanceof L?[s]:[]))}processChildren(t,e,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return F(o).pipe(ue(s=>{let a=r.children[s],c=ia(e,s);return this.processSegmentGroup(t,c,a,s,i)}),Sr((s,a)=>(s.push(...a),s)),Rn(null),Cr(),z(s=>{if(s===null)return Pe(r);let a=To(s);return Va(a),p(a)}))}processSegment(t,e,r,i,o,s,a){return F(e).pipe(ue(c=>this.processSegmentAgainstRoute(c._injector??t,e,c,r,i,o,s,a).pipe(we(l=>{if(l instanceof gt)return p(null);throw l}))),te(c=>!!c),we(c=>{if(bo(c))return $a(r,i,o)?p(new dr):Pe(r);throw c}))}processSegmentAgainstRoute(t,e,r,i,o,s,a,c){return H(r)!==s&&(s===f||!gn(i,o,r))?Pe(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,r,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,e,r,o,s,c):Pe(i)}expandSegmentAgainstRouteUsingRedirect(t,e,r,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:g,remainingSegments:m}=Eo(e,i,o);if(!c)return Pe(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ha&&(this.allowRedirects=!1));let S=new ge(o,l,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Xi(i),H(i),i.component??i._loadedComponent??null,i,Zi(i)),M=un(S,a,this.paramsInheritanceStrategy);return S.params=Object.freeze(M.params),S.data=Object.freeze(M.data),this.applyRedirects.applyRedirectCommands(u,i.redirectTo,g,S,t).pipe(P(v=>this.applyRedirects.lineralizeSegments(i,v)),z(v=>this.processSegment(t,r,e,v.concat(m),s,!1,a)))}matchSegmentAgainstRoute(t,e,r,i,o,s){let a=La(e,r,i,t,this.urlSerializer);return r.path==="**"&&(e.children={}),a.pipe(P(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(P(({routes:l})=>{let u=r._loadedInjector??t,{parameters:g,consumedSegments:m,remainingSegments:S}=c,M=new ge(m,g,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Xi(r),H(r),r.component??r._loadedComponent??null,r,Zi(r)),$=un(M,s,this.paramsInheritanceStrategy);M.params=Object.freeze($.params),M.data=Object.freeze($.data);let{segmentGroup:v,slicedSegments:T}=Wi(e,m,S,l);if(T.length===0&&v.hasChildren())return this.processChildren(u,l,v,M).pipe(y(B=>new L(M,B)));if(l.length===0&&T.length===0)return p(new L(M,[]));let D=H(r)===o;return this.processSegment(u,l,v,T,D?f:o,!0,M).pipe(y(B=>new L(M,B instanceof L?[B]:[])))}))):Pe(e)))}getChildConfig(t,e,r){return e.children?p({routes:e.children,injector:t}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Pa(t,e,r,this.urlSerializer).pipe(z(i=>i?this.configLoader.loadChildren(t,e).pipe(_(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):xa(e))):p({routes:[],injector:t})}};function Va(n){n.sort((t,e)=>t.value.outlet===f?-1:e.value.outlet===f?1:t.value.outlet.localeCompare(e.value.outlet))}function qa(n){let t=n.value.routeConfig;return t&&t.path===""}function To(n){let t=[],e=new Set;for(let r of n){if(!qa(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):t.push(r)}for(let r of e){let i=To(r.children);t.push(new L(r.value,i))}return t.filter(r=>!e.has(r))}function Xi(n){return n.data||{}}function Zi(n){return n.resolve||{}}function Ga(n,t,e,r,i,o){return z(s=>Ba(n,t,e,r,s.extractedUrl,i,o).pipe(y(({state:a,tree:c})=>U(d({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Wa(n,t){return z(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of Co(c))s.add(l);let a=0;return F(s).pipe(ue(c=>o.has(c)?Xa(c,r,n,t):(c.data=un(c,c.parent,n).resolve,p(void 0))),_(()=>a++),En(1),z(c=>a===s.size?p(e):X))})}function Co(n){let t=n.children.map(e=>Co(e)).flat();return[n,...t]}function Xa(n,t,e,r){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!go(i)&&(o[vt]=i.title),Tt(()=>(n.data=un(n,n.parent,e).resolve,Za(o,n,t,r).pipe(y(s=>(n._resolvedData=s,n.data=d(d({},n.data),s),null)))))}function Za(n,t,e,r){let i=er(n);if(i.length===0)return p({});let o={};return F(i).pipe(z(s=>Ja(n[s],t,e,r).pipe(te(),_(a=>{if(a instanceof Ue)throw dn(new ve,a);o[s]=a}))),En(1),y(()=>o),we(s=>bo(s)?X:He(s)))}function Ja(n,t,e,r){let i=Fe(t)??r,o=$e(n,i),s=o.resolve?o.resolve(t,e):N(i,()=>o(t,e));return Q(s)}function Kn(n){return P(t=>{let e=n(t);return e?F(e).pipe(y(()=>t)):p(t)})}var vr=(()=>{class n{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===f);return r}getResolvedTitleForRoute(e){return e.data[vt]}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>h(So),providedIn:"root"})}return n})(),So=(()=>{class n extends vr{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||n)(R(Bi))};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bt=new C("",{providedIn:"root",factory:()=>({})}),Rt=new C(""),Mo=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(ti);loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return p(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=Q(N(e,()=>r.loadComponent())).pipe(y(_o),P(Io),_(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Re(()=>{this.componentLoaders.delete(r)})),o=new wn(i,()=>new ee).pipe(yn());return this.componentLoaders.set(r,o),o}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return p({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Oo(r,this.compiler,e,this.onLoadEndListener).pipe(Re(()=>{this.childrenLoaders.delete(r)})),s=new wn(o,()=>new ee).pipe(yn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Oo(n,t,e,r){return Q(N(e,()=>n.loadChildren())).pipe(y(_o),P(Io),z(i=>i instanceof Fr||Array.isArray(i)?p(i):F(t.compileModuleAsync(i))),y(i=>{r&&r(n);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(Rt,[],{optional:!0,self:!0}).flat()),{routes:s.map(mr),injector:o}}))}function Ya(n){return n&&typeof n=="object"&&"default"in n}function _o(n){return Ya(n)?n.default:n}function Io(n){return p(n)}var mn=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>h(Ka),providedIn:"root"})}return n})(),Ka=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Po=new C("");var Ao=new C(""),Do=(()=>{class n{currentNavigation=In(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ee;transitionAbortWithErrorSubject=new ee;configLoader=h(Mo);environmentInjector=h(de);destroyRef=h(Mn);urlSerializer=h(yt);rootContexts=h(ze);location=h(Pt);inputBindingEnabled=h(fn,{optional:!0})!==null;titleStrategy=h(vr);options=h(bt,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(mn);createViewTransition=h(Po,{optional:!0});navigationErrorHandler=h(Ao,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new tn(i)),r=i=>this.events.next(new nn(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;he(()=>{this.transitions?.next(U(d({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(e){return this.transitions=new j(null),this.transitions.pipe(Z(r=>r!==null),P(r=>{let i=!1;return p(r).pipe(P(o=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",A.SupersededByNewNavigation),X;this.currentTransition=r,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?U(d({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new K(o.id,this.urlSerializer.serialize(o.rawUrl),"",lt.IgnoredSameUrlNavigation)),o.resolve(!1),X;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return p(o).pipe(P(c=>(this.events.next(new ye(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?X:Promise.resolve(c))),Ga(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),_(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(u=>(u.finalUrl=c.urlAfterRedirects,u));let l=new ut(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:c,extractedUrl:l,source:u,restoredState:g,extras:m}=o,S=new ye(c,this.urlSerializer.serialize(l),u,g);this.events.next(S);let M=po(this.rootComponentType).snapshot;return this.currentTransition=r=U(d({},o),{targetSnapshot:M,urlAfterRedirects:l,extras:U(d({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update($=>($.finalUrl=l,$)),p(r)}else return this.events.next(new K(o.id,this.urlSerializer.serialize(o.extractedUrl),"",lt.IgnoredByUrlHandlingStrategy)),o.resolve(!1),X}),_(o=>{let s=new Yt(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),y(o=>(this.currentTransition=r=U(d({},o),{guards:da(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),r)),Ea(this.environmentInjector,o=>this.events.next(o)),_(o=>{if(r.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw dn(this.urlSerializer,o.guardsResult);let s=new Kt(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),Z(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",A.GuardRejected),!1)),Kn(o=>{if(o.guards.canActivateChecks.length!==0)return p(o).pipe(_(s=>{let a=new Qt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),P(s=>{let a=!1;return p(s).pipe(Wa(this.paramsInheritanceStrategy,this.environmentInjector),_({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",A.NoDataFromResolver)}}))}),_(s=>{let a=new en(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Kn(o=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let l=Fe(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(l,a.routeConfig).pipe(_(u=>{a.component=u}),y(()=>{})))}for(let l of a.children)c.push(...s(l));return c};return bn(s(o.targetSnapshot.root)).pipe(Rn(null),be(1))}),Kn(()=>this.afterPreactivation()),P(()=>{let{currentSnapshot:o,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?F(a).pipe(y(()=>r)):p(r)}),y(o=>{let s=sa(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=r=U(d({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),_(()=>{this.events.next(new dt)}),ua(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),be(1),Tn(new Et(o=>{let s=r.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(Z(()=>!i&&!r.targetRouterState),_(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",A.Aborted)}))),_({next:o=>{i=!0,this.lastSuccessfulNavigation=he(this.currentNavigation),this.events.next(new Y(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),Tn(this.transitionAbortWithErrorSubject.pipe(_(o=>{throw o}))),Re(()=>{i||this.cancelNavigationTransition(r,"",A.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),we(o=>{if(this.destroyed)return r.resolve(!1),X;if(i=!0,wo(o))this.events.next(new G(r.id,this.urlSerializer.serialize(r.extractedUrl),o.message,o.cancellationCode)),la(o)?this.events.next(new ke(o.url,o.navigationBehaviorOptions)):r.resolve(!1);else{let s=new Le(r.id,this.urlSerializer.serialize(r.extractedUrl),o,r.targetSnapshot??void 0);try{let a=N(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof Ue){let{message:c,cancellationCode:l}=dn(this.urlSerializer,a);this.events.next(new G(r.id,this.urlSerializer.serialize(r.extractedUrl),c,l)),this.events.next(new ke(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return X}))}))}cancelNavigationTransition(e,r,i){let o=new G(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),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=he(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Qa(n){return n!==st}var xo=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>h(ec),providedIn:"root"})}return n})(),pn=class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}},ec=(()=>{class n extends pn{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(n)))(i||n)}})();static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),No=(()=>{class n{urlSerializer=h(yt);options=h(bt,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Pt);urlHandlingStrategy=h(mn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new W;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof W?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=po(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>h(tc),providedIn:"root"})}return n})(),tc=(()=>{class n extends No{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}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")})})}handleRouterEvent(e,r){e instanceof ye?this.updateStateMemento():e instanceof K?this.commitTransition(r):e instanceof ut?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof dt?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof G&&e.code!==A.SupersededByNewNavigation&&e.code!==A.Redirect?this.restoreHistory(r):e instanceof Le?this.restoreHistory(r,!0):e instanceof Y&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,c=d(d({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=d(d({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}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(i){return(e||(e=Ve(n)))(i||n)}})();static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function yr(n,t){n.events.pipe(Z(e=>e instanceof Y||e instanceof G||e instanceof Le||e instanceof K),y(e=>e instanceof Y||e instanceof K?0:(e instanceof G?e.code===A.Redirect||e.code===A.SupersededByNewNavigation:!1)?2:1),Z(e=>e!==2),be(1)).subscribe(()=>{t()})}var nc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Be=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h($r);stateManager=h(No);options=h(bt,{optional:!0})||{};pendingTasks=h(Ar);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(Do);urlSerializer=h(yt);location=h(Pt);urlHandlingStrategy=h(mn);injector=h(de);_events=new ee;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(xo);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Rt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(fn,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new wr;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=he(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof G&&r.code!==A.Redirect&&r.code!==A.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Y)this.navigated=!0;else if(r instanceof ke){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=d({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Qa(i.source)},s);this.scheduleNavigation(a,st,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}na(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});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),st,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i)=>{this.navigateToSyncWithBrowser(e,i,r)})}navigateToSyncWithBrowser(e,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=d({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,o).catch(c=>{this.disposed||this.injector.get(_n)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return he(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(mr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=d(d({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let g;try{let m=i?i.snapshot:this.routerState.snapshot.root;g=co(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),g=this.currentUrlTree.root}return lo(g,e,u,l??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Ne(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,st,null,r)}navigate(e,r={skipLocationChange:!1}){return ic(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(Cn(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=d({},nc):r===!1?i=d({},rc):i=r,Ne(e))return Hi(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Hi(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,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((g,m)=>{a=g,c=m});let u=this.pendingTasks.add();return yr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(g=>Promise.reject(g))}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function ic(n){for(let t=0;te.\u0275providers)])}function cc(n){return n.routerState.root}function lc(){let n=h(Sn);return t=>{let e=n.get(Vr);if(t!==e.components[0])return;let r=n.get(Be),i=n.get(uc);n.get(dc)===1&&r.initialNavigation(),n.get(hc,null,{optional:!0})?.setUpPreloading(),n.get(sc,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var uc=new C("",{factory:()=>new ee}),dc=new C("",{providedIn:"root",factory:()=>1});var hc=new C("");var Lo=class n{static isArray(t,e=!0){return Array.isArray(t)&&(e||t.length!==0)}static isObject(t,e=!0){return typeof t=="object"&&!Array.isArray(t)&&t!=null&&(e||Object.keys(t).length!==0)}static equals(t,e,r){return r?this.resolveFieldData(t,r)===this.resolveFieldData(e,r):this.equalsByValue(t,e)}static equalsByValue(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r=Array.isArray(t),i=Array.isArray(e),o,s,a;if(r&&i){if(s=t.length,s!=e.length)return!1;for(o=s;o--!==0;)if(!this.equalsByValue(t[o],e[o]))return!1;return!0}if(r!=i)return!1;var c=this.isDate(t),l=this.isDate(e);if(c!=l)return!1;if(c&&l)return t.getTime()==e.getTime();var u=t instanceof RegExp,g=e instanceof RegExp;if(u!=g)return!1;if(u&&g)return t.toString()==e.toString();var m=Object.keys(t);if(s=m.length,s!==Object.keys(e).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,m[o]))return!1;for(o=s;o--!==0;)if(a=m[o],!this.equalsByValue(t[a],e[a]))return!1;return!0}return t!==t&&e!==e}static resolveFieldData(t,e){if(t&&e){if(this.isFunction(e))return e(t);if(e.indexOf(".")==-1)return t[e];{let r=e.split("."),i=t;for(let o=0,s=r.length;o=t.length&&(r%=t.length,e%=t.length),t.splice(r,0,t.splice(e,1)[0]))}static insertIntoOrderedArray(t,e,r,i){if(r.length>0){let o=!1;for(let s=0;se){r.splice(s,0,t),o=!0;break}o||r.push(t)}else r.push(t)}static findIndexInList(t,e){let r=-1;if(e){for(let i=0;ie?1:0,o}static sort(t,e,r=1,i,o=1){let s=n.compare(t,e,i,r),a=r;return(n.isEmpty(t)||n.isEmpty(e))&&(a=o===1?r:o),a*s}static merge(t,e){if(!(t==null&&e==null)){{if((t==null||typeof t=="object")&&(e==null||typeof e=="object"))return d(d({},t||{}),e||{});if((t==null||typeof t=="string")&&(e==null||typeof e=="string"))return[t||"",e||""].join(" ")}return e||t}}static isPrintableCharacter(t=""){return this.isNotEmpty(t)&&t.length===1&&t.match(/\S| /)}static getItemValue(t,...e){return this.isFunction(t)?t(...e):t}static findLastIndex(t,e){let r=-1;if(this.isNotEmpty(t))try{r=t.findLastIndex(e)}catch{r=t.lastIndexOf([...t].reverse().find(e))}return r}static findLast(t,e){let r;if(this.isNotEmpty(t))try{r=t.findLast(e)}catch{r=[...t].reverse().find(e)}return r}static deepEquals(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r=Array.isArray(t),i=Array.isArray(e),o,s,a;if(r&&i){if(s=t.length,s!=e.length)return!1;for(o=s;o--!==0;)if(!this.deepEquals(t[o],e[o]))return!1;return!0}if(r!=i)return!1;var c=t instanceof Date,l=e instanceof Date;if(c!=l)return!1;if(c&&l)return t.getTime()==e.getTime();var u=t instanceof RegExp,g=e instanceof RegExp;if(u!=g)return!1;if(u&&g)return t.toString()==e.toString();var m=Object.keys(t);if(s=m.length,s!==Object.keys(e).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,m[o]))return!1;for(o=s;o--!==0;)if(a=m[o],!this.deepEquals(t[a],e[a]))return!1;return!0}return t!==t&&e!==e}static minifyCSS(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t}static isString(t,e=!0){return typeof t=="string"&&(e||t!=="")}},ko=0;function zu(n="pn_id_"){return ko++,`${n}${ko}`}function fc(){let n=[],t=(o,s)=>{let a=n.length>0?n[n.length-1]:{key:o,value:s},c=a.value+(a.key===o?0:s)+2;return n.push({key:o,value:c}),c},e=o=>{n=n.filter(s=>s.value!==o)},r=()=>n.length>0?n[n.length-1].value:0,i=o=>o&&parseInt(o.style.zIndex,10)||0;return{get:i,set:(o,s,a)=>{s&&(s.style.zIndex=String(t(o,a)))},clear:o=>{o&&(e(i(o)),o.style.zIndex="")},getCurrent:()=>r(),generateZIndex:t,revertZIndex:e}}var vn=fc();var Uo=` + .p-tooltip { + position: absolute; + display: none; + max-width: dt('tooltip.max.width'); + } + + .p-tooltip-right, + .p-tooltip-left { + padding: 0 dt('tooltip.gutter'); + } + + .p-tooltip-top, + .p-tooltip-bottom { + padding: dt('tooltip.gutter') 0; + } + + .p-tooltip-text { + white-space: pre-line; + word-break: break-word; + background: dt('tooltip.background'); + color: dt('tooltip.color'); + padding: dt('tooltip.padding'); + box-shadow: dt('tooltip.shadow'); + border-radius: dt('tooltip.border.radius'); + } + + .p-tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; + } + + .p-tooltip-right .p-tooltip-arrow { + margin-top: calc(-1 * dt('tooltip.gutter')); + border-width: dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter') 0; + border-right-color: dt('tooltip.background'); + } + + .p-tooltip-left .p-tooltip-arrow { + margin-top: calc(-1 * dt('tooltip.gutter')); + border-width: dt('tooltip.gutter') 0 dt('tooltip.gutter') dt('tooltip.gutter'); + border-left-color: dt('tooltip.background'); + } + + .p-tooltip-top .p-tooltip-arrow { + margin-left: calc(-1 * dt('tooltip.gutter')); + border-width: dt('tooltip.gutter') dt('tooltip.gutter') 0 dt('tooltip.gutter'); + border-top-color: dt('tooltip.background'); + border-bottom-color: dt('tooltip.background'); + } + + .p-tooltip-bottom .p-tooltip-arrow { + margin-left: calc(-1 * dt('tooltip.gutter')); + border-width: 0 dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter'); + border-top-color: dt('tooltip.background'); + border-bottom-color: dt('tooltip.background'); + } +`;var gc={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},jo=(()=>{class n extends mi{name="tooltip";style=Uo;classes=gc;static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(n)))(i||n)}})();static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})();var Fo=new C("TOOLTIP_INSTANCE"),zo=(()=>{class n extends yi{zone;viewContainer;$pcTooltip=h(Fo,{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;content;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}tooltipOptions;appendTo=re(void 0);$appendTo=ni(()=>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,id:gi("pn_id_")+"_tooltip"};_disabled;container;styleClass;tooltipText;rootPTClasses="";showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;documentEscapeListener;scrollHandler;resizeListener;_componentStyle=h(jo);interactionInProgress=!1;ptTooltip=re();constructor(e,r){super(),this.zone=e,this.viewContainer=r,ri(()=>{this.ptTooltip()&&this.directivePT.set(this.ptTooltip())})}onAfterViewInit(){li(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)),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.id&&this.setOption({id:e.id.currentValue}),e.tooltipOptions&&(this._tooltipOptions=d(d({},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():!(Ze(e.relatedTarget,"p-tooltip")||Ze(e.relatedTarget,"p-tooltip-text")||Ze(e.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}activate(){if(!this.interactionInProgress){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=xt("div",{class:this.cx("root"),role:"tooltip","p-bind":this.ptm("root"),"data-pc-section":"root"});let e=xt("div",{class:"p-tooltip-arrow","p-bind":this.ptm("arrow"),"data-pc-section":"arrow"});this.container.appendChild(e),this.tooltipText=xt("div",{class:"p-tooltip-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"?kn(this.container,this.el.nativeElement):kn(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()),pi(this.container,250),this.getOption("tooltipZIndex")==="auto"?vn.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&vn.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(i=>this.tooltipText.appendChild(i))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(e))):this.tooltipText.innerHTML=e}align(){let e=this.getOption("tooltipPosition"),i={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[o,s]of i.entries())if(o===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+di(),i=e.top+hi();return{left:r,top:i}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.startsWith("P-")?Nt(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let e=this.activeElement,r=V(e),i=(ie(e)-ie(this.container))/2;this.alignTooltip(r,i);let o=this.getArrowElement();o.style.top="50%",o.style.right=null,o.style.bottom=null,o.style.left="0"}alignLeft(){this.preAlign("left");let e=this.getArrowElement(),r=V(this.container),i=(ie(this.el.nativeElement)-ie(this.container))/2;this.alignTooltip(-r,i),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(),i=V(this.container),o=(V(this.el.nativeElement)-V(this.container))/2,s=ie(this.container);this.alignTooltip(o,-s);let a=r.left-this.getHostOffset().left+i/2;e.style.top=null,e.style.right=null,e.style.bottom="0",e.style.left=a+"px"}getArrowElement(){return Nt(this.container,'[data-pc-section="arrow"]')}alignBottom(){this.preAlign("bottom");let e=this.getArrowElement(),r=V(this.container),i=this.getHostOffset(),o=(V(this.el.nativeElement)-V(this.container))/2,s=ie(this.el.nativeElement);this.alignTooltip(o,s);let a=i.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 i=this.getHostOffset(),o=i.left+e,s=i.top+r;this.container.style.left=o+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions=d(d({},this._tooltipOptions),e)}getOption(e){return this._tooltipOptions[e]}getTarget(e){return Ze(e,"p-inputwrapper")?Nt(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,i=e.left,o=V(this.container),s=ie(this.container),a=ui();return i+o>a.width||i<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 wi(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)),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):fi(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),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&&vn.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(r){return new(r||n)(Nn(ne),Nn(Mt))};static \u0275dir=_t({type:n,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:[2,"escape","escape",Te],showDelay:[2,"showDelay","showDelay",Ce],hideDelay:[2,"hideDelay","hideDelay",Ce],life:[2,"life","life",Ce],positionTop:[2,"positionTop","positionTop",Ce],positionLeft:[2,"positionLeft","positionLeft",Ce],autoHide:[2,"autoHide","autoHide",Te],fitContent:[2,"fitContent","fitContent",Te],hideOnEscape:[2,"hideOnEscape","hideOnEscape",Te],content:[0,"pTooltip","content"],disabled:[0,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions",appendTo:[1,"appendTo"],ptTooltip:[1,"ptTooltip"]},features:[ei([jo,{provide:Fo,useExisting:n},{provide:vi,useExisting:n}]),zr]})}return n})();var mc=["*"];function vc(n,t){if(n&1){let e=Wr();Ge(0,"p-button",9),Xr("click",function(){Ir(e);let i=Zr();return Pr(i.router.navigate(["/"]))}),We()}}var $o=class n{title=re.required();router=h(Be);noHomeButton=re(!1);static \u0275fac=function(e){return new(e||n)};static \u0275cmp=Ot({type:n,selectors:[["app-base"]],inputs:{title:[1,"title"],noHomeButton:[1,"noHomeButton"]},ngContentSelectors:mc,decls:11,vars:2,consts:[[1,"min-h-screen","flex","items-center","justify-center","p-4"],[1,"border-2","rounded-2xl","bg-gray-100/50","drop-shadow-2xl","w-full","mx-auto","p-4",2,"max-width","800px"],[1,"flex","justify-between","items-center"],[1,"flex","items-center","gap-2","w-full"],[1,"text-2xl","font-bold"],[1,"flex","items-center","gap-2"],["icon","fa fa-home","text","","rounded","","outlined","","pTooltip","Home","tooltipPosition","left"],[1,"my-4"],[1,"mt-4"],["icon","fa fa-home","text","","rounded","","outlined","","pTooltip","Home","tooltipPosition","left",3,"click"]],template:function(e,r){e&1&&(Jr(),Ge(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),Kr(5),We()(),Ge(6,"div",5),qr(7,vc,1,0,"p-button",6),We()(),It(8,"hr",7),Ge(9,"div",8),Yr(10),We()()()),e&2&&(xn(5),Qr(r.title()),xn(2),Gr(r.noHomeButton()?-1:7))},dependencies:[bi,zo],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type=button]), input[_ngcontent-%COMP%]:where([type=reset]), input[_ngcontent-%COMP%]:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden=until-found])){display:none}.visible[_ngcontent-%COMP%]{visibility:visible}.absolute[_ngcontent-%COMP%]{position:absolute}.col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.ml-auto[_ngcontent-%COMP%]{margin-left:auto}.mr-auto[_ngcontent-%COMP%]{margin-right:auto}.mt-4[_ngcontent-%COMP%]{margin-top:1rem}.line-clamp-2[_ngcontent-%COMP%]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block[_ngcontent-%COMP%]{display:block}.flex[_ngcontent-%COMP%]{display:flex}.table[_ngcontent-%COMP%]{display:table}.grid[_ngcontent-%COMP%]{display:grid}.h-16[_ngcontent-%COMP%]{height:4rem}.h-32[_ngcontent-%COMP%]{height:8rem}.min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.w-16[_ngcontent-%COMP%]{width:4rem}.w-32[_ngcontent-%COMP%]{width:8rem}.w-full[_ngcontent-%COMP%]{width:100%}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.bg-gray-100\\/50[_ngcontent-%COMP%]{background-color:#f3f4f680}.bg-red-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1[_ngcontent-%COMP%]{padding:.25rem}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-8[_ngcontent-%COMP%]{padding:2rem}.pt-4[_ngcontent-%COMP%]{padding-top:1rem}.text-center[_ngcontent-%COMP%]{text-align:center}.text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.font-bold[_ngcontent-%COMP%]{font-weight:700}.italic[_ngcontent-%COMP%]{font-style:italic}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.drop-shadow[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.text-muted-color[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}@keyframes _ngcontent-%COMP%_enter{0%{opacity:var(--p-enter-opacity, 1);transform:translate3d(var(--p-enter-translate-x, 0),var(--p-enter-translate-y, 0),0) scale3d(var(--p-enter-scale, 1),var(--p-enter-scale, 1),var(--p-enter-scale, 1)) rotate(var(--p-enter-rotate, 0))}}@keyframes _ngcontent-%COMP%_leave{to{opacity:var(--p-leave-opacity, 1);transform:translate3d(var(--p-leave-translate-x, 0),var(--p-leave-translate-y, 0),0) scale3d(var(--p-leave-scale, 1),var(--p-leave-scale, 1),var(--p-leave-scale, 1)) rotate(var(--p-leave-rotate, 0))}}.hover\\:text-blue-700[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}@media(min-width:640px){.sm\\:grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}']})};export{Vn as a,ts as b,oe as c,$t as d,Oe as e,Ui as f,Ps as g,ae as h,fr as i,Be as j,ac as k,Lo as l,zu as m,vn as n,zo as o,$o as p}; diff --git a/latest/polyfills.js b/latest/polyfills.js new file mode 100644 index 0000000..b237b5e --- /dev/null +++ b/latest/polyfills.js @@ -0,0 +1,2 @@ +var ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}function ht(){let t=ce.performance;function n(I){t&&t.mark&&t.mark(I)}function a(I,s){t&&t.measure&&t.measure(I,s)}n("Zone");class e{static __symbol__=te;static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=e.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,r=!1){if(S.hasOwnProperty(s)){let E=ce[te("forceDuplicateZoneCheck")]===!0;if(!r&&E)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let E="Zone:"+s;n(E),S[s]=i(ce,e,R),a(E,E)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let r=this._zoneDelegate.intercept(this,s,i),E=this;return function(){return E.runGuarded(r,this,arguments,i)}}run(s,i,r,E){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,r,E)}finally{b=b.parent}}runGuarded(s,i=null,r,E){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,r,E)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{b=b.parent}}runTask(s,i,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let E=s,{type:x,data:{isPeriodic:ee=!1,isRefreshable:M=!1}={}}=s;if(s.state===q&&(x===U||x===k))return;let he=s.state!=A;he&&E._transitionTo(A,d);let _e=D;D=E,b={parent:b,zone:this};try{x==k&&s.data&&!ee&&!M&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,E,i,r)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(x==U||ee||M&&Q===p)he&&E._transitionTo(d,A,p);else{let Te=E._zoneDelegates;this._updateTaskCount(E,-1),he&&E._transitionTo(q,A,q),M&&(E._zoneDelegates=Te)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(p,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(X,p,q),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==p&&s._transitionTo(d,p),s}scheduleMicroTask(s,i,r,E){return this.scheduleTask(new g(F,s,i,r,E,void 0))}scheduleMacroTask(s,i,r,E,x){return this.scheduleTask(new g(k,s,i,r,E,x))}scheduleEventTask(s,i,r,E,x){return this.scheduleTask(new g(U,s,i,r,E,x))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(V,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,V),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,V),s.runCount=-1,s}}_updateTaskCount(s,i){let r=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let E=0;EI.hasTask(i,r),onScheduleTask:(I,s,i,r)=>I.scheduleTask(i,r),onInvokeTask:(I,s,i,r,E,x)=>I.invokeTask(i,r,E,x),onCancelTask:(I,s,i,r)=>I.cancelTask(i,r)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(s,i,r){this._zone=s,this._parentDelegate=i,this._forkZS=r&&(r&&r.onFork?r:i._forkZS),this._forkDlgt=r&&(r.onFork?i:i._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:i._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:i._interceptZS),this._interceptDlgt=r&&(r.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:i._invokeZS),this._invokeDlgt=r&&(r.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:i._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:i._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:i._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:i._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let E=r&&r.onHasTask,x=i&&i._hasTaskZS;(E||x)&&(this._hasTaskZS=E?r:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new e(s,i)}intercept(s,i,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,r):i}invoke(s,i,r,E,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,r,E,x):i.apply(r,E)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let r=i;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),r||(r=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==F)z(i);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(s,i,r,E){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,r,E):i.callback.apply(r,E)}cancelTask(s,i){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");r=i.cancelFn(i)}return r}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,i){let r=this._taskCounts,E=r[s],x=r[s]=E+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(E==0||x==0){let ee={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class g{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(s,i,r,E,x,ee){if(this.type=s,this.source=i,this.data=E,this.scheduleFn=x,this.cancelFn=ee,!r)throw new Error("callback is not defined");this.callback=r;let M=this;s===U&&E&&E.useG?this.invoke=g.invokeTask:this.invoke=function(){return g.invokeTask.call(ce,M,this,arguments)}}static invokeTask(s,i,r){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,r)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,p)}_transitionTo(s,i,r){if(this._state===i||this._state===r)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=te("setTimeout"),y=te("Promise"),w=te("then"),_=[],P=!1,L;function H(I){if(L||ce[y]&&(L=ce[y].resolve(0)),L){let s=L[w];s||(s=L.then),s.call(L,I)}else ce[T](I,0)}function z(I){K===0&&_.length===0&&H($),I&&_.push(I)}function $(){if(!P){for(P=!0;_.length;){let I=_;_=[];for(let s=0;sb,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!e[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new e(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),e}function dt(){let t=globalThis,n=t[te("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(n||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ht(),t.Zone}var pe=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=te(je),Ze=te(He),ae="true",le="false",ve=te("");function Ve(t,n){return Zone.current.wrap(t,n)}function xe(t,n,a,e,c){return Zone.current.scheduleMacroTask(t,n,a,e,c)}var j=te,we=typeof window<"u",be=we?window:void 0,Y=we&&be||globalThis,Et="removeAttribute";function Fe(t,n){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ve(t[a],n+"_"+a));return t}function gt(t,n){let a=t.constructor.name;for(let e=0;e{let y=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(y,T),y})(f)}}}function et(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=j("enable_beforeunload"),Xe=function(t){if(t=t||Y.event,!t)return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));let a=this||t.target||Y,e=a[n],c;if(Ge&&a===be&&t.type==="error"){let f=t;c=e&&e.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&t.preventDefault()}else c=e&&e.apply(this,arguments),t.type==="beforeunload"&&Y[kt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ye(t,n,a){let e=pe(t,n);if(!e&&a&&pe(a,n)&&(e={enumerable:!0,configurable:!0}),!e||!e.configurable)return;let c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete e.writable,delete e.value;let f=e.get,g=e.set,T=n.slice(2),y=Ce[T];y||(y=Ce[T]=j("ON_PROPERTY"+T)),e.set=function(w){let _=this;if(!_&&t===Y&&(_=Y),!_)return;typeof _[y]=="function"&&_.removeEventListener(T,Xe),g?.call(_,null),_[y]=w,typeof w=="function"&&_.addEventListener(T,Xe,!1)},e.get=function(){let w=this;if(!w&&t===Y&&(w=Y),!w)return null;let _=w[y];if(_)return _;if(f){let P=f.call(this);if(P)return e.set.call(this,P),typeof w[Et]=="function"&&w.removeAttribute(n),P}return null},Me(t,n,e),t[c]=!0}function rt(t,n,a){if(n)for(let e=0;efunction(g,T){let y=a(g,T);return y.cbIdx>=0&&typeof T[y.cbIdx]=="function"?xe(y.name,T[y.cbIdx],y,c):f.apply(g,T)})}function fe(t,n){t[j("OriginalDelegate")]=n}var $e=!1,Le=!1;function yt(){if($e)return Le;$e=!0;try{let t=be.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(t){return typeof t=="function"}function Ke(t){return typeof t=="number"}var pt={useG:!0},ne={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=j("propagationStopped");function ct(t,n){let a=(n?n(t):t)+le,e=(n?n(t):t)+ae,c=ve+a,f=ve+e;ne[t]={},ne[t][le]=c,ne[t][ae]=f}function vt(t,n,a,e){let c=e&&e.add||je,f=e&&e.rm||He,g=e&&e.listeners||"eventListeners",T=e&&e.rmAll||"removeAllListeners",y=j(c),w="."+c+":",_="prependListener",P="."+_+":",L=function(p,d,A){if(p.isRemoved)return;let V=p.callback;typeof V=="object"&&V.handleEvent&&(p.callback=k=>V.handleEvent(k),p.originalDelegate=V);let X;try{p.invoke(p,d,[A])}catch(k){X=k}let F=p.options;if(F&&typeof F=="object"&&F.once){let k=p.originalDelegate?p.originalDelegate:p.callback;d[f].call(d,A.type,k,F)}return X};function H(p,d,A){if(d=d||t.event,!d)return;let V=p||d.target||t,X=V[ne[d.type][A?ae:le]];if(X){let F=[];if(X.length===1){let k=L(X[0],V,d);k&&F.push(k)}else{let k=X.slice();for(let U=0;U{throw U})}}}let z=function(p){return H(this,p,!1)},$=function(p){return H(this,p,!0)};function J(p,d){if(!p)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let k=p;for(;k&&!k.hasOwnProperty(c);)k=Ae(k);if(!k&&p[c]&&(k=p),!k||k[y])return!1;let U=d&&d.eventNameToString,S={},R=k[y]=k[c],b=k[j(f)]=k[f],D=k[j(g)]=k[g],K=k[j(T)]=k[T],W;d&&d.prepend&&(W=k[j(d.prepend)]=k[d.prepend]);function I(o,u){return u?typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}:o}let s=function(o){if(!S.isExisting)return R.call(S.target,S.eventName,S.capture?$:z,S.options)},i=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?ae:le]);let C=v&&o.target[v];if(C){for(let m=0;mre.zone.cancelTask(re);o.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(S.target=null,me&&(me.taskData=null),Be&&(S.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=N,re.capture=Se,re.eventName=Z,B&&(re.originalDelegate=G),O?ge.unshift(re):ge.push(re),m)return N}};return k[c]=l(R,w,ee,M,F),W&&(k[_]=l(W,P,E,M,F,!0)),k[f]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,o,arguments))return;let O=ne[u],N;O&&(N=O[C?ae:le]);let Z=N&&o[N];if(Z)for(let G=0;Gfunction(c,f){c[it]=!0,e&&e.apply(c,f)})}function Pt(t,n){n.patchMethod(t,"queueMicrotask",a=>function(e,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ke(t,n,a,e){let c=null,f=null;n+=e,a+=e;let g={};function T(w){let _=w.data;_.args[0]=function(){return w.invoke.apply(this,arguments)};let P=c.apply(t,_.args);return Ke(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Je(P.refresh)),w}function y(w){let{handle:_,handleId:P}=w.data;return f.call(t,_??P)}c=ue(t,n,w=>function(_,P){if(Je(P[0])){let L={isRefreshable:!1,isPeriodic:e==="Interval",delay:e==="Timeout"||e==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:V,isPeriodic:X,isRefreshable:F}=L;!X&&!F&&(V?delete g[V]:A&&(A[Re]=null))}};let z=xe(n,P[0],L,T,y);if(!z)return z;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:p}=z.data;if($)g[$]=z;else if(J&&(J[Re]=z,q&&!p)){let d=J.refresh;J.refresh=function(){let{zone:A,state:V}=z;return V==="notScheduled"?(z._state="scheduled",A._updateTaskCount(z,1)):V==="running"&&(z._state="scheduling"),d.call(this)}}return J??$??z}else return w.apply(t,P)}),f=ue(t,a,w=>function(_,P){let L=P[0],H;Ke(L)?(H=g[L],delete g[L]):(H=L?.[Re],H?L[Re]=null:H=L),H?.type?H.cancelFn&&H.zone.cancelTask(H):w.apply(t,P)})}function Rt(t,n){let{isBrowser:a,isMix:e}=n.getGlobalObjects();if(!a&&!e||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,t.customElements,"customElements","define",c)}function Ct(t,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:e,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:g}=n.getGlobalObjects();for(let y=0;yf.target===t);if(e.length===0)return n;let c=e[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Qe(t,n,a,e){if(!t)return;let c=lt(t,n,a);rt(t,c,e)}function Ie(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Dt(t,n){if(De&&!nt||Zone[t.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,e=[];if(Ge){let c=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=[];Qe(c,Ie(c),a&&a.concat(f),Ae(c))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[t.__symbol__("legacyPatch")];a&&a()}),t.__load_patch("timers",n=>{let e="clear";ke(n,"set",e,"Timeout"),ke(n,"set",e,"Interval"),ke(n,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",n=>{ke(n,"request","cancel","AnimationFrame"),ke(n,"mozRequest","mozCancel","AnimationFrame"),ke(n,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(n,a)=>{let e=["alert","prompt","confirm"];for(let c=0;cfunction(w,_){return a.current.run(g,n,_,y)})}}),t.__load_patch("EventTarget",(n,a,e)=>{wt(n,e),Ct(n,e);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&e.patchEventTarget(n,e,[c.prototype])}),t.__load_patch("MutationObserver",(n,a,e)=>{ye("MutationObserver"),ye("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(n,a,e)=>{ye("IntersectionObserver")}),t.__load_patch("FileReader",(n,a,e)=>{ye("FileReader")}),t.__load_patch("on_property",(n,a,e)=>{Dt(e,n)}),t.__load_patch("customElements",(n,a,e)=>{Rt(n,e)}),t.__load_patch("XHR",(n,a)=>{w(n);let e=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),g=j("xhrScheduled"),T=j("xhrURL"),y=j("xhrErrorBeforeScheduled");function w(_){let P=_.XMLHttpRequest;if(!P)return;let L=P.prototype;function H(R){return R[e]}let z=L[Ne],$=L[Ze];if(!z){let R=_.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Ne],$=b[Ze]}}let J="readystatechange",q="scheduled";function p(R){let b=R.data,D=b.target;D[g]=!1,D[y]=!1;let K=D[f];z||(z=D[Ne],$=D[Ze]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[g]&&R.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let E=0;Efunction(R,b){return R[c]=b[2]==!1,R[T]=b[1],V.apply(R,b)}),X="XMLHttpRequest.send",F=j("fetchTaskAborting"),k=j("fetchTaskScheduling"),U=ue(L,"send",()=>function(R,b){if(a.current[k]===!0||R[c])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},K=xe(X,d,D,p,A);R&&R[y]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(L,"abort",()=>function(R,b){let D=H(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[F]===!0)return S.apply(R,b)})}}),t.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&>(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(n,a)=>{function e(c){return function(f){at(n,c).forEach(T=>{let y=n.PromiseRejectionEvent;if(y){let w=new y(c,{promise:f.promise,reason:f.rejection});T.invoke(w)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=e("unhandledrejection"),a[j("rejectionHandledHandler")]=e("rejectionhandled"))}),t.__load_patch("queueMicrotask",(n,a,e)=>{Pt(n,e)})}function Ot(t){t.__load_patch("ZoneAwarePromise",(n,a,e)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function g(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=e.symbol,y=[],w=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),L="__creationTrace__";e.onUnhandledError=h=>{if(e.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},e.microtaskDrainDone=()=>{for(;y.length;){let h=y.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){z(l)}}};let H=T("unhandledPromiseRejectionHandler");function z(h){e.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&typeof h.then=="function"}function J(h){return h}function q(h){return M.reject(h)}let p=T("state"),d=T("value"),A=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),F="Promise.then",k=null,U=!0,S=!1,R=0;function b(h,l){return o=>{try{I(h,l,o)}catch(u){I(h,!1,u)}}}let D=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function I(h,l,o){let u=D();if(h===o)throw new TypeError(K);if(h[p]===k){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(C){return u(()=>{I(h,!1,C)})(),h}if(l!==S&&o instanceof M&&o.hasOwnProperty(p)&&o.hasOwnProperty(d)&&o[p]!==k)i(o),I(h,o[p],o[d]);else if(l!==S&&typeof v=="function")try{v.call(o,u(b(h,l)),u(b(h,!1)))}catch(C){u(()=>{I(h,!1,C)})()}else{h[p]=l;let C=h[d];if(h[d]=o,h[A]===A&&l===U&&(h[p]=h[X],h[d]=h[V]),l===S&&o instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[L];m&&f(o,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let O=h[d],N=!!o&&A===o[A];N&&(o[V]=O,o[X]=C);let Z=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);I(o,!0,Z)}catch(O){I(o,!1,O)}},o)}let E="function ZoneAwarePromise() { [native code] }",x=function(){},ee=n.AggregateError;class M{static toString(){return E}static resolve(l){return l instanceof M?l:I(new this(null),U,l)}static reject(l){return I(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let o=[],u=0;try{for(let m of l)u++,o.push(M.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,C=[];return new M((m,O)=>{for(let N=0;N{v||(v=!0,m(Z))},Z=>{C.push(Z),u--,u===0&&(v=!0,O(new ee(C,"All promises were rejected")))})})}static race(l){let o,u,v=new this((O,N)=>{o=O,u=N});function C(O){o(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(C,m);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,v,C=new this((Z,G)=>{u=Z,v=G}),m=2,O=0,N=[];for(let Z of l){$(Z)||(Z=this.resolve(Z));let G=O;try{Z.then(B=>{N[G]=o?o.thenCallback(B):B,m--,m===0&&u(N)},B=>{o?(N[G]=o.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),C}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[p]=k,o[d]=[];try{let u=D();l&&l(u(b(o,U)),u(b(o,S)))}catch(u){I(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(x),C=a.current;return this[p]==k?this[d].push(C,v,l,o):r(this,C,v,l,o),v}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(x);u[A]=A;let v=a.current;return this[p]==k?this[d].push(v,u,l,l):r(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[_]=n.Promise;n.Promise=M;let _e=T("thenPatched");function Q(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,C){return new M((O,N)=>{u.call(this,O,N)}).then(v,C)},h[_e]=!0}e.patchThen=Q;function Te(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Te(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,M})}function Nt(t){t.__load_patch("toString",n=>{let a=Function.prototype.toString,e=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),g=function(){if(typeof this=="function"){let _=this[e];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};g[e]=a,Function.prototype.toString=g;let T=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:T.call(this)}})}function Zt(t,n,a,e,c){let f=Zone.__symbol__(e);if(n[f])return;let g=n[f]=n[e];n[e]=function(T,y,w){return y&&y.prototype&&c.forEach(function(_){let P=`${a}.${e}::`+_,L=y.prototype;try{if(L.hasOwnProperty(_)){let H=t.ObjectGetOwnPropertyDescriptor(L,_);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,P),t._redefineProperty(y.prototype,_,H)):L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}else L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}catch{}}),g.call(n,T,y,w)},t.attachOriginToPatched(n[e],g)}function Lt(t){t.__load_patch("util",(n,a,e)=>{let c=Ie(n);e.patchOnProperties=rt,e.patchMethod=ue,e.bindArguments=Fe,e.patchMacroTask=mt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),e.patchEventPrototype=bt,e.patchEventTarget=vt,e.isIEOrEdge=yt,e.ObjectDefineProperty=Me,e.ObjectGetOwnPropertyDescriptor=pe,e.ObjectCreate=_t,e.ArraySlice=Tt,e.patchClass=ye,e.wrapWithCurrentZone=Ve,e.filterProperties=lt,e.attachOriginToPatched=fe,e._redefineProperty=Object.defineProperty,e.patchCallbacks=Zt,e.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){Ot(t),Nt(t),Lt(t)}var ut=dt();It(ut);St(ut); diff --git a/scripts/copy-latest.mjs b/scripts/copy-latest.mjs index 7aff34e..ac8c030 100644 --- a/scripts/copy-latest.mjs +++ b/scripts/copy-latest.mjs @@ -1,19 +1,32 @@ import { watch } from 'node:fs'; -import { access, constants, copyFile, mkdir } from 'node:fs/promises'; +import { access, constants, copyFile, mkdir, readdir, unlink } from 'node:fs/promises'; import { dirname, join } from 'node:path'; import { fileURLToPath } from 'node:url'; const __dirname = dirname(fileURLToPath(import.meta.url)); const root = join(__dirname, '..'); -const source = join(root, 'dist/phx-frontend-plugin-demo/browser/main.js'); -const dest = join(root, 'latest/main.js'); +const sourceDir = join(root, 'dist/phx-frontend-plugin-demo/browser'); +const destDir = join(root, 'latest'); -async function copyMainJs() { +async function copyJsFiles() { try { - await access(source, constants.F_OK); - await mkdir(dirname(dest), { recursive: true }); - await copyFile(source, dest); - console.log('[latest] Copied main.js'); + await access(sourceDir, constants.F_OK); + await mkdir(destDir, { recursive: true }); + + const files = (await readdir(sourceDir)).filter((f) => f.endsWith('.js')); + + for (const file of files) { + await copyFile(join(sourceDir, file), join(destDir, file)); + } + + const destFiles = (await readdir(destDir)).filter((f) => f.endsWith('.js')); + for (const file of destFiles) { + if (!files.includes(file)) { + await unlink(join(destDir, file)); + } + } + + console.log(`[latest] Copied ${files.length} JS file(s)`); } catch (err) { if (err.code !== 'ENOENT') { console.error('[latest] Copy failed:', err.message); @@ -21,20 +34,20 @@ async function copyMainJs() { } } -function watchMainJs() { +function watchJsFiles() { let timeout; const debouncedCopy = () => { clearTimeout(timeout); - timeout = setTimeout(copyMainJs, 100); + timeout = setTimeout(copyJsFiles, 100); }; const tryWatch = () => { - access(source, constants.F_OK) + access(sourceDir, constants.F_OK) .then(() => { - copyMainJs(); - watch(source, debouncedCopy); - console.log('[latest] Watching for main.js changes'); + copyJsFiles(); + watch(sourceDir, debouncedCopy); + console.log('[latest] Watching for JS changes in dist'); }) .catch(() => setTimeout(tryWatch, 500)); }; @@ -43,7 +56,7 @@ function watchMainJs() { } if (process.argv.includes('--watch')) { - watchMainJs(); + watchJsFiles(); } else { - copyMainJs(); + copyJsFiles(); }