Files
phx-frontend-plugin-webcomp…/latest/chunk-SK2T2ZXR.js

994 lines
300 KiB
JavaScript

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;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}};var Ti=class extends Q{constructor(n,t){super()}schedule(n,t=0){return this}};var so={setInterval(e,n,...t){let{delegate:r}=so;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=so;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var rr=class extends Ti{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return so.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&so.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,yn(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var or=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};or.now=oo.now;var ir=class extends or{constructor(n,t=or.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var Ka=new ir(rr),Gd=Ka;var Ni=class extends rr{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}schedule(n,t=0){return t>0?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<o;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},Zd.apply(this,arguments)};function Qd(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):o(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}function Yd(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function 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.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Dv(e){return new O(n=>{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<o;l++)lf(n,()=>{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<r?h(m):l.push(m),h=m=>{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&&c<r;){let v=l.shift();s?Me(n,s,()=>h(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<s;u++){let d=!1;V(t[u]).subscribe(M(i,p=>{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<c){o=this.schedule(void 0,c-u),r.add(o);return}a()}t.subscribe(M(r,c=>{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<r.length&&r.shift()},()=>{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;t<e.length;t++){let r=X(e[t]);if(Array.isArray(r)){if(r.length===0)throw new T(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],l=db(a);typeof l=="number"?l===-1?o=a.token:i|=l:o=a}n.push(ue(o,i))}else n.push(ue(r))}return n}function db(e){return e[lb]}function Ht(e,n){let t=e.hasOwnProperty(uo);return t?e[uo]:null}function wf(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function Sf(e){return e.flat(Number.POSITIVE_INFINITY)}function rs(e,n){e.forEach(t=>Array.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;r<e;r++)t.push(n);return t}function Tf(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function 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<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var Ye={},he=[],Wt=new C(""),Sl=new C("",-1),_l=new C(""),fo=class{get(n,t=En){if(t===En){let o=Cf("",-201);throw o.name="\u0275NotFound",o}return t}};function Tl(e){return e[El]||null}function xt(e){return e[vl]||null}function vo(e){return e[bl]||null}function Nl(e){return e[Dl]||null}function zt(e){return{\u0275providers:e}}function Nf(e){return zt([{provide:Wt,multi:!0,useValue:e}])}function Mf(...e){return{\u0275providers:is(!0,e),\u0275fromNgModule:!0}}function is(e,...n){let t=[],r=new Set,o,i=s=>{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<e.length;t++){let{ngModule:r,providers:o}=e[t];Ml(o,i=>{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<op.length;r++){let o=op[r];o(e,n,t)}};function jb(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Hp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function zp(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function Es(e,n,t){Gp(e,n,3,t)}function Cs(e,n,t,r){(e[S]&3)===t&&Gp(e,n,t,r)}function sc(e,n){let t=e[S];(t&3)===n&&(t&=16383,t+=1,e[S]=t)}function Gp(e,n,t,r){let o=r!==void 0?e[Mn]&65535:0,i=r??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],r!=null&&a>=r)break}else n[l]<0&&(e[Mn]+=65536),(a<i||i==-1)&&(Bb(e,t,n,l),e[Mn]=(e[Mn]&4294901760)+l+2),l++}function ip(e,n){R(4,e,n);let t=w(null);try{n.call(e)}finally{w(t),R(5,e,n)}}function Bb(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[S]>>14<e[Mn]>>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(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];Wb(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Ub(e){return e===3||e===4||e===6}function Wb(e){return e.charCodeAt(0)===64}function Cr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?sp(e,t,o,null,n[++r]):sp(e,t,o,null,null))}}return e}function sp(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function qp(e){return e!==Dr}function Ts(e){return e&32767}function zb(e){return e>>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<<o;n.data[e+(o>>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<p;f++){let h=s[f];if(f<l&&t===h||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<<e;return!!(t[n+(e>>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<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Co(i),a.contentQueries(2,n[s],s)}}}finally{w(r)}}}function wc(e,n,t){Co(0);let r=w(null);try{n(e,t)}finally{w(r)}}function eu(e,n,t){if(kl(n)){let r=w(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let l=t[s];a.contentQueries(1,l,s)}}}finally{w(r)}}}var wr=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(wr||{});var Os=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ji})`}};function Po(e){return e instanceof Os?e.changingThisBreaksApplicationSecurity:e}function yh(e,n){let t=vh(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Ji})`)}return t===n}function vh(e){return e instanceof Os&&e.getTypeName()||null}var hD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bh(e){return e=String(e),e.match(hD)?e:"unsafe:"+e}var gD=/^>|^->|<!--|-->|--!>|<!-$/g,mD=/(<|>)/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<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&_D(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(nu(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function nu(e){return e.type===4&&e.value!==Sh}function ND(e,n,t){let r=e.type===4&&!t?Sh:e.value;return n===r}function MD(e,n,t){let r=4,o=e.attrs,i=o!==null?OD(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!tt(r)&&!tt(l))return!1;if(s&&tt(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!ND(e,l,t)||l===""&&n.length===1){if(tt(r))return!1;s=!0}}else if(r&8){if(o===null||!TD(e,o,l,t)){if(tt(r))return!1;s=!0}}else{let c=n[++a],u=xD(l,o,nu(e),t);if(u===-1){if(tt(r))return!1;s=!0;continue}if(c!==""){let d;if(u>i?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<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return RD(n,e)}function _h(e,n,t=!1){for(let r=0;r<n.length;r++)if(MD(e,n[r],t))return!0;return!1}function AD(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function OD(e){for(let n=0;n<e.length;n++){let t=e[n];if(Ub(t))return n}return e.length}function RD(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function kD(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function dp(e,n){return e?":not("+n.trim()+")":n}function FD(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!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(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!tt(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Se={};function ru(e,n,t,r,o,i,s,a,l,c,u){let d=P+r,p=d+o,f=jD(d,p),h=typeof c=="function"?c():c;return f[b]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1,ssrId:u}}function jD(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Se);return t}function BD(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=ru(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function ou(e,n,t,r,o,i,s,a,l,c,u){let d=n.blueprint.slice();return d[Qe]=o,d[S]=r|4|128|8|64|1024,(c!==null||e&&e[S]&2048)&&(d[S]|=2048),Bl(d),d[K]=d[Nn]=e,d[q]=t,d[dt]=s||e&&e[dt],d[L]=a||e&&e[L],d[xe]=l||e&&e[xe]||null,d[Ce]=i,d[Do]=nD(),d[Tn]=u,d[Rl]=c,d[Ie]=n.type==2?e[Ie]:d,d}function VD(e,n,t){let r=Xe(n,e),o=BD(t),i=e[dt].rendererFactory,s=iu(e,ou(e,o,null,Th(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function Th(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Nh(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function iu(e,n){return e[ur]?e[Ol][He]=n:e[ur]=n,e[Ol]=n,n}function ge(e=1){Mh(B(),E(),gt()+e,!1)}function Mh(e,n,t,r){if(!r)if((n[S]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Es(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Cs(n,i,0,t)}Jt(t)}var Qs=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Qs||{});function Sc(e,n,t,r){let o=w(null);try{let[i,s,a]=e.inputs[t],l=null;(s&Qs.SignalBased)!==0&&(l=n[i][ie]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,l,r,t,i):$p(n,l,i,r)}finally{w(o)}}var Sr=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Sr||{}),$D;function su(e,n){return $D(e,n)}var Mo=new Set,Ks=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ks||{}),jo=new C(""),fp=new Set;function Rt(e){fp.has(e)||(fp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xh=!1,_c=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Rf()&&(this.destroyRef=g(Xt,{optional:!0})??void 0,this.pendingTasks=g(en,{optional:!0})??void 0)}emit(n){let t=w(null);try{super.next(n)}finally{w(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let 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<s.animateFns.length;l++){let c=s.animateFns[l],{promise:u}=c();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),nE(e,r)}else e&&Mo.delete(e),r(!1)},o)}function nE(e,n){let t=e[An]?.running;if(t){t.then(()=>{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<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[cr]=null);let o=n[Tt];if(o!==null){n[Tt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[At];if(i!==null){n[At]=null;for(let s of i)s.destroy()}}function oE(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Ln)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],l=i[s+1];R(4,a,l);try{l.call(a)}finally{R(5,a,l)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function jh(e,n,t){return iE(e,n.parent,t)}function iE(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Qe];if(Yt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===wr.None||o===wr.Emulated)return null}return Xe(r,t)}function Bh(e,n,t){return aE(e,n,t)}function sE(e,n,t){return e.type&40?Xe(e,t):null}var aE=sE,vp;function du(e,n,t,r){let o=jh(e,r,n),i=n[L],s=r.parent||n[Ce],a=Bh(s,r,n);if(o!=null)if(Array.isArray(t))for(let l=0;l<t.length;l++)up(i,o,t[l],a,!1);else up(i,o,t,a,!1);vp!==void 0&&vp(i,r,n,t,o)}function _o(e,n){if(n!==null){let t=n.type;if(t&3)return Xe(n,e);if(t&4)return Nc(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return _o(e,r);{let o=e[n.index];return Ke(o)?Nc(-1,o):Ue(o)}}else{if(t&128)return _o(e,n.next);if(t&32)return su(n,e)()||Ue(e[n.index]);{let r=Vh(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Ut(e[Ie]);return _o(o,r)}else return _o(e,n.next)}}}return null}function Vh(e,n){if(n!==null){let r=e[Ie][Ce],o=n.projection;return r.projection[o]}return null}function Nc(e,n){let t=U+e+1;if(t<n.length){let r=n[t],o=r[b].firstChild;if(o!==null)return _o(r,o)}return n[Zt]}function fu(e,n,t,r,o,i,s){for(;t!=null;){let a=r[xe];if(t.type===128){t=t.next;continue}let l=r[t.index],c=t.type;if(s&&n===0&&(l&&Ir(Ue(l),r),t.flags|=2),!Ys(t))if(c&8)fu(e,n,t.child,r,o,i,!1),br(n,e,a,o,l,t,i,r);else if(c&32){let u=su(t,r),d;for(;d=u();)br(n,e,a,o,d,t,i,r);br(n,e,a,o,l,t,i,r)}else c&16?$h(e,n,r,t,o,i):br(n,e,a,o,l,t,i,r);t=s?t.projectionNext:t.next}}function Xs(e,n,t,r,o,i){fu(t,r,e.firstChild,n,o,i,!1)}function lE(e,n,t){let r=n[L],o=jh(e,t,n),i=t.parent||n[Ce],s=Bh(i,t,n);$h(r,0,n,t,o,s)}function $h(e,n,t,r,o,i){let s=t[Ie],l=s[Ce].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];br(n,e,t[xe],o,u,r,i,t)}else{let c=l,u=s[K];rh(r)&&(c.flags|=128),fu(e,n,c,u,o,i,!0)}}function cE(e,n,t,r,o,i,s){let a=r[Zt],l=Ue(r);a!==l&&br(n,e,t,i,a,o,s);for(let c=U;c<r.length;c++){let u=r[c];Xs(u[b],u,e,n,i,a)}}function uE(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Sr.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Sr.Important),e.setStyle(t,r,o,i))}}function Hh(e,n,t,r,o){let i=gt(),s=r&2;try{Jt(-1),s&&n.length>P&&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;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function dE(e,n,t,r){let i=r.get(fh,dh)||t===wr.ShadowDom,s=e.selectRootElement(n,i);if(s.tagName.toLowerCase()==="script")throw new T(905,!1);return fE(s),s}function fE(e){pE(e)}var pE=()=>null;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<o;s++){let a=e.data[s],l=No(n,e,s,t);if(Ir(l,n),i!==null&&EE(n,s-r,l,a,t,i),Je(a)){let c=We(t.index,n);c[q]=No(n,e,s,t)}}}function yE(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Qf();try{Jt(i);for(let a=r;a<o;a++){let l=e.data[a],c=n[a];hs(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&vE(l,c)}}finally{Jt(-1),hs(s)}}function vE(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function pu(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];_h(n,i.selectors,!1)&&(r??=[],Je(i)?r.unshift(i):r.push(i))}return r}function bE(e,n,t,r,o,i){let s=Xe(e,n);DE(n[L],s,i,e.value,t,r,o)}function DE(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?_n(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function EE(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];Sc(r,t,l,c)}}function hu(e,n,t,r,o){let i=P+t,s=n[b],a=o(s,n,e,r,t);n[i]=a,hr(e,!0);let l=e.type===2;return l?(Ih(n[L],a,e),(Vf()===0||dr(e))&&Ir(a,n),$f()):Ir(a,n),vs()&&(!l||!Ys(e))&&du(s,n,a,e),e}function gu(e){let n=e;return Zl()?Yl():(n=n.parent,hr(n,!1)),n}function mu(e,n){let t=e[xe];if(!t)return;let r;try{r=t.get(et,null)}catch{r=null}r?.(n)}function yu(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],u=s[l+1],d=n.data[c];Sc(d,t[c],u,o),a=!0}if(i)for(let l of i){let c=t[l],u=n.data[l];Sc(u,c,r,o),a=!0}return a}function CE(e,n){let t=We(n,e),r=t[b];IE(r,t);let o=t[Qe];o!==null&&t[Tn]===null&&(t[Tn]=gh(o,t[xe])),R(18),vu(r,t,t[q]),R(19,t[q])}function IE(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function vu(e,n,t){ms(n);try{let r=e.viewQuery;r!==null&&wc(1,r,t);let o=e.template;o!==null&&Hh(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[ft]?.finishViewCreation(e),e.staticContentQueries&&mh(e,n),e.staticViewQueries&&wc(2,e.viewQuery,t);let i=e.components;i!==null&&wE(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[S]&=-5,ys()}}function wE(e,n){for(let t=0;t<n.length;t++)CE(e,n[t])}function Ar(e,n,t,r){let o=w(null);try{let i=n.tView,a=e[S]&4096?4096:16,l=ou(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[n.index];l[Gt]=c;let u=e[ft];return u!==null&&(l[ft]=u.createEmbeddedView(i)),vu(i,l,t),l}finally{w(o)}}function Pn(e,n){return!n||n.firstChild===null||rh(e)}function xo(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Ue(i)),Ke(i)&&zh(i,r);let s=t.type;if(s&8)xo(e,n,t.child,r);else if(s&32){let a=su(t,n),l;for(;l=a();)r.push(l)}else if(s&16){let a=Vh(n,t);if(Array.isArray(a))r.push(...a);else{let l=Ut(n[Ie]);xo(l[b],l,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function zh(e,n){for(let t=U;t<e.length;t++){let r=e[t],o=r[b].firstChild;o!==null&&xo(r[b],r,o,n)}e[Zt]!==e[Qe]&&n.push(e[Zt])}function Gh(e){if(e[xn]!==null){for(let n of e[xn])n.impl.addSequence(n);e[xn].length=0}}var qh=[];function SE(e){return e[Pe]??_E(e)}function _E(e){let n=qh.pop()??Object.create(NE);return n.lView=e,n}function TE(e){e.lView[Pe]!==e&&(e.lView=null,qh.push(e))}var NE=H(D({},hn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{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;r<t.length;r++){let o=t[r];Jh(o,n)}}function kE(e){for(let n=ih(e);n!==null;n=sh(n)){if(!(n[S]&2))continue;let t=n[On];for(let r=0;r<t.length;r++){let o=t[r];cs(o)}}}function FE(e,n,t){R(18);let r=We(n,e);Jh(r,t),R(19,r[q])}function Jh(e,n){ls(e)&&Mc(e,n)}function Mc(e,n){let r=e[b],o=e[S],i=e[Pe],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Qn(i)),s||=!1,i&&(i.dirty=!1),e[S]&=-9217,s)RE(r,e,r.template,e[q]);else if(o&8192){let a=w(null);try{Yh(e),Kh(e,1);let l=r.components;l!==null&&Xh(e,l,1),Gh(e)}finally{w(a)}}}function Xh(e,n,t){for(let r=0;r<n.length;r++)FE(e,n[r],t)}function LE(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Jt(~o);else{let i=o,s=t[++r],a=t[++r];Yf(s,i);let l=n[i];R(24,l),a(2,l),R(25,l)}}}finally{Jt(-1)}}function ta(e,n){let t=Ql()?64:1088;for(e[dt].changeDetectionScheduler?.notify(n);e;){e[S]|=t;let r=Ut(e);if(fr(e)&&!r)return e;e=r}return null}function eg(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function tg(e,n){let t=U+n;if(t<e.length)return e[t]}function Or(e,n,t,r=!0){let o=n[b];if(PE(o,n,e,t),r){let s=Nc(t,e),a=n[L],l=a.parentNode(e[Zt]);l!==null&&eE(o,e[Ce],a,n,l,s)}let i=n[Tn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function bu(e,n){let t=Ao(e,n);return t!==void 0&&Js(t[b],t),t}function Ao(e,n){if(e.length<=U)return;let t=U+n,r=e[t];if(r){let o=r[Gt];o!==null&&o!==e&&uu(o,r),n>0&&(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<i-U?(n[He]=t[o],wl(t,U+r,n)):(t.push(n),n[He]=null),n[K]=t;let s=n[Gt];s!==null&&t!==s&&ng(s,n);let a=n[ft];a!==null&&a.insertView(e),us(n),n[S]|=128}function ng(e,n){let t=e[On],r=n[K];if(pt(r))e[S]|=2;else{let o=r[K][Ie];n[Ie]!==o&&(e[S]|=2)}t===null?e[On]=[n]:t.push(n)}var nn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[b];return xo(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[q]}set context(n){this._lView[q]=n}get destroyed(){return Qt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[K];if(Ke(n)){let t=n[Eo],r=t?t.indexOf(this):-1;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(;t<o;){let i=r.nextSibling;Ch(n,r,!1),r=i,t++}}}var GE=()=>null,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;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=Xi(o,a);else if(i==2){let l=a,c=n[++s];r=Xi(r,l+": "+c+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function W(e,n=0){let t=E();if(t===null)return ue(e,n);let r=ae();return Xp(r,t,X(e),n)}function sg(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,l=null,c=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,l,c]=u.resolveHostDirectives(s);break}KE(e,n,t,a,i,l,c)}i!==null&&r!==null&&YE(t,r,i)}function YE(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new T(-301,!1);r.push(n[o],i)}}function QE(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function KE(e,n,t,r,o,i,s){let a=r.length,l=!1;for(let p=0;p<a;p++){let f=r[p];!l&&Je(f)&&(l=!0,QE(e,t,p)),Dc(xs(t,n),e,f.type)}rC(t,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let c=!1,u=!1,d=Nh(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(t.mergedAttrs=Cr(t.mergedAttrs,f.hostAttrs),XE(e,t,n,d,f),nC(d,f,o),s!==null&&s.has(f)){let[m,y]=s.get(f);t.directiveToIndex.set(f.type,[d,m+t.directiveStart,y+t.directiveStart])}else(i===null||!i.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let h=f.type.prototype;!c&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),c=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}JE(e,t,i)}function JE(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))bp(0,n,o,r),bp(1,n,o,r),Ep(n,r,!1);else{let i=t.get(o);Dp(0,n,i,r),Dp(1,n,i,r),Ep(n,r,!0)}}}function bp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),ag(n,i)}}function Dp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ag(n,s)}}function ag(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Ep(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||nu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!t&&o.hasOwnProperty(l)){let c=o[l];for(let u of c)if(u===n){s??=[],s.push(l,r[a+1]);break}}else if(t&&i.hasOwnProperty(l)){let c=i[l];for(let u=0;u<c.length;u+=2)if(c[u]===n){s??=[],s.push(c[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function XE(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ht(o.type,!0)),s=new Ln(i,Je(o),W,null);e.blueprint[r]=s,t[r]=s,eC(e,n,r,Nh(e,t,o.hostVars,Se),o)}function eC(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;tC(s)!=a&&s.push(a),s.push(t,r,i)}}function tC(e){let n=e.length;for(;n>0;){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;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Je(n)&&(t[""]=e)}}function rC(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Du(e,n,t,r,o,i,s,a){let l=n[b],c=l.consts,u=je(c,s),d=Rr(l,e,t,r,u);return i&&sg(l,n,d,je(c,a),o),d.mergedAttrs=Cr(d.mergedAttrs,d.attrs),d.attrs!==null&&js(d,d.attrs,!1),d.mergedAttrs!==null&&js(d,d.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,d),d}function Eu(e,n){zp(e,n),kl(n)&&e.queries.elementEnd(n)}function oC(e,n,t,r,o,i){let s=n.consts,a=je(s,o),l=Rr(n,e,t,r,a);if(l.mergedAttrs=Cr(l.mergedAttrs,l.attrs),i!=null){let c=je(s,i);l.localNames=[];for(let u=0;u<c.length;u+=2)l.localNames.push(c[u],-1)}return l.attrs!==null&&js(l,l.attrs,!1),l.mergedAttrs!==null&&js(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function Cu(e){return oa(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function lg(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function oa(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function on(e,n,t){return e[n]=t}function ia(e,n){return e[n]}function we(e,n,t){if(t===Se)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function _r(e,n,t,r){let o=we(e,n,t);return we(e,n+1,r)||o}function cg(e,n,t,r,o){let i=_r(e,n,t,r);return we(e,n+2,o)||i}function sa(e,n,t,r,o,i){let s=_r(e,n,t,r);return _r(e,n+2,o,i)||s}function cc(e,n,t){return function r(o){let i=Yt(e)?We(e.index,n):n;ta(i,5);let s=n[q],a=Cp(n,s,t,o),l=r.__ngNextListenerFn__;for(;l;)a=Cp(n,s,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function Cp(e,n,t,r){let o=w(null);try{return R(6,n,t),t(r)!==!1}catch(i){return mu(e,i),!1}finally{R(7,n,t),w(o)}}function iC(e,n,t,r,o,i,s,a){let l=dr(e),c=!1,u=null;if(!r&&l&&(u=aC(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,c=!0}else{let d=Xe(e,t),p=r?r(d):d;fD(t,p,i,a);let f=o.listen(p,i,a);if(!sC(i)){let h=r?m=>r(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;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[cr],l=o[i+2];return a&&a.length>l?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<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Ac].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let l=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=vo(d);l.push(p)}return ru(0,null,hC(i,s),1,a,l,null,null,null,[o],null)}function hC(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function 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<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var sn=(()=>{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;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)wu(n,t).matches!==null&&this.queries[t].setDirty()}},$s=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=_C(n):this.predicate=n}},kc=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Fc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,CC(t,i)),this.matchTNodeWithReadOption(n,t,Is(t,n,i,!1,!1))}else r===yt?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Is(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Re||o===sn||o===yt&&t.type&4)this.addMatch(t.index,-2);else{let i=Is(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function CC(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function IC(e,n){return e.type&11?xr(e,n):e.type&4?na(e,n):null}function wC(e,n,t,r){return t===-1?IC(n,e):t===-2?SC(e,n,r):No(e,e[b],t,n)}function SC(e,n,t){if(t===Re)return xr(n,e);if(t===yt)return na(n,e);if(t===sn)return pg(n,e)}function gg(e,n,t,r){let o=n[ft].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=i[c];a.push(wC(n,u,s[l+1],t.metadata.read))}}o.matches=a}return o.matches}function Lc(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=gg(e,n,o,t);for(let a=0;a<i.length;a+=2){let l=i[a];if(l>0)r.push(s[a/2]);else{let c=i[a+1],u=n[-l];for(let d=U;d<u.length;d++){let p=u[d];p[Gt]===p[K]&&Lc(p[b],p,c,r)}if(u[On]!==null){let d=u[On];for(let p=0;p<d.length;p++){let f=d[p];Lc(f[b],f,c,r)}}}}}return r}function Iu(e,n){return e[ft].queries[n].queryList}function mg(e,n,t){let r=new As((t&4)===4);return Bf(e,n,r,r.destroy),(n[ft]??=new Rc).queries.push(new Oc(r))-1}function yg(e,n,t){let r=B();return r.firstCreatePass&&(bg(r,new $s(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),mg(r,E(),n)}function vg(e,n,t,r){let o=B();if(o.firstCreatePass){let i=ae();bg(o,new $s(n,t,r),i.index),TC(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return mg(o,E(),t)}function _C(e){return e.split(",").map(n=>n.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<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===ne&&(t=!1)}}n=Object.getPrototypeOf(n)}LC(r)}function FC(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function LC(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=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<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,_g(s,n,r),o.set(s,[a,n.length-1])}i===0&&Je(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function _g(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Tp(Pc(i),n,t)}else Tp(r,n,t)}function Tp(e,n,t){let r=vo(e.directive);$C(r.declaredInputs,e.inputs),_g(r,n,t),t.set(r,e),n.push(r)}function Pc(e){return typeof e=="function"?{directive:X(e),inputs:Ye,outputs:Ye}:{directive:X(e.directive),inputs:Np(e.inputs),outputs:Np(e.outputs)}}function Np(e){if(e===void 0||e.length===0)return Ye;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function $C(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function Tg(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Cr(e.mergedAttrs,e.attrs);let u=e.tView=ru(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),hr(e,!1);let l=UC(t,n,e,r);vs()&&du(t,n,l,e),Ir(l,n);let c=eg(l,n,l,e);n[r+P]=c,iu(n,c),hg(c,e,n)}function HC(e,n,t,r,o,i,s,a,l,c,u){let d=t+P,p;return n.firstCreatePass?(p=Rr(n,d,4,s||null,a||null),fs()&&sg(n,e,p,je(n.consts,c),pu),zp(n,p)):p=n.data[d],Tg(p,e,n,t,r,o,i,l),dr(p)&&ea(n,e,p),c!=null&&Bo(e,p,u),p}function Bn(e,n,t,r,o,i,s,a,l,c,u){let d=t+P,p;if(n.firstCreatePass){if(p=Rr(n,d,4,s||null,a||null),c!=null){let f=je(n.consts,c);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=n.data[d];return Tg(p,e,n,t,r,o,i,l),c!=null&&Bo(e,p,u),p}function kt(e,n,t,r,o,i,s,a){let l=E(),c=B(),u=je(c.consts,i);return HC(l,c,e,n,t,r,o,u,void 0,s,a),kt}function Ng(e,n,t,r,o,i,s,a){let l=E(),c=B(),u=je(c.consts,i);return Bn(l,c,e,n,t,r,o,u,void 0,s,a),Ng}var UC=WC;function WC(e,n,t,r){return Io(!0),n[L].createComment("")}var Oe=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(Oe||{}),Mp=0,zC=1,Z=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(Z||{}),Ws=(function(e){return e[e.Initial=-1]="Initial",e})(Ws||{}),GC=0,$o=1;var qC=4,ZC=5,YC=6,QC=7,fc=8,KC=9,Mu=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Mu||{});function JC(e,n,t){let r=xg(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function Ss(e,n){let t=xg(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function Mg(e){Ss(1,e),Ss(0,e),Ss(2,e)}function xg(e){let n=qC;return e===1?n=ZC:e===2&&(n=KC),n}function aa(e){return e+1}function kr(e,n){let t=e[b],r=aa(n.index);return e[r]}function XC(e,n,t){let r=e[b],o=aa(n);e[o]=t}function Fr(e,n){let t=aa(n.index);return e.data[t]}function eI(e,n,t){let r=aa(n);e.data[r]=t}function tI(e,n,t){let r=n[b],o=Fr(r,t);switch(e){case Z.Complete:return o.primaryTmplIndex;case Z.Loading:return o.loadingTmplIndex;case Z.Error:return o.errorTmplIndex;case Z.Placeholder:return o.placeholderTmplIndex;default:return null}}function xp(e,n){return n===Z.Placeholder?e.placeholderBlockConfig?.[Mp]??null:n===Z.Loading?e.loadingBlockConfig?.[Mp]??null:null}function nI(e){return e.loadingBlockConfig?.[zC]??null}function Ap(e,n){if(!e||e.length===0)return n;let t=new Set(e);for(let r of n)t.add(r);return e.length===t.size?e:Array.from(t)}function rI(e,n){let t=n.primaryTmplIndex+P;return Rn(e,t)}var oI=(()=>{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&&e<l)&&Op(a,e)&&Op(s[GC]??-1,e)){let c=Fr(i,n),d=!r&&!0&&(nI(c)!==null||xp(c,Z.Loading)!==null||xp(c,Z.Placeholder))?cI:aI;try{d(e,s,t,n,o)}catch(p){mu(o,p)}}}function sI(e,n){let t=e[qt]?.findIndex(o=>o.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<n}function lI(e,n){let t=e[n.index];tn(Z.Placeholder,n,t)}function Rp(e,n,t){e.loadingPromise.then(()=>{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++<dI;)R(14),this.synchronizeOnce(),R(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!pr(o))continue;let i=r&&!this.zonelessEnabled?0:1;Qh(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>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;n<this.length;n++)this.getLView(n)[q].$index=n}getLView(n){return TI(this.lContainer,n)}};function II(e){let n=w(null),t=gt();try{let r=E(),o=r[b],i=r[t],s=t+1,a=Gs(r,s);if(i.liveCollection===void 0){let c=Uc(o,s);i.liveCollection=new Hc(a,r,c)}else i.liveCollection.reset();let l=i.liveCollection;if(vI(l,e,i.trackByFn),l.updateIndexes(),i.hasEmptyBlock){let c=Ot(),u=l.length===0;if(we(r,c,u)){let d=t+2,p=Gs(r,d);if(u){let f=Uc(o,d),h=rg(p,f,r),m=Ar(r,f,void 0,{dehydratedView:h});Or(p,m,0,Pn(f,h))}else o.firstUpdatePass&&WE(p),bu(p,0)}}}finally{w(n)}}function Gs(e,n){return e[n]}function wI(e,n){if(e.length<=U)return;let t=U+n,r=e[t],o=r?r[An]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){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<u.length;d+=2){let p=u[d],f=u[d+1];l??=cc(r,n,i),Ip(r,n,p,f,o,l)}if(c&&c.length)for(let d of c)l??=cc(r,n,i),Ip(r,n,d,o,o,l)}}function ze(e=1){return tp(e)}function AI(e,n){let t=null,r=AD(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?_h(e,i,!0):kD(r,i))return o}return t}function bt(e){let n=E()[Ie][Ce];if(!n.projection){let t=e?e.length:1,r=n.projection=_f(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?AI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Dt(e,n=0,t,r,o,i){let s=E(),a=B(),l=r?e+1:null;l!==null&&Bn(s,a,l,r,o,i,null,t);let c=Rr(a,P+e,16,null,t||null);c.projection===null&&(c.projection=n),Yl();let d=!s[Tn]||Wl();s[Ie][Ce].projection[c.projection]===null&&l!==null?OI(s,a,l):d&&!Ys(c)&&lE(a,s,c)}function OI(e,n,t){let r=P+t,o=n.data[r],i=e[r],s=Ps(i,o.tView.ssrId),a=Ar(e,o,void 0,{dehydratedView:s});Or(i,a,0,Pn(o,s))}function Vr(e,n,t,r){vg(e,n,t,r)}function RI(e,n,t){yg(e,n,t)}function $r(e){let n=E(),t=B(),r=gs();Co(r+1);let o=wu(t,r);if(e.dirty&&Lf(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Dg(n,r);e.reset(i,nh),e.notifyOnChanges()}return!0}return!1}function Hr(){return Iu(E(),gs())}function fa(e,n,t,r,o){Cg(n,vg(e,t,r,o))}function kI(e,n,t,r){Cg(e,yg(n,t,r))}function Fu(e=1){Co(gs()+e)}function FI(e){let n=zf();return Pl(n,P+e)}function Ds(e,n){return e<<17|n<<2}function Vn(e){return e>>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(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function zI(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function GI(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function jp(e,n,t,r){return n=Mr(e,n,t),n<t&&n++,n}function qI(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let l=e.charCodeAt(s++);if(l===59)return a;l===34||l===39?a=s=Bp(e,l,s,t):n===s-4&&i===85&&o===82&&r===76&&l===40?a=s=Bp(e,41,s,t):l>32&&(a=s),i=o,o=r,r=l&-33}return a}function Bp(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function pa(e,n,t){return Wg(e,n,t,!1),pa}function Ur(e,n){return Wg(e,n,null,!0),Ur}function Lu(e){zg(Zg,ZI,e,!1)}function ZI(e,n){for(let t=WI(n);t>=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;i<o;i++){let s=e[i].hostAttrs;r=ko(r,s,t)}return ko(r,n.attrs,t)}function mc(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=ko(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function ko(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),yo(e,s,t?!0:n[++i]))}return e===void 0?null:e}function ew(e,n,t){if(t==null||t==="")return he;let r=[],o=Po(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function Zg(e,n,t){yo(e,n,Po(t))}function tw(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&yo(e,r,t)}function nw(e,n,t,r,o,i,s,a){o===Se&&(o=he);let l=0,c=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=l<o.length?o[l+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,m;u===d?(l+=2,c+=2,p!==f&&(h=d,m=f)):d===null||u!==null&&u<d?(l+=2,h=u):(c+=2,h=d,m=f),h!==null&&Yg(e,n,t,r,h,m,s,a),u=l<o.length?o[l]:null,d=c<i.length?i[c]:null}}function Yg(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let l=e.data,c=l[a+1],u=jI(c)?Vp(l,n,t,o,Nr(c),s):void 0;if(!qs(u)){qs(i)||LI(c)&&(i=Vp(l,null,t,o,a,s));let d=Ll(gt(),t);uE(r,s,d,o,i)}}function Vp(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){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<e.length;i++)qc(e[i],n,t,r,o);else{let i=B(),s=E(),a=ae(),l=In(e)?e:X(e.provide),c=Al(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>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<r;o++)if(n[o]===e)return o;return-1}function cw(e,n,t,r,o){return Zc(this.multi,[])}function uw(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=No(r,r[b],this.providerFactory.index,o);s=l.slice(0,a),Zc(i,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Zc(i,s);return s}function Zc(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function dw(e,n,t,r,o,i){let s=new Ln(e,t,W,null);return s.multi=[],s.index=n,s.componentProviders=0,nm(s,o,r&&!t),s}function me(e,n=[]){return t=>{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<dm(r,o,i)?t:r,a=dm(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,u=l-o;if(c!=u){for(let p=0;p<c;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<c&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!Cu(n))throw new T(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,lg(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new 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<t.length&&(o=t[r]),r+n+o}var Gu=class{constructor(){}supports(n){return n instanceof Map||oa(n)}create(){return new qu}},qu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||oa(n)))throw new T(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new 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<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);_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;t<e.length;t++){let r=e[t];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[ln(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}function 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;o<t.length;o++){if(t[o]===e)return r;t[o].nodeType===1&&r++}}return-1}function zB(e,n){let t=Pm(e,n);return t.length>0?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;t<e.length;t++){let r=e[t];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[zm(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}function 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<i;++o){if(r==null)return null;r=r[t[o]]}return r}}return null}function Yo(e,n,t){return t?_a(e,t)===_a(n,t):RS(e,n)}function eV(e,n){if(e!=null&&n&&n.length){for(let t of n)if(Yo(e,t))return!0}return!1}function rt(e,n=!0){return e instanceof Object&&e.constructor===Object&&(n||Object.keys(e).length!==0)}function Zm(e={},n={}){let t=OS({},e);return Object.keys(n).forEach(r=>{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;o<r.length;o++)if(Yo(t,r[o]))return!0;return!1},between:(t,r)=>r==null||r[0]==null||r[1]==null?!0:t==null?!1:t.getTime?r[0].getTime()<=t.getTime()&&t.getTime()<=r[1].getTime():r[0]<=t&&t<=r[1],lt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<r.getTime():t<r,lte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<=r.getTime():t<=r,gt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>r.getTime():t>r,gte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>=r.getTime():t>=r,is:(t,r,o)=>this.filters.equals(t,r,o),isNot:(t,r,o)=>this.filters.notEquals(t,r,o),before:(t,r,o)=>this.filters.lt(t,r,o),after:(t,r,o)=>this.filters.gt(t,r,o),dateIs:(t,r)=>r==null?!0:t==null?!1:t.toDateString()===r.toDateString(),dateIsNot:(t,r)=>r==null?!0:t==null?!1:t.toDateString()!==r.toDateString(),dateBefore:(t,r)=>r==null?!0:t==null?!1:t.getTime()<r.getTime(),dateAfter:(t,r)=>r==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>r.getTime())};register(t,r){this.filters[t]=r}static \u0275fac=function(r){return new(r||e)};static \u0275prov=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;s<e.length;s++)if(e[s]==="d"&&e.slice(s,s+3)==="dt(")i.push(s),s+=2;else if(e[s]===")"&&i.length>0){let a=i.pop();i.length===0&&o.push([a,s])}if(!o.length)return e;for(let s=o.length-1;s>=0;s--){let[a,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(`<style type="text/css" data-primevue-style-id="${p}" ${a}>${d}</style>`)}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?`<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${Gn(l)}</style>`:""},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;v<o[p].paths.length;v++){let A=o[p].paths[v];if(A.scheme===h)return A.computed(h,m.binding,y)}return o[p].paths.map(v=>v.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`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${i}</style>`}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(`<style type="text/css" data-primeng-style-id="${i}" ${l}>${a}</style>`)}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;i<o.length;i++)t.classList.add(o[i])}else{let o=r.split(" ");for(let i=0;i<o.length;i++)t.className+=" "+o[i]}}static removeClass(t,r){t&&r&&(t.classList?t.classList.remove(r):t.className=t.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,r){t&&r&&[r].flat().filter(Boolean).forEach(o=>o.split(" ").forEach(i=>this.removeClass(t,i)))}static hasClass(t,r){return t&&r?t.classList?t.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(r){return r!==t})}static find(t,r){return Array.from(t.querySelectorAll(r))}static findSingle(t,r){return this.isElement(t)?t.querySelector(r):null}static index(t){let r=t.parentNode.childNodes,o=0;for(var i=0;i<r.length;i++){if(r[i]==t)return o;r[i].nodeType==1&&o++}return-1}static indexWithinGroup(t,r){let o=t.parentNode?t.parentNode.childNodes:[],i=0;for(var s=0;s<o.length;s++){if(o[s]==t)return i;o[s].attributes&&o[s].attributes[r]&&o[s].nodeType==1&&i++}return-1}static appendOverlay(t,r,o="self"){o!=="self"&&t&&r&&this.appendChild(t,r)}static alignOverlay(t,r,o="self",i=!0){t&&r&&(i&&(t.style.minWidth=`${e.getOuterWidth(r)}px`),o==="self"?this.relativePosition(t,r):this.absolutePosition(t,r))}static relativePosition(t,r,o=!0){let i=ce=>{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<this.scrollableParents.length;n++)this.scrollableParents[n].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let n=0;n<this.scrollableParents.length;n++)this.scrollableParents[n].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}};var fy=(()=>{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<t.length;r++)if(typeof t[r].className=="string"&&t[r].className.indexOf("p-ink")!==-1)return t[r];return null}resetInk(){let t=this.getInk();t&&cn(t,"p-ink-active")}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),cn(t.currentTarget,"p-ink-active")}create(){let t=this.renderer.createElement("span");this.renderer.addClass(t,"p-ink"),this.renderer.appendChild(this.el.nativeElement,t),this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(t,"animationend",this.onAnimationEnd.bind(this)))}remove(){let t=this.getInk();t&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,Bm(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[me([wy]),ne]})}return e})();var _y=`
.p-button {
display: inline-flex;
cursor: pointer;
user-select: none;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
color: dt('button.primary.color');
background: dt('button.primary.background');
border: 1px solid dt('button.primary.border.color');
padding: dt('button.padding.y') dt('button.padding.x');
font-size: 1rem;
font-family: inherit;
font-feature-settings: inherit;
transition:
background dt('button.transition.duration'),
color dt('button.transition.duration'),
border-color dt('button.transition.duration'),
outline-color dt('button.transition.duration'),
box-shadow dt('button.transition.duration');
border-radius: dt('button.border.radius');
outline-color: transparent;
gap: dt('button.gap');
}
.p-button:disabled {
cursor: default;
}
.p-button-icon-right {
order: 1;
}
.p-button-icon-right:dir(rtl) {
order: -1;
}
.p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
order: 1;
}
.p-button-icon-bottom {
order: 2;
}
.p-button-icon-only {
width: dt('button.icon.only.width');
padding-inline-start: 0;
padding-inline-end: 0;
gap: 0;
}
.p-button-icon-only.p-button-rounded {
border-radius: 50%;
height: dt('button.icon.only.width');
}
.p-button-icon-only .p-button-label {
visibility: hidden;
width: 0;
}
.p-button-icon-only::after {
content: "\0A0";
visibility: hidden;
width: 0;
}
.p-button-sm {
font-size: dt('button.sm.font.size');
padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
}
.p-button-sm .p-button-icon {
font-size: dt('button.sm.font.size');
}
.p-button-sm.p-button-icon-only {
width: dt('button.sm.icon.only.width');
}
.p-button-sm.p-button-icon-only.p-button-rounded {
height: dt('button.sm.icon.only.width');
}
.p-button-lg {
font-size: dt('button.lg.font.size');
padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
}
.p-button-lg .p-button-icon {
font-size: dt('button.lg.font.size');
}
.p-button-lg.p-button-icon-only {
width: dt('button.lg.icon.only.width');
}
.p-button-lg.p-button-icon-only.p-button-rounded {
height: dt('button.lg.icon.only.width');
}
.p-button-vertical {
flex-direction: column;
}
.p-button-label {
font-weight: dt('button.label.font.weight');
}
.p-button-fluid {
width: 100%;
}
.p-button-fluid.p-button-icon-only {
width: dt('button.icon.only.width');
}
.p-button:not(:disabled):hover {
background: dt('button.primary.hover.background');
border: 1px solid dt('button.primary.hover.border.color');
color: dt('button.primary.hover.color');
}
.p-button:not(:disabled):active {
background: dt('button.primary.active.background');
border: 1px solid dt('button.primary.active.border.color');
color: dt('button.primary.active.color');
}
.p-button:focus-visible {
box-shadow: dt('button.primary.focus.ring.shadow');
outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
outline-offset: dt('button.focus.ring.offset');
}
.p-button .p-badge {
min-width: dt('button.badge.size');
height: dt('button.badge.size');
line-height: dt('button.badge.size');
}
.p-button-raised {
box-shadow: dt('button.raised.shadow');
}
.p-button-rounded {
border-radius: dt('button.rounded.border.radius');
}
.p-button-secondary {
background: dt('button.secondary.background');
border: 1px solid dt('button.secondary.border.color');
color: dt('button.secondary.color');
}
.p-button-secondary:not(:disabled):hover {
background: dt('button.secondary.hover.background');
border: 1px solid dt('button.secondary.hover.border.color');
color: dt('button.secondary.hover.color');
}
.p-button-secondary:not(:disabled):active {
background: dt('button.secondary.active.background');
border: 1px solid dt('button.secondary.active.border.color');
color: dt('button.secondary.active.color');
}
.p-button-secondary:focus-visible {
outline-color: dt('button.secondary.focus.ring.color');
box-shadow: dt('button.secondary.focus.ring.shadow');
}
.p-button-success {
background: dt('button.success.background');
border: 1px solid dt('button.success.border.color');
color: dt('button.success.color');
}
.p-button-success:not(:disabled):hover {
background: dt('button.success.hover.background');
border: 1px solid dt('button.success.hover.border.color');
color: dt('button.success.hover.color');
}
.p-button-success:not(:disabled):active {
background: dt('button.success.active.background');
border: 1px solid dt('button.success.active.border.color');
color: dt('button.success.active.color');
}
.p-button-success:focus-visible {
outline-color: dt('button.success.focus.ring.color');
box-shadow: dt('button.success.focus.ring.shadow');
}
.p-button-info {
background: dt('button.info.background');
border: 1px solid dt('button.info.border.color');
color: dt('button.info.color');
}
.p-button-info:not(:disabled):hover {
background: dt('button.info.hover.background');
border: 1px solid dt('button.info.hover.border.color');
color: dt('button.info.hover.color');
}
.p-button-info:not(:disabled):active {
background: dt('button.info.active.background');
border: 1px solid dt('button.info.active.border.color');
color: dt('button.info.active.color');
}
.p-button-info:focus-visible {
outline-color: dt('button.info.focus.ring.color');
box-shadow: dt('button.info.focus.ring.shadow');
}
.p-button-warn {
background: dt('button.warn.background');
border: 1px solid dt('button.warn.border.color');
color: dt('button.warn.color');
}
.p-button-warn:not(:disabled):hover {
background: dt('button.warn.hover.background');
border: 1px solid dt('button.warn.hover.border.color');
color: dt('button.warn.hover.color');
}
.p-button-warn:not(:disabled):active {
background: dt('button.warn.active.background');
border: 1px solid dt('button.warn.active.border.color');
color: dt('button.warn.active.color');
}
.p-button-warn:focus-visible {
outline-color: dt('button.warn.focus.ring.color');
box-shadow: dt('button.warn.focus.ring.shadow');
}
.p-button-help {
background: dt('button.help.background');
border: 1px solid dt('button.help.border.color');
color: dt('button.help.color');
}
.p-button-help:not(:disabled):hover {
background: dt('button.help.hover.background');
border: 1px solid dt('button.help.hover.border.color');
color: dt('button.help.hover.color');
}
.p-button-help:not(:disabled):active {
background: dt('button.help.active.background');
border: 1px solid dt('button.help.active.border.color');
color: dt('button.help.active.color');
}
.p-button-help:focus-visible {
outline-color: dt('button.help.focus.ring.color');
box-shadow: dt('button.help.focus.ring.shadow');
}
.p-button-danger {
background: dt('button.danger.background');
border: 1px solid dt('button.danger.border.color');
color: dt('button.danger.color');
}
.p-button-danger:not(:disabled):hover {
background: dt('button.danger.hover.background');
border: 1px solid dt('button.danger.hover.border.color');
color: dt('button.danger.hover.color');
}
.p-button-danger:not(:disabled):active {
background: dt('button.danger.active.background');
border: 1px solid dt('button.danger.active.border.color');
color: dt('button.danger.active.color');
}
.p-button-danger:focus-visible {
outline-color: dt('button.danger.focus.ring.color');
box-shadow: dt('button.danger.focus.ring.shadow');
}
.p-button-contrast {
background: dt('button.contrast.background');
border: 1px solid dt('button.contrast.border.color');
color: dt('button.contrast.color');
}
.p-button-contrast:not(:disabled):hover {
background: dt('button.contrast.hover.background');
border: 1px solid dt('button.contrast.hover.border.color');
color: dt('button.contrast.hover.color');
}
.p-button-contrast:not(:disabled):active {
background: dt('button.contrast.active.background');
border: 1px solid dt('button.contrast.active.border.color');
color: dt('button.contrast.active.color');
}
.p-button-contrast:focus-visible {
outline-color: dt('button.contrast.focus.ring.color');
box-shadow: dt('button.contrast.focus.ring.shadow');
}
.p-button-outlined {
background: transparent;
border-color: dt('button.outlined.primary.border.color');
color: dt('button.outlined.primary.color');
}
.p-button-outlined:not(:disabled):hover {
background: dt('button.outlined.primary.hover.background');
border-color: dt('button.outlined.primary.border.color');
color: dt('button.outlined.primary.color');
}
.p-button-outlined:not(:disabled):active {
background: dt('button.outlined.primary.active.background');
border-color: dt('button.outlined.primary.border.color');
color: dt('button.outlined.primary.color');
}
.p-button-outlined.p-button-secondary {
border-color: dt('button.outlined.secondary.border.color');
color: dt('button.outlined.secondary.color');
}
.p-button-outlined.p-button-secondary:not(:disabled):hover {
background: dt('button.outlined.secondary.hover.background');
border-color: dt('button.outlined.secondary.border.color');
color: dt('button.outlined.secondary.color');
}
.p-button-outlined.p-button-secondary:not(:disabled):active {
background: dt('button.outlined.secondary.active.background');
border-color: dt('button.outlined.secondary.border.color');
color: dt('button.outlined.secondary.color');
}
.p-button-outlined.p-button-success {
border-color: dt('button.outlined.success.border.color');
color: dt('button.outlined.success.color');
}
.p-button-outlined.p-button-success:not(:disabled):hover {
background: dt('button.outlined.success.hover.background');
border-color: dt('button.outlined.success.border.color');
color: dt('button.outlined.success.color');
}
.p-button-outlined.p-button-success:not(:disabled):active {
background: dt('button.outlined.success.active.background');
border-color: dt('button.outlined.success.border.color');
color: dt('button.outlined.success.color');
}
.p-button-outlined.p-button-info {
border-color: dt('button.outlined.info.border.color');
color: dt('button.outlined.info.color');
}
.p-button-outlined.p-button-info:not(:disabled):hover {
background: dt('button.outlined.info.hover.background');
border-color: dt('button.outlined.info.border.color');
color: dt('button.outlined.info.color');
}
.p-button-outlined.p-button-info:not(:disabled):active {
background: dt('button.outlined.info.active.background');
border-color: dt('button.outlined.info.border.color');
color: dt('button.outlined.info.color');
}
.p-button-outlined.p-button-warn {
border-color: dt('button.outlined.warn.border.color');
color: dt('button.outlined.warn.color');
}
.p-button-outlined.p-button-warn:not(:disabled):hover {
background: dt('button.outlined.warn.hover.background');
border-color: dt('button.outlined.warn.border.color');
color: dt('button.outlined.warn.color');
}
.p-button-outlined.p-button-warn:not(:disabled):active {
background: dt('button.outlined.warn.active.background');
border-color: dt('button.outlined.warn.border.color');
color: dt('button.outlined.warn.color');
}
.p-button-outlined.p-button-help {
border-color: dt('button.outlined.help.border.color');
color: dt('button.outlined.help.color');
}
.p-button-outlined.p-button-help:not(:disabled):hover {
background: dt('button.outlined.help.hover.background');
border-color: dt('button.outlined.help.border.color');
color: dt('button.outlined.help.color');
}
.p-button-outlined.p-button-help:not(:disabled):active {
background: dt('button.outlined.help.active.background');
border-color: dt('button.outlined.help.border.color');
color: dt('button.outlined.help.color');
}
.p-button-outlined.p-button-danger {
border-color: dt('button.outlined.danger.border.color');
color: dt('button.outlined.danger.color');
}
.p-button-outlined.p-button-danger:not(:disabled):hover {
background: dt('button.outlined.danger.hover.background');
border-color: dt('button.outlined.danger.border.color');
color: dt('button.outlined.danger.color');
}
.p-button-outlined.p-button-danger:not(:disabled):active {
background: dt('button.outlined.danger.active.background');
border-color: dt('button.outlined.danger.border.color');
color: dt('button.outlined.danger.color');
}
.p-button-outlined.p-button-contrast {
border-color: dt('button.outlined.contrast.border.color');
color: dt('button.outlined.contrast.color');
}
.p-button-outlined.p-button-contrast:not(:disabled):hover {
background: dt('button.outlined.contrast.hover.background');
border-color: dt('button.outlined.contrast.border.color');
color: dt('button.outlined.contrast.color');
}
.p-button-outlined.p-button-contrast:not(:disabled):active {
background: dt('button.outlined.contrast.active.background');
border-color: dt('button.outlined.contrast.border.color');
color: dt('button.outlined.contrast.color');
}
.p-button-outlined.p-button-plain {
border-color: dt('button.outlined.plain.border.color');
color: dt('button.outlined.plain.color');
}
.p-button-outlined.p-button-plain:not(:disabled):hover {
background: dt('button.outlined.plain.hover.background');
border-color: dt('button.outlined.plain.border.color');
color: dt('button.outlined.plain.color');
}
.p-button-outlined.p-button-plain:not(:disabled):active {
background: dt('button.outlined.plain.active.background');
border-color: dt('button.outlined.plain.border.color');
color: dt('button.outlined.plain.color');
}
.p-button-text {
background: transparent;
border-color: transparent;
color: dt('button.text.primary.color');
}
.p-button-text:not(:disabled):hover {
background: dt('button.text.primary.hover.background');
border-color: transparent;
color: dt('button.text.primary.color');
}
.p-button-text:not(:disabled):active {
background: dt('button.text.primary.active.background');
border-color: transparent;
color: dt('button.text.primary.color');
}
.p-button-text.p-button-secondary {
background: transparent;
border-color: transparent;
color: dt('button.text.secondary.color');
}
.p-button-text.p-button-secondary:not(:disabled):hover {
background: dt('button.text.secondary.hover.background');
border-color: transparent;
color: dt('button.text.secondary.color');
}
.p-button-text.p-button-secondary:not(:disabled):active {
background: dt('button.text.secondary.active.background');
border-color: transparent;
color: dt('button.text.secondary.color');
}
.p-button-text.p-button-success {
background: transparent;
border-color: transparent;
color: dt('button.text.success.color');
}
.p-button-text.p-button-success:not(:disabled):hover {
background: dt('button.text.success.hover.background');
border-color: transparent;
color: dt('button.text.success.color');
}
.p-button-text.p-button-success:not(:disabled):active {
background: dt('button.text.success.active.background');
border-color: transparent;
color: dt('button.text.success.color');
}
.p-button-text.p-button-info {
background: transparent;
border-color: transparent;
color: dt('button.text.info.color');
}
.p-button-text.p-button-info:not(:disabled):hover {
background: dt('button.text.info.hover.background');
border-color: transparent;
color: dt('button.text.info.color');
}
.p-button-text.p-button-info:not(:disabled):active {
background: dt('button.text.info.active.background');
border-color: transparent;
color: dt('button.text.info.color');
}
.p-button-text.p-button-warn {
background: transparent;
border-color: transparent;
color: dt('button.text.warn.color');
}
.p-button-text.p-button-warn:not(:disabled):hover {
background: dt('button.text.warn.hover.background');
border-color: transparent;
color: dt('button.text.warn.color');
}
.p-button-text.p-button-warn:not(:disabled):active {
background: dt('button.text.warn.active.background');
border-color: transparent;
color: dt('button.text.warn.color');
}
.p-button-text.p-button-help {
background: transparent;
border-color: transparent;
color: dt('button.text.help.color');
}
.p-button-text.p-button-help:not(:disabled):hover {
background: dt('button.text.help.hover.background');
border-color: transparent;
color: dt('button.text.help.color');
}
.p-button-text.p-button-help:not(:disabled):active {
background: dt('button.text.help.active.background');
border-color: transparent;
color: dt('button.text.help.color');
}
.p-button-text.p-button-danger {
background: transparent;
border-color: transparent;
color: dt('button.text.danger.color');
}
.p-button-text.p-button-danger:not(:disabled):hover {
background: dt('button.text.danger.hover.background');
border-color: transparent;
color: dt('button.text.danger.color');
}
.p-button-text.p-button-danger:not(:disabled):active {
background: dt('button.text.danger.active.background');
border-color: transparent;
color: dt('button.text.danger.color');
}
.p-button-text.p-button-contrast {
background: transparent;
border-color: transparent;
color: dt('button.text.contrast.color');
}
.p-button-text.p-button-contrast:not(:disabled):hover {
background: dt('button.text.contrast.hover.background');
border-color: transparent;
color: dt('button.text.contrast.color');
}
.p-button-text.p-button-contrast:not(:disabled):active {
background: dt('button.text.contrast.active.background');
border-color: transparent;
color: dt('button.text.contrast.color');
}
.p-button-text.p-button-plain {
background: transparent;
border-color: transparent;
color: dt('button.text.plain.color');
}
.p-button-text.p-button-plain:not(:disabled):hover {
background: dt('button.text.plain.hover.background');
border-color: transparent;
color: dt('button.text.plain.color');
}
.p-button-text.p-button-plain:not(:disabled):active {
background: dt('button.text.plain.active.background');
border-color: transparent;
color: dt('button.text.plain.color');
}
.p-button-link {
background: transparent;
border-color: transparent;
color: dt('button.link.color');
}
.p-button-link:not(:disabled):hover {
background: transparent;
border-color: transparent;
color: dt('button.link.hover.color');
}
.p-button-link:not(:disabled):hover .p-button-label {
text-decoration: underline;
}
.p-button-link:not(:disabled):active {
background: transparent;
border-color: transparent;
color: dt('button.link.active.color');
}
`;var r_=["content"],o_=["loadingicon"],i_=["icon"],s_=["*"],Ry=(e,n)=>({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=`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-icon-spin">
<g clip-path="url(#clip0_417_21408)">
<path
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"
/>
</g>
<defs>
<clipPath id="clip0_417_21408">
<rect width="14" height="14" fill="white" />
</clipPath>
</defs>
</svg>`;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};