@letscooee/web-sdk 13.1.8 → 13.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ import{a as V,b as H,e as Wg,g as qg}from"./chunk-U4XWPFUW.js";var $g=Wg((Hg,ss)=>{"use strict";(function(e){"use strict";var t={};t.VERSION="1.6.1";var n,r={},o=function(u,l){return function(){return l.apply(u,arguments)}},i=function(){var u=arguments,l=u[0],d,p;for(p=1;p<u.length;p++)for(d in u[p])!(d in l)&&u[p].hasOwnProperty(d)&&(l[d]=u[p][d]);return l},s=function(u,l){return{value:u,name:l}};t.TRACE=s(1,"TRACE"),t.DEBUG=s(2,"DEBUG"),t.INFO=s(3,"INFO"),t.TIME=s(4,"TIME"),t.WARN=s(5,"WARN"),t.ERROR=s(8,"ERROR"),t.OFF=s(99,"OFF");var a=function(u){this.context=u,this.setLevel(u.filterLevel),this.log=this.info};a.prototype={setLevel:function(u){u&&"value"in u&&(this.context.filterLevel=u)},getLevel:function(){return this.context.filterLevel},enabledFor:function(u){var l=this.context.filterLevel;return u.value>=l.value},trace:function(){this.invoke(t.TRACE,arguments)},debug:function(){this.invoke(t.DEBUG,arguments)},info:function(){this.invoke(t.INFO,arguments)},warn:function(){this.invoke(t.WARN,arguments)},error:function(){this.invoke(t.ERROR,arguments)},time:function(u){typeof u=="string"&&u.length>0&&this.invoke(t.TIME,[u,"start"])},timeEnd:function(u){typeof u=="string"&&u.length>0&&this.invoke(t.TIME,[u,"end"])},invoke:function(u,l){n&&this.enabledFor(u)&&n(l,i({level:u},this.context))}};var c=new a({filterLevel:t.OFF});(function(){var u=t;u.enabledFor=o(c,c.enabledFor),u.trace=o(c,c.trace),u.debug=o(c,c.debug),u.time=o(c,c.time),u.timeEnd=o(c,c.timeEnd),u.info=o(c,c.info),u.warn=o(c,c.warn),u.error=o(c,c.error),u.log=u.info})(),t.setHandler=function(u){n=u},t.setLevel=function(u){c.setLevel(u);for(var l in r)r.hasOwnProperty(l)&&r[l].setLevel(u)},t.getLevel=function(){return c.getLevel()},t.get=function(u){return r[u]||(r[u]=new a(i({name:u},c.context)))},t.createDefaultHandler=function(u){u=u||{},u.formatter=u.formatter||function(f,h){h.name&&f.unshift("["+h.name+"]")};var l={},d=function(p,f){Function.prototype.apply.call(p,console,f)};return typeof console>"u"?function(){}:function(p,f){p=Array.prototype.slice.call(p);var h=console.log,m;f.level===t.TIME?(m=(f.name?"["+f.name+"] ":"")+p[0],p[1]==="start"?console.time?console.time(m):l[m]=new Date().getTime():console.timeEnd?console.timeEnd(m):d(h,[m+": "+(new Date().getTime()-l[m])+"ms"])):(f.level===t.WARN&&console.warn?h=console.warn:f.level===t.ERROR&&console.error?h=console.error:f.level===t.INFO&&console.info?h=console.info:f.level===t.DEBUG&&console.debug?h=console.debug:f.level===t.TRACE&&console.trace&&(h=console.trace),u.formatter(p,f),d(h,p))}},t.useDefaults=function(u){t.setLevel(u&&u.defaultLevel||t.DEBUG),t.setHandler(t.createDefaultHandler(u))},t.setDefaults=t.useDefaults,typeof define=="function"&&define.amd?define(t):typeof ss<"u"&&ss.exports?ss.exports=t:(t._prevLogger=e.Logger,t.noConflict=function(){return e.Logger=t._prevLogger,t},e.Logger=t)})(Hg)});var ls;function qr(){return ls}function je(e){let t=ls;return ls=e,t}var Wu=Symbol("NotFound");function on(e){return e===Wu||e?.name==="\u0275NotFound"}function Jr(e,t){return Object.is(e,t)}var ee=null,Zr=!1,ds=1,Zg=null,Z=Symbol("SIGNAL");function I(e){let t=ee;return ee=e,t}function Xr(){return ee}var wt={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 _t(e){if(Zr)throw new Error("");if(ee===null)return;ee.consumerOnSignalRead(e);let t=ee.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ee.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ee.producers,n!==void 0&&n.producer===e)){ee.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ee&&(!r||Qg(o,ee)))return;let i=cn(ee),s={producer:e,consumer:ee,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ee.producersTail=s,t!==void 0?t.nextProducer=s:ee.producers=s,i&&Zu(e,s)}function qu(){ds++}function eo(e){if(!(cn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ds)){if(!e.producerMustRecompute(e)&&!an(e)){Kr(e);return}e.producerRecomputeValue(e),Kr(e)}}function fs(e){if(e.consumers===void 0)return;let t=Zr;Zr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Yg(r)}}finally{Zr=t}}function ps(){return ee?.consumerAllowSignalWrites!==!1}function Yg(e){e.dirty=!0,fs(e),e.consumerMarkedDirty?.(e)}function Kr(e){e.dirty=!1,e.lastCleanEpoch=ds}function Ct(e){return e&&(e.producersTail=void 0,e.recomputing=!0),I(e)}function sn(e,t){if(I(t),!e)return;e.recomputing=!1;let n=e.producersTail,r=n!==void 0?n.nextProducer:e.producers;if(r!==void 0){if(cn(e))do r=hs(r);while(r!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function an(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(eo(n),r!==n.version))return!0}return!1}function Tt(e){if(cn(e)){let t=e.producers;for(;t!==void 0;)t=hs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Zu(e,t){let n=e.consumersTail,r=cn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Zu(o.producer,o)}function hs(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!cn(t)){let i=t.producers;for(;i!==void 0;)i=hs(i)}return n}function cn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function to(e){Zg?.(e)}function Qg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Gn(e,t){let n=Object.create(Kg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(eo(n),_t(n),n.value===zn)throw n.error;return n.value};return r[Z]=n,to(n),r}var Yr=Symbol("UNSET"),Qr=Symbol("COMPUTING"),zn=Symbol("ERRORED"),Kg=H(V({},wt),{value:Yr,dirty:!0,error:null,equal:Jr,kind:"computed",producerMustRecompute(e){return e.value===Yr||e.value===Qr},producerRecomputeValue(e){if(e.value===Qr)throw new Error("");let t=e.value;e.value=Qr;let n=Ct(e),r,o=!1;try{r=e.computation(),I(null),o=t!==Yr&&t!==zn&&r!==zn&&e.equal(t,r)}catch(i){r=zn,e.error=i}finally{sn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Jg(){throw new Error}var Yu=Jg;function Qu(e){Yu(e)}function gs(e){Yu=e}var Xg=null;function ms(e,t){let n=Object.create(no);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Ku(n);return r[Z]=n,to(n),[r,s=>bt(n,s),s=>ys(n,s)]}function Ku(e){return _t(e),e.value}function bt(e,t){ps()||Qu(e),e.equal(e.value,t)||(e.value=t,em(e))}function ys(e,t){ps()||Qu(e),bt(e,t(e.value))}var no=H(V({},wt),{equal:Jr,value:void 0,kind:"signal"});function em(e){e.version++,qu(),fs(e),Xg?.(e)}function S(e){return typeof e=="function"}function ro(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var oo=ro(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function St(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){t=i instanceof oo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ju(i)}catch(s){t=t??[],s instanceof oo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new oo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ju(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&St(n,t)}remove(t){let{_finalizers:n}=this;n&&St(n,t),t instanceof e&&t._removeParent(this)}};z.EMPTY=(()=>{let e=new z;return e.closed=!0,e})();var vs=z.EMPTY;function io(e){return e instanceof z||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Ju(e){S(e)?e():e.unsubscribe()}var be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var un={setTimeout(e,t,...n){let{delegate:r}=un;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=un;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function so(e){un.setTimeout(()=>{let{onUnhandledError:t}=be;if(t)t(e);else throw e})}function Wn(){}var Xu=Ds("C",void 0,void 0);function el(e){return Ds("E",void 0,e)}function tl(e){return Ds("N",e,void 0)}function Ds(e,t,n){return{kind:e,value:t,error:n}}var Mt=null;function ln(e){if(be.useDeprecatedSynchronousErrorHandling){let t=!Mt;if(t&&(Mt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Mt;if(Mt=null,n)throw r}}else e()}function nl(e){be.useDeprecatedSynchronousErrorHandling&&Mt&&(Mt.errorThrown=!0,Mt.error=e)}var Nt=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,io(t)&&t.add(this)):this.destination=rm}static create(t,n,r){return new dn(t,n,r)}next(t){this.isStopped?Is(tl(t),this):this._next(t)}error(t){this.isStopped?Is(el(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Is(Xu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},tm=Function.prototype.bind;function Es(e,t){return tm.call(e,t)}var ws=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ao(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ao(r)}else ao(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ao(n)}}},dn=class extends Nt{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&be.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Es(t.next,i),error:t.error&&Es(t.error,i),complete:t.complete&&Es(t.complete,i)}):o=t}this.destination=new ws(o)}};function ao(e){be.useDeprecatedSynchronousErrorHandling?nl(e):so(e)}function nm(e){throw e}function Is(e,t){let{onStoppedNotification:n}=be;n&&un.setTimeout(()=>n(e,t))}var rm={closed:!0,next:Wn,error:nm,complete:Wn};var fn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function at(e){return e}function rl(e){return e.length===0?at:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var F=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=im(n)?n:new dn(n,r,o);return ln(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ol(r),new r((o,i)=>{let s=new dn({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[fn](){return this}pipe(...n){return rl(n)(this)}toPromise(n){return n=ol(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ol(e){var t;return(t=e??be.Promise)!==null&&t!==void 0?t:Promise}function om(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function im(e){return e&&e instanceof Nt||om(e)&&io(e)}function sm(e){return S(e?.lift)}function P(e){return t=>{if(sm(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function j(e,t,n,r,o){return new _s(e,t,n,r,o)}var _s=class extends Nt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var pn={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=pn;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new z(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=pn;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=pn;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var il=ro(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{class e extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new co(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new il}next(n){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?vs:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,St(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new F;return n.source=this,n}}return e.create=(t,n)=>new co(t,n),e})(),co=class extends ce{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:vs}};var qn=class extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Zn={now(){return(Zn.delegate||Date).now()},delegate:void 0};var Cs=class extends ce{constructor(t=1/0,n=1/0,r=Zn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var uo=class extends z{constructor(t,n){super()}schedule(t,n=0){return this}};var Yn={setInterval(e,t,...n){let{delegate:r}=Yn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Yn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var hn=class extends uo{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Yn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Yn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}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:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,St(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var gn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};gn.now=Zn.now;var mn=class extends gn{constructor(t,n=gn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Qn=new mn(hn),sl=Qn;var lo=class extends hn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=pn.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(pn.cancelAnimationFrame(n),t._scheduled=void 0)}};var fo=class extends mn{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var al=new fo(lo);var po=new F(e=>e.complete());function ho(e){return e&&S(e.schedule)}function cl(e){return e[e.length-1]}function ct(e){return ho(cl(e))?e.pop():void 0}function ul(e,t){return typeof cl(e)=="number"?e.pop():t}function dl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function ll(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.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(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function At(e){return this instanceof At?(this.v=e,this):new At(e)}function fl(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),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(M,b){i.push([f,m,M,b])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(m){p(i[0][3],m)}}function u(f){f.value instanceof At?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function pl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ll=="function"?ll(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var go=e=>e&&typeof e.length=="number"&&typeof e!="function";function mo(e){return S(e?.then)}function yo(e){return S(e[fn])}function vo(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function Do(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 am(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Eo=am();function Io(e){return S(e?.[Eo])}function wo(e){return fl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield At(n.read());if(o)return yield At(void 0);yield yield At(r)}}finally{n.releaseLock()}})}function _o(e){return S(e?.getReader)}function G(e){if(e instanceof F)return e;if(e!=null){if(yo(e))return cm(e);if(go(e))return um(e);if(mo(e))return lm(e);if(vo(e))return hl(e);if(Io(e))return dm(e);if(_o(e))return fm(e)}throw Do(e)}function cm(e){return new F(t=>{let n=e[fn]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function um(e){return new F(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function lm(e){return new F(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,so)})}function dm(e){return new F(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function hl(e){return new F(t=>{pm(e,t).catch(n=>t.error(n))})}function fm(e){return hl(wo(e))}function pm(e,t){var n,r,o,i;return dl(this,void 0,void 0,function*(){try{for(n=pl(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ye(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Co(e,t=0){return P((n,r)=>{n.subscribe(j(r,o=>ye(r,e,()=>r.next(o),t),()=>ye(r,e,()=>r.complete(),t),o=>ye(r,e,()=>r.error(o),t)))})}function To(e,t=0){return P((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function gl(e,t){return G(e).pipe(To(t),Co(t))}function ml(e,t){return G(e).pipe(To(t),Co(t))}function yl(e,t){return new F(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function vl(e,t){return new F(n=>{let r;return ye(n,t,()=>{r=e[Eo](),ye(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function bo(e,t){if(!e)throw new Error("Iterable cannot be null");return new F(n=>{ye(n,t,()=>{let r=e[Symbol.asyncIterator]();ye(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Dl(e,t){return bo(wo(e),t)}function El(e,t){if(e!=null){if(yo(e))return gl(e,t);if(go(e))return yl(e,t);if(mo(e))return ml(e,t);if(vo(e))return bo(e,t);if(Io(e))return vl(e,t);if(_o(e))return Dl(e,t)}throw Do(e)}function yn(e,t){return t?El(e,t):G(e)}function Il(...e){let t=ct(e);return yn(e,t)}function wl(e){return e instanceof Date&&!isNaN(e)}function Kn(e,t){return P((n,r)=>{let o=0;n.subscribe(j(r,i=>{r.next(e.call(t,i,o++))}))})}function _l(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=m=>u<r?h(m):c.push(m),h=m=>{i&&t.next(m),u++;let M=!1;G(n(m,l++)).subscribe(j(t,b=>{o?.(b),i?f(b):t.next(b)},()=>{M=!0},void 0,()=>{if(M)try{for(u--;c.length&&u<r;){let b=c.shift();s?ye(t,s,()=>h(b)):h(b)}p()}catch(b){t.error(b)}}))};return e.subscribe(j(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ts(e,t,n=1/0){return S(t)?Ts((r,o)=>Kn((i,s)=>t(r,i,o,s))(G(e(r,o))),n):(typeof t=="number"&&(n=t),P((r,o)=>_l(r,o,e,n)))}function So(e=1/0){return Ts(at,e)}function Cl(){return So(1)}function bs(...e){return Cl()(yn(e,ct(e)))}function hm(e){return new F(t=>{G(e()).subscribe(t)})}function Mo(e=0,t,n=sl){let r=-1;return t!=null&&(ho(t)?n=t:r=t),new F(o=>{let i=wl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function gm(e=0,t=Qn){return e<0&&(e=0),Mo(e,e,t)}function mm(...e){let t=ct(e),n=ul(e,1/0),r=e;return r.length?r.length===1?G(r[0]):So(n)(yn(r,t)):po}function Ss(e,t){return P((n,r)=>{let o=0;n.subscribe(j(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Tl(e){return P((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(j(n,u=>{r=!0,o=u,i||G(e(u)).subscribe(i=j(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Ms(e,t=Qn){return Tl(()=>Mo(e,t))}function ym(e){return e<=0?()=>po:P((t,n)=>{let r=0;t.subscribe(j(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function bl(e,t=at){return e=e??vm,P((n,r)=>{let o,i=!0;n.subscribe(j(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function vm(e,t){return e===t}function Dm(e){return Ss((t,n)=>e<=n)}function Ns(...e){let t=ct(e);return P((n,r)=>{(t?bs(e,n,t):bs(e,n)).subscribe(r)})}function Sl(e,t){return P((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(j(r,c=>{o?.unsubscribe();let u=0,l=i++;G(e(c,l)).subscribe(o=j(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ml(e){return P((t,n)=>{G(e).subscribe(j(n,()=>n.complete(),Wn)),!n.closed&&t.subscribe(n)})}function Em(e,t,n){let r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?P((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(j(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):at}var Nl=H(V({},wt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,kind:"effect"});function Al(e){if(e.dirty=!1,e.hasRun&&!an(e))return;e.hasRun=!0;let t=Ct(e);try{e.cleanup(),e.fn()}finally{sn(e,t)}}var Oo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(t,n){super(ft(t,n)),this.code=t}};function Im(e){return`NG0${Math.abs(e)}`}function ft(e,t){return`${Im(e)}${t?": "+t:""}`}var ve=globalThis;function x(e){for(let t in e)if(e[t]===x)return t;throw Error("")}function Ol(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ut(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ut).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function ko(e,t){return e?t?`${e} ${t}`:e:t||""}var wm=x({__forward_ref__:x});function rr(e){return e.__forward_ref__=rr,e.toString=function(){return ut(this())},e}function Y(e){return Bs(e)?e():e}function Bs(e){return typeof e=="function"&&e.hasOwnProperty(wm)&&e.__forward_ref__===rr}function kl(e,t){e==null&&Hs(t,e,null,"!=")}function Hs(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ft(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fo(e){return _m(e,Lo)}function _m(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Cm(e){let t=e?.[Lo]??null;return t||null}function xs(e){return e&&e.hasOwnProperty(Ao)?e[Ao]:null}var Lo=x({\u0275prov:x}),Ao=x({\u0275inj:x}),w=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=_({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function $s(e){return e&&!!e.\u0275providers}var Us=x({\u0275cmp:x}),zs=x({\u0275dir:x}),Gs=x({\u0275pipe:x});var er=x({\u0275fac:x}),Lt=x({__NG_ELEMENT_ID__:x}),xl=x({__NG_ENV_ID__:x});function Pt(e){return typeof e=="string"?e:e==null?"":String(e)}function xo(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Pt(e)}var Ws=x({ngErrorCode:x}),Fl=x({ngErrorMessage:x}),Xn=x({ngTokenPath:x});function qs(e,t){return Ll("",-200,t)}function Po(e,t){throw new y(-201,!1)}function Tm(e,t){e[Xn]??=[];let n=e[Xn],r;typeof t=="object"&&"multi"in t&&t?.multi===!0?(kl(t.provide,"Token with multi: true should have a provide property"),r=xo(t.provide)):r=xo(t),n[0]!==r&&e[Xn].unshift(r)}function bm(e,t){let n=e[Xn],r=e[Ws],o=e[Fl]||e.message;return e.message=Mm(o,r,n,t),e}function Ll(e,t,n){let r=new y(t,e);return r[Ws]=t,r[Fl]=e,n&&(r[Xn]=n),r}function Sm(e){return e[Ws]}function Mm(e,t,n=[],r=null){let o="";n&&n.length>1&&(o=` Path: ${n.join(" -> ")}.`);let i=r?` Source: ${r}.`:"";return ft(t,`${e}${i}${o}`)}var Rs;function Pl(){return Rs}function re(e){let t=Rs;return Rs=e,t}function Zs(e,t,n){let r=Fo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Po(e,"Injector")}var Nm={},xt=Nm,Am="__NG_DI_FLAG__",Os=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Rt(n)||0;try{return this.injector.get(t,r&8?null:xt,r)}catch(o){if(on(o))return o;throw o}}};function xm(e,t=0){let n=qr();if(n===void 0)throw new y(-203,!1);if(n===null)return Zs(e,void 0,t);{let r=Rm(t),o=n.retrieve(e,r);if(on(o)){if(r.optional)return null;throw o}return o}}function C(e,t=0){return(Pl()||xm)(Y(e),t)}function g(e,t){return C(e,Rt(t))}function Rt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Rm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ks(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Om(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function Om(e){return e[Am]}function lt(e,t){let n=e.hasOwnProperty(er);return n?e[er]:null}function jl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Vl(e){return e.flat(Number.POSITIVE_INFINITY)}function jo(e,t){e.forEach(n=>Array.isArray(n)?jo(n,t):t(n))}function Ys(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Bl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Hl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ir(e,t,n){let r=Dn(e,t);return r>=0?e[r|1]=n:(r=~r,Hl(e,r,t,n)),r}function Vo(e,t){let n=Dn(e,t);if(n>=0)return e[n|1]}function Dn(e,t){return km(e,t,1)}function km(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Me={},te=[],pt=new w(""),Qs=new w("",-1),Ks=new w(""),tr=class{get(t,n=xt){if(n===xt){let o=Ll("",-201);throw o.name="\u0275NotFound",o}return n}};function ht(e){return e[Us]||null}function Bo(e){return e[zs]||null}function $l(e){return e[Gs]||null}function Ho(e){return{\u0275providers:e}}function Ul(...e){return{\u0275providers:Js(!0,e),\u0275fromNgModule:!0}}function Js(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return jo(t,s=>{let a=s;Ro(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&zl(o,i),n}function zl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Xs(o,i=>{t(i,r)})}}function Ro(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=xs(e),s=!i&&ht(e);if(!i&&!s){let c=e.ngModule;if(i=xs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ro(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{jo(i.imports,l=>{Ro(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&zl(u,t)}if(!a){let u=lt(o)||(()=>new o);t({provide:o,useFactory:u,deps:te},o),t({provide:Ks,useValue:o,multi:!0},o),t({provide:pt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Xs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Xs(e,t){for(let n of e)$s(n)&&(n=n.\u0275providers),Array.isArray(n)?Xs(n,t):t(n)}var Fm=x({provide:String,useValue:x});function Gl(e){return e!==null&&typeof e=="object"&&Fm in e}function Lm(e){return!!(e&&e.useExisting)}function Pm(e){return!!(e&&e.useFactory)}function Ot(e){return typeof e=="function"}function Wl(e){return!!e.useClass}var sr=new w(""),No={},Rl={},As;function En(){return As===void 0&&(As=new tr),As}var ue=class{},kt=class extends ue{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ls(t,s=>this.processProvider(s)),this.records.set(Qs,vn(void 0,this)),o.has("environment")&&this.records.set(ue,vn(void 0,this));let i=this.records.get(sr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ks,te,{self:!0}))}retrieve(t,n){let r=Rt(n)||0;try{return this.get(t,xt,r)}catch(o){if(on(o))return o;throw o}}destroy(){Jn(this),this._destroyed=!0;let t=I(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(t)}}onDestroy(t){return Jn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Jn(this);let n=je(this),r=re(void 0),o;try{return t()}finally{je(n),re(r)}}get(t,n=xt,r){if(Jn(this),t.hasOwnProperty(xl))return t[xl](this);let o=Rt(r),i,s=je(this),a=re(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=$m(t)&&Fo(t);l&&this.injectableDefInScope(l)?u=vn(Fs(t),No):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?En():this.parent;return n=o&8&&n===xt?null:n,c.get(t,n)}catch(c){let u=Sm(c);throw u===-200||u===-201?new y(u,null):c}finally{re(a),je(s)}}resolveInjectorInitializers(){let t=I(null),n=je(this),r=re(void 0),o;try{let i=this.get(pt,te,{self:!0});for(let s of i)s()}finally{je(n),re(r),I(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ut(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=Ot(t)?t:Y(t&&t.provide),r=Vm(t);if(!Ot(t)&&t.multi===!0){let o=this.records.get(n);o||(o=vn(void 0,No,!0),o.factory=()=>ks(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===Rl)throw qs(ut(t));return n.value===No&&(n.value=Rl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Hm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Fs(e){let t=Fo(e),n=t!==null?t.factory:lt(e);if(n!==null)return n;if(e instanceof w)throw new y(204,!1);if(e instanceof Function)return jm(e);throw new y(204,!1)}function jm(e){if(e.length>0)throw new y(204,!1);let n=Cm(e);return n!==null?()=>n.factory(e):()=>new e}function Vm(e){if(Gl(e))return vn(void 0,e.useValue);{let t=ea(e);return vn(t,No)}}function ea(e,t,n){let r;if(Ot(e)){let o=Y(e);return lt(o)||Fs(o)}else if(Gl(e))r=()=>Y(e.useValue);else if(Pm(e))r=()=>e.useFactory(...ks(e.deps||[]));else if(Lm(e))r=(o,i)=>C(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(Bm(e))r=()=>new o(...ks(e.deps));else return lt(o)||Fs(o)}return r}function Jn(e){if(e.destroyed)throw new y(205,!1)}function vn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bm(e){return!!e.deps}function Hm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function $m(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ls(e,t){for(let n of e)Array.isArray(n)?Ls(n,t):n&&$s(n)?Ls(n.\u0275providers,t):t(n)}function $o(e,t){let n;e instanceof kt?(Jn(e),n=e):n=new Os(e);let r,o=je(n),i=re(void 0);try{return t()}finally{je(o),re(i)}}function ql(){return Pl()!==void 0||qr()!=null}var Ne=0,D=1,E=2,Q=3,De=4,ie=5,jt=6,In=7,$=8,Vt=9,Ve=10,N=11,wn=12,ta=13,Bt=14,se=15,gt=16,Ht=17,Be=18,ar=19,na=20,We=21,Uo=22,qe=23,pe=24,$t=25,R=26,Zl=1,ra=6,mt=7,cr=8,Ut=9,X=10;function He(e){return Array.isArray(e)&&typeof e[Zl]=="object"}function Ae(e){return Array.isArray(e)&&e[Zl]===!0}function oa(e){return(e.flags&4)!==0}function Ze(e){return e.componentOffset>-1}function _n(e){return(e.flags&1)===1}function xe(e){return!!e.template}function Cn(e){return(e[E]&512)!==0}function zt(e){return(e[E]&256)===256}var ia="svg",Yl="math";function Ee(e){for(;Array.isArray(e);)e=e[Ne];return e}function sa(e,t){return Ee(t[e])}function Ie(e,t){return Ee(t[e.index])}function ur(e,t){return e.data[t]}function lr(e,t){return e[t]}function dr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function we(e,t){let n=t[e];return He(n)?n:n[Ne]}function Ql(e){return(e[E]&4)===4}function zo(e){return(e[E]&128)===128}function Kl(e){return Ae(e[Q])}function _e(e,t){return t==null?null:e[t]}function aa(e){e[Ht]=0}function Go(e){e[E]&1024||(e[E]|=1024,zo(e)&&yt(e))}function Jl(e,t){for(;e>0;)t=t[Bt],e--;return t}function Tn(e){return!!(e[E]&9216||e[pe]?.dirty)}function Wo(e){e[Ve].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),Tn(e)&&yt(e)}function yt(e){e[Ve].changeDetectionScheduler?.notify(0);let t=dt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!zo(t)));)t=dt(t)}function ca(e,t){if(zt(e))throw new y(911,!1);e[We]===null&&(e[We]=[]),e[We].push(t)}function Xl(e,t){if(e[We]===null)return;let n=e[We].indexOf(t);n!==-1&&e[We].splice(n,1)}function dt(e){let t=e[Q];return Ae(t)?t[Q]:t}function ua(e){return e[In]??=[]}function la(e){return e.cleanup??=[]}function ed(e,t,n,r){let o=ua(t);o.push(n),e.firstCreatePass&&la(e).push(r,o.length-1)}var T={lFrame:fd(null),bindingsEnabled:!0,skipHydrationRootTNode:null},fr=(function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e})(fr||{}),Um=0,Ps=!1;function td(){return T.lFrame.elementDepthCount}function nd(){T.lFrame.elementDepthCount++}function da(){T.lFrame.elementDepthCount--}function qo(){return T.bindingsEnabled}function fa(){return T.skipHydrationRootTNode!==null}function pa(e){return T.skipHydrationRootTNode===e}function ha(){T.skipHydrationRootTNode=null}function v(){return T.lFrame.lView}function k(){return T.lFrame.tView}function rd(e){return T.lFrame.contextLView=e,e[$]}function od(e){return T.lFrame.contextLView=null,e}function K(){let e=ga();for(;e!==null&&e.type===64;)e=e.parent;return e}function ga(){return T.lFrame.currentTNode}function id(){let e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Gt(e,t){let n=T.lFrame;n.currentTNode=e,n.isParent=t}function ma(){return T.lFrame.isParent}function ya(){T.lFrame.isParent=!1}function va(){return T.lFrame.contextLView}function Da(e){Hs("Must never be called in production mode"),Um=e}function Ea(){return Ps}function bn(e){let t=Ps;return Ps=e,t}function pr(){let e=T.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sd(e){return T.lFrame.bindingIndex=e}function $e(){return T.lFrame.bindingIndex++}function Ia(e){let t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ad(){return T.lFrame.inI18n}function cd(e,t){let n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zo(t)}function ud(){return T.lFrame.currentDirectiveIndex}function Zo(e){T.lFrame.currentDirectiveIndex=e}function ld(e){let t=T.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Yo(){return T.lFrame.currentQueryIndex}function hr(e){T.lFrame.currentQueryIndex=e}function zm(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[ie]:null}function wa(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=zm(i),o===null||(i=i[Bt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=T.lFrame=dd();return r.currentTNode=t,r.lView=e,!0}function Qo(e){let t=dd(),n=e[D];T.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function dd(){let e=T.lFrame,t=e===null?null:e.child;return t===null?fd(e):t}function fd(e){let t={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=t),t}function pd(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _a=pd;function Ko(){let e=pd();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 hd(e){return(T.lFrame.contextLView=Jl(e,T.lFrame.contextLView))[$]}function Ue(){return T.lFrame.selectedIndex}function vt(e){T.lFrame.selectedIndex=e}function Sn(){let e=T.lFrame;return ur(e.tView,e.selectedIndex)}function gd(){T.lFrame.currentNamespace=ia}function md(){Gm()}function Gm(){T.lFrame.currentNamespace=null}function yd(){return T.lFrame.currentNamespace}var vd=!0;function Jo(){return vd}function gr(e){vd=e}var Wm={elements:void 0};function Xo(){return Wm}function js(e,t=null,n=null,r){let o=Dd(e,t,n,r);return o.resolveInjectorInitializers(),o}function Dd(e,t=null,n=null,r,o=new Set){let i=[n||te,Ul(e)];return r=r||(typeof e=="object"?void 0:ut(e)),new kt(i,t||En(),r||null,o)}var oe=class e{static THROW_IF_NOT_FOUND=xt;static NULL=new tr;static create(t,n){if(Array.isArray(t))return js({name:""},n,t,"");{let r=t.name??"";return js({name:r},t.parent,t.providers,r)}}static \u0275prov=_({token:e,providedIn:"any",factory:()=>C(Qs)});static __NG_ELEMENT_ID__=-1},W=new w(""),Ye=(()=>{class e{static __NG_ELEMENT_ID__=qm;static __NG_ENV_ID__=n=>n}return e})(),nr=class extends Ye{_lView;constructor(t){super(),this._lView=t}get destroyed(){return zt(this._lView)}onDestroy(t){let n=this._lView;return ca(n,t),()=>Xl(n,t)}};function qm(){return new nr(v())}var fe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Qe=new w("",{providedIn:"root",factory:()=>{let e=g(ue),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(fe),t.handleError(n))}}}),Ed={provide:pt,useValue:()=>void g(fe),multi:!0};function Ca(e){return typeof e=="function"&&e[Z]!==void 0}function Wt(e,t){let[n,r,o]=ms(e,t?.equal),i=n,s=i[Z];return i.set=r,i.update=o,i.asReadonly=ei.bind(i),i}function ei(){let e=this[Z];if(e.readonlyFn===void 0){let t=()=>this();t[Z]=e,e.readonlyFn=t}return e.readonlyFn}function Ta(e){return Ca(e)&&typeof e.set=="function"}var Se=class{},Mn=new w("",{providedIn:"root",factory:()=>!1});var ba=new w(""),ti=new w("");var Nn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Zm}return e})();function Zm(){return new Nn(v(),K())}var qt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new qn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new F(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),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=_({token:e,providedIn:"root",factory:()=>new e})}return e})();function Zt(...e){}var mr=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>new Vs})}return e})(),Vs=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Sr(e){return{toString:e}.toString()}function ny(e){return typeof e=="function"}var di=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function of(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var bi=(()=>{let e=()=>sf;return e.ngInherit=!0,e})();function sf(e){return e.type.prototype.ngOnChanges&&(e.setInput=oy),ry}function ry(){let e=cf(this),t=e?.current;if(t){let n=e.previous;if(n===Me)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function oy(e,t,n,r,o){let i=this.declaredInputs[r],s=cf(e)||iy(e,{previous:Me,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new di(u&&u.currentValue,n,c===Me),of(e,t,o,n)}var af="__ngSimpleChanges__";function cf(e){return e[af]||null}function iy(e,t){return e[af]=t}var Id=[];var A=function(e,t=null,n){for(let r=0;r<Id.length;r++){let o=Id[r];o(e,t,n)}};function sy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=sf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function uf(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function si(e,t,n){lf(e,t,3,n)}function ai(e,t,n,r){(e[E]&3)===n&&lf(e,t,n,r)}function Sa(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function lf(e,t,n,r){let o=r!==void 0?e[Ht]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Ht]+=65536),(a<i||i==-1)&&(ay(e,n,t,c),e[Ht]=(e[Ht]&4294901760)+c+2),c++}function wd(e,t){A(4,e,t);let n=I(null);try{t.call(e)}finally{I(n),A(5,e,t)}}function ay(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[Ht]>>16&&(e[E]&3)===t&&(e[E]+=16384,wd(a,i)):wd(a,i)}var xn=-1,Kt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function cy(e){return(e.flags&8)!==0}function uy(e){return(e.flags&16)!==0}function ly(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];fy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function dy(e){return e===3||e===4||e===6}function fy(e){return e.charCodeAt(0)===64}function Rn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?_d(e,n,o,null,t[++r]):_d(e,n,o,null,null))}}return e}function _d(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function df(e){return e!==xn}function fi(e){return e&32767}function py(e){return e>>16}function pi(e,t){let n=py(e),r=t;for(;n>0;)r=r[Bt],n--;return r}var Va=!0;function hi(e){let t=Va;return Va=e,t}var hy=256,ff=hy-1,pf=5,gy=0,ze={};function my(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Lt)&&(r=n[Lt]),r==null&&(r=n[Lt]=gy++);let o=r&ff,i=1<<o;t.data[e+(o>>pf)]|=i}function gi(e,t){let n=hf(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,Ma(r.data,e),Ma(t,null),Ma(r.blueprint,null));let o=bc(e,t),i=e.injectorIndex;if(df(o)){let s=fi(o),a=pi(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ma(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function bc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Df(o),r===null)return xn;if(n++,o=o[Bt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return xn}function Ba(e,t,n){my(e,t,n)}function gf(e,t,n){if(n&8||e!==void 0)return e;Po(t,"NodeInjector")}function mf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Vt],i=re(void 0);try{return o?o.get(t,r,n&8):Zs(t,r,n&8)}finally{re(i)}}return gf(r,t,n)}function yf(e,t,n,r=0,o){if(e!==null){if(t[E]&2048&&!(r&2)){let s=Iy(e,t,n,r,ze);if(s!==ze)return s}let i=vf(e,t,n,r,ze);if(i!==ze)return i}return mf(t,n,r,o)}function vf(e,t,n,r,o){let i=vy(n);if(typeof i=="function"){if(!wa(t,e,r))return r&1?gf(o,n,r):mf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Po(n);else return s}finally{_a()}}else if(typeof i=="number"){let s=null,a=hf(e,t),c=xn,u=r&1?t[se][ie]:null;for((a===-1||r&4)&&(c=a===-1?bc(e,t):t[a+8],c===xn||!Td(r,!1)?a=-1:(s=t[D],a=fi(c),t=pi(c,t)));a!==-1;){let l=t[D];if(Cd(i,a,l.data)){let d=yy(a,t,n,s,r,u);if(d!==ze)return d}c=t[a+8],c!==xn&&Td(r,t[D].data[a+8]===u)&&Cd(i,a,t)?(s=l,a=fi(c),t=pi(c,t)):a=-1}}return o}function yy(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?Ze(a)&&Va:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ci(a,s,n,c,u);return l!==null?Dr(t,s,l,a,o):ze}function ci(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&xe(f)&&f.type===n)return c}return null}function Dr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Kt){let a=i;if(a.resolving){let f=xo(s[n]);throw qs(f)}let c=hi(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?re(a.injectImpl):null,p=wa(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&sy(n,s[n],t)}finally{d!==null&&re(d),hi(c),a.resolving=!1,_a()}}return i}function vy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Lt)?e[Lt]:void 0;return typeof t=="number"?t>=0?t&ff:Dy:t}function Cd(e,t,n){let r=1<<e;return!!(n[t+(e>>pf)]&r)}function Td(e,t){return!(e&2)&&!(e&1&&t)}var Qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return yf(this._tNode,this._lView,t,Rt(r),n)}};function Dy(){return new Qt(K(),v())}function Ey(e){return Sr(()=>{let t=e.prototype.constructor,n=t[er]||Ha(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[er]||Ha(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ha(e){return Bs(e)?()=>{let t=Ha(Y(e));return t&&t()}:lt(e)}function Iy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!Cn(s);){let a=vf(i,s,n,r|2,ze);if(a!==ze)return a;let c=i.parent;if(!c){let u=s[na];if(u){let l=u.get(n,ze,r);if(l!==ze)return l}c=Df(s),s=s[Bt]}i=c}return o}function Df(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ie]:null}function wy(){return jn(K(),v())}function jn(e,t){return new Fe(Ie(e,t))}var Fe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=wy}return e})();function Ef(e){return e instanceof Fe?e.nativeElement:e}function _y(){return this._results[Symbol.iterator]()}var mi=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 ce}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Vl(t);(this._changesDetected=!jl(this._results,r,n))&&(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(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=_y};function If(e){return(e.flags&128)===128}var Sc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Sc||{}),wf=new Map,Cy=0;function Ty(){return Cy++}function by(e){wf.set(e[ar],e)}function $a(e){wf.delete(e[ar])}var bd="__ngContext__";function On(e,t){He(t)?(e[bd]=t[ar],by(t)):e[bd]=t}function _f(e){return Tf(e[wn])}function Cf(e){return Tf(e[De])}function Tf(e){for(;e!==null&&!Ae(e);)e=e[De];return e}var Ua;function Mc(e){Ua=e}function Nc(){if(Ua!==void 0)return Ua;if(typeof document<"u")return document;throw new y(210,!1)}var Vn=new w("",{providedIn:"root",factory:()=>Sy}),Sy="ng",Si=new w(""),Et=new w("",{providedIn:"platform",factory:()=>"unknown"});var My=new w(""),Mi=new w("",{providedIn:"root",factory:()=>Nc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ny="h",Ay="b";var bf="r";var Sf="di";var Mf=!1,Nf=new w("",{providedIn:"root",factory:()=>Mf});var xy=(e,t,n,r)=>{};function Ry(e,t,n,r){xy(e,t,n,r)}function Ni(e){return(e.flags&32)===32}var Oy=()=>null;function Af(e,t,n=!1){return Oy(e,t,n)}function xf(e,t){let n=e.contentQueries;if(n!==null){let r=I(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];hr(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function za(e,t,n){hr(0);let r=I(null);try{t(e,n)}finally{I(r)}}function Ac(e,t,n){if(oa(t)){let r=I(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{I(r)}}}var Ke=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Ke||{}),ni;function ky(){if(ni===void 0&&(ni=null,ve.trustedTypes))try{ni=ve.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ni}function Ai(e){return ky()?.createHTML(e)||e}var ri;function Fy(){if(ri===void 0&&(ri=null,ve.trustedTypes))try{ri=ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ri}function Sd(e){return Fy()?.createHTML(e)||e}var Je=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Oo})`}},Ga=class extends Je{getTypeName(){return"HTML"}},Wa=class extends Je{getTypeName(){return"Style"}},qa=class extends Je{getTypeName(){return"Script"}},Za=class extends Je{getTypeName(){return"URL"}},Ya=class extends Je{getTypeName(){return"ResourceURL"}};function Ce(e){return e instanceof Je?e.changingThisBreaksApplicationSecurity:e}function et(e,t){let n=Rf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Oo})`)}return n===t}function Rf(e){return e instanceof Je&&e.getTypeName()||null}function xc(e){return new Ga(e)}function Rc(e){return new Wa(e)}function Oc(e){return new qa(e)}function kc(e){return new Za(e)}function Fc(e){return new Ya(e)}function Ly(e){let t=new Ka(e);return Py()?new Qa(t):t}var Qa=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ai(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ka=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ai(t),n}};function Py(){try{return!!new window.DOMParser().parseFromString(Ai(""),"text/html")}catch{return!1}}var jy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mr(e){return e=String(e),e.match(jy)?e:"unsafe:"+e}function tt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Nr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Of=tt("area,br,col,hr,img,wbr"),kf=tt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ff=tt("rp,rt"),Vy=Nr(Ff,kf),By=Nr(kf,tt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Hy=Nr(Ff,tt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Md=Nr(Of,By,Hy,Vy),Lf=tt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$y=tt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Uy=tt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),zy=Nr(Lf,$y,Uy),Gy=tt("script,style,template"),Ja=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Zy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=qy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Nd(t).toLowerCase();if(!Md.hasOwnProperty(n))return this.sanitizedSomething=!0,!Gy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!zy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Lf[a]&&(c=Mr(c)),this.buf.push(" ",s,'="',Ad(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Nd(t).toLowerCase();Md.hasOwnProperty(n)&&!Of.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ad(t))}};function Wy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function qy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Pf(t);return t}function Zy(e){let t=e.firstChild;if(t&&Wy(e,t))throw Pf(t);return t}function Nd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Pf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Yy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Qy=/([^\#-~ |!])/g;function Ad(e){return e.replace(/&/g,"&amp;").replace(Yy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Qy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var oi;function xi(e,t){let n=null;try{oi=oi||Ly(e);let r=t?String(t):"";n=oi.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=oi.getInertBodyElement(r)}while(r!==i);let a=new Ja().sanitizeChildren(xd(n)||n);return Ai(a)}finally{if(n){let r=xd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function xd(e){return"content"in e&&Ky(e)?e.content:null}function Ky(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Le=(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})(Le||{});function Jy(e){let t=jf();return t?Sd(t.sanitize(Le.HTML,e)||""):et(e,"HTML")?Sd(Ce(e)):xi(Nc(),Pt(e))}function Xy(e){let t=jf();return t?t.sanitize(Le.URL,e)||"":et(e,"URL")?Ce(e):Mr(Pt(e))}function jf(){let e=v();return e&&e[Ve].sanitizer}var ev=/^>|^->|<!--|-->|--!>|<!-$/g,tv=/(<|>)/g,nv="\u200B$1\u200B";function rv(e){return e.replace(ev,t=>t.replace(tv,nv))}function ov(e){return e.ownerDocument.defaultView}function iv(e){return e.ownerDocument}function sv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Vf="ng-template";function av(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&sv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Lc(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Lc(e){return e.type===4&&e.value!==Vf}function cv(e,t,n){let r=e.type===4&&!n?Vf:e.value;return t===r}function uv(e,t,n){let r=4,o=e.attrs,i=o!==null?fv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Re(r)&&!Re(c))return!1;if(s&&Re(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!cv(e,c,n)||c===""&&t.length===1){if(Re(r))return!1;s=!0}}else if(r&8){if(o===null||!av(e,o,c,n)){if(Re(r))return!1;s=!0}}else{let u=t[++a],l=lv(c,o,Lc(e),n);if(l===-1){if(Re(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Re(r))return!1;s=!0}}}}return Re(r)||s}function Re(e){return(e&1)===0}function lv(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return pv(t,e)}function Bf(e,t,n=!1){for(let r=0;r<t.length;r++)if(uv(e,t[r],n))return!0;return!1}function dv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function fv(e){for(let t=0;t<e.length;t++){let n=e[t];if(dy(n))return t}return e.length}function pv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function hv(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];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 Rd(e,t){return e?":not("+t.trim()+")":t}function gv(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Re(s)&&(t+=Rd(i,o),o=""),r=s,i=i||!Re(r);n++}return o!==""&&(t+=Rd(i,o)),t}function mv(e){return e.map(gv).join(",")}function yv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Re(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var he={};function vv(e,t){return e.createText(t)}function Dv(e,t,n){e.setValue(t,n)}function Ev(e,t){return e.createComment(rv(t))}function Hf(e,t,n){return e.createElement(t,n)}function yi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function $f(e,t,n){e.appendChild(t,n)}function Od(e,t,n,r,o){r!==null?yi(e,t,n,r,o):$f(e,t,n)}function Uf(e,t,n){e.removeChild(null,t,n)}function Iv(e,t,n){e.setAttribute(t,"style",n)}function wv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&ly(e,t,r),o!==null&&wv(e,t,o),i!==null&&Iv(e,t,i)}function Pc(e,t,n,r,o,i,s,a,c,u,l){let d=R+r,p=d+o,f=_v(d,p),h=typeof u=="function"?u():u;return f[D]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,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:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function _v(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:he);return n}function Cv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Pc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function jc(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Ne]=o,d[E]=r|4|128|8|64|1024,(u!==null||e&&e[E]&2048)&&(d[E]|=2048),aa(d),d[Q]=d[Bt]=e,d[$]=n,d[Ve]=s||e&&e[Ve],d[N]=a||e&&e[N],d[Vt]=c||e&&e[Vt]||null,d[ie]=i,d[ar]=Ty(),d[jt]=l,d[na]=u,d[se]=t.type==2?e[se]:d,d}function Tv(e,t,n){let r=Ie(t,e),o=Cv(n),i=e[Ve].rendererFactory,s=Vc(e,jc(e,o,null,Gf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Gf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Wf(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Vc(e,t){return e[wn]?e[ta][De]=t:e[wn]=t,e[ta]=t,t}function qf(e=1){Zf(k(),v(),Ue()+e,!1)}function Zf(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&si(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ai(t,i,0,n)}vt(n)}var Ri=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ri||{});function Xa(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ri.SignalBased)!==0&&(c=t[i][Z]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):of(t,c,i,r)}finally{I(o)}}var ke=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ke||{}),bv;function Bc(e,t){return bv(e,t)}function An(e,t,n,r,o){if(r!=null){let i,s=!1;Ae(r)?i=r:He(r)&&(s=!0,r=r[Ne]);let a=Ee(r);e===0&&n!==null?o==null?$f(t,n,a):yi(t,n,a,o||null,!0):e===1&&n!==null?yi(t,n,a,o||null,!0):e===2?Uf(t,a,s):e===3&&t.destroyNode(a),i!=null&&Lv(t,e,i,n,o)}}function Sv(e,t){Yf(e,t),t[Ne]=null,t[ie]=null}function Mv(e,t,n,r,o,i){r[Ne]=o,r[ie]=t,ki(e,r,n,1,o,i)}function Yf(e,t){t[Ve].changeDetectionScheduler?.notify(9),ki(e,t,t[N],2,null,null)}function Nv(e){let t=e[wn];if(!t)return Na(e[D],e);for(;t;){let n=null;if(He(t))n=t[wn];else{let r=t[X];r&&(n=r)}if(!n){for(;t&&!t[De]&&t!==e;)He(t)&&Na(t[D],t),t=t[Q];t===null&&(t=e),He(t)&&Na(t[D],t),n=t&&t[De]}t=n}}function Hc(e,t){let n=e[Ut],r=n.indexOf(t);n.splice(r,1)}function Oi(e,t){if(zt(t))return;let n=t[N];n.destroyNode&&ki(e,t,n,3,null,null),Nv(t)}function Na(e,t){if(zt(t))return;let n=I(null);try{t[E]&=-129,t[E]|=256,t[pe]&&Tt(t[pe]),xv(e,t),Av(e,t),t[D].type===1&&t[N].destroy();let r=t[gt];if(r!==null&&Ae(t[Q])){r!==t[Q]&&Hc(r,t);let o=t[Be];o!==null&&o.detachView(e)}$a(t)}finally{I(n)}}function Av(e,t){let n=e.cleanup,r=t[In];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[In]=null);let o=t[We];if(o!==null){t[We]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[qe];if(i!==null){t[qe]=null;for(let s of i)s.destroy()}}function xv(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Kt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function Qf(e,t,n){return Rv(e,t.parent,n)}function Rv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ne];if(Ze(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ke.None||o===Ke.Emulated)return null}return Ie(r,n)}function Kf(e,t,n){return kv(e,t,n)}function Ov(e,t,n){return e.type&40?Ie(e,n):null}var kv=Ov,kd;function $c(e,t,n,r){let o=Qf(e,r,t),i=t[N],s=r.parent||t[ie],a=Kf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Od(i,o,n[c],a,!1);else Od(i,o,n,a,!1);kd!==void 0&&kd(i,r,t,n,o)}function yr(e,t){if(t!==null){let n=t.type;if(n&3)return Ie(t,e);if(n&4)return ec(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return yr(e,r);{let o=e[t.index];return Ae(o)?ec(-1,o):Ee(o)}}else{if(n&128)return yr(e,t.next);if(n&32)return Bc(t,e)()||Ee(e[t.index]);{let r=Jf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=dt(e[se]);return yr(o,r)}else return yr(e,t.next)}}}return null}function Jf(e,t){if(t!==null){let r=e[se][ie],o=t.projection;return r.projection[o]}return null}function ec(e,t){let n=X+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return yr(r,o)}return t[mt]}function Uc(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&On(Ee(a),r),n.flags|=2),!Ni(n))if(c&8)Uc(e,t,n.child,r,o,i,!1),An(t,e,o,a,i);else if(c&32){let u=Bc(n,r),l;for(;l=u();)An(t,e,o,l,i);An(t,e,o,a,i)}else c&16?Xf(e,t,r,n,o,i):An(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ki(e,t,n,r,o,i){Uc(n,r,e.firstChild,t,o,i,!1)}function Fv(e,t,n){let r=t[N],o=Qf(e,n,t),i=n.parent||t[ie],s=Kf(i,n,t);Xf(r,0,t,n,o,s)}function Xf(e,t,n,r,o,i){let s=n[se],c=s[ie].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];An(t,e,o,l,i)}else{let u=c,l=s[Q];If(r)&&(u.flags|=128),Uc(e,t,u,l,o,i,!0)}}function Lv(e,t,n,r,o){let i=n[mt],s=Ee(n);i!==s&&An(t,e,r,i,o);for(let a=X;a<n.length;a++){let c=n[a];ki(c[D],c,e,t,r,i)}}function Pv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ke.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ke.Important),e.setStyle(n,r,o,i))}}function ep(e,t,n,r,o){let i=Ue(),s=r&2;try{vt(-1),s&&t.length>R&&Zf(e,t,R,!1),A(s?2:0,o,n),n(r,o)}finally{vt(i),A(s?3:1,o,n)}}function Fi(e,t,n){$v(e,t,n),(n.flags&64)===64&&Uv(e,t,n)}function Bn(e,t,n=Ie){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function jv(e,t,n,r){let i=r.get(Nf,Mf)||n===Ke.ShadowDom,s=e.selectRootElement(t,i);return Vv(s),s}function Vv(e){Bv(e)}var Bv=()=>null;function Hv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function tp(e,t,n,r,o,i){let s=t[D];if(ji(e,s,t,n,r)){Ze(e)&&rp(t,e.index);return}e.type&3&&(n=Hv(n)),np(e,t,n,r,o,i)}function np(e,t,n,r,o,i){if(e.type&3){let s=Ie(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function rp(e,t){let n=we(t,e);n[E]&16||(n[E]|=64)}function $v(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ze(n)&&Tv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||gi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Dr(t,e,s,n);if(On(c,t),i!==null&&Wv(t,s-r,c,a,n,i),xe(a)){let u=we(n.index,t);u[$]=Dr(t,e,s,n)}}}function Uv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=ud();try{vt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Zo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&zv(c,u)}}finally{vt(-1),Zo(s)}}function zv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function zc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Bf(t,i.selectors,!1)&&(r??=[],xe(i)?r.unshift(i):r.push(i))}return r}function Gv(e,t,n,r,o,i){let s=Ie(e,t);op(t[N],s,i,e.value,n,r,o)}function op(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Pt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Wv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Xa(r,n,c,u)}}function Li(e,t,n,r,o){let i=R+n,s=t[D],a=o(s,t,e,r,n);t[i]=a,Gt(e,!0);let c=e.type===2;return c?(zf(t[N],a,e),(td()===0||_n(e))&&On(a,t),nd()):On(a,t),Jo()&&(!c||!Ni(e))&&$c(s,t,a,e),e}function Pi(e){let t=e;return ma()?ya():(t=t.parent,Gt(t,!1)),t}function qv(e,t){let n=e[Vt];if(!n)return;let r;try{r=n.get(Qe,null)}catch{r=null}r?.(t)}function ji(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Xa(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Xa(l,u,r,o),a=!0}return a}function Zv(e,t){let n=we(t,e),r=n[D];Yv(r,n);let o=n[Ne];o!==null&&n[jt]===null&&(n[jt]=Af(o,n[Vt])),A(18),Gc(r,n,n[$]),A(19,n[$])}function Yv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Gc(e,t,n){Qo(t);try{let r=e.viewQuery;r!==null&&za(1,r,n);let o=e.template;o!==null&&ep(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Be]?.finishViewCreation(e),e.staticContentQueries&&xf(e,t),e.staticViewQueries&&za(2,e.viewQuery,n);let i=e.components;i!==null&&Qv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,Ko()}}function Qv(e,t){for(let n=0;n<t.length;n++)Zv(e,t[n])}function Ar(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=jc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[gt]=u;let l=e[Be];return l!==null&&(c[Be]=l.createEmbeddedView(i)),Gc(i,c,n),c}finally{I(o)}}function kn(e,t){return!t||t.firstChild===null||If(e)}var Fd=!1,Kv=new w("");function Er(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Ee(i)),Ae(i)&&ip(i,r);let s=n.type;if(s&8)Er(e,t,n.child,r);else if(s&32){let a=Bc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Jf(t,n);if(Array.isArray(a))r.push(...a);else{let c=dt(t[se]);Er(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function ip(e,t){for(let n=X;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&Er(r[D],r,o,t)}e[mt]!==e[Ne]&&t.push(e[mt])}function sp(e){if(e[$t]!==null){for(let t of e[$t])t.impl.addSequence(t);e[$t].length=0}}var ap=[];function Jv(e){return e[pe]??Xv(e)}function Xv(e){let t=ap.pop()??Object.create(tD);return t.lView=e,t}function eD(e){e.lView[pe]!==e&&(e.lView=null,ap.push(e))}var tD=H(V({},wt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yt(e.lView)},consumerOnSignalRead(){this.lView[pe]=this}});function nD(e){let t=e[pe]??Object.create(rD);return t.lView=e,t}var rD=H(V({},wt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=dt(e.lView);for(;t&&!cp(t[D]);)t=dt(t);t&&Go(t)},consumerOnSignalRead(){this.lView[pe]=this}});function cp(e){return e.type!==2}function up(e){if(e[qe]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[qe])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var oD=100;function Wc(e,t=0){let r=e[Ve].rendererFactory,o=!1;o||r.begin?.();try{iD(e,t)}finally{o||r.end?.()}}function iD(e,t){let n=Ea();try{bn(!0),tc(e,t);let r=0;for(;Tn(e);){if(r===oD)throw new y(103,!1);r++,tc(e,1)}}finally{bn(n)}}function lp(e,t){Da(t?fr.Exhaustive:fr.OnlyDirtyViews);try{Wc(e)}finally{Da(fr.Off)}}function sD(e,t,n,r){if(zt(t))return;let o=t[E],i=!1,s=!1;Qo(t);let a=!0,c=null,u=null;i||(cp(e)?(u=Jv(t),c=Ct(u)):Xr()===null?(a=!1,u=nD(t),c=Ct(u)):t[pe]&&(Tt(t[pe]),t[pe]=null));try{aa(t),sd(e.bindingStartIndex),n!==null&&ep(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&si(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ai(t,f,0,null),Sa(t,0)}if(s||aD(t),up(t),dp(t,0),e.contentQueries!==null&&xf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&si(t,f)}else{let f=e.contentHooks;f!==null&&ai(t,f,1),Sa(t,1)}uD(e,t);let d=e.components;d!==null&&pp(t,d,0);let p=e.viewQuery;if(p!==null&&za(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&si(t,f)}else{let f=e.viewHooks;f!==null&&ai(t,f,2),Sa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Uo]){for(let f of t[Uo])f();t[Uo]=null}i||(sp(t),t[E]&=-73)}catch(l){throw i||yt(t),l}finally{u!==null&&(sn(u,c),a&&eD(u)),Ko()}}function dp(e,t){for(let n=_f(e);n!==null;n=Cf(n))for(let r=X;r<n.length;r++){let o=n[r];fp(o,t)}}function aD(e){for(let t=_f(e);t!==null;t=Cf(t)){if(!(t[E]&2))continue;let n=t[Ut];for(let r=0;r<n.length;r++){let o=n[r];Go(o)}}}function cD(e,t,n){A(18);let r=we(t,e);fp(r,n),A(19,r[$])}function fp(e,t){zo(e)&&tc(e,t)}function tc(e,t){let r=e[D],o=e[E],i=e[pe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&an(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)sD(r,e,r.template,e[$]);else if(o&8192){let a=I(null);try{up(e),dp(e,1);let c=r.components;c!==null&&pp(e,c,1),sp(e)}finally{I(a)}}}function pp(e,t,n){for(let r=0;r<t.length;r++)cD(e,t[r],n)}function uD(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)vt(~o);else{let i=o,s=n[++r],a=n[++r];cd(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{vt(-1)}}function qc(e,t){let n=Ea()?64:1088;for(e[Ve].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=dt(e);if(Cn(e)&&!r)return e;e=r}return null}function hp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function gp(e,t){let n=X+t;if(n<e.length)return e[n]}function xr(e,t,n,r=!0){let o=t[D];if(lD(o,t,e,n),r){let s=ec(n,e),a=t[N],c=a.parentNode(e[mt]);c!==null&&Mv(o,e[ie],a,t,c,s)}let i=t[jt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function mp(e,t){let n=Ir(e,t);return n!==void 0&&Oi(n[D],n),n}function Ir(e,t){if(e.length<=X)return;let n=X+t,r=e[n];if(r){let o=r[gt];o!==null&&o!==e&&Hc(o,r),t>0&&(e[n-1][De]=r[De]);let i=or(e,X+t);Sv(r[D],r);let s=i[Be];s!==null&&s.detachView(i[D]),r[Q]=null,r[De]=null,r[E]&=-129}return r}function lD(e,t,n,r){let o=X+r,i=n.length;r>0&&(n[o-1][De]=t),r<i-X?(t[De]=n[o],Ys(n,X+r,t)):(n.push(t),t[De]=null),t[Q]=n;let s=t[gt];s!==null&&n!==s&&yp(s,t);let a=t[Be];a!==null&&a.insertView(e),Wo(t),t[E]|=128}function yp(e,t){let n=e[Ut],r=t[Q];if(He(r))e[E]|=2;else{let o=r[Q][se];t[se]!==o&&(e[E]|=2)}n===null?e[Ut]=[t]:n.push(t)}var Dt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[D];return Er(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[$]}set context(t){this._lView[$]=t}get destroyed(){return zt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Q];if(Ae(t)){let n=t[cr],r=n?n.indexOf(this):-1;r>-1&&(Ir(t,r),or(n,r))}this._attachedToViewContainer=!1}Oi(this._lView[D],this._lView)}onDestroy(t){ca(this._lView,t)}markForCheck(){qc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){Wo(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Wc(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Cn(this._lView),n=this._lView[gt];n!==null&&!t&&Hc(n,this._lView),Yf(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=Cn(this._lView),r=this._lView[gt];r!==null&&!n&&yp(r,this._lView),Wo(this._lView)}};function dD(e){return Tn(e._lView)||!!(e._lView[E]&64)}function fD(e){Go(e._lView)}var Jt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=pD;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Ar(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Dt(i)}}return e})();function pD(){return Vi(K(),v())}function Vi(e,t){return e.type&4?new Jt(t,e,jn(e,t)):null}function en(e,t,n,r,o){let i=e.data[t];if(i===null)i=hD(e,t,n,r,o),ad()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=id();i.injectorIndex=s===null?-1:s.injectorIndex}return Gt(i,!0),i}function hD(e,t,n,r,o){let i=ga(),s=ma(),a=s?i:i&&i.parent,c=e.data[t]=mD(e,a,n,t,r,o);return gD(e,c,i,s),c}function gD(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function mD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return fa()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var r0=new RegExp(`^(\\d+)*(${Ay}|${Ny})*(.*)`);function yD(e){let t=e[ra]??[],r=e[Q][N],o=[];for(let i of t)i.data[Sf]!==void 0?o.push(i):vD(i,r);e[ra]=o}function vD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[bf];for(;n<o;){let i=r.nextSibling;Uf(t,r,!1),r=i,n++}}}var DD=()=>null,ED=()=>null;function vi(e,t){return DD(e,t)}function vp(e,t,n){return ED(e,t,n)}var Dp=class{},Bi=class{},nc=class{resolveComponentFactory(t){throw new y(917,!1)}},Hi=class{static NULL=new nc},Xe=class{},Rr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ID()}return e})();function ID(){let e=v(),t=K(),n=we(t.index,e);return(He(n)?n:e)[N]}var Ep=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>null})}return e})();var ui={},rc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ui,r);return o!==ui||n===ui?o:this.parentInjector.get(t,n,r)}};function Di(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=ko(o,a);else if(i==2){let c=a,u=t[++s];r=ko(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ae(e,t=0){let n=v();if(n===null)return C(e,t);let r=K();return yf(r,n,Y(e),t)}function Ip(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}CD(e,t,n,a,i,c,u)}i!==null&&r!==null&&wD(n,r,i)}function wD(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new y(-301,!1);r.push(t[o],i)}}function _D(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function CD(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&xe(f)&&(c=!0,_D(e,n,p)),Ba(gi(n,t),e,f.type)}AD(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Wf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Rn(n.mergedAttrs,f.hostAttrs),bD(e,n,t,d,f),ND(d,f,o),s!==null&&s.has(f)){let[m,M]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,M+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}TD(e,n,i)}function TD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Ld(0,t,o,r),Ld(1,t,o,r),jd(t,r,!1);else{let i=n.get(o);Pd(0,t,i,r),Pd(1,t,i,r),jd(t,r,!0)}}}function Ld(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),wp(t,i)}}function Pd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),wp(t,s)}}function wp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function jd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Lc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function bD(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=lt(o.type,!0)),s=new Kt(i,xe(o),ae,null);e.blueprint[r]=s,n[r]=s,SD(e,t,r,Wf(e,n,o.hostVars,he),o)}function SD(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;MD(s)!=a&&s.push(a),s.push(n,r,i)}}function MD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ND(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;xe(t)&&(n[""]=e)}}function AD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Zc(e,t,n,r,o,i,s,a){let c=t[D],u=c.consts,l=_e(u,s),d=en(c,e,n,r,l);return i&&Ip(c,t,d,_e(u,a),o),d.mergedAttrs=Rn(d.mergedAttrs,d.attrs),d.attrs!==null&&Di(d,d.attrs,!1),d.mergedAttrs!==null&&Di(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Yc(e,t){uf(e,t),oa(t)&&e.queries.elementEnd(t)}function _p(e,t,n,r,o,i){let s=t.consts,a=_e(s,o),c=en(t,e,n,r,a);if(c.mergedAttrs=Rn(c.mergedAttrs,c.attrs),i!=null){let u=_e(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Di(c,c.attrs,!1),c.mergedAttrs!==null&&Di(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Qc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Cp(e,t,n){return e[t]=n}function le(e,t,n){if(n===he)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function xD(e,t,n,r){let o=le(e,t,n);return le(e,t+1,r)||o}function li(e,t,n){return function r(o){let i=Ze(e)?we(e.index,t):t;qc(i,5);let s=t[$],a=Vd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Vd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Vd(e,t,n,r){let o=I(null);try{return A(6,t,n),n(r)!==!1}catch(i){return qv(e,i),!1}finally{A(7,t,n),I(o)}}function Tp(e,t,n,r,o,i,s,a){let c=_n(e),u=!1,l=null;if(!r&&c&&(l=RD(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ie(e,n),p=r?r(d):d;Ry(n,p,i,a);let f=o.listen(p,i,a),h=r?m=>r(Ee(m[e.index])):e.index;bp(h,t,n,i,a,f,!1)}return u}function RD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[In],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function bp(e,t,n,r,o,i,s){let a=t.firstCreatePass?la(t):null,c=ua(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Bd(e,t,n,r,o,i){let s=t[n],a=t[D],u=a.data[n].outputs[r],d=s[u].subscribe(i);bp(e.index,a,t,o,i,d,!0)}var oc=Symbol("BINDING");var ic=class extends Hi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ht(t);return new Fn(n,this.ngModule)}};function OD(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ri.SignalBased)!==0};return o&&(i.transform=o),i})}function kD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function FD(e,t,n){let r=t instanceof ue?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new rc(n,r):n}function LD(e){let t=e.get(Xe,null);if(t===null)throw new y(407,!1);let n=e.get(Ep,null),r=e.get(Se,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function PD(e,t){let n=Sp(e);return Hf(t,n,n==="svg"?ia:n==="math"?Yl:null)}function Sp(e){return(e.selectors[0][0]||"div").toLowerCase()}var Fn=class extends Bi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=OD(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=kD(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=mv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(22);let a=I(null);try{let c=this.componentDef,u=jD(r,c,s,i),l=FD(c,o||this.ngModule,t),d=LD(l),p=d.rendererFactory.createRenderer(null,c),f=r?jv(p,r,c.encapsulation,l):PD(c,p),h=s?.some(Hd)||i?.some(b=>typeof b!="function"&&b.bindings.some(Hd)),m=jc(null,u,null,512|Gf(c),null,null,d,p,l,null,Af(f,l,!0));m[R]=f,Qo(m);let M=null;try{let b=Zc(R,m,2,"#host",()=>u.directiveRegistry,!0,0);f&&(zf(p,f,b),On(f,m)),Fi(u,m,b),Ac(u,b,m),Yc(u,b),n!==void 0&&BD(b,this.ngContentSelectors,n),M=we(b.index,m),m[$]=M[$],Gc(u,m,null)}catch(b){throw M!==null&&$a(M),$a(m),b}finally{A(23),Ko()}return new Ei(this.componentType,m,!!h)}finally{I(a)}}};function jD(e,t,n,r){let o=e?["ng-version","20.2.3"]:yv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[oc].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[oc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Bo(d);c.push(p)}return Pc(0,null,VD(i,s),1,a,c,null,null,null,[o],null)}function VD(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Hd(e){let t=e[oc].kind;return t==="input"||t==="twoWay"}var Ei=class extends Dp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ur(n[D],R),this.location=jn(this._tNode,n),this.instance=we(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new Dt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=ji(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=we(r.index,o);qc(s,1)}get injector(){return new Qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function BD(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var tn=(()=>{class e{static __NG_ELEMENT_ID__=HD}return e})();function HD(){let e=K();return Np(e,v())}var $D=tn,Mp=class extends $D{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return jn(this._hostTNode,this._hostLView)}get injector(){return new Qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=bc(this._hostTNode,this._hostLView);if(df(t)){let n=pi(t,this._hostLView),r=fi(t),o=n[D].data[r+8];return new Qt(o,n)}else return new Qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$d(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-X}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=vi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,kn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!ny(t),u;if(c)u=n;else{let M=n||{};u=M.index,r=M.injector,o=M.projectableNodes,i=M.environmentInjector||M.ngModuleRef,s=M.directives,a=M.bindings}let l=c?t:new Fn(ht(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let b=(c?d:this.parentInjector).get(ue,null);b&&(i=b)}let p=ht(l.componentType??{}),f=vi(this._lContainer,p?.id??null),h=f?.firstChild??null,m=l.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,u,kn(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Kl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Q],u=new Mp(c,c[ie],c[Q]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return xr(s,o,i,r),t.attachToViewContainerRef(),Ys(Aa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$d(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ir(this._lContainer,n);r&&(or(Aa(this._lContainer),n),Oi(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=Ir(this._lContainer,n);return r&&or(Aa(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function $d(e){return e[cr]}function Aa(e){return e[cr]||(e[cr]=[])}function Np(e,t){let n,r=t[e.index];return Ae(r)?n=r:(n=hp(r,t,null,e),t[e.index]=n,Vc(t,n)),zD(n,t,e,r),new Mp(n,e,t)}function UD(e,t){let n=e[N],r=n.createComment(""),o=Ie(t,e),i=n.parentNode(o);return yi(n,i,r,n.nextSibling(o),!1),r}var zD=qD,GD=()=>!1;function WD(e,t,n){return GD(e,t,n)}function qD(e,t,n,r){if(e[mt])return;let o;n.type&8?o=Ee(r):o=UD(t,n),e[mt]=o}var sc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ac=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Jc(t,n).matches!==null&&this.queries[n].setDirty()}},cc=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=XD(t):this.predicate=t}},uc=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},lc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,ZD(n,i)),this.matchTNodeWithReadOption(t,n,ci(n,t,i,!1,!1))}else r===Jt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ci(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Fe||o===tn||o===Jt&&n.type&4)this.addMatch(n.index,-2);else{let i=ci(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function ZD(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function YD(e,t){return e.type&11?jn(e,t):e.type&4?Vi(e,t):null}function QD(e,t,n,r){return n===-1?YD(t,e):n===-2?KD(e,t,r):Dr(e,e[D],n,t)}function KD(e,t,n){if(n===Fe)return jn(t,e);if(n===Jt)return Vi(t,e);if(n===tn)return Np(t,e)}function Ap(e,t,n,r){let o=t[Be].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(QD(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function dc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Ap(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=X;d<l.length;d++){let p=l[d];p[gt]===p[Q]&&dc(p[D],p,u,r)}if(l[Ut]!==null){let d=l[Ut];for(let p=0;p<d.length;p++){let f=d[p];dc(f[D],f,u,r)}}}}}return r}function Kc(e,t){return e[Be].queries[t].queryList}function JD(e,t,n){let r=new mi((n&4)===4);return ed(e,t,r,r.destroy),(t[Be]??=new ac).queries.push(new sc(r))-1}function xp(e,t,n){let r=k();return r.firstCreatePass&&(eE(r,new cc(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),JD(r,v(),t)}function XD(e){return e.split(",").map(t=>t.trim())}function eE(e,t,n){e.queries===null&&(e.queries=new uc),e.queries.track(new lc(t,n))}function Jc(e,t){return e.queries.getByIndex(t)}function Rp(e,t){let n=e[D],r=Jc(n,t);return r.crossesNgTemplate?dc(n,e,t,[]):Ap(n,e,r,t)}function Op(e,t,n){let r,o=Gn(()=>{r._dirtyCounter();let i=nE(r,e);if(t&&i===void 0)throw new y(-951,!1);return i});return r=o[Z],r._dirtyCounter=Wt(0),r._flatValue=void 0,o}function kp(e){return Op(!0,!1,e)}function Fp(e){return Op(!0,!0,e)}function tE(e,t){let n=e[Z];n._lView=v(),n._queryIndex=t,n._queryList=Kc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function nE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:te;let o=Kc(n,r),i=Rp(n,r);return o.reset(i,Ef),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Ud=new Set;function nt(e){Ud.has(e)||(Ud.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var wr=class{};var _r=class extends wr{injector;componentFactoryResolver=new ic(this);instance=null;constructor(t){super();let n=new kt([...t.providers,{provide:wr,useValue:this},{provide:Hi,useValue:this.componentFactoryResolver}],t.parent||En(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Lp(e,t,n=null){return new _r({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var rE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Js(!1,n.type),o=r.length>0?Lp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=_({token:e,providedIn:"environment",factory:()=>new e(C(ue))})}return e})();function Pp(e){return Sr(()=>{let t=jp(e),n=H(V({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Sc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(rE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ke.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&nt("NgStandalone"),Vp(n);let r=e.dependencies;return n.directiveDefs=zd(r,oE),n.pipeDefs=zd(r,$l),n.id=aE(n),n})}function oE(e){return ht(e)||Bo(e)}function Hn(e){return Sr(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function iE(e,t){if(e==null)return Me;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ri.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function sE(e){if(e==null)return Me;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function $n(e){return Sr(()=>{let t=jp(e);return Vp(t),t})}function Xc(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 jp(e){let t={};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:t,inputConfig:e.inputs||Me,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:iE(e.inputs,t),outputs:sE(e.outputs),debugInfo:null}}function Vp(e){e.features?.forEach(t=>t(e))}function zd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function aE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function cE(e){return Object.getPrototypeOf(e.prototype).constructor}function eu(e){let t=cE(e.type),n=!0,r=[e];for(;t;){let o;if(xe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new y(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=xa(e.inputs),s.declaredInputs=xa(e.declaredInputs),s.outputs=xa(e.outputs);let a=o.hostBindings;a&&pE(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&dE(e,c),u&&fE(e,u),uE(e,o),Ol(e.outputs,o.outputs),xe(o)&&o.data.animation){let l=e.data;l.animation=(l.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===eu&&(n=!1)}}t=Object.getPrototypeOf(t)}lE(r)}function uE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function lE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Rn(o.hostAttrs,n=Rn(n,o.hostAttrs))}}function xa(e){return e===Me?{}:e===te?[]:e}function dE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function fE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function pE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function hE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=gE,n.hostDirectives=r?e.map(fc):[e]):r?n.hostDirectives.unshift(...e.map(fc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function gE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Bp(s,t,r),o.set(s,[a,t.length-1])}i===0&&xe(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Bp(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Gd(fc(i),t,n)}else Gd(r,t,n)}function Gd(e,t,n){let r=Bo(e.directive);mE(r.declaredInputs,e.inputs),Bp(r,t,n),n.set(r,e),t.push(r)}function fc(e){return typeof e=="function"?{directive:Y(e),inputs:Me,outputs:Me}:{directive:Y(e.directive),inputs:Wd(e.inputs),outputs:Wd(e.outputs)}}function Wd(e){if(e===void 0||e.length===0)return Me;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function mE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Hp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Rn(e.mergedAttrs,e.attrs);let l=e.tView=Pc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Gt(e,!1);let c=vE(n,t,e,r);Jo()&&$c(n,t,c,e),On(c,t);let u=hp(c,t,c,e);t[r+R]=u,Vc(t,u),WD(u,e,t)}function yE(e,t,n,r,o,i,s,a,c,u,l){let d=n+R,p;return t.firstCreatePass?(p=en(t,d,4,s||null,a||null),qo()&&Ip(t,e,p,_e(t.consts,u),zc),uf(t,p)):p=t.data[d],Hp(p,e,t,n,r,o,i,c),_n(p)&&Fi(t,e,p),u!=null&&Bn(e,p,l),p}function Cr(e,t,n,r,o,i,s,a,c,u,l){let d=n+R,p;if(t.firstCreatePass){if(p=en(t,d,4,s||null,a||null),u!=null){let f=_e(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Hp(p,e,t,n,r,o,i,c),u!=null&&Bn(e,p,l),p}function $p(e,t,n,r,o,i,s,a){let c=v(),u=k(),l=_e(u.consts,i);return yE(c,u,e,t,n,r,o,l,void 0,s,a),$p}var vE=DE;function DE(e,t,n,r){return gr(!0),t[N].createComment("")}var $i=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})($i||{}),nn=new w(""),Up=!1,pc=class extends ce{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,ql()&&(this.destroyRef=g(Ye,{optional:!0})??void 0,this.pendingTasks=g(qt,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Oe=pc;function zp(e){let t,n;function r(){e=Zt;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function qd(e){return queueMicrotask(()=>e()),()=>{e=Zt}}var tu="isAngularZone",Ii=tu+"_ID",EE=0,B=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Oe(!1);onMicrotaskEmpty=new Oe(!1);onStable=new Oe(!1);onError=new Oe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Up}=t;if(typeof Zone>"u")throw new y(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)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,_E(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(tu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,IE,Zt,Zt);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},IE={};function nu(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 wE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){zp(()=>{e.callbackScheduled=!1,hc(e),e.isCheckStableRunning=!0,nu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),hc(e)}function _E(e){let t=()=>{wE(e)},n=EE++;e._inner=e._inner.fork({name:"angular",properties:{[tu]:!0,[Ii]:n,[Ii+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(CE(c))return r.invokeTask(i,s,a,c);try{return Zd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Yd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Zd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!TE(c)&&t(),Yd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,hc(e),nu(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 hc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Zd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yd(e){e._nesting--,nu(e)}var Tr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Oe;onMicrotaskEmpty=new Oe;onStable=new Oe;onError=new Oe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function CE(e){return Gp(e,"__ignore_ng_zone__")}function TE(e){return Gp(e,"__scheduler_tick__")}function Gp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ru=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),Wp=[0,1,2,3],qp=(()=>{class e{ngZone=g(B);scheduler=g(Se);errorHandler=g(fe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(nn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(16),this.executing=!0;for(let r of Wp)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(),n&&A(17)}register(n){let{view:r}=n;r!==void 0?((r[$t]??=[]).push(n),yt(r),r[E]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run($i.AFTER_NEXT_RENDER,n):n()}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),wi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,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 t=this.view?.[$t];t&&(this.view[$t]=t.filter(n=>n!==this))}};function Zp(e,t){let n=t?.injector??g(oe);return nt("NgAfterNextRender"),SE(e,n,t,!0)}function bE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function SE(e,t,n,r){let o=t.get(ru);o.impl??=t.get(qp);let i=t.get(nn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ye):null,a=t.get(Nn,null,{optional:!0}),c=new wi(o.impl,bE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var ou=new w("");function Ui(e){return!!e&&typeof e.then=="function"}function iu(e){return!!e&&typeof e.subscribe=="function"}var Yp=new w("");var su=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Yp,{optional:!0})??[];injector=g(oe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=$o(this.injector,o);if(Ui(i))n.push(i);else if(iu(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qp=new w("");function Kp(){gs(()=>{let e="";throw new y(600,e)})}function Jp(e){return e.isBoundToModule}var ME=10;var rt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Qe);afterRenderManager=g(ru);zonelessEnabled=g(Mn);rootEffectScheduler=g(mr);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ce;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(qt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Kn(n=>!n))}constructor(){g(nn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ue);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=oe.NULL){return this._injector.get(B).run(()=>{A(10);let s=n instanceof Bi;if(!this._injector.get(su).done){let h="";throw new y(405,h)}let c;s?c=n:c=this._injector.get(Hi).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Jp(c)?void 0:this._injector.get(wr),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(ou,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),vr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run($i.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new y(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Xe,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<ME;)A(14),this.synchronizeOnce(),A(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!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&&!Tn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Wc(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Tn(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;vr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Qp,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>vr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ra="aria";function Xp(e,t){let n=v(),r=$e();if(le(n,r,t)){let o=k(),i=Sn();if(ji(i,o,n,e,t))Ze(i)&&rp(n,i.index);else{let a=Ie(i,n),c=NE(e);op(n[N],a,null,i.value,c,t,null)}}return Xp}function NE(e){return e.charAt(Ra.length)!=="-"?Ra+"-"+e.slice(Ra.length).toLowerCase():e}function eh(e,t,n,r){let o=v(),i=$e();if(le(o,i,t)){let s=k(),a=Sn();Gv(a,o,e,t,n,r)}return eh}var au=new w("",{providedIn:"root",factory:()=>!1}),cu=new w("",{providedIn:"root",factory:()=>AE}),AE=4e3;var u0=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var gc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),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(t,n){this.attach(n,this.detach(t))}};function Oa(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function xE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Oa(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[c],h=Oa(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,u),M=n(s,p),b=n(i,l);if(Object.is(b,M)){let Un=n(c,f);Object.is(Un,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new _i,o??=Kd(e,i,s,n),mc(e,r,i,b))e.updateValue(i,l),i++,s++;else if(o.has(b))r.set(m,e.detach(i)),s--;else{let Un=e.create(i,t[i]);e.attach(i,Un),i++,s++}}for(;i<=c;)Qd(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,p=Oa(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new _i,o??=Kd(e,i,s,n);let f=n(i,d);if(mc(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!u.done;)Qd(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function mc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Qd(e,t,n,r,o){if(mc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Kd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var _i=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function RE(e,t,n,r,o,i,s,a){nt("NgControlFlow");let c=v(),u=k(),l=_e(u.consts,i);return Cr(c,u,e,t,n,r,o,l,256,s,a),uu}function uu(e,t,n,r,o,i,s,a){nt("NgControlFlow");let c=v(),u=k(),l=_e(u.consts,i);return Cr(c,u,e,t,n,r,o,l,512,s,a),uu}function OE(e,t){nt("NgControlFlow");let n=v(),r=$e(),o=n[r]!==he?n[r]:-1,i=o!==-1?Ci(n,R+o):void 0,s=0;if(le(n,r,e)){let a=I(null);try{if(i!==void 0&&mp(i,s),e!==-1){let c=R+e,u=Ci(n,c),l=Ec(n[D],c),d=vp(u,l,n),p=Ar(n,l,t,{dehydratedView:d});xr(u,p,s,kn(l,d))}}finally{I(a)}}else if(i!==void 0){let a=gp(i,s);a!==void 0&&(a[$]=t)}}var yc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-X}};function kE(e){return e}function FE(e,t){return t}var vc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function LE(e,t,n,r,o,i,s,a,c,u,l,d,p){nt("NgControlFlow");let f=v(),h=k(),m=c!==void 0,M=v(),b=a?s.bind(M[se][$]):s,Un=new vc(m,b);M[R+e]=Un,Cr(f,h,e+1,t,n,r,o,_e(h.consts,i),256),m&&Cr(f,h,e+2,c,u,l,d,_e(h.consts,p),512)}var Dc=class extends gc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-X}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[jt];this.needsIndexUpdate||=t!==this.length,xr(this.lContainer,n,t,kn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,jE(this.lContainer,t)}create(t,n){let r=vi(this.lContainer,this.templateTNode.tView.ssrId),o=Ar(this.hostLView,this.templateTNode,new yc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Oi(t[D],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return VE(this.lContainer,t)}};function PE(e){let t=I(null),n=Ue();try{let r=v(),o=r[D],i=r[n],s=n+1,a=Ci(r,s);if(i.liveCollection===void 0){let u=Ec(o,s);i.liveCollection=new Dc(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(xE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=$e(),l=c.length===0;if(le(r,u,l)){let d=n+2,p=Ci(r,d);if(l){let f=Ec(o,d),h=vp(p,f,r),m=Ar(r,f,void 0,{dehydratedView:h});xr(p,m,0,kn(f,h))}else o.firstUpdatePass&&yD(p),mp(p,0)}}}finally{I(t)}}function Ci(e,t){return e[t]}function jE(e,t){return Ir(e,t)}function VE(e,t){return gp(e,t)}function Ec(e,t){return ur(e,t)}function th(e,t,n){let r=v(),o=$e();if(le(r,o,t)){let i=k(),s=Sn();tp(s,r,e,t,r[N],n)}return th}function Ic(e,t,n,r,o){ji(t,e,n,o?"class":"style",r)}function lu(e,t,n,r){let o=v(),i=o[D],s=e+R,a=i.firstCreatePass?Zc(s,o,2,t,zc,qo(),n,r):i.data[s];if(Li(a,o,e,t,rh),_n(a)){let c=o[D];Fi(c,o,a),Ac(c,a,o)}return r!=null&&Bn(o,a),lu}function du(){let e=k(),t=K(),n=Pi(t);return e.firstCreatePass&&Yc(e,n),pa(n)&&ha(),da(),n.classesWithoutHost!=null&&cy(n)&&Ic(e,n,v(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&uy(n)&&Ic(e,n,v(),n.stylesWithoutHost,!1),du}function nh(e,t,n,r){return lu(e,t,n,r),du(),nh}function zi(e,t,n,r){let o=v(),i=o[D],s=e+R,a=i.firstCreatePass?_p(s,i,2,t,n,r):i.data[s];return Li(a,o,e,t,rh),r!=null&&Bn(o,a),zi}function Gi(){let e=K(),t=Pi(e);return pa(t)&&ha(),da(),Gi}function fu(e,t,n,r){return zi(e,t,n,r),Gi(),fu}var rh=(e,t,n,r,o)=>(gr(!0),Hf(t[N],r,yd()));function pu(e,t,n){let r=v(),o=r[D],i=e+R,s=o.firstCreatePass?Zc(i,r,8,"ng-container",zc,qo(),t,n):o.data[i];if(Li(s,r,e,"ng-container",ah),_n(s)){let a=r[D];Fi(a,r,s),Ac(a,s,r)}return n!=null&&Bn(r,s),pu}function Wi(){let e=k(),t=K(),n=Pi(t);return e.firstCreatePass&&Yc(e,n),Wi}function oh(e,t,n){return pu(e,t,n),Wi(),oh}function hu(e,t,n){let r=v(),o=r[D],i=e+R,s=o.firstCreatePass?_p(i,o,8,"ng-container",t,n):o.data[i];return Li(s,r,e,"ng-container",ah),n!=null&&Bn(r,s),hu}function ih(){let e=K(),t=Pi(e);return Wi}function sh(e,t,n){return hu(e,t,n),ih(),sh}var ah=(e,t,n,r,o)=>(gr(!0),Ev(t[N],""));function BE(){return v()}function ch(e,t,n){let r=v(),o=$e();if(le(r,o,t)){let i=k(),s=Sn();np(s,r,e,t,r[N],n)}return ch}var Yt=void 0;function HE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var $E=["en",[["a","p"],["AM","PM"],Yt],[["AM","PM"],Yt,Yt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Yt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Yt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Yt,"{1} 'at' {0}",Yt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",HE],ka={};function ge(e){let t=UE(e),n=Jd(t);if(n)return n;let r=t.split("-")[0];if(n=Jd(r),n)return n;if(r==="en")return $E;throw new y(701,!1)}function Jd(e){return e in ka||(ka[e]=ve.ng&&ve.ng.common&&ve.ng.common.locales&&ve.ng.common.locales[e]),ka[e]}var U=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(U||{});function UE(e){return e.toLowerCase().replace(/_/g,"-")}var Or="en-US";var zE=Or;function uh(e){typeof e=="string"&&(zE=e.toLowerCase().replace(/_/g,"-"))}function lh(e,t,n){let r=v(),o=k(),i=K();return fh(o,r,r[N],i,e,t,n),lh}function dh(e,t,n){let r=v(),o=k(),i=K();return(i.type&3||n)&&Tp(i,o,r,n,r[N],e,t,li(i,r,t)),dh}function fh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=li(r,t,i),Tp(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=li(r,t,i),Bd(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=li(r,t,i),Bd(r,t,d,o,o,c)}}function GE(e=1){return hd(e)}function WE(e,t){let n=null,r=dv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Bf(e,i,!0):hv(r,i))return o}return n}function ph(e){let t=v()[se][ie];if(!t.projection){let n=e?e.length:1,r=t.projection=Bl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?WE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function hh(e,t=0,n,r,o,i){let s=v(),a=k(),c=r?e+1:null;c!==null&&Cr(s,a,c,r,o,i,null,n);let u=en(a,R+e,16,null,n||null);u.projection===null&&(u.projection=t),ya();let d=!s[jt]||fa();s[se][ie].projection[u.projection]===null&&c!==null?qE(s,a,c):d&&!Ni(u)&&Fv(a,s,u)}function qE(e,t,n){let r=R+n,o=t.data[r],i=e[r],s=vi(i,o.tView.ssrId),a=Ar(e,o,void 0,{dehydratedView:s});xr(i,a,0,kn(o,s))}function gh(e,t,n){xp(e,t,n)}function mh(e){let t=v(),n=k(),r=Yo();hr(r+1);let o=Jc(n,r);if(e.dirty&&Ql(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Rp(t,r);e.reset(i,Ef),e.notifyOnChanges()}return!0}return!1}function yh(){return Kc(v(),Yo())}function ZE(e,t,n,r){tE(e,xp(t,n,r))}function YE(e=1){hr(Yo()+e)}function QE(e){let t=va();return lr(t,R+e)}function ii(e,t){return e<<17|t<<2}function Xt(e){return e>>17&32767}function KE(e){return(e&2)==2}function JE(e,t){return e&131071|t<<17}function wc(e){return e|2}function Ln(e){return(e&131068)>>2}function Fa(e,t){return e&-131069|t<<2}function XE(e){return(e&1)===1}function _c(e){return e|1}function eI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Xt(s),c=Ln(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Dn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Xt(e[a+1]);e[r+1]=ii(p,a),p!==0&&(e[p+1]=Fa(e[p+1],r)),e[a+1]=JE(e[a+1],r)}else e[r+1]=ii(a,0),a!==0&&(e[a+1]=Fa(e[a+1],r)),a=r;else e[r+1]=ii(c,0),a===0?a=r:e[c+1]=Fa(e[c+1],r),c=r;u&&(e[r+1]=wc(e[r+1])),Xd(e,l,r,!0),Xd(e,l,r,!1),tI(t,l,e,r,i),s=ii(a,c),i?t.classBindings=s:t.styleBindings=s}function tI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Dn(i,t)>=0&&(n[r+1]=_c(n[r+1]))}function Xd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Xt(o):Ln(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];nI(c,t)&&(a=!0,e[s+1]=r?_c(u):wc(u)),s=r?Xt(u):Ln(u)}a&&(e[n+1]=r?wc(o):_c(o))}function nI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Dn(e,t)>=0:!1}var J={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vh(e){return e.substring(J.key,J.keyEnd)}function rI(e){return e.substring(J.value,J.valueEnd)}function oI(e){return Ih(e),Dh(e,Pn(e,0,J.textEnd))}function Dh(e,t){let n=J.textEnd;return n===t?-1:(t=J.keyEnd=sI(e,J.key=t,n),Pn(e,t,n))}function iI(e){return Ih(e),Eh(e,Pn(e,0,J.textEnd))}function Eh(e,t){let n=J.textEnd,r=J.key=Pn(e,t,n);return n===r?-1:(r=J.keyEnd=aI(e,r,n),r=ef(e,r,n,58),r=J.value=Pn(e,r,n),r=J.valueEnd=cI(e,r,n),ef(e,r,n,59))}function Ih(e){J.key=0,J.keyEnd=0,J.value=0,J.valueEnd=0,J.textEnd=e.length}function Pn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function sI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function aI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function ef(e,t,n,r){return t=Pn(e,t,n),t<n&&t++,t}function cI(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=tf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=tf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function tf(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function gu(e,t,n){return wh(e,t,n,!1),gu}function mu(e,t){return wh(e,t,null,!0),mu}function uI(e){_h(bh,lI,e,!1)}function lI(e,t){for(let n=iI(t);n>=0;n=Eh(t,n))bh(e,vh(t),rI(t))}function dI(e){_h(vI,fI,e,!0)}function fI(e,t){for(let n=oI(t);n>=0;n=Dh(t,n))ir(e,vh(t),!0)}function wh(e,t,n,r){let o=v(),i=k(),s=Ia(2);if(i.firstUpdatePass&&Th(i,e,s,r),t!==he&&le(o,s,t)){let a=i.data[Ue()];Sh(i,a,o,o[N],e,o[s+1]=EI(t,n),r,s)}}function _h(e,t,n,r){let o=k(),i=Ia(2);o.firstUpdatePass&&Th(o,null,i,r);let s=v();if(n!==he&&le(s,i,n)){let a=o.data[Ue()];if(Mh(a,r)&&!Ch(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ko(c,n||"")),Ic(o,a,s,n,r)}else DI(o,a,s,s[N],s[i+1],s[i+1]=yI(e,t,n),r,i)}}function Ch(e,t){return t>=e.expandoStartIndex}function Th(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ue()],s=Ch(e,n);Mh(i,r)&&t===null&&!s&&(t=!1),t=pI(o,i,t,r),eI(o,i,t,n,s,r)}}function pI(e,t,n,r){let o=ld(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=La(null,e,t,n,r),n=br(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=La(o,e,t,n,r),i===null){let c=hI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=La(null,e,t,c[1],r),c=br(c,t.attrs,r),gI(e,t,r,c))}else i=mI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function hI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ln(r)!==0)return e[Xt(r)]}function gI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Xt(o)]=r}function mI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=br(r,s,n)}return br(r,t.attrs,n)}function La(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=br(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function br(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ir(e,s,n?!0:t[++i]))}return e===void 0?null:e}function yI(e,t,n){if(n==null||n==="")return te;let r=[],o=Ce(n);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"&&t(r,o);return r}function bh(e,t,n){ir(e,t,Ce(n))}function vI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ir(e,r,n)}function DI(e,t,n,r,o,i,s,a){o===he&&(o=te);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,m;l===d?(c+=2,u+=2,p!==f&&(h=d,m=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,m=f),h!==null&&Sh(e,t,n,r,h,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Sh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=XE(u)?nf(c,t,n,o,Ln(u),s):void 0;if(!Ti(l)){Ti(i)||KE(u)&&(i=nf(c,null,n,o,a,s));let d=sa(Ue(),n);Pv(r,s,d,o,i)}}function nf(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===he&&(p=d?te:void 0);let f=d?Vo(p,r):l===r?p:void 0;if(u&&!Ti(f)&&(f=Vo(c,r)),Ti(f)&&(a=f,s))return a;let h=e[o+1];o=s?Xt(h):Ln(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Vo(c,r))}return a}function Ti(e){return e!==void 0}function EI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ut(Ce(e)))),e}function Mh(e,t){return(e.flags&(t?8:16))!==0}function II(e,t=""){let n=v(),r=k(),o=e+R,i=r.firstCreatePass?en(r,o,1,t,null):r.data[o],s=wI(r,n,i,t,e);n[o]=s,Jo()&&$c(r,n,s,i),Gt(i,!1)}var wI=(e,t,n,r,o)=>(gr(!0),vv(t[N],r));function Nh(e,t,n,r=""){return le(e,$e(),n)?t+Pt(n)+r:he}function Ah(e){return yu("",e),Ah}function yu(e,t,n){let r=v(),o=Nh(r,e,t,n);return o!==he&&_I(r,Ue(),o),yu}function _I(e,t,n){let r=sa(t,e);Dv(e[N],r,n)}function xh(e,t,n){Ta(t)&&(t=t());let r=v(),o=$e();if(le(r,o,t)){let i=k(),s=Sn();tp(s,r,e,t,r[N],n)}return xh}function CI(e,t){let n=Ta(e);return n&&e.set(t),n}function Rh(e,t){let n=v(),r=k(),o=K();return fh(r,n,n[N],o,e,t),Rh}var Oh={};function kh(e){let t=k(),n=v(),r=e+R,o=en(t,r,128,null,null);return Gt(o,!1),dr(t,n,r,Oh),kh}function TI(e){nt("NgLet");let t=k(),n=v(),r=Ue();return dr(t,n,r,e),e}function bI(e){let t=va(),n=lr(t,R+e);if(n===Oh)throw new y(314,!1);return n}function SI(e){return le(v(),$e(),e)?Pt(e):he}function MI(e,t,n=""){return Nh(v(),e,t,n)}function NI(e,t,n){let r=k();if(r.firstCreatePass){let o=xe(e);Cc(n,r.data,r.blueprint,o,!0),Cc(t,r.data,r.blueprint,o,!1)}}function Cc(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)Cc(e[i],t,n,r,o);else{let i=k(),s=v(),a=K(),c=Ot(e)?e:Y(e.provide),u=ea(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ot(e)||!e.multi){let f=new Kt(u,o,ae,null),h=ja(c,t,o?l:l+p,d);h===-1?(Ba(gi(a,s),i,c),Pa(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ja(c,t,l+p,d),h=ja(c,t,l,l+p),m=f>=0&&n[f],M=h>=0&&n[h];if(o&&!M||!o&&!m){Ba(gi(a,s),i,c);let b=RI(o?xI:AI,n.length,o,r,u,e);!o&&M&&(n[h].providerFactory=b),Pa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=Fh(n[o?h:f],u,!o&&r);Pa(i,e,f>-1?f:h,b)}!o&&r&&M&&n[h].componentProviders++}}}function Pa(e,t,n,r){let o=Ot(t),i=Wl(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Fh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ja(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function AI(e,t,n,r,o){return Tc(this.multi,[])}function xI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Dr(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),Tc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Tc(i,s);return s}function Tc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function RI(e,t,n,r,o,i){let s=new Kt(e,n,ae,null);return s.multi=[],s.index=t,s.componentProviders=0,Fh(s,o,r&&!n),s}function Lh(e,t=[]){return n=>{n.providersResolver=(r,o)=>NI(r,o?o(e):e,t)}}function OI(e,t,n,r){return jh(v(),pr(),e,t,n,r)}function kI(e,t,n,r,o){return Vh(v(),pr(),e,t,n,r,o)}function Ph(e,t){let n=e[t];return n===he?void 0:n}function jh(e,t,n,r,o,i){let s=t+n;return le(e,s,o)?Cp(e,s+1,i?r.call(i,o):r(o)):Ph(e,s+1)}function Vh(e,t,n,r,o,i,s){let a=t+n;return xD(e,a,o,i)?Cp(e,a+2,s?r.call(s,o,i):r(o,i)):Ph(e,a+2)}function FI(e,t){let n=k(),r,o=e+R;n.firstCreatePass?(r=LI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=lt(r.type,!0)),s,a=re(ae);try{let c=hi(!1),u=i();return hi(c),dr(n,v(),o,u),u}finally{re(a)}}function LI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function PI(e,t,n){let r=e+R,o=v(),i=lr(o,r);return Bh(o,r)?jh(o,pr(),t,i.transform,n,i):i.transform(n)}function jI(e,t,n,r){let o=e+R,i=v(),s=lr(i,o);return Bh(i,o)?Vh(i,pr(),t,s.transform,n,r,s):s.transform(n,r)}function Bh(e,t){return e[D].data[t].pure}function VI(e,t){return Vi(e,t)}var BI=(()=>{class e{zone=g(B);changeDetectionScheduler=g(Se);applicationRef=g(rt);applicationErrorHandler=g(Qe);_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(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new B(H(V({},$h()),{scheduleInRootZone:n})),[{provide:B,useFactory:e},{provide:pt,multi:!0,useFactory:()=>{let r=g(BI,{optional:!0});return()=>r.initialize()}},{provide:pt,multi:!0,useFactory:()=>{let r=g(HI);return()=>{r.initialize()}}},t===!0?{provide:ba,useValue:!0}:[],{provide:ti,useValue:n??Up},{provide:Qe,useFactory:()=>{let r=g(B),o=g(ue),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(fe),i.handleError(s))})}}}]}function $h(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var HI=(()=>{class e{subscription=new z;initialized=!1;zone=g(B);pendingTasks=g(qt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{B.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var vu=(()=>{class e{applicationErrorHandler=g(Qe);appRef=g(rt);taskService=g(qt);ngZone=g(B);zonelessEnabled=g(Mn);tracing=g(nn,{optional:!0});disableScheduling=g(ba,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ii):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(ti,{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 Tr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){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}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?qd:zp;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ii+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,qd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $I(){return nt("NgZoneless"),Ho([{provide:Se,useExisting:vu},{provide:B,useClass:Tr},{provide:Mn,useValue:!0},{provide:ti,useValue:!1},[]])}function UI(){return typeof $localize<"u"&&$localize.locale||Or}var kr=new w("",{providedIn:"root",factory:()=>g(kr,{optional:!0,skipSelf:!0})||UI()});var Fr=class{destroyed=!1;listeners=null;errorHandler=g(fe,{optional:!0});destroyRef=g(Ye);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new y(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(ft(953,!1));return}if(this.listeners===null)return;let n=I(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{I(n)}}};function zI(e,t){return Gn(e,t?.equal)}var Du=class{[Z];constructor(t){this[Z]=t}destroy(){this[Z].destroy()}};function Uh(e,t){let n=t?.injector??g(oe),r=t?.manualCleanup!==!0?n.get(Ye):null,o,i=n.get(Nn,null,{optional:!0}),s=n.get(Se);return i!==null?(o=qI(i.view,s,e),r instanceof nr&&r._lView===i.view&&(r=null)):o=ZI(e,n.get(mr),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Du(o)}var zh=H(V({},Nl),{cleanupFns:void 0,zone:null,onDestroyFn:Zt,run(){let e=bn(!1);try{Al(this)}finally{bn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),GI=H(V({},zh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Tt(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),WI=H(V({},zh),{consumerMarkedDirty(){this.view[E]|=8192,yt(this.view),this.notifier.notify(13)},destroy(){Tt(this),this.onDestroyFn(),this.cleanup(),this.view[qe]?.delete(this)}});function qI(e,t,n){let r=Object.create(WI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Gh(r,n),e[qe]??=new Set,e[qe].add(r),r.consumerMarkedDirty(r),r}function ZI(e,t,n){let r=Object.create(GI);return r.fn=Gh(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Gh(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Zi=Symbol("InputSignalNode#UNSET"),Xh=H(V({},no),{transformFn:void 0,applyValueToInputSignal(e,t){bt(e,t)}});function eg(e,t){let n=Object.create(Xh);n.value=e,n.transformFn=t?.transform;function r(){if(_t(n),n.value===Zi){let o=null;throw new y(-950,o)}return n.value}return r[Z]=n,r}var cw=new w("");cw.__NG_ELEMENT_ID__=e=>{let t=K();if(t===null)throw new y(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new y(204,!1)};function tF(e){return new Fr}function Wh(e,t){return eg(e,t)}function uw(e){return eg(Zi,e)}var nF=(Wh.required=uw,Wh);function qh(e,t){return kp(t)}function lw(e,t){return Fp(t)}var rF=(qh.required=lw,qh);function tg(e,t){let n=Object.create(Xh),r=new Fr;n.value=e;function o(){return _t(n),Zh(n.value),n.value}return o[Z]=n,o.asReadonly=ei.bind(o),o.set=i=>{n.equal(n.value,i)||(bt(n,i),r.emit(i))},o.update=i=>{Zh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Zh(e){if(e===Zi)throw new y(952,!1)}function Yh(e,t){return tg(e,t)}function dw(e){return tg(Zi,e)}var oF=(Yh.required=dw,Yh);var Eu=new w(""),fw=new w("");function Lr(e){return!e.moduleRef}function pw(e){let t=Lr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(B);return n.run(()=>{Lr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Qe),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Lr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Eu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Eu);s.add(i),e.moduleRef.onDestroy(()=>{vr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return gw(r,n,()=>{let i=t.get(qt),s=i.add(),a=t.get(su);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(kr,Or);if(uh(c||Or),!t.get(fw,!0))return Lr(e)?t.get(rt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Lr(e)){let l=t.get(rt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return hw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var hw;function gw(e,t,n){try{let r=n();return Ui(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var qi=null;function mw(e=[],t){return oe.create({name:t,providers:[{provide:sr,useValue:"platform"},{provide:Eu,useValue:new Set([()=>qi=null])},...e]})}function yw(e=[]){if(qi)return qi;let t=mw(e);return qi=t,Kp(),vw(t),t}function vw(e){let t=e.get(Si,null);$o(e,()=>{t?.forEach(n=>n())})}var ng=(()=>{class e{static __NG_ELEMENT_ID__=Dw}return e})();function Dw(e){return Ew(K(),v(),(e&16)===16)}function Ew(e,t,n){if(Ze(e)&&!n){let r=we(e.index,t);return new Dt(r,r)}else if(e.type&175){let r=t[se];return new Dt(r,t)}return null}var Iu=class{constructor(){}supports(t){return t instanceof Map||Qc(t)}create(){return new wu}},wu=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(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Qc(t)))throw new y(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;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(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);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 _u(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},_u=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Qh(){return new Cu([new Iu])}var Cu=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:Qh});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||Qh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new y(901,!1)}}return e})();function rg(e){A(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=yw(r),i=[Hh({}),{provide:Se,useExisting:vu},Ed,...n||[]],s=new _r({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return pw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{A(9)}}function Iw(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function iF(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function og(e,t){let n=ht(e),r=t.elementInjector||En();return new Fn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var ag=null;function ot(){return ag}function Tu(e){ag??=e}var Pr=class{},bu=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>g(cg),providedIn:"platform"})}return e})();var cg=(()=>{class e extends bu{_location;_history;_doc=g(W);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ot().getBaseHref(this._doc)}onPopState(n){let r=ot().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=ot().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ug(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function ig(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function It(e){return e&&e[0]!=="?"?`?${e}`:e}var Yi=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>g(dg),providedIn:"root"})}return e})(),lg=new w(""),dg=(()=>{class e extends Yi{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(W).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return ug(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+It(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+It(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+It(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(bu),C(lg,8))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fg=(()=>{class e{_subject=new ce;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Cw(ig(sg(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+It(r))}normalize(n){return e.stripTrailingSlash(_w(this._basePath,sg(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+It(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+It(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=It;static joinWithSlash=ug;static stripTrailingSlash=ig;static \u0275fac=function(r){return new(r||e)(C(Yi))};static \u0275prov=_({token:e,factory:()=>ww(),providedIn:"root"})}return e})();function ww(){return new fg(C(Yi))}function _w(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function sg(e){return e.replace(/\/index.html$/,"")}function Cw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ne=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ne||{}),O=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(O||{}),de=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(de||{}),st={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function gg(e){return ge(e)[U.LocaleId]}function mg(e,t,n){let r=ge(e),o=[r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],i=Te(o,t);return Te(i,n)}function yg(e,t,n){let r=ge(e),o=[r[U.DaysFormat],r[U.DaysStandalone]],i=Te(o,t);return Te(i,n)}function vg(e,t,n){let r=ge(e),o=[r[U.MonthsFormat],r[U.MonthsStandalone]],i=Te(o,t);return Te(i,n)}function Dg(e,t){let r=ge(e)[U.Eras];return Te(r,t)}function jr(e,t){let n=ge(e);return Te(n[U.DateFormat],t)}function Vr(e,t){let n=ge(e);return Te(n[U.TimeFormat],t)}function Br(e,t){let r=ge(e)[U.DateTimeFormat];return Te(r,t)}function Hr(e,t){let n=ge(e),r=n[U.NumberSymbols][t];if(typeof r>"u"){if(t===st.CurrencyDecimal)return n[U.NumberSymbols][st.Decimal];if(t===st.CurrencyGroup)return n[U.NumberSymbols][st.Group]}return r}function Eg(e){if(!e[U.ExtraData])throw new y(2303,!1)}function Ig(e){let t=ge(e);return Eg(t),(t[U.ExtraData][2]||[]).map(r=>typeof r=="string"?Su(r):[Su(r[0]),Su(r[1])])}function wg(e,t,n){let r=ge(e);Eg(r);let o=[r[U.ExtraData][0],r[U.ExtraData][1]],i=Te(o,t)||[];return Te(i,n)||[]}function Te(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new y(2304,!1)}function Su(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var bw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qi={},Sw=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function _g(e,t,n,r){let o=Lw(e);t=it(n,t)||t;let s=[],a;for(;t;)if(a=Sw.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Tg(r,c),o=Fw(o,r));let u="";return s.forEach(l=>{let d=Ow(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ts(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function it(e,t){let n=gg(e);if(Qi[n]??={},Qi[n][t])return Qi[n][t];let r="";switch(t){case"shortDate":r=jr(e,de.Short);break;case"mediumDate":r=jr(e,de.Medium);break;case"longDate":r=jr(e,de.Long);break;case"fullDate":r=jr(e,de.Full);break;case"shortTime":r=Vr(e,de.Short);break;case"mediumTime":r=Vr(e,de.Medium);break;case"longTime":r=Vr(e,de.Long);break;case"fullTime":r=Vr(e,de.Full);break;case"short":let o=it(e,"shortTime"),i=it(e,"shortDate");r=Ki(Br(e,de.Short),[o,i]);break;case"medium":let s=it(e,"mediumTime"),a=it(e,"mediumDate");r=Ki(Br(e,de.Medium),[s,a]);break;case"long":let c=it(e,"longTime"),u=it(e,"longDate");r=Ki(Br(e,de.Long),[c,u]);break;case"full":let l=it(e,"fullTime"),d=it(e,"fullDate");r=Ki(Br(e,de.Full),[l,d]);break}return r&&(Qi[n][t]=r),r}function Ki(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Pe(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function Mw(e,t){return Pe(e,3).substring(0,t)}function q(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Nw(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return Mw(a,t);let c=Hr(s,st.MinusSign);return Pe(a,t,c,r,o)}}function Nw(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new y(2301,!1)}}function L(e,t,n=ne.Format,r=!1){return function(o,i){return Aw(o,i,e,t,n,r)}}function Aw(e,t,n,r,o,i){switch(n){case 2:return vg(t,o,r)[e.getMonth()];case 1:return yg(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Ig(t),l=wg(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,m=s>=f.hours&&a>=f.minutes,M=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(m&&M)return!0}else if(m||M)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return mg(t,o,r)[s<12?0:1];case 3:return Dg(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new y(2302,!1)}}function Ji(e){return function(t,n,r){let o=-1*r,i=Hr(n,st.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Pe(s,2,i)+Pe(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Pe(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Pe(s,2,i)+":"+Pe(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Pe(s,2,i)+":"+Pe(Math.abs(o%60),2,i);default:throw new y(2302,!1)}}}var xw=0,es=4;function Rw(e){let t=ts(e,xw,1).getDay();return ts(e,0,1+(t<=es?es:es+7)-t)}function Cg(e){let t=e.getDay(),n=t===0?-3:es-t;return ts(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Mu(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Cg(n),s=Rw(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Pe(o,e,Hr(r,st.MinusSign))}}function Xi(e,t=!1){return function(n,r){let i=Cg(n).getFullYear();return Pe(i,e,Hr(r,st.MinusSign),t)}}var Nu={};function Ow(e){if(Nu[e])return Nu[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(3,O.Abbreviated);break;case"GGGG":t=L(3,O.Wide);break;case"GGGGG":t=L(3,O.Narrow);break;case"y":t=q(0,1,0,!1,!0);break;case"yy":t=q(0,2,0,!0,!0);break;case"yyy":t=q(0,3,0,!1,!0);break;case"yyyy":t=q(0,4,0,!1,!0);break;case"Y":t=Xi(1);break;case"YY":t=Xi(2,!0);break;case"YYY":t=Xi(3);break;case"YYYY":t=Xi(4);break;case"M":case"L":t=q(1,1,1);break;case"MM":case"LL":t=q(1,2,1);break;case"MMM":t=L(2,O.Abbreviated);break;case"MMMM":t=L(2,O.Wide);break;case"MMMMM":t=L(2,O.Narrow);break;case"LLL":t=L(2,O.Abbreviated,ne.Standalone);break;case"LLLL":t=L(2,O.Wide,ne.Standalone);break;case"LLLLL":t=L(2,O.Narrow,ne.Standalone);break;case"w":t=Mu(1);break;case"ww":t=Mu(2);break;case"W":t=Mu(1,!0);break;case"d":t=q(2,1);break;case"dd":t=q(2,2);break;case"c":case"cc":t=q(7,1);break;case"ccc":t=L(1,O.Abbreviated,ne.Standalone);break;case"cccc":t=L(1,O.Wide,ne.Standalone);break;case"ccccc":t=L(1,O.Narrow,ne.Standalone);break;case"cccccc":t=L(1,O.Short,ne.Standalone);break;case"E":case"EE":case"EEE":t=L(1,O.Abbreviated);break;case"EEEE":t=L(1,O.Wide);break;case"EEEEE":t=L(1,O.Narrow);break;case"EEEEEE":t=L(1,O.Short);break;case"a":case"aa":case"aaa":t=L(0,O.Abbreviated);break;case"aaaa":t=L(0,O.Wide);break;case"aaaaa":t=L(0,O.Narrow);break;case"b":case"bb":case"bbb":t=L(0,O.Abbreviated,ne.Standalone,!0);break;case"bbbb":t=L(0,O.Wide,ne.Standalone,!0);break;case"bbbbb":t=L(0,O.Narrow,ne.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(0,O.Abbreviated,ne.Format,!0);break;case"BBBB":t=L(0,O.Wide,ne.Format,!0);break;case"BBBBB":t=L(0,O.Narrow,ne.Format,!0);break;case"h":t=q(3,1,-12);break;case"hh":t=q(3,2,-12);break;case"H":t=q(3,1);break;case"HH":t=q(3,2);break;case"m":t=q(4,1);break;case"mm":t=q(4,2);break;case"s":t=q(5,1);break;case"ss":t=q(5,2);break;case"S":t=q(6,1);break;case"SS":t=q(6,2);break;case"SSS":t=q(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ji(0);break;case"ZZZZZ":t=Ji(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ji(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ji(2);break;default:return null}return Nu[e]=t,t}function Tg(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function kw(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Fw(e,t,n){let o=e.getTimezoneOffset(),i=Tg(t,o);return kw(e,-1*(i-o))}function Lw(e){if(pg(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return ts(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(bw))return Pw(r)}let t=new Date(e);if(!pg(t))throw new y(2302,!1);return t}function Pw(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function pg(e){return e instanceof Date&&!isNaN(e.valueOf())}var Au=/\s+/,hg=[],jw=(()=>{class e{_ngEl;_renderer;initialClasses=hg;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Au):hg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Au):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[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(n,r){n=n.trim(),n.length>0&&n.split(Au).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)(ae(Fe),ae(Rr))};static \u0275dir=$n({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Vw=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:ke.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(ae(Fe),ae(Cu),ae(Rr))};static \u0275dir=$n({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Bw=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){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(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ae(tn))};static \u0275dir=$n({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bi]})}return e})();function Hw(e,t){return new y(2100,!1)}var $w="mediumDate",bg=new w(""),Sg=new w(""),Uw=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??$w,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return _g(n,s,i||this.locale,a)}catch(s){throw Hw(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ae(kr,16),ae(bg,24),ae(Sg,24))};static \u0275pipe=Xc({name:"date",type:e,pure:!0})}return e})();var Mg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Hn({type:e});static \u0275inj=Ft({})}return e})();function xu(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var $r=class{};var Ru="browser";function Ng(e){return e===Ru}var rs=new w(""),Pu=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new y(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C(rs),C(B))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),Ur=class{_doc;constructor(t){this._doc=t}manager},Ou="ng-app-id";function Ag(e){for(let t of e)t.remove()}function xg(e,t){let n=t.createElement("style");return n.textContent=e,n}function Gw(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Ou}="${t}"],link[${Ou}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Ou),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Fu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var ju=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,Gw(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,xg);r?.forEach(o=>this.addUsage(o,this.external,Fu))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Ag(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Ag(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,xg(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Fu(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(W),C(Vn),C(Mi,8),C(Et))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),ku={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Vu=/%COMP%/g;var Og="%COMP%",Ww=`_nghost-${Og}`,qw=`_ngcontent-${Og}`,Zw=!0,Yw=new w("",{providedIn:"root",factory:()=>Zw});function Qw(e){return qw.replace(Vu,e)}function Kw(e){return Ww.replace(Vu,e)}function kg(e,t){return t.map(n=>n.replace(Vu,e))}var Bu=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;animationDisabled;maxAnimationTimeout;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;registry;constructor(n,r,o,i,s,a,c,u=null,l,d,p=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.animationDisabled=l,this.maxAnimationTimeout=d,this.tracingService=p,this.platformIsServer=!1,this.defaultRenderer=new zr(n,s,c,this.platformIsServer,this.tracingService,this.registry=Xo(),this.maxAnimationTimeout)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof ns?o.applyToHost(n):o instanceof Gr&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case Ke.Emulated:i=new ns(c,u,r,this.appId,l,s,a,d,p,this.registry,this.animationDisabled,this.maxAnimationTimeout);break;case Ke.ShadowDom:return new Lu(c,u,n,r,s,a,this.nonce,d,p,this.registry,this.maxAnimationTimeout);default:i=new Gr(c,u,r,l,s,a,d,p,this.registry,this.animationDisabled,this.maxAnimationTimeout);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Pu),C(ju),C(Vn),C(Yw),C(W),C(Et),C(B),C(Mi),C(au),C(cu),C(nn,8))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),zr=class{eventManager;doc;ngZone;platformIsServer;tracingService;registry;maxAnimationTimeout;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i,s,a){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i,this.registry=s,this.maxAnimationTimeout=a}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(ku[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Rg(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Rg(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){let{elements:r}=this.registry;if(r){r.animate(n,()=>n.remove(),this.maxAnimationTimeout);return}n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=ku[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=ku[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ke.DashCase|ke.Important)?t.style.setProperty(n,r,o&ke.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ke.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=ot().getGlobalEventTarget(this.doc,t),!t))throw new y(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Rg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Lu=class extends zr{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u,l,d){super(t,i,s,c,u,l,d),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let p=o.styles;p=kg(o.id,p);for(let h of p){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=h,this.shadowRoot.appendChild(m)}let f=o.getExternalStyles?.();if(f)for(let h of f){let m=Fu(h,i);a&&m.setAttribute("nonce",a),this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Gr=class extends zr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;_animationDisabled;constructor(t,n,r,o,i,s,a,c,u,l,d,p){super(t,i,s,a,c,u,d),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this._animationDisabled=l;let f=r.styles;this.styles=p?kg(p,f):f,this.styleUrls=r.getExternalStyles?.(p)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){if(this.removeStylesOnCompDestroy){if(!this._animationDisabled&&this.registry.elements){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)},this.maxAnimationTimeout)});return}this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}},ns=class extends Gr{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u,l,d,p){let f=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l,d,p,f),this.contentAttr=Qw(f),this.hostAttr=Kw(f)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var os=class e extends Pr{supportsDOMEvents=!0;static makeCurrent(){Tu(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Jw();return n==null?null:Xw(n)}resetBaseElement(){Wr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return xu(document.cookie,t)}},Wr=null;function Jw(){return Wr=Wr||document.head.querySelector("base"),Wr?Wr.getAttribute("href"):null}function Xw(e){return new URL(e,document.baseURI).pathname}var e_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),Lg=(()=>{class e extends Ur{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(W))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),Fg=["alt","control","meta","shift"],t_={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},n_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Pg=(()=>{class e extends Ur{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ot().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Fg.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=t_[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Fg.forEach(s=>{if(s!==o){let a=n_[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(C(W))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();function r_(e){return rg(o_(e))}function o_(e){return{appProviders:[...u_,...e?.providers??[]],platformProviders:c_}}function i_(){os.makeCurrent()}function s_(){return new fe}function a_(){return Mc(document),document}var c_=[{provide:Et,useValue:Ru},{provide:Si,useValue:i_,multi:!0},{provide:W,useFactory:a_}];var u_=[{provide:sr,useValue:"root"},{provide:fe,useFactory:s_},{provide:rs,useClass:Lg,multi:!0,deps:[W]},{provide:rs,useClass:Pg,multi:!0,deps:[W]},Bu,ju,Pu,{provide:Xe,useExisting:Bu},{provide:$r,useClass:e_},[]];var l_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(d_),o},providedIn:"root"})}return e})(),d_=(()=>{class e extends l_{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Le.NONE:return r;case Le.HTML:return et(r,"HTML")?Ce(r):xi(this._doc,String(r)).toString();case Le.STYLE:return et(r,"Style")?Ce(r):r;case Le.SCRIPT:if(et(r,"Script"))return Ce(r);throw new y(5200,!1);case Le.URL:return et(r,"URL")?Ce(r):Mr(String(r));case Le.RESOURCE_URL:if(et(r,"ResourceURL"))return Ce(r);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(n){return xc(n)}bypassSecurityTrustStyle(n){return Rc(n)}bypassSecurityTrustScript(n){return Oc(n)}bypassSecurityTrustUrl(n){return kc(n)}bypassSecurityTrustResourceUrl(n){return Fc(n)}static \u0275fac=function(r){return new(r||e)(C(W))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Hu="13.1.10";var p_=Hu.split("-")[0].split(".").slice(0,3).map(e=>e.padStart(2,"0")).join("");var jg="CooeeSDK",is=Hu,uP=parseInt(p_,10);var Vg="https://cdn.jsdelivr.net/npm/swiper@11";var $u=`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${is}/dist`,Bg={apiURL:"https://api.sdk.letscooee.com",debug:!1,mode:"production",baseURL:$u,styleURL:`${$u}/widget.min.css`,widgetURL:`${$u}/widget.min.js`,swiperStyleURL:`${Vg}/swiper-bundle.min.css`};var me=qg($g());var as=class{static debuggerEl;static infoLogs=[];static log(...t){me.default.info(...t)}static verbose(...t){me.default.debug(...t)}static error(...t){me.default.error(...t)}static warn(...t){me.default.warn(...t)}static info(...t){me.default.info(...t),this.infoLogs.push({time:new Date,message:t.join(" ")}),this.addToDebugger()}static trace(...t){me.default.trace(...t)}static addToDebugger(){sessionStorage.cooeeDebug&&(this.debuggerEl=this.debuggerEl??document.querySelector("cooee-debugger"),this.debuggerEl&&this.debuggerEl&&(this.debuggerEl.logs=[...this.infoLogs]))}};function gP(e=jg){me.default.useDefaults({formatter:function(t){t.unshift(`${e} (v${is}):`)}}),h_()&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?me.default.setLevel(me.default[localStorage.cooeeLogLevel]):me.default.setLevel(Bg.debug?me.default.TRACE:me.default.OFF)}function h_(){let e=g_();return e==="1"||e==="on"}function g_(){return new URL(location.href).searchParams?.get("cooee-debug")}function yP(e){return e.buttons===0||e.detail===0}function vP(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Uu;function m_(){if(Uu==null){let e=typeof document<"u"?document.head:null;Uu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Uu}function EP(e){if(m_()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function IP(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function wP(e){return e.composedPath?e.composedPath()[0]:e.target}var zu;try{zu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{zu=!1}var Ug=(()=>{class e{_platformId=g(Et);isBrowser=this._platformId?Ng(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||zu)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function NP(e,t=0){return y_(e)?Number(e):arguments.length===2?t:0}function y_(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function AP(e){return e instanceof Fe?e.nativeElement:e}var cs=new WeakMap,kP=(()=>{class e{_appRef;_injector=g(oe);_environmentInjector=g(ue);load(n){let r=this._appRef=this._appRef||this._injector.get(rt),o=cs.get(r);o||(o={loaders:new Set,refs:[]},cs.set(r,o),r.onDestroy(()=>{cs.get(r)?.refs.forEach(i=>i.destroy()),cs.delete(r)})),o.loaders.has(n)||(o.loaders.add(n),o.refs.push(og(n,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function LP(e){return Array.isArray(e)?e:[e]}var v_=new w("cdk-dir-doc",{providedIn:"root",factory:D_});function D_(){return g(W)}var E_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function I_(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?E_.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var BP=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Wt("ltr");change=new Oe;constructor(){let n=g(v_,{optional:!0});if(n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.valueSignal.set(I_(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rn;function $P(){if(rn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return rn=!1,rn;if("scrollBehavior"in document.documentElement.style)rn=!0;else{let e=Element.prototype.scrollTo;e?rn=!/\{\s*\[native code\]\s*\}/.test(e.toString()):rn=!1}}return rn}var w_=20,a1=(()=>{class e{_platform=g(Ug);_listeners;_viewportSize;_change=new ce;_document=g(W);constructor(){let n=g(B),r=g(Xe).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(n=>n()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect(),s=-i.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(n=w_){return n>0?this._change.pipe(Ms(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Gu={},d1=(()=>{class e{_appId=g(Vn);getId(n){return this._appId!=="ng"&&(n+=this._appId),Gu.hasOwnProperty(n)||(Gu[n]=0),`${n}${Gu[n]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var zg=5,__=500,us=class extends Error{request;response;status;requestBody;responseText;constructor(t){super(t),this.name="FetchError",Object.setPrototypeOf(this,new.target.prototype)}is40x(){return!!this.response&&this.response.status>=400&&this.response.status<500}};async function h1(e,t){let n=Date.now(),r;try{r=await C_(e,t)}catch{}let o=r?new Request(r.url,{method:t?.method||"GET"}):new Request(e,t);if(!r||!r.ok){let u="Failed to fetch";r?.statusText&&(u+=`: ${r.statusText}`);let l=new us(u);throw l.request=o,l.response=r?.clone(),l.status=r?.status,l.requestBody=t?.body,l.responseText=await Gg(r),l}let i,s=(r.headers.get("content-type")||"").toLowerCase(),a=r.headers.get("content-length"),c=t?.method?.toUpperCase()||"GET";if(r.status===204||r.status===205||c==="HEAD"||a==="0")i=void 0;else if(s.includes("application/json")||s.includes("application/problem+json")||s.includes("text/javascript"))try{i=await r.clone().json()}catch(u){let l=new us(`Failed to parse JSON response: ${u?.message}`);throw l.request=o,l.response=r.clone(),l.status=r.status,l.requestBody=t?.body,l.responseText=await Gg(r),l}else s.includes("text/")||s.includes("image/svg+xml")?i=await r.text():i=await r.arrayBuffer();return{data:i,status:r.status,statusText:r.statusText,headers:r.headers,timeTakenMs:Date.now()-n,options:t,request:o}}async function C_(e,t){let n=null,r;for(let o=0;o<=zg;o++){try{let i=new Headers(t?.headers);(e.includes("letscooee.com")||e.includes("localhost"))&&i.set("Cooee-Retry-Attempt",o.toString());let s=H(V({},t),{headers:i});if(r=await fetch(e,s),r.ok||r.status>=400&&r.status<500)return r;n=new Error(`Server error: ${r.status} ${r.statusText}`)}catch(i){n=i instanceof Error?i:new Error(String(i))}if(o<zg){let i=Math.pow(2,o)*__;as.info(`Request to ${e} failed. Retrying in ${i}ms...`),await new Promise(s=>setTimeout(s,i))}}if(r&&!r.ok)return r;throw n||new Error("Request failed after retries")}async function Gg(e){if(e){try{return e=e.clone(),await e.json()}catch{}try{return await e.text()}catch{}}}export{z as a,F as b,ce as c,qn as d,Cs as e,al as f,Il as g,Kn as h,hm as i,gm as j,mm as k,ym as l,bl as m,Dm as n,Ns as o,Sl as p,Ml as q,Em as r,_ as s,Ft as t,w as u,g as v,ue as w,rd as x,od as y,gd as z,md as A,oe as B,W as C,Ye as D,Wt as E,Se as F,bi as G,Ey as H,Fe as I,My as J,Jy as K,Xy as L,ov as M,iv as N,qf as O,dD as P,fD as Q,Jt as R,Hi as S,Xe as T,Rr as U,tn as V,wr as W,Pp as X,Hn as Y,$n as Z,Xc as _,eu as $,hE as aa,$p as ba,Oe as ca,B as da,Zp as ea,rt as fa,Xp as ga,eh as ha,RE as ia,OE as ja,kE as ka,FE as la,LE as ma,PE as na,th as oa,lu as pa,du as qa,nh as ra,zi as sa,Gi as ta,fu as ua,pu as va,Wi as wa,oh as xa,sh as ya,BE as za,ch as Aa,lh as Ba,dh as Ca,GE as Da,ph as Ea,hh as Fa,gh as Ga,mh as Ha,yh as Ia,ZE as Ja,YE as Ka,QE as La,gu as Ma,mu as Na,uI as Oa,dI as Pa,II as Qa,Ah as Ra,yu as Sa,xh as Ta,CI as Ua,Rh as Va,kh as Wa,TI as Xa,bI as Ya,SI as Za,MI as _a,Lh as $a,OI as ab,kI as bb,FI as cb,PI as db,jI as eb,VI as fb,$I as gb,zI as hb,Uh as ib,tF as jb,nF as kb,rF as lb,oF as mb,ng as nb,Iw as ob,iF as pb,og as qb,fg as rb,jw as sb,Vw as tb,Bw as ub,Uw as vb,Mg as wb,r_ as xb,l_ as yb,is as zb,Vg as Ab,Bg as Bb,as as Cb,gP as Db,us as Eb,h1 as Fb,yP as Gb,vP as Hb,EP as Ib,IP as Jb,wP as Kb,Ug as Lb,NP as Mb,AP as Nb,kP as Ob,LP as Pb,BP as Qb,$P as Rb,a1 as Sb,d1 as Tb};