@letscooee/web-sdk 9.12.1 → 9.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-7OOIPWXD.js +2 -0
- package/dist/chunk-QPIMOJV6.js +7 -0
- package/dist/main.min.js +20 -20
- package/dist/widget.min.css +1 -1
- package/dist/widget.min.js +39 -45
- package/package.json +2 -3
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$a as y,Ba as m,Ca as u,Da as f,Ea as r,Fa as o,Ga as b,Ja as x,Qa as a,Ra as h,W as l,_a as p,ab as w,da as d,fa as n,na as c,qb as v,ub as k,va as g}from"./chunk-QPIMOJV6.js";function D(i,t){if(i&1&&(r(0,"li")(1,"span",1),a(2),p(3,"date"),o(),a(4,"\xA0 "),b(5,"span",2),p(6,"safeHtml"),o()),i&2){let e=t.$implicit;n(2),h(w(3,2,e.time,"MM/dd/yy, hh:mm:ss a")),n(3),g("innerHTML",y(6,5,e.message),d)}}var C=class i{logs=l.required();constructor(){}shareLogs(){let t=JSON.stringify(this.logs());if(navigator.share){navigator.share({text:t});return}navigator.clipboard.writeText(t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=c({type:i,selectors:[["cooee-debugger"]],inputs:{logs:[1,"logs"]},decls:5,vars:0,consts:[[1,"btn-copy",3,"click"],[2,"color","rgb(100, 116, 139)"],[3,"innerHTML"]],template:function(e,s){e&1&&(r(0,"ol"),u(1,D,7,7,"li",null,m),o(),r(3,"button",0),x("click",function(){return s.shareLogs()}),a(4,"Share"),o()),e&2&&(n(),f(s.logs()))},dependencies:[k,v],styles:[`:host{display:block;position:fixed;top:calc(100vh - 90px);left:10px;right:10px;width:auto;max-width:100%;min-width:calc(100vw - 20px);height:80px;background:#fff;z-index:111111111111;overflow-y:auto;font-size:13px;line-height:1.5;padding:5px;font-family:Arial,"sans-serif";font-weight:500;border:2px solid rgb(245,28,143);border-radius:4px;resize:both;-webkit-user-select:auto;user-select:auto}@media (min-width: 768px){:host{width:600px;min-width:auto}}ol{margin:0;padding:0 0 0 28px}.btn-copy{position:absolute;top:5px;right:5px;background:#f51c8f;border:none;cursor:pointer;padding:6px 8px;font-size:12px;border-radius:6px;color:#fff}
|
|
2
|
+
`],encapsulation:3})};export{C as DebuggerComponent};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var Hf=Object.create;var Yn=Object.defineProperty,$f=Object.defineProperties,Za=Object.getOwnPropertyDescriptor,Uf=Object.getOwnPropertyDescriptors,zf=Object.getOwnPropertyNames,qa=Object.getOwnPropertySymbols,Gf=Object.getPrototypeOf,Ya=Object.prototype.hasOwnProperty,Wf=Object.prototype.propertyIsEnumerable;var qo=(e,t,n)=>t in e?Yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||={})Ya.call(t,n)&&qo(e,n,t[n]);if(qa)for(var n of qa(t))Wf.call(t,n)&&qo(e,n,t[n]);return e},Z=(e,t)=>$f(e,Uf(t));var tI=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var nI=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var qf=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zf(t))!Ya.call(e,o)&&o!==n&&Yn(e,o,{get:()=>t[o],enumerable:!(r=Za(t,o))||r.enumerable});return e};var rI=(e,t,n)=>(n=e!=null?Hf(Gf(e)):{},qf(t||!e||!e.__esModule?Yn(n,"default",{value:e,enumerable:!0}):n,e));var oI=(e,t,n,r)=>{for(var o=r>1?void 0:r?Za(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Yn(t,n,o),o};var iI=(e,t,n)=>qo(e,typeof t!="symbol"?t+"":t,n);function Ka(e,t){return Object.is(e,t)}var z=null,nn=!1,Ko=1,ne=Symbol("SIGNAL");function C(e){let t=z;return z=e,t}function Ja(){return z}function Zf(){return nn}var rt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Kn(e){if(nn)throw new Error("");if(z===null)return;z.consumerOnSignalRead(e);let t=z.nextProducerIndex++;if(Xn(z),t<z.producerNode.length&&z.producerNode[t]!==e&&rn(z)){let n=z.producerNode[t];Jn(n,z.producerIndexOfThis[t])}z.producerNode[t]!==e&&(z.producerNode[t]=e,z.producerIndexOfThis[t]=rn(z)?rc(e,z,t):0),z.producerLastReadVersion[t]=e.version}function Yf(){Ko++}function Xa(e){if(!(rn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ko)){if(!e.producerMustRecompute(e)&&!sn(e)){Qa(e);return}e.producerRecomputeValue(e),Qa(e)}}function ec(e){if(e.liveConsumerNode===void 0)return;let t=nn;nn=!0;try{for(let n of e.liveConsumerNode)n.dirty||nc(n)}finally{nn=t}}function tc(){return z?.consumerAllowSignalWrites!==!1}function nc(e){e.dirty=!0,ec(e),e.consumerMarkedDirty?.(e)}function Qa(e){e.dirty=!1,e.lastCleanEpoch=Ko}function bt(e){return e&&(e.nextProducerIndex=0),C(e)}function on(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(rn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Jn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function sn(e){Xn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Xa(n),r!==n.version))return!0}return!1}function Mt(e){if(Xn(e),rn(e))for(let t=0;t<e.producerNode.length;t++)Jn(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function rc(e,t,n){if(oc(e),e.liveConsumerNode.length===0&&ic(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=rc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Jn(e,t){if(oc(e),e.liveConsumerNode.length===1&&ic(e))for(let r=0;r<e.producerNode.length;r++)Jn(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Xn(o),o.producerIndexOfThis[r]=t}}function rn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Xn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function oc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ic(e){return e.producerNode!==void 0}function sc(e){let t=Object.create(Qf);t.computation=e;let n=()=>{if(Xa(t),Kn(t),t.value===Qn)throw t.error;return t.value};return n[ne]=t,n}var Zo=Symbol("UNSET"),Yo=Symbol("COMPUTING"),Qn=Symbol("ERRORED"),Qf=Z(q({},rt),{value:Zo,dirty:!0,error:null,equal:Ka,kind:"computed",producerMustRecompute(e){return e.value===Zo||e.value===Yo},producerRecomputeValue(e){if(e.value===Yo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Yo;let n=bt(e),r,o=!1;try{r=e.computation(),C(null),o=t!==Zo&&t!==Qn&&r!==Qn&&e.equal(t,r)}catch(i){r=Qn,e.error=i}finally{on(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Kf(){throw new Error}var ac=Kf;function cc(e){ac(e)}function uc(e){ac=e}var Jf=null;function lc(e){let t=Object.create(Jo);t.value=e;let n=()=>(Kn(t),t.value);return n[ne]=t,n}function er(e,t){tc()||cc(e),e.equal(e.value,t)||(e.value=t,Xf(e))}function dc(e,t){tc()||cc(e),er(e,t(e.value))}var Jo=Z(q({},rt),{equal:Ka,value:void 0,kind:"signal"});function Xf(e){e.version++,Yf(),ec(e),Jf?.()}function fc(e,t,n){let r=Object.create(ep);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Mt(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Qo)}let a=()=>{if(r.fn===null)return;if(Zf())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!sn(r))return;r.hasRun=!0;let c=bt(r);try{r.cleanupFn(),r.cleanupFn=Qo,r.fn(o)}finally{on(r,c)}};return r.ref={notify:()=>nc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[ne]:r},r.ref}var Qo=()=>{},ep=Z(q({},rt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Qo});function D(e){return typeof e=="function"}function tr(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 nr=tr(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 ot(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var G=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(D(r))try{r()}catch(i){t=i instanceof nr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{pc(i)}catch(s){t=t??[],s instanceof nr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new nr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)pc(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)&&ot(n,t)}remove(t){let{_finalizers:n}=this;n&&ot(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var Xo=G.EMPTY;function rr(e){return e instanceof G||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function pc(e){D(e)?e():e.unsubscribe()}var ge={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var _t={setTimeout(e,t,...n){let{delegate:r}=_t;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=_t;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function or(e){_t.setTimeout(()=>{let{onUnhandledError:t}=ge;if(t)t(e);else throw e})}function an(){}var hc=ei("C",void 0,void 0);function gc(e){return ei("E",void 0,e)}function mc(e){return ei("N",e,void 0)}function ei(e,t,n){return{kind:e,value:t,error:n}}var it=null;function St(e){if(ge.useDeprecatedSynchronousErrorHandling){let t=!it;if(t&&(it={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=it;if(it=null,n)throw r}}else e()}function yc(e){ge.useDeprecatedSynchronousErrorHandling&&it&&(it.errorThrown=!0,it.error=e)}var st=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,rr(t)&&t.add(this)):this.destination=rp}static create(t,n,r){return new Tt(t,n,r)}next(t){this.isStopped?ni(mc(t),this):this._next(t)}error(t){this.isStopped?ni(gc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ni(hc,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()}}},tp=Function.prototype.bind;function ti(e,t){return tp.call(e,t)}var ri=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ir(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ir(r)}else ir(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ir(n)}}},Tt=class extends st{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ge.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ti(t.next,i),error:t.error&&ti(t.error,i),complete:t.complete&&ti(t.complete,i)}):o=t}this.destination=new ri(o)}};function ir(e){ge.useDeprecatedSynchronousErrorHandling?yc(e):or(e)}function np(e){throw e}function ni(e,t){let{onStoppedNotification:n}=ge;n&&_t.setTimeout(()=>n(e,t))}var rp={closed:!0,next:an,error:np,complete:an};var Nt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ze(e){return e}function vc(e){return e.length===0?ze:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var R=(()=>{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=ip(n)?n:new Tt(n,r,o);return St(()=>{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=Dc(r),new r((o,i)=>{let s=new Tt({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)}[Nt](){return this}pipe(...n){return vc(n)(this)}toPromise(n){return n=Dc(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 Dc(e){var t;return(t=e??ge.Promise)!==null&&t!==void 0?t:Promise}function op(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function ip(e){return e&&e instanceof st||op(e)&&rr(e)}function sp(e){return D(e?.lift)}function k(e){return t=>{if(sp(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 F(e,t,n,r,o){return new oi(e,t,n,r,o)}var oi=class extends st{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 xt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=xt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new G(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=xt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=xt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Ec=tr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new sr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ec}next(n){St(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){St(()=>{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(){St(()=>{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?Xo:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,ot(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new R;return n.source=this,n}}return e.create=(t,n)=>new sr(t,n),e})(),sr=class extends ae{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:Xo}};var cn=class extends ae{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 un={now(){return(un.delegate||Date).now()},delegate:void 0};var ii=class extends ae{constructor(t=1/0,n=1/0,r=un){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 ar=class extends G{constructor(t,n){super()}schedule(t,n=0){return this}};var ln={setInterval(e,t,...n){let{delegate:r}=ln;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=ln;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var At=class extends ar{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 ln.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&&ln.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,ot(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Rt=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)}};Rt.now=un.now;var Ot=class extends Rt{constructor(t,n=Rt.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 dn=new Ot(At),Ic=dn;var cr=class extends At{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=xt.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&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(xt.cancelAnimationFrame(n),t._scheduled=void 0)}};var ur=class extends Ot{flush(t){this._active=!0;let 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 ap=new ur(cr);var fn=new R(e=>e.complete());function lr(e){return e&&D(e.schedule)}function wc(e){return e[e.length-1]}function Ge(e){return lr(wc(e))?e.pop():void 0}function Cc(e,t){return typeof wc(e)=="number"?e.pop():t}function Mc(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(f){s(f)}}function c(l){try{u(r.throw(l))}catch(f){s(f)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function bc(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 _c(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(d){return function(h){return Promise.resolve(h).then(d,f)}}function a(d,h){r[d]&&(o[d]=function(g){return new Promise(function(P,T){i.push([d,g,P,T])>1||c(d,g)})},h&&(o[d]=h(o[d])))}function c(d,h){try{u(r[d](h))}catch(g){p(i[0][3],g)}}function u(d){d.value instanceof at?Promise.resolve(d.value.v).then(l,f):p(i[0][2],d)}function l(d){c("next",d)}function f(d){c("throw",d)}function p(d,h){d(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Sc(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 bc=="function"?bc(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 kt=e=>e&&typeof e.length=="number"&&typeof e!="function";function dr(e){return D(e?.then)}function fr(e){return D(e[Nt])}function pr(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function hr(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 cp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gr=cp();function mr(e){return D(e?.[gr])}function yr(e){return _c(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 vr(e){return D(e?.getReader)}function L(e){if(e instanceof R)return e;if(e!=null){if(fr(e))return up(e);if(kt(e))return lp(e);if(dr(e))return dp(e);if(pr(e))return Tc(e);if(mr(e))return fp(e);if(vr(e))return pp(e)}throw hr(e)}function up(e){return new R(t=>{let n=e[Nt]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lp(e){return new R(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function dp(e){return new R(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,or)})}function fp(e){return new R(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Tc(e){return new R(t=>{hp(e,t).catch(n=>t.error(n))})}function pp(e){return Tc(yr(e))}function hp(e,t){var n,r,o,i;return Mc(this,void 0,void 0,function*(){try{for(n=Sc(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 ce(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 Dr(e,t=0){return k((n,r)=>{n.subscribe(F(r,o=>ce(r,e,()=>r.next(o),t),()=>ce(r,e,()=>r.complete(),t),o=>ce(r,e,()=>r.error(o),t)))})}function Er(e,t=0){return k((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Nc(e,t){return L(e).pipe(Er(t),Dr(t))}function xc(e,t){return L(e).pipe(Er(t),Dr(t))}function Ac(e,t){return new R(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Rc(e,t){return new R(n=>{let r;return ce(n,t,()=>{r=e[gr](),ce(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)}),()=>D(r?.return)&&r.return()})}function Ir(e,t){if(!e)throw new Error("Iterable cannot be null");return new R(n=>{ce(n,t,()=>{let r=e[Symbol.asyncIterator]();ce(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Oc(e,t){return Ir(yr(e),t)}function kc(e,t){if(e!=null){if(fr(e))return Nc(e,t);if(kt(e))return Ac(e,t);if(dr(e))return xc(e,t);if(pr(e))return Ir(e,t);if(mr(e))return Rc(e,t);if(vr(e))return Oc(e,t)}throw hr(e)}function ct(e,t){return t?kc(e,t):L(e)}function gp(...e){let t=Ge(e);return ct(e,t)}function Fc(e){return e instanceof Date&&!isNaN(e)}function ut(e,t){return k((n,r)=>{let o=0;n.subscribe(F(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:mp}=Array;function yp(e,t){return mp(t)?e(...t):e(t)}function Pc(e){return ut(t=>yp(e,t))}function Lc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,f=!1,p=()=>{f&&!c.length&&!u&&t.complete()},d=g=>u<r?h(g):c.push(g),h=g=>{i&&t.next(g),u++;let P=!1;L(n(g,l++)).subscribe(F(t,T=>{o?.(T),i?d(T):t.next(T)},()=>{P=!0},void 0,()=>{if(P)try{for(u--;c.length&&u<r;){let T=c.shift();s?ce(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(F(t,d,()=>{f=!0,p()})),()=>{a?.()}}function Ft(e,t,n=1/0){return D(t)?Ft((r,o)=>ut((i,s)=>t(r,i,o,s))(L(e(r,o))),n):(typeof t=="number"&&(n=t),k((r,o)=>Lc(r,o,e,n)))}function wr(e=1/0){return Ft(ze,e)}function jc(){return wr(1)}function si(...e){return jc()(ct(e,Ge(e)))}function vp(e){return new R(t=>{L(e()).subscribe(t)})}var Dp=["addListener","removeListener"],Ep=["addEventListener","removeEventListener"],Ip=["on","off"];function ai(e,t,n,r){if(D(n)&&(r=n,n=void 0),r)return ai(e,t,n).pipe(Pc(r));let[o,i]=bp(e)?Ep.map(s=>a=>e[s](t,a,n)):wp(e)?Dp.map(Vc(e,t)):Cp(e)?Ip.map(Vc(e,t)):[];if(!o&&kt(e))return Ft(s=>ai(s,t,n))(L(e));if(!o)throw new TypeError("Invalid event target");return new R(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Vc(e,t){return n=>r=>e[n](t,r)}function wp(e){return D(e.addListener)&&D(e.removeListener)}function Cp(e){return D(e.on)&&D(e.off)}function bp(e){return D(e.addEventListener)&&D(e.removeEventListener)}function Cr(e=0,t,n=Ic){let r=-1;return t!=null&&(lr(t)?n=t:r=t),new R(o=>{let i=Fc(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 Mp(e=0,t=dn){return e<0&&(e=0),Cr(e,e,t)}function _p(...e){let t=Ge(e),n=Cc(e,1/0),r=e;return r.length?r.length===1?L(r[0]):wr(n)(ct(r,t)):fn}function ci(e,t){return k((n,r)=>{let o=0;n.subscribe(F(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Bc(e){return k((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(F(n,u=>{r=!0,o=u,i||L(e(u)).subscribe(i=F(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Sp(e,t=dn){return Bc(()=>Cr(e,t))}function Tp(e){return e<=0?()=>fn:k((t,n)=>{let r=0;t.subscribe(F(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Np(e,t=ze){return e=e??xp,k((n,r)=>{let o,i=!0;n.subscribe(F(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function xp(e,t){return e===t}function Ap(e){return ci((t,n)=>e<=n)}function Rp(...e){let t=Ge(e);return k((n,r)=>{(t?si(e,n,t):si(e,n)).subscribe(r)})}function Op(e,t){return k((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(F(r,c=>{o?.unsubscribe();let u=0,l=i++;L(e(c,l)).subscribe(o=F(r,f=>r.next(t?t(c,f,l,u++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function kp(e){return k((t,n)=>{L(e).subscribe(F(n,()=>n.complete(),an)),!n.closed&&t.subscribe(n)})}function Fp(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?k((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(F(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)}))}):ze}var Tu="https://g.co/ng/security#xss",E=class extends Error{code;constructor(t,n){super(ks(t,n)),this.code=t}};function ks(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Nu=Symbol("InputSignalNode#UNSET"),Pp=Z(q({},Jo),{transformFn:void 0,applyValueToInputSignal(e,t){er(e,t)}});function xu(e,t){let n=Object.create(Pp);n.value=e,n.transformFn=t?.transform;function r(){if(Kn(n),n.value===Nu)throw new E(-950,!1);return n.value}return r[ne]=n,r}function On(e){return{toString:e}.toString()}var br="__parameters__";function Lp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Au(e,t,n){return On(()=>{let r=Lp(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let f=c.hasOwnProperty(br)?c[br]:Object.defineProperty(c,br,{value:[]})[br];for(;f.length<=l;)f.push(null);return(f[l]=f[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var ke=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function jp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ue).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 bi(e,t){return e?t?`${e} ${t}`:e:t||""}var Vp=O({__forward_ref__:O});function Ru(e){return e.__forward_ref__=Ru,e.toString=function(){return ue(this())},e}function J(e){return Ou(e)?e():e}function Ou(e){return typeof e=="function"&&e.hasOwnProperty(Vp)&&e.__forward_ref__===Ru}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Fs(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ps(e){return Hc(e,ku)||Hc(e,Fu)}function Hc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bp(e){let t=e&&(e[ku]||e[Fu]);return t||null}function $c(e){return e&&(e.hasOwnProperty(Uc)||e.hasOwnProperty(Hp))?e[Uc]:null}var ku=O({\u0275prov:O}),Uc=O({\u0275inj:O}),Fu=O({ngInjectableDef:O}),Hp=O({ngInjectorDef:O}),M=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=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Pu(e){return e&&!!e.\u0275providers}var $p=O({\u0275cmp:O}),Up=O({\u0275dir:O}),zp=O({\u0275pipe:O});var Pr=O({\u0275fac:O}),mn=O({__NG_ELEMENT_ID__:O}),zc=O({__NG_ENV_ID__:O});function kn(e){return typeof e=="string"?e:e==null?"":String(e)}function Gp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():kn(e)}function Wp(e,t){throw new E(-200,e)}function Ls(e,t){throw new E(-201,!1)}var b=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(b||{}),Mi;function Lu(){return Mi}function te(e){let t=Mi;return Mi=e,t}function ju(e,t,n){let r=Ps(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&b.Optional)return null;if(t!==void 0)return t;Ls(e,"Injector")}var qp={},yn=qp,_i="__NG_DI_FLAG__",Lr="ngTempTokenPath",Zp="ngTokenPath",Yp=/\n/gm,Qp="\u0275",Gc="__source",Bt;function Kp(){return Bt}function We(e){let t=Bt;return Bt=e,t}function Jp(e,t=b.Default){if(Bt===void 0)throw new E(-203,!1);return Bt===null?ju(e,void 0,t):Bt.get(e,t&b.Optional?null:void 0,t)}function _(e,t=b.Default){return(Lu()||Jp)(J(e),t)}function v(e,t=b.Default){return _(e,so(t))}function so(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Si(e){let t=[];for(let n=0;n<e.length;n++){let r=J(e[n]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let o,i=b.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Xp(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(_(o,i))}else t.push(_(r))}return t}function Vu(e,t){return e[_i]=t,e.prototype[_i]=t,e}function Xp(e){return e[_i]}function eh(e,t,n,r){let o=e[Lr];throw t[Gc]&&o.unshift(t[Gc]),e.message=th(`
|
|
5
|
+
`+e.message,o,n,r),e[Zp]=o,e[Lr]=null,e}function th(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
|
+
`&&e.charAt(1)==Qp?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ue(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Yp,`
|
|
7
|
+
`)}`}var Bu=Vu(Au("Optional"),8);var nh=Vu(Au("SkipSelf"),4);function ft(e,t){let n=e.hasOwnProperty(Pr);return n?e[Pr]:null}function rh(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 oh(e){return e.flat(Number.POSITIVE_INFINITY)}function js(e,t){e.forEach(n=>Array.isArray(n)?js(n,t):t(n))}function Hu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ih(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 ao(e,t,n){let r=Fn(e,t);return r>=0?e[r|1]=n:(r=~r,ih(e,r,t,n)),r}function ui(e,t){let n=Fn(e,t);if(n>=0)return e[n|1]}function Fn(e,t){return sh(e,t,1)}function sh(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 pt={},X=[],vn=new M(""),$u=new M("",-1),Uu=new M(""),Vr=class{get(t,n=yn){if(n===yn){let r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}};function ht(e){return e[$p]||null}function zu(e){return e[Up]||null}function Gu(e){return e[zp]||null}function ah(e){let t=ht(e)||zu(e)||Gu(e);return t!==null&&t.standalone}function Wu(e){return{\u0275providers:e}}function ch(...e){return{\u0275providers:qu(!0,e),\u0275fromNgModule:!0}}function qu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return js(t,s=>{let a=s;Ti(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Zu(o,i),n}function Zu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Vs(o,i=>{t(i,r)})}}function Ti(e,t,n,r){if(e=J(e),!e)return!1;let o=null,i=$c(e),s=!i&&ht(e);if(!i&&!s){let c=e.ngModule;if(i=$c(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)Ti(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{js(i.imports,l=>{Ti(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Zu(u,t)}if(!a){let u=ft(o)||(()=>new o);t({provide:o,useFactory:u,deps:X},o),t({provide:Uu,useValue:o,multi:!0},o),t({provide:vn,useValue:()=>_(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Vs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Vs(e,t){for(let n of e)Pu(n)&&(n=n.\u0275providers),Array.isArray(n)?Vs(n,t):t(n)}var uh=O({provide:String,useValue:O});function Yu(e){return e!==null&&typeof e=="object"&&uh in e}function lh(e){return!!(e&&e.useExisting)}function dh(e){return!!(e&&e.useFactory)}function Ut(e){return typeof e=="function"}function fh(e){return!!e.useClass}var co=new M(""),Nr={},ph={},li;function uo(){return li===void 0&&(li=new Vr),li}var Ye=class{},Dn=class extends Ye{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,xi(t,s=>this.processProvider(s)),this.records.set($u,Pt(void 0,this)),o.has("environment")&&this.records.set(Ye,Pt(void 0,this));let i=this.records.get(co);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Uu,X,b.Self))}destroy(){hn(this),this._destroyed=!0;let t=C(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(),C(t)}}onDestroy(t){return hn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){hn(this);let n=We(this),r=te(void 0),o;try{return t()}finally{We(n),te(r)}}get(t,n=yn,r=b.Default){if(hn(this),t.hasOwnProperty(zc))return t[zc](this);r=so(r);let o,i=We(this),s=te(void 0);try{if(!(r&b.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=vh(t)&&Ps(t);u&&this.injectableDefInScope(u)?c=Pt(Ni(t),Nr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&b.Self?uo():this.parent;return n=r&b.Optional&&n===yn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Lr]=a[Lr]||[]).unshift(ue(t)),i)throw a;return eh(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),We(i)}}resolveInjectorInitializers(){let t=C(null),n=We(this),r=te(void 0),o;try{let i=this.get(vn,X,b.Self);for(let s of i)s()}finally{We(n),te(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=J(t);let n=Ut(t)?t:J(t&&t.provide),r=gh(t);if(!Ut(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Pt(void 0,Nr,!0),o.factory=()=>Si(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=C(null);try{return n.value===Nr&&(n.value=ph,n.value=n.factory()),typeof n.value=="object"&&n.value&&yh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=J(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 Ni(e){let t=Ps(e),n=t!==null?t.factory:ft(e);if(n!==null)return n;if(e instanceof M)throw new E(204,!1);if(e instanceof Function)return hh(e);throw new E(204,!1)}function hh(e){if(e.length>0)throw new E(204,!1);let n=Bp(e);return n!==null?()=>n.factory(e):()=>new e}function gh(e){if(Yu(e))return Pt(void 0,e.useValue);{let t=Qu(e);return Pt(t,Nr)}}function Qu(e,t,n){let r;if(Ut(e)){let o=J(e);return ft(o)||Ni(o)}else if(Yu(e))r=()=>J(e.useValue);else if(dh(e))r=()=>e.useFactory(...Si(e.deps||[]));else if(lh(e))r=()=>_(J(e.useExisting));else{let o=J(e&&(e.useClass||e.provide));if(mh(e))r=()=>new o(...Si(e.deps));else return ft(o)||Ni(o)}return r}function hn(e){if(e.destroyed)throw new E(205,!1)}function Pt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mh(e){return!!e.deps}function yh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function vh(e){return typeof e=="function"||typeof e=="object"&&e instanceof M}function xi(e,t){for(let n of e)Array.isArray(n)?xi(n,t):n&&Pu(n)?xi(n.\u0275providers,t):t(n)}function Ku(e,t){e instanceof Dn&&hn(e);let n,r=We(e),o=te(void 0);try{return t()}finally{We(r),te(o)}}function Ju(){return Lu()!==void 0||Kp()!=null}function lo(e){if(!Ju())throw new E(-203,!1)}function Dh(e){return typeof e=="function"}var Ve=0,y=1,m=2,Q=3,ve=4,Ie=5,En=6,Br=7,V=8,In=9,Pe=10,$=11,wn=12,Wc=13,Qt=14,De=15,gt=16,Lt=17,Le=18,Pn=19,Xu=20,Ze=21,xr=22,mt=23,re=24,Ht=25,j=26,el=1;var yt=7,Hr=8,zt=9,Y=10;function Fe(e){return Array.isArray(e)&&typeof e[el]=="object"}function Be(e){return Array.isArray(e)&&e[el]===!0}function Bs(e){return(e.flags&4)!==0}function Kt(e){return e.componentOffset>-1}function fo(e){return(e.flags&1)===1}function Te(e){return!!e.template}function $r(e){return(e[m]&512)!==0}function Ln(e){return(e[m]&256)===256}var Ai=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function tl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var nl=(()=>{let e=()=>rl;return e.ngInherit=!0,e})();function rl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ih),Eh}function Eh(){let e=il(this),t=e?.current;if(t){let n=e.previous;if(n===pt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ih(e,t,n,r,o){let i=this.declaredInputs[r],s=il(e)||wh(e,{previous:pt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ai(u&&u.currentValue,n,c===pt),tl(e,t,o,n)}var ol="__ngSimpleChanges__";function il(e){return e[ol]||null}function wh(e,t){return e[ol]=t}var qc=null;var N=function(e,t=null,n){qc?.(e,t,n)},sl="svg",Ch="math";function oe(e){for(;Array.isArray(e);)e=e[Ve];return e}function al(e,t){return oe(t[e])}function Re(e,t){return oe(t[e.index])}function Hs(e,t){return e.data[t]}function po(e,t){return e[t]}function le(e,t){let n=t[e];return Fe(n)?n:n[Ve]}function bh(e){return(e[m]&4)===4}function $s(e){return(e[m]&128)===128}function Mh(e){return Be(e[Q])}function Qe(e,t){return t==null?null:e[t]}function cl(e){e[Lt]=0}function Us(e){e[m]&1024||(e[m]|=1024,$s(e)&&Jt(e))}function _h(e,t){for(;e>0;)t=t[Qt],e--;return t}function ho(e){return!!(e[m]&9216||e[re]?.dirty)}function Ri(e){e[Pe].changeDetectionScheduler?.notify(8),e[m]&64&&(e[m]|=1024),ho(e)&&Jt(e)}function Jt(e){e[Pe].changeDetectionScheduler?.notify(0);let t=vt(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!$s(t)));)t=vt(t)}function ul(e,t){if(Ln(e))throw new E(911,!1);e[Ze]===null&&(e[Ze]=[]),e[Ze].push(t)}function Sh(e,t){if(e[Ze]===null)return;let n=e[Ze].indexOf(t);n!==-1&&e[Ze].splice(n,1)}function vt(e){let t=e[Q];return Be(t)?t[Q]:t}function ll(e){return e[Br]??=[]}function dl(e){return e.cleanup??=[]}function Th(e,t,n,r){let o=ll(t);o.push(n),e.firstCreatePass&&dl(e).push(r,o.length-1)}var w={lFrame:El(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Oi=!1;function Nh(){return w.lFrame.elementDepthCount}function xh(){w.lFrame.elementDepthCount++}function Ah(){w.lFrame.elementDepthCount--}function zs(){return w.bindingsEnabled}function Rh(){return w.skipHydrationRootTNode!==null}function Oh(e){return w.skipHydrationRootTNode===e}function kh(){w.skipHydrationRootTNode=null}function I(){return w.lFrame.lView}function B(){return w.lFrame.tView}function S_(e){return w.lFrame.contextLView=e,e[V]}function T_(e){return w.lFrame.contextLView=null,e}function ie(){let e=fl();for(;e!==null&&e.type===64;)e=e.parent;return e}function fl(){return w.lFrame.currentTNode}function Fh(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Je(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function Gs(){return w.lFrame.isParent}function pl(){w.lFrame.isParent=!1}function hl(){return w.lFrame.contextLView}function gl(){return Oi}function Ur(e){let t=Oi;return Oi=e,t}function jn(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ph(e){return w.lFrame.bindingIndex=e}function Vn(){return w.lFrame.bindingIndex++}function ml(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Lh(){return w.lFrame.inI18n}function jh(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,ki(t)}function Vh(){return w.lFrame.currentDirectiveIndex}function ki(e){w.lFrame.currentDirectiveIndex=e}function Bh(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function yl(){return w.lFrame.currentQueryIndex}function Ws(e){w.lFrame.currentQueryIndex=e}function Hh(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[Ie]:null}function vl(e,t,n){if(n&b.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&b.Host);)if(o=Hh(i),o===null||(i=i[Qt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=Dl();return r.currentTNode=t,r.lView=e,!0}function qs(e){let t=Dl(),n=e[y];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Dl(){let e=w.lFrame,t=e===null?null:e.child;return t===null?El(e):t}function El(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 Il(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wl=Il;function Zs(){let e=Il();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 $h(e){return(w.lFrame.contextLView=_h(e,w.lFrame.contextLView))[V]}function He(){return w.lFrame.selectedIndex}function Dt(e){w.lFrame.selectedIndex=e}function Ys(){let e=w.lFrame;return Hs(e.tView,e.selectedIndex)}function N_(){w.lFrame.currentNamespace=sl}function x_(){Uh()}function Uh(){w.lFrame.currentNamespace=null}function zh(){return w.lFrame.currentNamespace}var Cl=!0;function go(){return Cl}function mo(e){Cl=e}function Gh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=rl(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 Qs(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 Ar(e,t,n){bl(e,t,3,n)}function Rr(e,t,n,r){(e[m]&3)===n&&bl(e,t,n,r)}function di(e,t){let n=e[m];(n&3)===t&&(n&=16383,n+=1,e[m]=n)}function bl(e,t,n,r){let o=r!==void 0?e[Lt]&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[Lt]+=65536),(a<i||i==-1)&&(Wh(e,n,t,c),e[Lt]=(e[Lt]&4294901760)+c+2),c++}function Zc(e,t){N(4,e,t);let n=C(null);try{t.call(e)}finally{C(n),N(5,e,t)}}function Wh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[m]>>14<e[Lt]>>16&&(e[m]&3)===t&&(e[m]+=16384,Zc(a,i)):Zc(a,i)}var $t=-1,Et=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function qh(e){return e instanceof Et}function Zh(e){return(e.flags&8)!==0}function Yh(e){return(e.flags&16)!==0}function Qh(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];Jh(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Kh(e){return e===3||e===4||e===6}function Jh(e){return e.charCodeAt(0)===64}function Gt(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?Yc(e,n,o,null,t[++r]):Yc(e,n,o,null,null))}}return e}function Yc(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){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var fi={},Fi=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=so(r);let o=this.injector.get(t,fi,r);return o!==fi||n===fi?o:this.parentInjector.get(t,n,r)}};function Ml(e){return e!==$t}function zr(e){return e&32767}function Xh(e){return e>>16}function Gr(e,t){let n=Xh(e),r=t;for(;n>0;)r=r[Qt],n--;return r}var Pi=!0;function Wr(e){let t=Pi;return Pi=e,t}var eg=256,_l=eg-1,Sl=5,tg=0,_e={};function ng(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(mn)&&(r=n[mn]),r==null&&(r=n[mn]=tg++);let o=r&_l,i=1<<o;t.data[e+(o>>Sl)]|=i}function qr(e,t){let n=Tl(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,pi(r.data,e),pi(t,null),pi(r.blueprint,null));let o=Ks(e,t),i=e.injectorIndex;if(Ml(o)){let s=zr(o),a=Gr(o,t),c=a[y].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function pi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ks(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=Ol(o),r===null)return $t;if(n++,o=o[Qt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return $t}function Li(e,t,n){ng(e,t,n)}function Nl(e,t,n){if(n&b.Optional||e!==void 0)return e;Ls(t,"NodeInjector")}function xl(e,t,n,r){if(n&b.Optional&&r===void 0&&(r=null),(n&(b.Self|b.Host))===0){let o=e[In],i=te(void 0);try{return o?o.get(t,r,n&b.Optional):ju(t,r,n&b.Optional)}finally{te(i)}}return Nl(r,t,n)}function Al(e,t,n,r=b.Default,o){if(e!==null){if(t[m]&2048&&!(r&b.Self)){let s=sg(e,t,n,r,_e);if(s!==_e)return s}let i=Rl(e,t,n,r,_e);if(i!==_e)return i}return xl(t,n,r,o)}function Rl(e,t,n,r,o){let i=og(n);if(typeof i=="function"){if(!vl(t,e,r))return r&b.Host?Nl(o,n,r):xl(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&b.Optional))Ls(n);else return s}finally{wl()}}else if(typeof i=="number"){let s=null,a=Tl(e,t),c=$t,u=r&b.Host?t[De][Ie]:null;for((a===-1||r&b.SkipSelf)&&(c=a===-1?Ks(e,t):t[a+8],c===$t||!Kc(r,!1)?a=-1:(s=t[y],a=zr(c),t=Gr(c,t)));a!==-1;){let l=t[y];if(Qc(i,a,l.data)){let f=rg(a,t,n,s,r,u);if(f!==_e)return f}c=t[a+8],c!==$t&&Kc(r,t[y].data[a+8]===u)&&Qc(i,a,t)?(s=l,a=zr(c),t=Gr(c,t)):a=-1}}return o}function rg(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?Kt(a)&&Pi:r!=s&&(a.type&3)!==0,u=o&b.Host&&i===a,l=Or(a,s,n,c,u);return l!==null?Cn(t,s,l,a):_e}function Or(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,f=r?a:a+l,p=o?a+l:u;for(let d=f;d<p;d++){let h=s[d];if(d<c&&n===h||d>=c&&h.type===n)return d}if(o){let d=s[c];if(d&&Te(d)&&d.type===n)return c}return null}function Cn(e,t,n,r){let o=e[n],i=t.data;if(qh(o)){let s=o;s.resolving&&Wp(Gp(i[n]));let a=Wr(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?te(s.injectImpl):null,l=vl(e,r,b.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Gh(n,i[n],t)}finally{u!==null&&te(u),Wr(a),s.resolving=!1,wl()}}return o}function og(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(mn)?e[mn]:void 0;return typeof t=="number"?t>=0?t&_l:ig:t}function Qc(e,t,n){let r=1<<e;return!!(n[t+(e>>Sl)]&r)}function Kc(e,t){return!(e&b.Self)&&!(e&b.Host&&t)}var dt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Al(this._tNode,this._lView,t,so(r),n)}};function ig(){return new dt(ie(),I())}function A_(e){return On(()=>{let t=e.prototype.constructor,n=t[Pr]||ji(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Pr]||ji(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ji(e){return Ou(e)?()=>{let t=ji(J(e));return t&&t()}:ft(e)}function sg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!$r(s);){let a=Rl(i,s,n,r|b.Self,_e);if(a!==_e)return a;let c=i.parent;if(!c){let u=s[Xu];if(u){let l=u.get(n,_e,r);if(l!==_e)return l}c=Ol(s),s=s[Qt]}i=c}return o}function Ol(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[Ie]:null}function Jc(e,t=null,n=null,r){let o=ag(e,t,n,r);return o.resolveInjectorInitializers(),o}function ag(e,t=null,n=null,r,o=new Set){let i=[n||X,ch(e)];return r=r||(typeof e=="object"?void 0:ue(e)),new Dn(i,t||uo(),r||null,o)}var de=class e{static THROW_IF_NOT_FOUND=yn;static NULL=new Vr;static create(t,n){if(Array.isArray(t))return Jc({name:""},n,t,"");{let r=t.name??"";return Jc({name:r},t.parent,t.providers,r)}}static \u0275prov=S({token:e,providedIn:"any",factory:()=>_($u)});static __NG_ELEMENT_ID__=-1};var cg=new M("");cg.__NG_ELEMENT_ID__=e=>{let t=ie();if(t===null)throw new E(204,!1);if(t.type&2)return t.value;if(e&b.Optional)return null;throw new E(204,!1)};var kl=!1,Bn=(()=>{class e{static __NG_ELEMENT_ID__=ug;static __NG_ENV_ID__=n=>n}return e})(),Zr=class extends Bn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return ul(this._lView,t),()=>Sh(this._lView,t)}};function ug(){return new Zr(I())}var Ke=class{},yo=new M("",{providedIn:"root",factory:()=>!1});var Fl=new M(""),Js=new M(""),Hn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new cn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.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.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();var Vi=class extends ae{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ju()&&(this.destroyRef=v(Bn,{optional:!0})??void 0,this.pendingTasks=v(Hn,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(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 G&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},qe=Vi;function bn(...e){}function Pl(e){let t,n;function r(){e=bn;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 Xc(e){return queueMicrotask(()=>e()),()=>{e=bn}}var Xs="isAngularZone",Yr=Xs+"_ID",lg=0,W=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new qe(!1);onMicrotaskEmpty=new qe(!1);onStable=new qe(!1);onError=new qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=kl}=t;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,pg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(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,dg,bn,bn);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)}},dg={};function ea(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 fg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Pl(()=>{e.callbackScheduled=!1,Bi(e),e.isCheckStableRunning=!0,ea(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Bi(e)}function pg(e){let t=()=>{fg(e)},n=lg++;e._inner=e._inner.fork({name:"angular",properties:{[Xs]:!0,[Yr]:n,[Yr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(hg(c))return r.invokeTask(i,s,a,c);try{return eu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),tu(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return eu(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!gg(c)&&t(),tu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Bi(e),ea(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 Bi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function eu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function tu(e){e._nesting--,ea(e)}var Qr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new qe;onMicrotaskEmpty=new qe;onStable=new qe;onError=new qe;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 hg(e){return Ll(e,"__ignore_ng_zone__")}function gg(e){return Ll(e,"__scheduler_tick__")}function Ll(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ne=class{_console=console;handleError(t){this._console.error("ERROR",t)}},mg=new M("",{providedIn:"root",factory:()=>{let e=v(W),t=v(Ne);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function nu(e,t){return xu(e,t)}function yg(e){return xu(Nu,e)}var R_=(nu.required=yg,nu);function vg(){return Xt(ie(),I())}function Xt(e,t){return new Xe(Re(e,t))}var Xe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=vg}return e})();function Dg(e){return e instanceof Xe?e.nativeElement:e}function O_(e,t){let n=lc(e),r=n[ne];return t?.equal&&(r.equal=t.equal),n.set=o=>er(r,o),n.update=o=>dc(r,o),n.asReadonly=Eg.bind(n),n}function Eg(){let e=this[ne];if(e.readonlyFn===void 0){let t=()=>this();t[ne]=e,e.readonlyFn=t}return e.readonlyFn}function Ig(){return this._results[Symbol.iterator]()}var Hi=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 ae}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=oh(t);(this._changesDetected=!rh(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]=Ig};function jl(e){return(e.flags&128)===128}var Vl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Vl||{}),ta=new Map,wg=0;function Cg(){return wg++}function bg(e){ta.set(e[Pn],e)}function Bl(e){return ta.get(e)||null}function $i(e){ta.delete(e[Pn])}var Ui=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return Bl(this.lViewId)}constructor(t,n,r){this.lViewId=t,this.nodeIndex=n,this.native=r}};function k_(e){let t=hi(e);if(t){if(Fe(t)){let n=t,r,o,i;if(Hl(e)){if(r=Sg(n,e),r==-1)throw new Error("The provided component was not found in the application");o=e}else if(Mg(e)){if(r=Tg(n,e),r==-1)throw new Error("The provided directive was not found in the application");i=Ng(r,n)}else if(r=ou(n,e),r==-1)return null;let s=oe(n[r]),a=hi(s),c=a&&!Array.isArray(a)?a:ru(n,r,s);if(o&&c.component===void 0&&(c.component=o,Se(c.component,c)),i&&c.directives===void 0){c.directives=i;for(let u=0;u<i.length;u++)Se(i[u],c)}Se(c.native,c),t=c}}else{let n=e,r=n;for(;r=r.parentNode;){let o=hi(r);if(o){let i=Array.isArray(o)?o:o.lView;if(!i)return null;let s=ou(i,n);if(s>=0){let a=oe(i[s]),c=ru(i,s,a);Se(a,c),t=c;break}}}}return t||null}function ru(e,t,n){return new Ui(e[Pn],t,n)}var zi="__ngContext__";function Se(e,t){Fe(t)?(e[zi]=t[Pn],bg(t)):e[zi]=t}function hi(e){let t=e[zi];return typeof t=="number"?Bl(t):t||null}function Hl(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Mg(e){return e&&e.constructor&&e.constructor.\u0275dir}function ou(e,t){let n=e[y];for(let r=j;r<n.bindingStartIndex;r++)if(oe(e[r])===t)return r;return-1}function _g(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Sg(e,t){let n=e[y].components;if(n)for(let r=0;r<n.length;r++){let o=n[r];if(le(o,e)[V]===t)return o}else if(le(j,e)[V]===t)return j;return-1}function Tg(e,t){let n=e[y].firstChild;for(;n;){let r=n.directiveStart,o=n.directiveEnd;for(let i=r;i<o;i++)if(e[i]===t)return n.index;n=_g(n)}return-1}function Ng(e,t){let n=t[y].data[e];if(n.directiveStart===0)return X;let r=[];for(let o=n.directiveStart;o<n.directiveEnd;o++){let i=t[o];Hl(i)||r.push(i)}return r}function $l(e){return zl(e[wn])}function Ul(e){return zl(e[ve])}function zl(e){for(;e!==null&&!Be(e);)e=e[ve];return e}var Gi;function Gl(e){Gi=e}function Wl(){if(Gi!==void 0)return Gi;if(typeof document<"u")return document;throw new E(210,!1)}var na=new M("",{providedIn:"root",factory:()=>xg}),xg="ng",ra=new M(""),$n=new M("",{providedIn:"platform",factory:()=>"unknown"});var F_=new M(""),oa=new M("",{providedIn:"root",factory:()=>Wl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ag="h",Rg="b";var ql=!1,Og=new M("",{providedIn:"root",factory:()=>ql});var ia=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ia||{}),en=new M(""),iu=new Set;function et(e){iu.has(e)||(iu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var sa=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=kg}return e})();function kg(){return new sa(I(),ie())}var jt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(jt||{}),Zl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fg=[jt.EarlyRead,jt.Write,jt.MixedReadWrite,jt.Read],Pg=(()=>{class e{ngZone=v(W);scheduler=v(Ke);errorHandler=v(Ne,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){v(en,{optional:!0})}execute(){let n=this.sequences.size>0;n&&N(16),this.executing=!0;for(let r of Fg)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&&N(17)}register(n){let{view:r}=n;r!==void 0?((r[Ht]??=[]).push(n),Jt(r),r[m]|=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(ia.AFTER_NEXT_RENDER,n):n()}static \u0275prov=S({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?.[Ht];t&&(this.view[Ht]=t.filter(n=>n!==this))}};function Lg(e,t){!t?.injector&&lo(Lg);let n=t?.injector??v(de);return et("NgAfterRender"),Yl(e,n,t,!1)}function jg(e,t){!t?.injector&&lo(jg);let n=t?.injector??v(de);return et("NgAfterNextRender"),Yl(e,n,t,!0)}function Vg(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Yl(e,t,n,r){let o=t.get(Zl);o.impl??=t.get(Pg);let i=t.get(en,null,{optional:!0}),s=n?.phase??jt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Bn):null,c=t.get(sa,null,{optional:!0}),u=new Wi(o.impl,Vg(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(u),u}var Bg=()=>null;function Ql(e,t,n=!1){return Bg(e,t,n)}function Kl(e,t){let n=e.contentQueries;if(n!==null){let r=C(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];Ws(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function qi(e,t,n){Ws(0);let r=C(null);try{t(e,n)}finally{C(r)}}function aa(e,t,n){if(Bs(t)){let r=C(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{C(r)}}}var xe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(xe||{}),Mr;function Hg(){if(Mr===void 0&&(Mr=null,ke.trustedTypes))try{Mr=ke.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mr}function vo(e){return Hg()?.createHTML(e)||e}var _r;function $g(){if(_r===void 0&&(_r=null,ke.trustedTypes))try{_r=ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _r}function su(e){return $g()?.createHTML(e)||e}var je=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Tu})`}},Zi=class extends je{getTypeName(){return"HTML"}},Yi=class extends je{getTypeName(){return"Style"}},Qi=class extends je{getTypeName(){return"Script"}},Ki=class extends je{getTypeName(){return"URL"}},Ji=class extends je{getTypeName(){return"ResourceURL"}};function we(e){return e instanceof je?e.changingThisBreaksApplicationSecurity:e}function tt(e,t){let n=Ug(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Tu})`)}return n===t}function Ug(e){return e instanceof je&&e.getTypeName()||null}function Jl(e){return new Zi(e)}function Xl(e){return new Yi(e)}function ed(e){return new Qi(e)}function td(e){return new Ki(e)}function nd(e){return new Ji(e)}function zg(e){let t=new es(e);return Gg()?new Xi(t):t}var Xi=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(vo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},es=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=vo(t),n}};function Gg(){try{return!!new window.DOMParser().parseFromString(vo(""),"text/html")}catch{return!1}}var Wg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Do(e){return e=String(e),e.match(Wg)?e:"unsafe:"+e}function $e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Un(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var rd=$e("area,br,col,hr,img,wbr"),od=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),id=$e("rp,rt"),qg=Un(id,od),Zg=Un(od,$e("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")),Yg=Un(id,$e("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")),au=Un(rd,Zg,Yg,qg),sd=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Qg=$e("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"),Kg=$e("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"),Jg=Un(sd,Qg,Kg),Xg=$e("script,style,template"),ts=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=nm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=tm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=cu(t).toLowerCase();if(!au.hasOwnProperty(n))return this.sanitizedSomething=!0,!Xg.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(!Jg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;sd[a]&&(c=Do(c)),this.buf.push(" ",s,'="',uu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=cu(t).toLowerCase();au.hasOwnProperty(n)&&!rd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(uu(t))}};function em(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function tm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ad(t);return t}function nm(e){let t=e.firstChild;if(t&&em(e,t))throw ad(t);return t}function cu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ad(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var rm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,om=/([^\#-~ |!])/g;function uu(e){return e.replace(/&/g,"&").replace(rm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(om,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Sr;function ca(e,t){let n=null;try{Sr=Sr||zg(e);let r=t?String(t):"";n=Sr.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=Sr.getInertBodyElement(r)}while(r!==i);let a=new ts().sanitizeChildren(lu(n)||n);return vo(a)}finally{if(n){let r=lu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function lu(e){return"content"in e&&im(e)?e.content:null}function im(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Oe=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}(Oe||{});function P_(e){let t=cd();return t?su(t.sanitize(Oe.HTML,e)||""):tt(e,"HTML")?su(we(e)):ca(Wl(),kn(e))}function L_(e){let t=cd();return t?t.sanitize(Oe.URL,e)||"":tt(e,"URL")?we(e):Do(kn(e))}function cd(){let e=I();return e&&e[Pe].sanitizer}var sm=/^>|^->|<!--|-->|--!>|<!-$/g,am=/(<|>)/g,cm="\u200B$1\u200B";function um(e){return e.replace(sm,t=>t.replace(am,cm))}function lm(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 ud="ng-template";function dm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&lm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ua(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 ua(e){return e.type===4&&e.value!==ud}function fm(e,t,n){let r=e.type===4&&!n?ud:e.value;return t===r}function pm(e,t,n){let r=4,o=e.attrs,i=o!==null?mm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!me(r)&&!me(c))return!1;if(s&&me(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!fm(e,c,n)||c===""&&t.length===1){if(me(r))return!1;s=!0}}else if(r&8){if(o===null||!dm(e,o,c,n)){if(me(r))return!1;s=!0}}else{let u=t[++a],l=hm(c,o,ua(e),n);if(l===-1){if(me(r))return!1;s=!0;continue}if(u!==""){let f;if(l>i?f="":f=o[l+1].toLowerCase(),r&2&&u!==f){if(me(r))return!1;s=!0}}}}return me(r)||s}function me(e){return(e&1)===0}function hm(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 ym(t,e)}function gm(e,t,n=!1){for(let r=0;r<t.length;r++)if(pm(e,t[r],n))return!0;return!1}function mm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Kh(n))return t}return e.length}function ym(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 du(e,t){return e?":not("+t.trim()+")":t}function vm(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!==""&&!me(s)&&(t+=du(i,o),o=""),r=s,i=i||!me(r);n++}return o!==""&&(t+=du(i,o)),t}function Dm(e){return e.map(vm).join(",")}function Em(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(!me(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Ce={};function Im(e,t){return e.createText(t)}function wm(e,t,n){e.setValue(t,n)}function Cm(e,t){return e.createComment(um(t))}function ld(e,t,n){return e.createElement(t,n)}function Kr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function dd(e,t,n){e.appendChild(t,n)}function fu(e,t,n,r,o){r!==null?Kr(e,t,n,r,o):dd(e,t,n)}function bm(e,t,n){e.removeChild(null,t,n)}function Mm(e,t,n){e.setAttribute(t,"style",n)}function _m(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function fd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Qh(e,t,r),o!==null&&_m(e,t,o),i!==null&&Mm(e,t,i)}function la(e,t,n,r,o,i,s,a,c,u,l){let f=j+r,p=f+o,d=Sm(f,p),h=typeof u=="function"?u():u;return d[y]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,f),bindingStartIndex:f,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 Sm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ce);return n}function Tm(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=la(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function da(e,t,n,r,o,i,s,a,c,u,l){let f=t.blueprint.slice();return f[Ve]=o,f[m]=r|4|128|8|64|1024,(u!==null||e&&e[m]&2048)&&(f[m]|=2048),cl(f),f[Q]=f[Qt]=e,f[V]=n,f[Pe]=s||e&&e[Pe],f[$]=a||e&&e[$],f[In]=c||e&&e[In]||null,f[Ie]=i,f[Pn]=Cg(),f[En]=l,f[Xu]=u,f[De]=t.type==2?e[De]:f,f}function Nm(e,t,n){let r=Re(t,e),o=Tm(n),i=e[Pe].rendererFactory,s=fa(e,da(e,o,null,pd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function pd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function hd(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 fa(e,t){return e[wn]?e[Wc][ve]=t:e[wn]=t,e[Wc]=t,t}function j_(e=1){gd(B(),I(),He()+e,!1)}function gd(e,t,n,r){if(!r)if((t[m]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ar(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Rr(t,i,0,n)}Dt(n)}var Eo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Eo||{});function ns(e,t,n,r){let o=C(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Eo.SignalBased)!==0&&(c=t[i][ne]),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):tl(t,c,i,r)}finally{C(o)}}function md(e,t,n,r,o){let i=He(),s=r&2;try{Dt(-1),s&&t.length>j&&gd(e,t,j,!1),N(s?2:0,o),n(r,o)}finally{Dt(i),N(s?3:1,o)}}function Io(e,t,n){Fm(e,t,n),(n.flags&64)===64&&Pm(e,t,n)}function pa(e,t,n=Re){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 xm(e,t,n,r){let i=r.get(Og,ql)||n===xe.ShadowDom,s=e.selectRootElement(t,i);return Am(s),s}function Am(e){Rm(e)}var Rm=()=>null;function Om(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function yd(e,t,n,r,o,i,s,a){if(!a&&ga(t,e,n,r,o)){Kt(t)&&km(n,t.index);return}if(t.type&3){let c=Re(t,n);r=Om(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function km(e,t){let n=le(t,e);n[m]&16||(n[m]|=64)}function Fm(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Kt(n)&&Nm(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||qr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Cn(t,e,s,n);if(Se(c,t),i!==null&&Bm(t,s-r,c,a,n,i),Te(a)){let u=le(n.index,t);u[V]=Cn(t,e,s,n)}}}function Pm(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Vh();try{Dt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];ki(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Lm(c,u)}}finally{Dt(-1),ki(s)}}function Lm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function ha(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];gm(t,i.selectors,!1)&&(r??=[],Te(i)?r.unshift(i):r.push(i))}return r}function jm(e,t,n,r,o,i){let s=Re(e,t);Vm(t[$],s,i,e.value,n,r,o)}function Vm(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?kn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Bm(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];ns(r,n,c,u)}}function vd(e,t){let n=e[In],r=n?n.get(Ne,null):null;r&&r.handleError(t)}function ga(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],f=t.data[u];ns(f,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];ns(l,u,r,o),a=!0}return a}function Hm(e,t){let n=le(t,e),r=n[y];$m(r,n);let o=n[Ve];o!==null&&n[En]===null&&(n[En]=Ql(o,n[In])),N(18),ma(r,n,n[V]),N(19,n[V])}function $m(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ma(e,t,n){qs(t);try{let r=e.viewQuery;r!==null&&qi(1,r,n);let o=e.template;o!==null&&md(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Le]?.finishViewCreation(e),e.staticContentQueries&&Kl(e,t),e.staticViewQueries&&qi(2,e.viewQuery,n);let i=e.components;i!==null&&Um(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[m]&=-5,Zs()}}function Um(e,t){for(let n=0;n<t.length;n++)Hm(e,t[n])}function wo(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[m]&4096?4096:16,c=da(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[Le];return l!==null&&(c[Le]=l.createEmbeddedView(i)),ma(i,c,n),c}finally{C(o)}}function Mn(e,t){return!t||t.firstChild===null||jl(e)}var zm;function ya(e,t){return zm(e,t)}var Ae=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ae||{});function Dd(e){return(e.flags&32)===32}function Vt(e,t,n,r,o){if(r!=null){let i,s=!1;Be(r)?i=r:Fe(r)&&(s=!0,r=r[Ve]);let a=oe(r);e===0&&n!==null?o==null?dd(t,n,a):Kr(t,n,a,o||null,!0):e===1&&n!==null?Kr(t,n,a,o||null,!0):e===2?bm(t,a,s):e===3&&t.destroyNode(a),i!=null&&ny(t,e,i,n,o)}}function Gm(e,t){Ed(e,t),t[Ve]=null,t[Ie]=null}function Wm(e,t,n,r,o,i){r[Ve]=o,r[Ie]=t,Mo(e,r,n,1,o,i)}function Ed(e,t){t[Pe].changeDetectionScheduler?.notify(9),Mo(e,t,t[$],2,null,null)}function qm(e){let t=e[wn];if(!t)return gi(e[y],e);for(;t;){let n=null;if(Fe(t))n=t[wn];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[ve]&&t!==e;)Fe(t)&&gi(t[y],t),t=t[Q];t===null&&(t=e),Fe(t)&&gi(t[y],t),n=t&&t[ve]}t=n}}function va(e,t){let n=e[zt],r=n.indexOf(t);n.splice(r,1)}function Co(e,t){if(Ln(t))return;let n=t[$];n.destroyNode&&Mo(e,t,n,3,null,null),qm(t)}function gi(e,t){if(Ln(t))return;let n=C(null);try{t[m]&=-129,t[m]|=256,t[re]&&Mt(t[re]),Ym(e,t),Zm(e,t),t[y].type===1&&t[$].destroy();let r=t[gt];if(r!==null&&Be(t[Q])){r!==t[Q]&&va(r,t);let o=t[Le];o!==null&&o.detachView(e)}$i(t)}finally{C(n)}}function Zm(e,t){let n=e.cleanup,r=t[Br];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[Br]=null);let o=t[Ze];if(o!==null){t[Ze]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[mt];if(i!==null){t[mt]=null;for(let s of i)s.destroy()}}function Ym(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 Et)){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];N(4,a,c);try{c.call(a)}finally{N(5,a,c)}}else{N(4,o,i);try{i.call(o)}finally{N(5,o,i)}}}}}function Qm(e,t,n){return Km(e,t.parent,n)}function Km(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ve];if(Kt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===xe.None||o===xe.Emulated)return null}return Re(r,n)}function Jm(e,t,n){return ey(e,t,n)}function Xm(e,t,n){return e.type&40?Re(e,n):null}var ey=Xm,pu;function bo(e,t,n,r){let o=Qm(e,r,t),i=t[$],s=r.parent||t[Ie],a=Jm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)fu(i,o,n[c],a,!1);else fu(i,o,n,a,!1);pu!==void 0&&pu(i,r,t,n,o)}function gn(e,t){if(t!==null){let n=t.type;if(n&3)return Re(t,e);if(n&4)return rs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return gn(e,r);{let o=e[t.index];return Be(o)?rs(-1,o):oe(o)}}else{if(n&128)return gn(e,t.next);if(n&32)return ya(t,e)()||oe(e[t.index]);{let r=Id(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=vt(e[De]);return gn(o,r)}else return gn(e,t.next)}}}return null}function Id(e,t){if(t!==null){let r=e[De][Ie],o=t.projection;return r.projection[o]}return null}function rs(e,t){let n=Y+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return gn(r,o)}return t[yt]}function Da(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&&Se(oe(a),r),n.flags|=2),!Dd(n))if(c&8)Da(e,t,n.child,r,o,i,!1),Vt(t,e,o,a,i);else if(c&32){let u=ya(n,r),l;for(;l=u();)Vt(t,e,o,l,i);Vt(t,e,o,a,i)}else c&16?ty(e,t,r,n,o,i):Vt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Mo(e,t,n,r,o,i){Da(n,r,e.firstChild,t,o,i,!1)}function ty(e,t,n,r,o,i){let s=n[De],c=s[Ie].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Vt(t,e,o,l,i)}else{let u=c,l=s[Q];jl(r)&&(u.flags|=128),Da(e,t,u,l,o,i,!0)}}function ny(e,t,n,r,o){let i=n[yt],s=oe(n);i!==s&&Vt(t,e,r,i,o);for(let a=Y;a<n.length;a++){let c=n[a];Mo(c[y],c,e,t,r,i)}}function ry(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ae.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ae.Important),e.setStyle(n,r,o,i))}}function Jr(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(oe(i)),Be(i)&&oy(i,r);let s=n.type;if(s&8)Jr(e,t,n.child,r);else if(s&32){let a=ya(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Id(t,n);if(Array.isArray(a))r.push(...a);else{let c=vt(t[De]);Jr(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function oy(e,t){for(let n=Y;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&Jr(r[y],r,o,t)}e[yt]!==e[Ve]&&t.push(e[yt])}function wd(e){if(e[Ht]!==null){for(let t of e[Ht])t.impl.addSequence(t);e[Ht].length=0}}var Cd=[];function iy(e){return e[re]??sy(e)}function sy(e){let t=Cd.pop()??Object.create(cy);return t.lView=e,t}function ay(e){e.lView[re]!==e&&(e.lView=null,Cd.push(e))}var cy=Z(q({},rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Jt(e.lView)},consumerOnSignalRead(){this.lView[re]=this}});function uy(e){let t=e[re]??Object.create(ly);return t.lView=e,t}var ly=Z(q({},rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=vt(e.lView);for(;t&&!bd(t[y]);)t=vt(t);t&&Us(t)},consumerOnSignalRead(){this.lView[re]=this}});function bd(e){return e.type!==2}function Md(e){if(e[mt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[mt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[m]&8192)}}var dy=100;function _d(e,t=!0,n=0){let o=e[Pe].rendererFactory,i=!1;i||o.begin?.();try{fy(e,n)}catch(s){throw t&&vd(e,s),s}finally{i||o.end?.()}}function fy(e,t){let n=gl();try{Ur(!0),os(e,t);let r=0;for(;ho(e);){if(r===dy)throw new E(103,!1);r++,os(e,1)}}finally{Ur(n)}}function py(e,t,n,r){if(Ln(t))return;let o=t[m],i=!1,s=!1;qs(t);let a=!0,c=null,u=null;i||(bd(e)?(u=iy(t),c=bt(u)):Ja()===null?(a=!1,u=uy(t),c=bt(u)):t[re]&&(Mt(t[re]),t[re]=null));try{cl(t),Ph(e.bindingStartIndex),n!==null&&md(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let d=e.preOrderCheckHooks;d!==null&&Ar(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Rr(t,d,0,null),di(t,0)}if(s||hy(t),Md(t),Sd(t,0),e.contentQueries!==null&&Kl(e,t),!i)if(l){let d=e.contentCheckHooks;d!==null&&Ar(t,d)}else{let d=e.contentHooks;d!==null&&Rr(t,d,1),di(t,1)}my(e,t);let f=e.components;f!==null&&Nd(t,f,0);let p=e.viewQuery;if(p!==null&&qi(2,p,r),!i)if(l){let d=e.viewCheckHooks;d!==null&&Ar(t,d)}else{let d=e.viewHooks;d!==null&&Rr(t,d,2),di(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xr]){for(let d of t[xr])d();t[xr]=null}i||(wd(t),t[m]&=-73)}catch(l){throw i||Jt(t),l}finally{u!==null&&(on(u,c),a&&ay(u)),Zs()}}function Sd(e,t){for(let n=$l(e);n!==null;n=Ul(n))for(let r=Y;r<n.length;r++){let o=n[r];Td(o,t)}}function hy(e){for(let t=$l(e);t!==null;t=Ul(t)){if(!(t[m]&2))continue;let n=t[zt];for(let r=0;r<n.length;r++){let o=n[r];Us(o)}}}function gy(e,t,n){N(18);let r=le(t,e);Td(r,n),N(19,r[V])}function Td(e,t){$s(e)&&os(e,t)}function os(e,t){let r=e[y],o=e[m],i=e[re],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&sn(i)),s||=!1,i&&(i.dirty=!1),e[m]&=-9217,s)py(r,e,r.template,e[V]);else if(o&8192){Md(e),Sd(e,1);let a=r.components;a!==null&&Nd(e,a,1),wd(e)}}function Nd(e,t,n){for(let r=0;r<t.length;r++)gy(e,t[r],n)}function my(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)Dt(~o);else{let i=o,s=n[++r],a=n[++r];jh(s,i);let c=t[i];N(24,c),a(2,c),N(25,c)}}}finally{Dt(-1)}}function Ea(e,t){let n=gl()?64:1088;for(e[Pe].changeDetectionScheduler?.notify(t);e;){e[m]|=n;let r=vt(e);if($r(e)&&!r)return e;e=r}return null}function xd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ad(e,t){let n=Y+t;if(n<e.length)return e[n]}function _o(e,t,n,r=!0){let o=t[y];if(yy(o,t,e,n),r){let s=rs(n,e),a=t[$],c=a.parentNode(e[yt]);c!==null&&Wm(o,e[Ie],a,t,c,s)}let i=t[En];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Rd(e,t){let n=_n(e,t);return n!==void 0&&Co(n[y],n),n}function _n(e,t){if(e.length<=Y)return;let n=Y+t,r=e[n];if(r){let o=r[gt];o!==null&&o!==e&&va(o,r),t>0&&(e[n-1][ve]=r[ve]);let i=jr(e,Y+t);Gm(r[y],r);let s=i[Le];s!==null&&s.detachView(i[y]),r[Q]=null,r[ve]=null,r[m]&=-129}return r}function yy(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][ve]=t),r<i-Y?(t[ve]=n[o],Hu(n,Y+r,t)):(n.push(t),t[ve]=null),t[Q]=n;let s=t[gt];s!==null&&n!==s&&Od(s,t);let a=t[Le];a!==null&&a.insertView(e),Ri(t),t[m]|=128}function Od(e,t){let n=e[zt],r=t[Q];if(Fe(r))e[m]|=2;else{let o=r[Q][De];t[De]!==o&&(e[m]|=2)}n===null?e[zt]=[t]:n.push(t)}var It=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[y];return Jr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[V]}get dirty(){return!!(this._lView[m]&9280)||!!this._lView[re]?.dirty}set context(t){this._lView[V]=t}get destroyed(){return Ln(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Q];if(Be(t)){let n=t[Hr],r=n?n.indexOf(this):-1;r>-1&&(_n(t,r),jr(n,r))}this._attachedToViewContainer=!1}Co(this._lView[y],this._lView)}onDestroy(t){ul(this._lView,t)}markForCheck(){Ea(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Us(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Ri(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,_d(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=$r(this._lView),n=this._lView[gt];n!==null&&!t&&va(n,this._lView),Ed(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;let n=$r(this._lView),r=this._lView[gt];r!==null&&!n&&Od(r,this._lView),Ri(this._lView)}},Sn=(()=>{class e{static __NG_ELEMENT_ID__=Ey}return e})(),vy=Sn,Dy=class extends vy{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=wo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new It(o)}};function Ey(){return So(ie(),I())}function So(e,t){return e.type&4?new Dy(t,e,Xt(e,t)):null}function zn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Iy(e,t,n,r,o),Lh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Fh();i.injectorIndex=s===null?-1:s.injectorIndex}return Je(i,!0),i}function Iy(e,t,n,r,o){let i=fl(),s=Gs(),a=s?i:i&&i.parent,c=e.data[t]=Cy(e,a,n,t,r,o);return wy(e,c,i,s),c}function wy(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 Cy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Rh()&&(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 B_=new RegExp(`^(\\d+)*(${Rg}|${Ag})*(.*)`);var by=()=>null;function Tn(e,t){return by(e,t)}var is=class{},Xr=class{},ss=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ue(t)}.`)}},Nn=class{static NULL=new ss},Wt=class{},To=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>My()}return e})();function My(){let e=I(),t=ie(),n=le(t.index,e);return(Fe(n)?n:e)[$]}var _y=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();function as(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=bi(o,a);else if(i==2){let c=a,u=t[++s];r=bi(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function K(e,t=b.Default){let n=I();if(n===null)return _(e,t);let r=ie();return Al(r,n,J(e),t)}function Ia(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,u=null,l=Ty(s);l===null?a=s:[a,c,u]=l,Ay(e,t,n,a,i,c,u)}i!==null&&r!==null&&Sy(n,r,i)}function Sy(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 E(-301,!1);r.push(t[o],i)}}function Ty(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Te(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,Ny(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function Ny(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function xy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Ay(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let d=r[p];!c&&Te(d)&&(c=!0,xy(e,n,p)),Li(qr(n,t),e,d.type)}Ly(n,e.data.length,a);for(let p=0;p<a;p++){let d=r[p];d.providersResolver&&d.providersResolver(d)}let u=!1,l=!1,f=hd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let d=r[p];if(n.mergedAttrs=Gt(n.mergedAttrs,d.hostAttrs),Oy(e,n,t,f,d),Py(f,d,o),s!==null&&s.has(d)){let[g,P]=s.get(d);n.directiveToIndex.set(d.type,[f,g+n.directiveStart,P+n.directiveStart])}else(i===null||!i.has(d))&&n.directiveToIndex.set(d.type,f);d.contentQueries!==null&&(n.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(n.flags|=64);let h=d.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),f++}Ry(e,n,i)}function Ry(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))hu(0,t,o,r),hu(1,t,o,r),mu(t,r,!1);else{let i=n.get(o);gu(0,t,i,r),gu(1,t,i,r),mu(t,r,!0)}}}function hu(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),kd(t,i)}}function gu(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),kd(t,s)}}function kd(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function mu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ua(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 Oy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ft(o.type,!0)),s=new Et(i,Te(o),K);e.blueprint[r]=s,n[r]=s,ky(e,t,r,hd(e,n,o.hostVars,Ce),o)}function ky(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Fy(s)!=a&&s.push(a),s.push(n,r,i)}}function Fy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Py(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Te(t)&&(n[""]=e)}}function Ly(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Fd(e,t,n,r,o,i,s,a){let c=t.consts,u=Qe(c,s),l=zn(t,e,2,r,u);return i&&Ia(t,n,l,Qe(c,a),o),l.mergedAttrs=Gt(l.mergedAttrs,l.attrs),l.attrs!==null&&as(l,l.attrs,!1),l.mergedAttrs!==null&&as(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function Pd(e,t){Qs(e,t),Bs(t)&&e.queries.elementEnd(t)}var cs=class extends Nn{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ht(t);return new xn(n,this.ngModule)}};function jy(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Eo.SignalBased)!==0};return o&&(i.transform=o),i})}function Vy(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function By(e,t,n){let r=t instanceof Ye?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Fi(n,r):n}function Hy(e){let t=e.get(Wt,null);if(t===null)throw new E(407,!1);let n=e.get(_y,null),r=e.get(Ke,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function $y(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return ld(t,n,n==="svg"?sl:n==="math"?Ch:null)}var xn=class extends Xr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return jy(this.componentDef.inputs)}get outputs(){return Vy(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Dm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){N(22);let i=C(null);try{let s=this.componentDef,a=r?["ng-version","19.2.0"]:Em(this.componentDef.selectors[0]),c=la(0,null,null,1,0,null,null,null,null,[a],null),u=By(s,o||this.ngModule,t),l=Hy(u),f=l.rendererFactory.createRenderer(null,s),p=r?xm(f,r,s.encapsulation,u):$y(s,f),d=da(null,c,null,512|pd(s),null,null,l,f,u,null,Ql(p,u,!0));d[j]=p,qs(d);let h=null;try{let g=Fd(j,c,d,"#host",()=>[this.componentDef],!0,0);p&&(fd(f,p,g),Se(p,d)),Io(c,d,g),aa(c,g,d),Pd(c,g),n!==void 0&&Uy(g,this.ngContentSelectors,n),h=le(g.index,d),d[V]=h[V],ma(c,d,null)}catch(g){throw h!==null&&$i(h),$i(d),g}finally{N(23),Zs()}return new us(this.componentType,d)}finally{C(i)}}},us=class extends is{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Hs(n[y],j),this.location=Xt(this._tNode,n),this.instance=le(this._tNode.index,n)[V],this.hostView=this.changeDetectorRef=new It(n,void 0,!1),this.componentType=t}setInput(t,n){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=ga(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=le(r.index,o);Ea(s,1)}get injector(){return new dt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Uy(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 Gn=(()=>{class e{static __NG_ELEMENT_ID__=zy}return e})();function zy(){let e=ie();return jd(e,I())}var Gy=Gn,Ld=class extends Gy{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Xt(this._hostTNode,this._hostLView)}get injector(){return new dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ks(this._hostTNode,this._hostLView);if(Ml(t)){let n=Gr(t,this._hostLView),r=zr(t),o=n[y].data[r+8];return new dt(o,n)}else return new dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=yu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Tn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Mn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Dh(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new xn(ht(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(Ye,null);g&&(i=g)}let l=ht(c.componentType??{}),f=Tn(this._lContainer,l?.id??null),p=f?.firstChild??null,d=c.create(u,o,p,i);return this.insertImpl(d.hostView,a,Mn(this._hostTNode,f)),d}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Mh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Q],u=new Ld(c,c[Ie],c[Q]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return _o(s,o,i,r),t.attachToViewContainerRef(),Hu(mi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=yu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);r&&(jr(mi(this._lContainer),n),Co(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);return r&&jr(mi(this._lContainer),n)!=null?new It(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yu(e){return e[Hr]}function mi(e){return e[Hr]||(e[Hr]=[])}function jd(e,t){let n,r=t[e.index];return Be(r)?n=r:(n=xd(r,t,null,e),t[e.index]=n,fa(t,n)),qy(n,t,e,r),new Ld(n,e,t)}function Wy(e,t){let n=e[$],r=n.createComment(""),o=Re(t,e),i=n.parentNode(o);return Kr(n,i,r,n.nextSibling(o),!1),r}var qy=Qy,Zy=()=>!1;function Yy(e,t,n){return Zy(e,t,n)}function Qy(e,t,n,r){if(e[yt])return;let o;n.type&8?o=oe(r):o=Wy(t,n),e[yt]=o}var ls=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ds=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++)wa(t,n).matches!==null&&this.queries[n].setDirty()}},fs=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=ov(t):this.predicate=t}},ps=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)}},hs=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,Ky(n,i)),this.matchTNodeWithReadOption(t,n,Or(n,t,i,!1,!1))}else r===Sn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Or(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Xe||o===Gn||o===Sn&&n.type&4)this.addMatch(n.index,-2);else{let i=Or(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 Ky(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 Jy(e,t){return e.type&11?Xt(e,t):e.type&4?So(e,t):null}function Xy(e,t,n,r){return n===-1?Jy(t,e):n===-2?ev(e,t,r):Cn(e,e[y],n,t)}function ev(e,t,n){if(n===Xe)return Xt(t,e);if(n===Sn)return So(t,e);if(n===Gn)return jd(t,e)}function Vd(e,t,n,r){let o=t[Le].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(Xy(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function gs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Vd(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 f=Y;f<l.length;f++){let p=l[f];p[gt]===p[Q]&&gs(p[y],p,u,r)}if(l[zt]!==null){let f=l[zt];for(let p=0;p<f.length;p++){let d=f[p];gs(d[y],d,u,r)}}}}}return r}function tv(e,t){return e[Le].queries[t].queryList}function nv(e,t,n){let r=new Hi((n&4)===4);return Th(e,t,r,r.destroy),(t[Le]??=new ds).queries.push(new ls(r))-1}function rv(e,t,n){let r=B();return r.firstCreatePass&&(iv(r,new fs(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),nv(r,I(),t)}function ov(e){return e.split(",").map(t=>t.trim())}function iv(e,t,n){e.queries===null&&(e.queries=new ps),e.queries.track(new hs(t,n))}function wa(e,t){return e.queries.getByIndex(t)}function sv(e,t){let n=e[y],r=wa(n,t);return r.crossesNgTemplate?gs(n,e,t,[]):Vd(n,e,r,t)}var qt=class{};var eo=class extends qt{injector;componentFactoryResolver=new cs(this);instance=null;constructor(t){super();let n=new Dn([...t.providers,{provide:qt,useValue:this},{provide:Nn,useValue:this.componentFactoryResolver}],t.parent||uo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function av(e,t,n=null){return new eo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var cv=(()=>{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=qu(!1,n.type),o=r.length>0?av([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=S({token:e,providedIn:"environment",factory:()=>new e(_(Ye))})}return e})();function $_(e){return On(()=>{let t=Bd(e),n=Z(q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(cv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||xe.Emulated,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&et("NgStandalone"),Hd(n);let r=e.dependencies;return n.directiveDefs=vu(r,!1),n.pipeDefs=vu(r,!0),n.id=pv(n),n})}function uv(e){return ht(e)||zu(e)}function lv(e){return e!==null}function Ca(e){return On(()=>({type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function dv(e,t){if(e==null)return pt;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=Eo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function fv(e){if(e==null)return pt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function No(e){return On(()=>{let t=Bd(e);return Hd(t),t})}function xo(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 Bd(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||pt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:dv(e.inputs,t),outputs:fv(e.outputs),debugInfo:null}}function Hd(e){e.features?.forEach(t=>t(e))}function vu(e,t){if(!e)return null;let n=t?Gu:uv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(lv)}function pv(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 hv(e){return Object.getPrototypeOf(e.prototype).constructor}function gv(e){let t=hv(e.type),n=!0,r=[e];for(;t;){let o;if(Te(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=yi(e.inputs),s.declaredInputs=yi(e.declaredInputs),s.outputs=yi(e.outputs);let a=o.hostBindings;a&&Ev(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&vv(e,c),u&&Dv(e,u),mv(e,o),jp(e.outputs,o.outputs),Te(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===gv&&(n=!1)}}t=Object.getPrototypeOf(t)}yv(r)}function mv(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 yv(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=Gt(o.hostAttrs,n=Gt(n,o.hostAttrs))}}function yi(e){return e===pt?{}:e===X?[]:e}function vv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Dv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Ev(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function $d(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ba(e,t,n){return e[t]=n}function Ee(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ud(e,t,n,r){let o=Ee(e,t,n);return Ee(e,t+1,r)||o}function Iv(e,t,n,r,o){let i=Ud(e,t,n,r);return Ee(e,t+2,o)||i}function wv(e,t,n,r,o,i,s,a,c){let u=t.consts,l=zn(t,e,4,s||null,a||null);zs()&&Ia(t,n,l,Qe(u,c),ha),l.mergedAttrs=Gt(l.mergedAttrs,l.attrs),Qs(t,l);let f=l.tView=la(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),f.queries=t.queries.embeddedTView(l)),l}function ms(e,t,n,r,o,i,s,a,c,u){let l=n+j,f=t.firstCreatePass?wv(l,t,e,r,o,i,s,a,c):t.data[l];Je(f,!1);let p=bv(t,e,f,n);go()&&bo(t,e,p,f),Se(p,e);let d=xd(p,e,p,f);return e[l]=d,fa(e,d),Yy(d,f,e),fo(f)&&Io(t,e,f),c!=null&&pa(e,f,u),f}function Cv(e,t,n,r,o,i,s,a){let c=I(),u=B(),l=Qe(u.consts,i);return ms(c,u,e,t,n,r,o,l,s,a),Cv}var bv=Mv;function Mv(e,t,n,r){return mo(!0),t[$].createComment("")}var zd=new M("");var Gd=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new to})}return e})(),to=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}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)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function Ma(e){return!!e&&typeof e.then=="function"}function Wd(e){return!!e&&typeof e.subscribe=="function"}var _v=new M("");var qd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=v(_v,{optional:!0})??[];injector=v(de);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ku(this.injector,o);if(Ma(i))n.push(i);else if(Wd(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=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sv=new M("");function Tv(){uc(()=>{throw new E(600,!1)})}function Nv(e){return e.isBoundToModule}var xv=10;var Zt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=v(mg);afterRenderManager=v(Zl);zonelessEnabled=v(yo);rootEffectScheduler=v(Gd);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ae;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=v(Hn).hasPendingTasks.pipe(ut(n=>!n));constructor(){v(en,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=v(Ye);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){N(10);let o=n instanceof Xr;if(!this._injector.get(qd).done){let p=!o&&ah(n),d=!1;throw new E(405,d)}let s;o?s=n:s=this._injector.get(Nn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Nv(s)?void 0:this._injector.get(qt),c=r||s.selector,u=s.create(de.NULL,[],c,a),l=u.location.nativeElement,f=u.injector.get(zd,null);return f?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),kr(this.components,u),f?.unregisterApplication(l)}),this._loadComponent(u),N(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){N(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ia.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new E(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(n),this.afterTick.next(),N(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Wt,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<xv;)N(14),this.synchronizeOnce(),N(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)Av(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ho(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;kr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Sv,[]).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),()=>kr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(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=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Av(e,t,n,r){if(!n&&!ho(e))return;_d(e,t,n&&!r?0:1)}function Rv(e,t,n,r){let o=I(),i=Vn();if(Ee(o,i,t)){let s=B(),a=Ys();jm(a,o,e,t,n,r)}return Rv}function _a(e,t,n,r){return Ee(e,Vn(),n)?t+kn(n)+r:Ce}function Tr(e,t){return e<<17|t<<2}function wt(e){return e>>17&32767}function Ov(e){return(e&2)==2}function kv(e,t){return e&131071|t<<17}function ys(e){return e|2}function Yt(e){return(e&131068)>>2}function vi(e,t){return e&-131069|t<<2}function Fv(e){return(e&1)===1}function vs(e){return e|1}function Pv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=wt(s),c=Yt(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let f=n;l=f[1],(l===null||Fn(f,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=wt(e[a+1]);e[r+1]=Tr(p,a),p!==0&&(e[p+1]=vi(e[p+1],r)),e[a+1]=kv(e[a+1],r)}else e[r+1]=Tr(a,0),a!==0&&(e[a+1]=vi(e[a+1],r)),a=r;else e[r+1]=Tr(c,0),a===0?a=r:e[c+1]=vi(e[c+1],r),c=r;u&&(e[r+1]=ys(e[r+1])),Du(e,l,r,!0),Du(e,l,r,!1),Lv(t,l,e,r,i),s=Tr(a,c),i?t.classBindings=s:t.styleBindings=s}function Lv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Fn(i,t)>=0&&(n[r+1]=vs(n[r+1]))}function Du(e,t,n,r){let o=e[n+1],i=t===null,s=r?wt(o):Yt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];jv(c,t)&&(a=!0,e[s+1]=r?vs(u):ys(u)),s=r?wt(u):Yt(u)}a&&(e[n+1]=r?ys(o):vs(o))}function jv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Fn(e,t)>=0:!1}var ye={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vv(e){return e.substring(ye.key,ye.keyEnd)}function Bv(e){return Hv(e),Zd(e,Yd(e,0,ye.textEnd))}function Zd(e,t){let n=ye.textEnd;return n===t?-1:(t=ye.keyEnd=$v(e,ye.key=t,n),Yd(e,t,n))}function Hv(e){ye.key=0,ye.keyEnd=0,ye.value=0,ye.valueEnd=0,ye.textEnd=e.length}function Yd(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function $v(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Uv(e,t,n){let r=I(),o=Vn();if(Ee(r,o,t)){let i=B(),s=Ys();yd(i,s,r,e,t,r[$],n,!1)}return Uv}function Ds(e,t,n,r,o){ga(t,e,n,o?"class":"style",r)}function Qd(e,t,n){return Jd(e,t,n,!1),Qd}function zv(e,t){return Jd(e,t,null,!0),zv}function U_(e){Xd(Qv,Kd,e,!0)}function Kd(e,t){for(let n=Bv(t);n>=0;n=Zd(t,n))ao(e,Vv(t),!0)}function Jd(e,t,n,r){let o=I(),i=B(),s=ml(2);if(i.firstUpdatePass&&tf(i,e,s,r),t!==Ce&&Ee(o,s,t)){let a=i.data[He()];nf(i,a,o,o[$],e,o[s+1]=Jv(t,n),r,s)}}function Xd(e,t,n,r){let o=B(),i=ml(2);o.firstUpdatePass&&tf(o,null,i,r);let s=I();if(n!==Ce&&Ee(s,i,n)){let a=o.data[He()];if(rf(a,r)&&!ef(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=bi(c,n||"")),Ds(o,a,s,n,r)}else Kv(o,a,s,s[$],s[i+1],s[i+1]=Yv(e,t,n),r,i)}}function ef(e,t){return t>=e.expandoStartIndex}function tf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[He()],s=ef(e,n);rf(i,r)&&t===null&&!s&&(t=!1),t=Gv(o,i,t,r),Pv(o,i,t,n,s,r)}}function Gv(e,t,n,r){let o=Bh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Di(null,e,t,n,r),n=An(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Di(o,e,t,n,r),i===null){let c=Wv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Di(null,e,t,c[1],r),c=An(c,t.attrs,r),qv(e,t,r,c))}else i=Zv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Wv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Yt(r)!==0)return e[wt(r)]}function qv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[wt(o)]=r}function Zv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=An(r,s,n)}return An(r,t.attrs,n)}function Di(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=An(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function An(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]),ao(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Yv(e,t,n){if(n==null||n==="")return X;let r=[],o=we(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 Qv(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ao(e,r,n)}function Kv(e,t,n,r,o,i,s,a){o===Ce&&(o=X);let c=0,u=0,l=0<o.length?o[0]:null,f=0<i.length?i[0]:null;for(;l!==null||f!==null;){let p=c<o.length?o[c+1]:void 0,d=u<i.length?i[u+1]:void 0,h=null,g;l===f?(c+=2,u+=2,p!==d&&(h=f,g=d)):f===null||l!==null&&l<f?(c+=2,h=l):(u+=2,h=f,g=d),h!==null&&nf(e,t,n,r,h,g,s,a),l=c<o.length?o[c]:null,f=u<i.length?i[u]:null}}function nf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Fv(u)?Eu(c,t,n,o,Yt(u),s):void 0;if(!no(l)){no(i)||Ov(u)&&(i=Eu(c,null,n,o,a,s));let f=al(He(),n);ry(r,s,f,o,i)}}function Eu(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,f=l===null,p=n[o+1];p===Ce&&(p=f?X:void 0);let d=f?ui(p,r):l===r?p:void 0;if(u&&!no(d)&&(d=ui(c,r)),no(d)&&(a=d,s))return a;let h=e[o+1];o=s?wt(h):Yt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ui(c,r))}return a}function no(e){return e!==void 0}function Jv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ue(we(e)))),e}function rf(e,t){return(e.flags&(t?8:16))!==0}function z_(e,t,n){let r=I(),o=_a(r,e,t,n);Xd(ao,Kd,o,!0)}var Es=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 Ei(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Xv(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],f=Ei(i,u,i,l,n);if(f!==0){f<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),d=t[c],h=Ei(s,p,c,d,n);if(h!==0){h<0&&e.updateValue(s,d),s--,c--;continue}let g=n(i,u),P=n(s,p),T=n(i,l);if(Object.is(T,P)){let he=n(c,d);Object.is(he,g)?(e.swap(i,s),e.updateValue(s,d),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new ro,o??=wu(e,i,s,n),Is(e,r,i,T))e.updateValue(i,l),i++,s++;else if(o.has(T))r.set(g,e.detach(i)),s--;else{let he=e.create(i,t[i]);e.attach(i,he),i++,s++}}for(;i<=c;)Iu(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),f=u.value,p=Ei(i,l,i,f,n);if(p!==0)p<0&&e.updateValue(i,f),i++,u=c.next();else{r??=new ro,o??=wu(e,i,s,n);let d=n(i,f);if(Is(e,r,i,d))e.updateValue(i,f),i++,s++,u=c.next();else if(!o.has(d))e.attach(i,e.create(i,f)),i++,s++,u=c.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!u.done;)Iu(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 Is(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Iu(e,t,n,r,o){if(Is(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function wu(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 ro=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 G_(e,t){et("NgControlFlow");let n=I(),r=Vn(),o=n[r]!==Ce?n[r]:-1,i=o!==-1?oo(n,j+o):void 0,s=0;if(Ee(n,r,e)){let a=C(null);try{if(i!==void 0&&Rd(i,s),e!==-1){let c=j+e,u=oo(n,c),l=Ms(n[y],c),f=Tn(u,l.tView.ssrId),p=wo(n,l,t,{dehydratedView:f});_o(u,p,s,Mn(l,f))}}finally{C(a)}}else if(i!==void 0){let a=Ad(i,s);a!==void 0&&(a[V]=t)}}var ws=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};function W_(e,t){return t}var Cs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function q_(e,t,n,r,o,i,s,a,c,u,l,f,p){et("NgControlFlow");let d=I(),h=B(),g=c!==void 0,P=I(),T=a?s.bind(P[De][V]):s,he=new Cs(g,T);P[j+e]=he,ms(d,h,e+1,t,n,r,o,Qe(h.consts,i)),g&&ms(d,h,e+2,c,u,l,f,Qe(h.consts,p))}var bs=class extends Es{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-Y}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[En];this.needsIndexUpdate||=t!==this.length,_o(this.lContainer,n,t,Mn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,eD(this.lContainer,t)}create(t,n){let r=Tn(this.lContainer,this.templateTNode.tView.ssrId),o=wo(this.hostLView,this.templateTNode,new ws(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Co(t[y],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[V].$index=t}getLView(t){return tD(this.lContainer,t)}};function Z_(e){let t=C(null),n=He();try{let r=I(),o=r[y],i=r[n],s=n+1,a=oo(r,s);if(i.liveCollection===void 0){let u=Ms(o,s);i.liveCollection=new bs(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(Xv(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Vn(),l=c.length===0;if(Ee(r,u,l)){let f=n+2,p=oo(r,f);if(l){let d=Ms(o,f),h=Tn(p,d.tView.ssrId),g=wo(r,d,void 0,{dehydratedView:h});_o(p,g,0,Mn(d,h))}else Rd(p,0)}}}finally{C(t)}}function oo(e,t){return e[t]}function eD(e,t){return _n(e,t)}function tD(e,t){return Ad(e,t)}function Ms(e,t){return Hs(e,t)}function of(e,t,n,r){let o=I(),i=B(),s=j+e,a=o[$],c=i.firstCreatePass?Fd(s,i,o,t,ha,zs(),n,r):i.data[s],u=rD(i,o,c,a,t,e);o[s]=u;let l=fo(c);return Je(c,!0),fd(a,u,c),!Dd(c)&&go()&&bo(i,o,u,c),(Nh()===0||l)&&Se(u,o),xh(),l&&(Io(i,o,c),aa(i,c,o)),r!==null&&pa(o,c),of}function sf(){let e=ie();Gs()?pl():(e=e.parent,Je(e,!1));let t=e;Oh(t)&&kh(),Ah();let n=B();return n.firstCreatePass&&Pd(n,t),t.classesWithoutHost!=null&&Zh(t)&&Ds(n,t,I(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Yh(t)&&Ds(n,t,I(),t.stylesWithoutHost,!1),sf}function nD(e,t,n,r){return of(e,t,n,r),sf(),nD}var rD=(e,t,n,r,o,i)=>(mo(!0),ld(r,o,zh()));function oD(e,t,n,r,o){let i=t.consts,s=Qe(i,r),a=zn(t,e,8,"ng-container",s);s!==null&&as(a,s,!0);let c=Qe(i,o);return zs()&&Ia(t,n,a,c,ha),a.mergedAttrs=Gt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function af(e,t,n){let r=I(),o=B(),i=e+j,s=o.firstCreatePass?oD(i,o,r,t,n):o.data[i];Je(s,!0);let a=sD(o,r,s,e);return r[i]=a,go()&&bo(o,r,a,s),Se(a,r),fo(s)&&(Io(o,r,s),aa(o,s,r)),n!=null&&pa(r,s),af}function cf(){let e=ie(),t=B();return Gs()?pl():(e=e.parent,Je(e,!1)),t.firstCreatePass&&(Qs(t,e),Bs(e)&&t.queries.elementEnd(e)),cf}function iD(e,t,n){return af(e,t,n),cf(),iD}var sD=(e,t,n,r)=>(mo(!0),Cm(t[$],""));function Y_(){return I()}var lt=void 0;function aD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var cD=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["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"]],lt,[["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"]],lt,[["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}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",aD],Ii={};function fe(e){let t=uD(e),n=Cu(t);if(n)return n;let r=t.split("-")[0];if(n=Cu(r),n)return n;if(r==="en")return cD;throw new E(701,!1)}function Cu(e){return e in Ii||(Ii[e]=ke.ng&&ke.ng.common&&ke.ng.common.locales&&ke.ng.common.locales[e]),Ii[e]}var H=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}(H||{});function uD(e){return e.toLowerCase().replace(/_/g,"-")}var io="en-US";var lD=io;function dD(e){typeof e=="string"&&(lD=e.toLowerCase().replace(/_/g,"-"))}var fD=(e,t,n)=>{};function pD(e,t,n,r){let o=I(),i=B(),s=ie();return gD(i,o,o[$],s,e,t,r),pD}function hD(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[Br],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function gD(e,t,n,r,o,i,s){let a=fo(r),u=e.firstCreatePass?dl(e):null,l=t[V],f=ll(t),p=!0;if(r.type&3||s){let d=Re(r,t),h=s?s(d):d,g=f.length,P=s?he=>s(oe(he[r.index])):r.index,T=null;if(!s&&a&&(T=hD(e,t,o,r.index)),T!==null){let he=T.__ngLastListenerFn__||T;he.__ngNextListenerFn__=i,T.__ngLastListenerFn__=i,p=!1}else{i=_u(r,t,l,i),fD(d,o,i);let he=n.listen(h,o,i);f.push(i,he),u&&u.push(o,P,g,g+1)}}else i=_u(r,t,l,i);if(p){let d=r.outputs?.[o],h=r.hostDirectiveOutputs?.[o];if(h&&h.length)for(let g=0;g<h.length;g+=2){let P=h[g],T=h[g+1];bu(r,e,t,P,T,o,i,f,u)}if(d&&d.length)for(let g of d)bu(r,e,t,g,o,o,i,f,u)}}function bu(e,t,n,r,o,i,s,a,c){let u=n[r],f=t.data[r].outputs[o],d=u[f].subscribe(s),h=a.length;a.push(s,d),c&&c.push(i,e.index,h,-(h+1))}function Mu(e,t,n,r){let o=C(null);try{return N(6,t,n),n(r)!==!1}catch(i){return vd(e,i),!1}finally{N(7,t,n),C(o)}}function _u(e,t,n,r){return function o(i){if(i===Function)return r;let s=Kt(e)?le(e.index,t):t;Ea(s,5);let a=Mu(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Mu(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Q_(e=1){return $h(e)}function mD(e,t,n){return uf(e,"",t,"",n),mD}function uf(e,t,n,r,o){let i=I(),s=_a(i,t,n,r);if(s!==Ce){let a=B(),c=Ys();yd(a,c,i,e,s,i[$],o,!1)}return uf}function K_(e,t,n){rv(e,t,n)}function J_(e){let t=I(),n=B(),r=yl();Ws(r+1);let o=wa(n,r);if(e.dirty&&bh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=sv(t,r);e.reset(i,Dg),e.notifyOnChanges()}return!0}return!1}function X_(){return tv(I(),yl())}function Sa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function eS(e){let t=hl();return po(t,j+e)}function tS(e,t=""){let n=I(),r=B(),o=e+j,i=r.firstCreatePass?zn(r,o,1,t,null):r.data[o],s=yD(r,n,i,t,e);n[o]=s,go()&&bo(r,n,s,i),Je(i,!1)}var yD=(e,t,n,r,o)=>(mo(!0),Im(t[$],r));function vD(e){return lf("",e,""),vD}function lf(e,t,n){let r=I(),o=_a(r,e,t,n);return o!==Ce&&DD(r,He(),o),lf}function DD(e,t,n){let r=al(t,e);wm(e[$],r,n)}var df={};function ED(e){let t=B(),n=I(),r=e+j,o=zn(t,r,128,null,null);return Je(o,!1),Sa(t,n,r,df),ED}function nS(e){et("NgLet");let t=B(),n=I(),r=He();return Sa(t,n,r,e),e}function rS(e){let t=hl(),n=po(t,j+e);if(n===df)throw new E(314,!1);return n}function ID(e,t,n){let r=B();if(r.firstCreatePass){let o=Te(e);_s(n,r.data,r.blueprint,o,!0),_s(t,r.data,r.blueprint,o,!1)}}function _s(e,t,n,r,o){if(e=J(e),Array.isArray(e))for(let i=0;i<e.length;i++)_s(e[i],t,n,r,o);else{let i=B(),s=I(),a=ie(),c=Ut(e)?e:J(e.provide),u=Qu(e),l=a.providerIndexes&1048575,f=a.directiveStart,p=a.providerIndexes>>20;if(Ut(e)||!e.multi){let d=new Et(u,o,K),h=Ci(c,t,o?l:l+p,f);h===-1?(Li(qr(a,s),i,c),wi(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(d),s.push(d)):(n[h]=d,s[h]=d)}else{let d=Ci(c,t,l+p,f),h=Ci(c,t,l,l+p),g=d>=0&&n[d],P=h>=0&&n[h];if(o&&!P||!o&&!g){Li(qr(a,s),i,c);let T=bD(o?CD:wD,n.length,o,r,u);!o&&P&&(n[h].providerFactory=T),wi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=ff(n[o?h:d],u,!o&&r);wi(i,e,d>-1?d:h,T)}!o&&r&&P&&n[h].componentProviders++}}}function wi(e,t,n,r){let o=Ut(t),i=fh(t);if(o||i){let c=(i?J(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 ff(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ci(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function wD(e,t,n,r){return Ss(this.multi,[])}function CD(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Cn(n,n[y],this.providerFactory.index,r);i=a.slice(0,s),Ss(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Ss(o,i);return i}function Ss(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function bD(e,t,n,r,o){let i=new Et(e,n,K);return i.multi=[],i.index=t,i.componentProviders=0,ff(i,o,r&&!n),i}function oS(e,t=[]){return n=>{n.providersResolver=(r,o)=>ID(r,o?o(e):e,t)}}function iS(e,t,n,r){return pf(I(),jn(),e,t,n,r)}function sS(e,t,n,r,o){return hf(I(),jn(),e,t,n,r,o)}function aS(e,t,n,r,o,i){return MD(I(),jn(),e,t,n,r,o,i)}function Ta(e,t){let n=e[t];return n===Ce?void 0:n}function pf(e,t,n,r,o,i){let s=t+n;return Ee(e,s,o)?ba(e,s+1,i?r.call(i,o):r(o)):Ta(e,s+1)}function hf(e,t,n,r,o,i,s){let a=t+n;return Ud(e,a,o,i)?ba(e,a+2,s?r.call(s,o,i):r(o,i)):Ta(e,a+2)}function MD(e,t,n,r,o,i,s,a){let c=t+n;return Iv(e,c,o,i,s)?ba(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Ta(e,c+3)}function cS(e,t){let n=B(),r,o=e+j;n.firstCreatePass?(r=_D(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=ft(r.type,!0)),s,a=te(K);try{let c=Wr(!1),u=i();return Wr(c),Sa(n,I(),o,u),u}finally{te(a)}}function _D(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function uS(e,t,n){let r=e+j,o=I(),i=po(o,r);return gf(o,r)?pf(o,jn(),t,i.transform,n,i):i.transform(n)}function lS(e,t,n,r){let o=e+j,i=I(),s=po(i,o);return gf(i,o)?hf(i,jn(),t,s.transform,n,r,s):s.transform(n,r)}function gf(e,t){return e[y].data[t].pure}function dS(e,t){return So(e,t)}var Rn=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},fS=new Rn("19.2.0");var SD=(()=>{class e{zone=v(W);changeDetectionScheduler=v(Ke);applicationRef=v(Zt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function TD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new W(Z(q({},ND()),{scheduleInRootZone:n})),[{provide:W,useFactory:e},{provide:vn,multi:!0,useFactory:()=>{let r=v(SD,{optional:!0});return()=>r.initialize()}},{provide:vn,multi:!0,useFactory:()=>{let r=v(xD);return()=>{r.initialize()}}},t===!0?{provide:Fl,useValue:!0}:[],{provide:Js,useValue:n??kl}]}function ND(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var xD=(()=>{class e{subscription=new G;initialized=!1;zone=v(W);pendingTasks=v(Hn);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(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mf=(()=>{class e{appRef=v(Zt);taskService=v(Hn);ngZone=v(W);zonelessEnabled=v(yo);tracing=v(en,{optional:!0});disableScheduling=v(Fl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Yr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(v(Js,{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 Qr||!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?Xc:Pl;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(Yr+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){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Xc(()=>{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=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pS(){return et("NgZoneless"),Wu([{provide:Ke,useExisting:mf},{provide:W,useClass:Qr},{provide:yo,useValue:!0},{provide:Js,useValue:!1},[]])}function AD(){return typeof $localize<"u"&&$localize.locale||io}var Ao=new M("",{providedIn:"root",factory:()=>v(Ao,b.Optional|b.SkipSelf)||AD()});var Ts=new M(""),RD=new M("");function pn(e){return!e.moduleRef}function OD(e){let t=pn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(W);return n.run(()=>{pn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ne,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),pn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ts);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ts);s.add(i),e.moduleRef.onDestroy(()=>{kr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return FD(r,n,()=>{let i=t.get(qd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Ao,io);if(dD(s||io),!t.get(RD,!0))return pn(e)?t.get(Zt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(pn(e)){let c=t.get(Zt);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return kD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function kD(e,t){let n=e.injector.get(Zt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new E(-403,!1);t.push(e)}function FD(e,t,n){try{let r=n();return Ma(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Fr=null;function PD(e=[],t){return de.create({name:t,providers:[{provide:co,useValue:"platform"},{provide:Ts,useValue:new Set([()=>Fr=null])},...e]})}function LD(e=[]){if(Fr)return Fr;let t=PD(e);return Fr=t,Tv(),jD(t),t}function jD(e){let t=e.get(ra,null);Ku(e,()=>{t?.forEach(n=>n())})}var Na=(()=>{class e{static __NG_ELEMENT_ID__=VD}return e})();function VD(e){return BD(ie(),I(),(e&16)===16)}function BD(e,t,n){if(Kt(e)&&!n){let r=le(e.index,t);return new It(r,r)}else if(e.type&175){let r=t[De];return new It(r,t)}return null}var Ns=class{constructor(){}supports(t){return t instanceof Map||$d(t)}create(){return new xs}},xs=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||$d(t)))throw new E(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 As(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))}},As=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Su(){return new xa([new Ns])}var xa=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:Su});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:r=>e.create(n,r||Su()),deps:[[e,new nh,new Bu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new E(901,!1)}}return e})();function yf(e){N(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=LD(r),i=[TD({}),{provide:Ke,useExisting:mf},...n||[]],s=new eo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return OD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{N(9)}}function HD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function $D(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function UD(e){let t=C(null);try{return e()}finally{C(t)}}function hS(e,t){let n=sc(e);return t?.equal&&(n[ne].equal=t.equal),n}var zD=!1,GD=(()=>{class e extends to{pendingTasks=v(Hn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rs=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=fc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ne,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function WD(){}function qD(e,t){!t?.injector&&lo(WD);let n=t?.injector??v(de),r=t?.manualCleanup!==!0?n.get(Bn):null,o=new Rs(n.get(GD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Na,null,{optional:!0});return!i||!(i._lView[m]&8)?o.watcher.notify():(i._lView[xr]??=[]).push(o.watcher.notify),o}var ZD=zD;var Os=class{[ne];constructor(t){this[ne]=t}destroy(){this[ne].destroy()}};function YD(e,t){if(ZD)return qD(e,t);!t?.injector&&lo(YD);let n=t?.injector??v(de),r=t?.manualCleanup!==!0?n.get(Bn):null,o,i=n.get(sa,null,{optional:!0}),s=n.get(Ke);return i!==null&&!t?.forceRoot?(o=JD(i.view,s,e),r instanceof Zr&&r._lView===i.view&&(r=null)):o=XD(e,n.get(Gd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Os(o)}var vf=Z(q({},rt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:bn,run(){if(this.dirty=!1,this.hasRun&&!sn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=bt(this),n=Ur(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ur(n),on(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),QD=Z(q({},vf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Mt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),KD=Z(q({},vf),{consumerMarkedDirty(){this.view[m]|=8192,Jt(this.view),this.notifier.notify(13)},destroy(){Mt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[mt]?.delete(this)}});function JD(e,t,n){let r=Object.create(KD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[mt]??=new Set,e[mt].add(r),r.consumerMarkedDirty(r),r}function XD(e,t,n){let r=Object.create(QD);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function gS(e,t){let n=ht(e),r=t.elementInjector||uo();return new xn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var Cf=null;function tn(){return Cf}function bf(e){Cf??=e}var Bo=class{};var Me=new M(""),Mf=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>v(eE),providedIn:"platform"})}return e})();var eE=(()=>{class e extends Mf{_location;_history;_doc=v(Me);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return tn().getBaseHref(this._doc)}onPopState(n){let r=tn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=tn().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=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function _f(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Df(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ct(e){return e&&e[0]!=="?"?`?${e}`:e}var Pa=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>v(nE),providedIn:"root"})}return e})(),tE=new M(""),nE=(()=>{class e extends Pa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??v(Me).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 _f(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ct(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ct(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ct(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)(_(Mf),_(tE,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rE=(()=>{class e{_subject=new ae;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=sE(Df(Ef(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+Ct(r))}normalize(n){return e.stripTrailingSlash(iE(this._basePath,Ef(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+Ct(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ct(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=Ct;static joinWithSlash=_f;static stripTrailingSlash=Df;static \u0275fac=function(r){return new(r||e)(_(Pa))};static \u0275prov=S({token:e,factory:()=>oE(),providedIn:"root"})}return e})();function oE(){return new rE(_(Pa))}function iE(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Ef(e){return e.replace(/\/index.html$/,"")}function sE(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ee=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ee||{}),x=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(x||{}),se=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(se||{}),nt={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 aE(e){return fe(e)[H.LocaleId]}function cE(e,t,n){let r=fe(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=pe(o,t);return pe(i,n)}function uE(e,t,n){let r=fe(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=pe(o,t);return pe(i,n)}function lE(e,t,n){let r=fe(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=pe(o,t);return pe(i,n)}function dE(e,t){let r=fe(e)[H.Eras];return pe(r,t)}function Ro(e,t){let n=fe(e);return pe(n[H.DateFormat],t)}function Oo(e,t){let n=fe(e);return pe(n[H.TimeFormat],t)}function ko(e,t){let r=fe(e)[H.DateTimeFormat];return pe(r,t)}function Uo(e,t){let n=fe(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===nt.CurrencyDecimal)return n[H.NumberSymbols][nt.Decimal];if(t===nt.CurrencyGroup)return n[H.NumberSymbols][nt.Group]}return r}function Sf(e){if(!e[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fE(e){let t=fe(e);return Sf(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?Ra(r):[Ra(r[0]),Ra(r[1])])}function pE(e,t,n){let r=fe(e);Sf(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=pe(o,t)||[];return pe(i,n)||[]}function pe(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Ra(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var hE=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fo={},gE=/((?:[^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 mE(e,t,n,r){let o=ME(e);t=Ue(n,t)||t;let s=[],a;for(;t;)if(a=gE.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=Nf(r,c),o=bE(o,r,!0));let u="";return s.forEach(l=>{let f=wE(l);u+=f?f(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Ho(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ue(e,t){let n=aE(e);if(Fo[n]??={},Fo[n][t])return Fo[n][t];let r="";switch(t){case"shortDate":r=Ro(e,se.Short);break;case"mediumDate":r=Ro(e,se.Medium);break;case"longDate":r=Ro(e,se.Long);break;case"fullDate":r=Ro(e,se.Full);break;case"shortTime":r=Oo(e,se.Short);break;case"mediumTime":r=Oo(e,se.Medium);break;case"longTime":r=Oo(e,se.Long);break;case"fullTime":r=Oo(e,se.Full);break;case"short":let o=Ue(e,"shortTime"),i=Ue(e,"shortDate");r=Po(ko(e,se.Short),[o,i]);break;case"medium":let s=Ue(e,"mediumTime"),a=Ue(e,"mediumDate");r=Po(ko(e,se.Medium),[s,a]);break;case"long":let c=Ue(e,"longTime"),u=Ue(e,"longDate");r=Po(ko(e,se.Long),[c,u]);break;case"full":let l=Ue(e,"fullTime"),f=Ue(e,"fullDate");r=Po(ko(e,se.Full),[l,f]);break}return r&&(Fo[n][t]=r),r}function Po(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function be(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 yE(e,t){return be(e,3).substring(0,t)}function U(e,t,n=0,r=!1,o=!1){return function(i,s){let a=vE(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return yE(a,t);let c=Uo(s,nt.MinusSign);return be(a,t,c,r,o)}}function vE(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 Error(`Unknown DateType value "${e}".`)}}function A(e,t,n=ee.Format,r=!1){return function(o,i){return DE(o,i,e,t,n,r)}}function DE(e,t,n,r,o,i){switch(n){case 2:return lE(t,o,r)[e.getMonth()];case 1:return uE(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=fE(t),l=pE(t,o,r),f=u.findIndex(p=>{if(Array.isArray(p)){let[d,h]=p,g=s>=d.hours&&a>=d.minutes,P=s<h.hours||s===h.hours&&a<h.minutes;if(d.hours<h.hours){if(g&&P)return!0}else if(g||P)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(f!==-1)return l[f]}return cE(t,o,r)[s<12?0:1];case 3:return dE(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Lo(e){return function(t,n,r){let o=-1*r,i=Uo(n,nt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+be(s,2,i)+be(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+be(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+be(s,2,i)+":"+be(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+be(s,2,i)+":"+be(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var EE=0,Vo=4;function IE(e){let t=Ho(e,EE,1).getDay();return Ho(e,0,1+(t<=Vo?Vo:Vo+7)-t)}function Tf(e){let t=e.getDay(),n=t===0?-3:Vo-t;return Ho(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Oa(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=Tf(n),s=IE(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return be(o,e,Uo(r,nt.MinusSign))}}function jo(e,t=!1){return function(n,r){let i=Tf(n).getFullYear();return be(i,e,Uo(r,nt.MinusSign),t)}}var ka={};function wE(e){if(ka[e])return ka[e];let t;switch(e){case"G":case"GG":case"GGG":t=A(3,x.Abbreviated);break;case"GGGG":t=A(3,x.Wide);break;case"GGGGG":t=A(3,x.Narrow);break;case"y":t=U(0,1,0,!1,!0);break;case"yy":t=U(0,2,0,!0,!0);break;case"yyy":t=U(0,3,0,!1,!0);break;case"yyyy":t=U(0,4,0,!1,!0);break;case"Y":t=jo(1);break;case"YY":t=jo(2,!0);break;case"YYY":t=jo(3);break;case"YYYY":t=jo(4);break;case"M":case"L":t=U(1,1,1);break;case"MM":case"LL":t=U(1,2,1);break;case"MMM":t=A(2,x.Abbreviated);break;case"MMMM":t=A(2,x.Wide);break;case"MMMMM":t=A(2,x.Narrow);break;case"LLL":t=A(2,x.Abbreviated,ee.Standalone);break;case"LLLL":t=A(2,x.Wide,ee.Standalone);break;case"LLLLL":t=A(2,x.Narrow,ee.Standalone);break;case"w":t=Oa(1);break;case"ww":t=Oa(2);break;case"W":t=Oa(1,!0);break;case"d":t=U(2,1);break;case"dd":t=U(2,2);break;case"c":case"cc":t=U(7,1);break;case"ccc":t=A(1,x.Abbreviated,ee.Standalone);break;case"cccc":t=A(1,x.Wide,ee.Standalone);break;case"ccccc":t=A(1,x.Narrow,ee.Standalone);break;case"cccccc":t=A(1,x.Short,ee.Standalone);break;case"E":case"EE":case"EEE":t=A(1,x.Abbreviated);break;case"EEEE":t=A(1,x.Wide);break;case"EEEEE":t=A(1,x.Narrow);break;case"EEEEEE":t=A(1,x.Short);break;case"a":case"aa":case"aaa":t=A(0,x.Abbreviated);break;case"aaaa":t=A(0,x.Wide);break;case"aaaaa":t=A(0,x.Narrow);break;case"b":case"bb":case"bbb":t=A(0,x.Abbreviated,ee.Standalone,!0);break;case"bbbb":t=A(0,x.Wide,ee.Standalone,!0);break;case"bbbbb":t=A(0,x.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":t=A(0,x.Abbreviated,ee.Format,!0);break;case"BBBB":t=A(0,x.Wide,ee.Format,!0);break;case"BBBBB":t=A(0,x.Narrow,ee.Format,!0);break;case"h":t=U(3,1,-12);break;case"hh":t=U(3,2,-12);break;case"H":t=U(3,1);break;case"HH":t=U(3,2);break;case"m":t=U(4,1);break;case"mm":t=U(4,2);break;case"s":t=U(5,1);break;case"ss":t=U(5,2);break;case"S":t=U(6,1);break;case"SS":t=U(6,2);break;case"SSS":t=U(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Lo(0);break;case"ZZZZZ":t=Lo(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Lo(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Lo(2);break;default:return null}return ka[e]=t,t}function Nf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function CE(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function bE(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Nf(t,o);return CE(e,r*(i-o))}function ME(e){if(If(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 Ho(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(hE))return _E(r)}let t=new Date(e);if(!If(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function _E(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 If(e){return e instanceof Date&&!isNaN(e.valueOf())}function xf(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 Fa=/\s+/,wf=[],BS=(()=>{class e{_ngEl;_renderer;initialClasses=wf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Fa):wf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Fa):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(Fa).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)(K(Xe),K(To))};static \u0275dir=No({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var HS=(()=>{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:Ae.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)(K(Xe),K(xa),K(To))};static \u0275dir=No({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),$S=(()=>{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)(K(Gn))};static \u0275dir=No({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[nl]})}return e})();function SE(e,t){return new E(2100,!1)}var TE="mediumDate",NE=new M(""),xE=new M(""),US=(()=>{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??TE,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return mE(n,s,i||this.locale,a)}catch(s){throw SE(e,s.message)}}static \u0275fac=function(r){return new(r||e)(K(Ao,16),K(NE,24),K(xE,24))};static \u0275pipe=xo({name:"date",type:e,pure:!0})}return e})();var AE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ca({type:e});static \u0275inj=Fs({})}return e})(),La="browser",RE="server";function zS(e){return e===La}function ja(e){return e===RE}var $o=class{};var Ba=class extends Bo{supportsDOMEvents=!0},Ha=class e extends Ba{static makeCurrent(){bf(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=OE();return n==null?null:kE(n)}resetBaseElement(){Wn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return xf(document.cookie,t)}},Wn=null;function OE(){return Wn=Wn||document.querySelector("base"),Wn?Wn.getAttribute("href"):null}function kE(e){return new URL(e,document.baseURI).pathname}var FE=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),$a=new M(""),Pf=(()=>{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 E(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(_($a),_(W))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Go=class{_doc;constructor(t){this._doc=t}manager},zo="ng-app-id";function Af(e){for(let t of e)t.remove()}function Rf(e,t){let n=t.createElement("style");return n.textContent=e,n}function PE(e,t,n,r){let o=e.head?.querySelectorAll(`style[${zo}="${t}"],link[${zo}="${t}"]`);if(o)for(let i of o)i.removeAttribute(zo),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 Ua(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Lf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=ja(i),PE(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Rf);r?.forEach(o=>this.addUsage(o,this.external,Ua))}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&&(Af(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Af(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Rf(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Ua(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(zo,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(_(Me),_(na),_(oa,8),_($n))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Va={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"},Ga=/%COMP%/g;var jf="%COMP%",LE=`_nghost-${jf}`,jE=`_ngcontent-${jf}`,VE=!0,BE=new M("",{providedIn:"root",factory:()=>VE});function HE(e){return jE.replace(Ga,e)}function $E(e){return LE.replace(Ga,e)}function Vf(e,t){return t.map(n=>n.replace(Ga,e))}var Of=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=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.tracingService=l,this.platformIsServer=ja(a),this.defaultRenderer=new qn(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===xe.ShadowDom&&(r=Z(q({},r),{encapsulation:xe.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Wo?o.applyToHost(n):o instanceof Zn&&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,f=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case xe.Emulated:i=new Wo(c,u,r,this.appId,l,s,a,f,p);break;case xe.ShadowDom:return new za(c,u,n,r,s,a,this.nonce,f,p);default:i=new Zn(c,u,r,l,s,a,f,p);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)(_(Pf),_(Lf),_(na),_(BE),_(Me),_($n),_(W),_(oa),_(en,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),qn=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Va[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(kf(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(kf(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new E(-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=Va[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Va[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&(Ae.DashCase|Ae.Important)?t.style.setProperty(n,r,o&Ae.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ae.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=tn().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);let i=this.decoratePreventDefault(r);return this.tracingService!==null&&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;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function kf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var za=class extends qn{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Vf(o.id,l);for(let p of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=p,this.shadowRoot.appendChild(d)}let f=o.getExternalStyles?.();if(f)for(let p of f){let d=Ua(p,i);a&&d.setAttribute("nonce",a),this.shadowRoot.appendChild(d)}}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)}},Zn=class extends qn{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Vf(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Wo=class extends Zn{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=HE(l),this.hostAttr=$E(l)}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}},UE=(()=>{class e extends Go{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)(_(Me))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Ff=["alt","control","meta","shift"],zE={"\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"},GE={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},WE=(()=>{class e extends Go{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(()=>tn().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."),Ff.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=zE[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"),Ff.forEach(s=>{if(s!==o){let a=GE[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)(_(Me))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function dT(e){return yf(qE(e))}function qE(e){return{appProviders:[...JE,...e?.providers??[]],platformProviders:KE}}function ZE(){Ha.makeCurrent()}function YE(){return new Ne}function QE(){return Gl(document),document}var KE=[{provide:$n,useValue:La},{provide:ra,useValue:ZE,multi:!0},{provide:Me,useFactory:QE,deps:[]}];var JE=[{provide:co,useValue:"root"},{provide:Ne,useFactory:YE,deps:[]},{provide:$a,useClass:UE,multi:!0,deps:[Me]},{provide:$a,useClass:WE,multi:!0,deps:[Me]},Of,Lf,Pf,{provide:Wt,useExisting:Of},{provide:$o,useClass:FE,deps:[]},[]];var Wa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(XE),o},providedIn:"root"})}return e})(),XE=(()=>{class e extends Wa{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Oe.NONE:return r;case Oe.HTML:return tt(r,"HTML")?we(r):ca(this._doc,String(r)).toString();case Oe.STYLE:return tt(r,"Style")?we(r):r;case Oe.SCRIPT:if(tt(r,"Script"))return we(r);throw new E(5200,!1);case Oe.URL:return tt(r,"URL")?we(r):Do(String(r));case Oe.RESOURCE_URL:if(tt(r,"ResourceURL"))return we(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(n){return Jl(n)}bypassSecurityTrustStyle(n){return Xl(n)}bypassSecurityTrustScript(n){return ed(n)}bypassSecurityTrustUrl(n){return td(n)}bypassSecurityTrustResourceUrl(n){return nd(n)}static \u0275fac=function(r){return new(r||e)(_(Me))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Bf=class e{constructor(t){this.sanitizer=t}transform(t){return t?this.sanitizer.bypassSecurityTrustHtml(t):""}static \u0275fac=function(n){return new(n||e)(K(Wa,16))};static \u0275pipe=xo({name:"safeHtml",type:e,pure:!0})};export{q as a,Z as b,tI as c,nI as d,rI as e,oI as f,iI as g,G as h,R as i,ae as j,cn as k,ii as l,ap as m,fn as n,ct as o,gp as p,ut as q,Ft as r,vp as s,ai as t,Mp as u,_p as v,ci as w,Sp as x,Tp as y,Np as z,Ap as A,Rp as B,Op as C,kp as D,Fp as E,ke as F,S as G,Fs as H,M as I,zp as J,v as K,Ye as L,nl as M,S_ as N,T_ as O,N_ as P,x_ as Q,A_ as R,de as S,Ke as T,qe as U,W as V,R_ as W,Xe as X,O_ as Y,k_ as Z,na as _,$n as $,F_ as aa,Lg as ba,jg as ca,P_ as da,L_ as ea,j_ as fa,Sn as ga,Nn as ha,Wt as ia,To as ja,K as ka,Gn as la,qt as ma,$_ as na,Ca as oa,No as pa,xo as qa,gv as ra,Cv as sa,Zt as ta,Rv as ua,Uv as va,Qd as wa,zv as xa,U_ as ya,z_ as za,G_ as Aa,W_ as Ba,q_ as Ca,Z_ as Da,of as Ea,sf as Fa,nD as Ga,iD as Ha,Y_ as Ia,pD as Ja,Q_ as Ka,mD as La,K_ as Ma,J_ as Na,X_ as Oa,eS as Pa,tS as Qa,vD as Ra,lf as Sa,ED as Ta,nS as Ua,rS as Va,oS as Wa,iS as Xa,sS as Ya,aS as Za,cS as _a,uS as $a,lS as ab,dS as bb,fS as cb,pS as db,Na as eb,HD as fb,$D as gb,UD as hb,hS as ib,YD as jb,gS as kb,Me as lb,rE as mb,BS as nb,HS as ob,$S as pb,US as qb,AE as rb,zS as sb,dT as tb,Bf as ub};
|