spec-box-tms-sync 1.0.1 → 1.0.3
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/lib/serve/features.d.ts.map +1 -1
- package/dist/lib/serve/features.js +1 -0
- package/dist/lib/serve/features.js.map +1 -1
- package/dist/lib/serve/git.d.ts +2 -0
- package/dist/lib/serve/git.d.ts.map +1 -1
- package/dist/lib/serve/git.js +11 -1
- package/dist/lib/serve/git.js.map +1 -1
- package/dist/lib/serve/models.d.ts +6 -1
- package/dist/lib/serve/models.d.ts.map +1 -1
- package/dist/lib/serve/models.js.map +1 -1
- package/dist/lib/serve/snapshot.d.ts.map +1 -1
- package/dist/lib/serve/snapshot.js +5 -1
- package/dist/lib/serve/snapshot.js.map +1 -1
- package/dist/ui/{chunk-M455JN2T.js → chunk-OBL4XF2U.js} +1 -1
- package/dist/ui/chunk-WSGRZEIF.js +8 -0
- package/dist/ui/index.html +1 -1
- package/dist/ui/{main-7D6PSQM6.js → main-EO5ZWBFK.js} +54 -54
- package/package.json +1 -1
- package/dist/ui/chunk-AXJONTBG.js +0 -8
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{a as U,b as X,c as _a}from"./chunk-IFGU66OU.js";var he=null,ci=!1,hn=1,Fy=null,Y=Symbol("SIGNAL");function C(e){let t=he;return he=e,t}function ui(){return he}var Nt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function At(e){if(ci)throw new Error("");if(he===null)return;he.consumerOnSignalRead(e);let t=he.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=he.recomputing;if(r&&(n=t!==void 0?t.nextProducer:he.producers,n!==void 0&&n.producer===e)){he.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=hn;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===he&&(!r||o.knownValidAtEpoch===hn))return;let i=rr(he),s={producer:e,consumer:he,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:hn,lastReadVersion:e.version,nextConsumer:void 0};he.producersTail=s,t!==void 0?t.nextProducer=s:he.producers=s,i&&Sd(e,s)}function Cd(){hn++}function yn(e){if(!(rr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===hn)){if(!e.producerMustRecompute(e)&&!vn(e)){nr(e);return}e.producerRecomputeValue(e),nr(e)}}function Sa(e){if(e.consumers===void 0)return;let t=ci;ci=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||bd(r)}}finally{ci=t}}function Ma(){return he?.consumerAllowSignalWrites!==!1}function bd(e){e.dirty=!0,Sa(e),e.consumerMarkedDirty?.(e)}function nr(e){e.dirty=!1,e.lastCleanEpoch=hn}function pt(e){return e&&Td(e),C(e)}function Td(e){if(e.producersTail?.knownValidAtEpoch===hn){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function xt(e,t){C(t),e&&_d(e)}function _d(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(rr(e))do n=Na(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function vn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(yn(n),r!==n.version))return!0}return!1}function Rt(e){if(rr(e)){let t=e.producers;for(;t!==void 0;)t=Na(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Sd(e,t){let n=e.consumersTail,r=rr(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Sd(o.producer,o)}function Na(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!rr(t)){let i=t.producers;for(;i!==void 0;)i=Na(i)}return n}function rr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Xr(e){Fy?.(e)}function eo(e,t){return Object.is(e,t)}function to(e,t){let n=Object.create(Py);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(yn(n),At(n),n.value===ft)throw n.error;return n.value};return r[Y]=n,Xr(n),r}var gn=Symbol("UNSET"),mn=Symbol("COMPUTING"),ft=Symbol("ERRORED"),Py=X(U({},Nt),{value:gn,dirty:!0,error:null,equal:eo,kind:"computed",producerMustRecompute(e){return e.value===gn||e.value===mn},producerRecomputeValue(e){if(e.value===mn)throw new Error("");let t=e.value;e.value=mn;let n=pt(e),r,o=!1;try{r=e.computation(),C(null),o=t!==gn&&t!==ft&&r!==ft&&e.equal(t,r)}catch(i){r=ft,e.error=i}finally{xt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function jy(){throw new Error}var Md=jy;function Nd(e){Md(e)}function Aa(e){Md=e}var By=null;function xa(e,t){let n=Object.create(no);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Ad(n);return r[Y]=n,Xr(n),[r,s=>Yt(n,s),s=>li(n,s)]}function Ad(e){return At(e),e.value}function Yt(e,t){Ma()||Nd(e),e.equal(e.value,t)||(e.value=t,Vy(e))}function li(e,t){Ma()||Nd(e),Yt(e,t(e.value))}var no=X(U({},Nt),{equal:eo,value:void 0,kind:"signal"});function Vy(e){e.version++,Cd(),Sa(e),By?.(e)}var Ra=X(U({},Nt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Oa(e){if(e.dirty=!1,e.version>0&&!vn(e))return;e.version++;let t=pt(e);try{e.cleanup(),e.fn()}finally{xt(e,t)}}var ka;function di(){return ka}function ht(e){let t=ka;return ka=e,t}var xd=Symbol("NotFound");function or(e){return e===xd||e?.name==="\u0275NotFound"}function La(e,t,n){let r=Object.create(Hy);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(yn(r),At(r),r.value===ft)throw r.error;return r.value};return i[Y]=r,Xr(r),i}function Rd(e,t){yn(e),Yt(e,t),nr(e)}function Od(e,t){if(yn(e),e.value===ft)throw e.error;li(e,t),nr(e)}var Hy=X(U({},Nt),{value:gn,dirty:!0,error:null,equal:eo,kind:"linkedSignal",producerMustRecompute(e){return e.value===gn||e.value===mn},producerRecomputeValue(e){if(e.value===mn)throw new Error("");let t=e.value;e.value=mn;let n=pt(e),r,o=!1;try{let i=e.source(),s=t!==gn&&t!==ft,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,C(null),o=s&&r!==ft&&e.equal(t,r)}catch(i){r=ft,e.error=i}finally{xt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function kd(e){let t=C(null);try{return e()}finally{C(t)}}function T(e){return typeof e=="function"}function ir(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 fi=ir(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 Dn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ue=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(T(r))try{r()}catch(i){t=i instanceof fi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ld(i)}catch(s){t=t??[],s instanceof fi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new fi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ld(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)&&Dn(n,t)}remove(t){let{_finalizers:n}=this;n&&Dn(n,t),t instanceof e&&t._removeParent(this)}};ue.EMPTY=(()=>{let e=new ue;return e.closed=!0,e})();var Fa=ue.EMPTY;function pi(e){return e instanceof ue||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function Ld(e){T(e)?e():e.unsubscribe()}var Ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var sr={setTimeout(e,t,...n){let{delegate:r}=sr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=sr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function hi(e){sr.setTimeout(()=>{let{onUnhandledError:t}=Ye;if(t)t(e);else throw e})}function Qe(){}var Fd=Pa("C",void 0,void 0);function Pd(e){return Pa("E",void 0,e)}function jd(e){return Pa("N",e,void 0)}function Pa(e,t,n){return{kind:e,value:t,error:n}}var En=null;function ar(e){if(Ye.useDeprecatedSynchronousErrorHandling){let t=!En;if(t&&(En={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=En;if(En=null,n)throw r}}else e()}function Bd(e){Ye.useDeprecatedSynchronousErrorHandling&&En&&(En.errorThrown=!0,En.error=e)}var In=class extends ue{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,pi(t)&&t.add(this)):this.destination=Gy}static create(t,n,r){return new Ke(t,n,r)}next(t){this.isStopped?Ba(jd(t),this):this._next(t)}error(t){this.isStopped?Ba(Pd(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ba(Fd,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()}}},Uy=Function.prototype.bind;function ja(e,t){return Uy.call(e,t)}var Va=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){gi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){gi(r)}else gi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){gi(n)}}},Ke=class extends In{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ja(t.next,i),error:t.error&&ja(t.error,i),complete:t.complete&&ja(t.complete,i)}):o=t}this.destination=new Va(o)}};function gi(e){Ye.useDeprecatedSynchronousErrorHandling?Bd(e):hi(e)}function $y(e){throw e}function Ba(e,t){let{onStoppedNotification:n}=Ye;n&&sr.setTimeout(()=>n(e,t))}var Gy={closed:!0,next:Qe,error:$y,complete:Qe};var cr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function le(e){return e}function zy(...e){return Ha(e)}function Ha(e){return e.length===0?le:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var O=(()=>{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=qy(n)?n:new Ke(n,r,o);return ar(()=>{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=Vd(r),new r((o,i)=>{let s=new Ke({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)}[cr](){return this}pipe(...n){return Ha(n)(this)}toPromise(n){return n=Vd(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 Vd(e){var t;return(t=e??Ye.Promise)!==null&&t!==void 0?t:Promise}function Wy(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function qy(e){return e&&e instanceof In||Wy(e)&&pi(e)}function Zy(e){return T(e?.lift)}function N(e){return t=>{if(Zy(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 S(e,t,n,r,o){return new Ua(e,t,n,r,o)}var Ua=class extends In{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 Hd=ir(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ge=(()=>{class e extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new mi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Hd}next(n){ar(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ar(()=>{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(){ar(()=>{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?Fa:(this.currentObservers=null,i.push(n),new ue(()=>{this.currentObservers=null,Dn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new O;return n.source=this,n}}return e.create=(t,n)=>new mi(t,n),e})(),mi=class extends ge{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:Fa}};var wn=class extends ge{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 ro={now(){return(ro.delegate||Date).now()},delegate:void 0};var oo=class extends ge{constructor(t=1/0,n=1/0,r=ro){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 yi=class extends ue{constructor(t,n){super()}schedule(t,n=0){return this}};var io={setInterval(e,t,...n){let{delegate:r}=io;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=io;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var ur=class extends yi{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 io.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&&io.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,Dn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var lr=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)}};lr.now=ro.now;var dr=class extends lr{constructor(t,n=lr.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 Qt=new dr(ur),$a=Qt;var vi=class extends ur{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var Di=class extends dr{};var Yy=new Di(vi);var Fe=new O(e=>e.complete());function Ei(e){return e&&T(e.schedule)}function Ga(e){return e[e.length-1]}function fr(e){return T(Ga(e))?e.pop():void 0}function gt(e){return Ei(Ga(e))?e.pop():void 0}function Ud(e,t){return typeof Ga(e)=="number"?e.pop():t}function Gd(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function $d(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 Cn(e){return this instanceof Cn?(this.v=e,this):new Cn(e)}function zd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(y){return new Promise(function(m,D){i.push([f,y,m,D])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(y){p(i[0][3],y)}}function u(f){f.value instanceof Cn?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Wd(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 $d=="function"?$d(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 pr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ii(e){return T(e?.then)}function wi(e){return T(e[cr])}function Ci(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function bi(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 Qy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ti=Qy();function _i(e){return T(e?.[Ti])}function Si(e){return zd(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Cn(n.read());if(o)return yield Cn(void 0);yield yield Cn(r)}}finally{n.releaseLock()}})}function Mi(e){return T(e?.getReader)}function L(e){if(e instanceof O)return e;if(e!=null){if(wi(e))return Ky(e);if(pr(e))return Jy(e);if(Ii(e))return Xy(e);if(Ci(e))return qd(e);if(_i(e))return ev(e);if(Mi(e))return tv(e)}throw bi(e)}function Ky(e){return new O(t=>{let n=e[cr]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Jy(e){return new O(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Xy(e){return new O(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,hi)})}function ev(e){return new O(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function qd(e){return new O(t=>{nv(e,t).catch(n=>t.error(n))})}function tv(e){return qd(Si(e))}function nv(e,t){var n,r,o,i;return Gd(this,void 0,void 0,function*(){try{for(n=Wd(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 we(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 so(e,t=0){return N((n,r)=>{n.subscribe(S(r,o=>we(r,e,()=>r.next(o),t),()=>we(r,e,()=>r.complete(),t),o=>we(r,e,()=>r.error(o),t)))})}function Ni(e,t=0){return N((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Zd(e,t){return L(e).pipe(Ni(t),so(t))}function Yd(e,t){return L(e).pipe(Ni(t),so(t))}function Qd(e,t){return new O(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Kd(e,t){return new O(n=>{let r;return we(n,t,()=>{r=e[Ti](),we(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)}),()=>T(r?.return)&&r.return()})}function Ai(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(n=>{we(n,t,()=>{let r=e[Symbol.asyncIterator]();we(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Jd(e,t){return Ai(Si(e),t)}function Xd(e,t){if(e!=null){if(wi(e))return Zd(e,t);if(pr(e))return Qd(e,t);if(Ii(e))return Yd(e,t);if(Ci(e))return Ai(e,t);if(_i(e))return Kd(e,t);if(Mi(e))return Jd(e,t)}throw bi(e)}function Ne(e,t){return t?Xd(e,t):L(e)}function za(...e){let t=gt(e);return Ne(e,t)}function bn(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new O(t?o=>t.schedule(r,0,o):r)}function rv(e){return!!e&&(e instanceof O||T(e.lift)&&T(e.subscribe))}var Tn=ir(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Wa(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ke({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Tn)}});e.subscribe(i)})}function ef(e){return e instanceof Date&&!isNaN(e)}function ae(e,t){return N((n,r)=>{let o=0;n.subscribe(S(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:ov}=Array;function iv(e,t){return ov(t)?e(...t):e(t)}function hr(e){return ae(t=>iv(e,t))}var{isArray:sv}=Array,{getPrototypeOf:av,prototype:cv,keys:uv}=Object;function xi(e){if(e.length===1){let t=e[0];if(sv(t))return{args:t,keys:null};if(lv(t)){let n=uv(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function lv(e){return e&&typeof e=="object"&&av(e)===cv}function Ri(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function dv(...e){let t=gt(e),n=fr(e),{args:r,keys:o}=xi(e);if(r.length===0)return Ne([],t);let i=new O(fv(r,t,o?s=>Ri(o,s):le));return n?i.pipe(hr(n)):i}function fv(e,t,n=le){return r=>{tf(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)tf(t,()=>{let u=Ne(e[c],t),l=!1;u.subscribe(S(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function tf(e,t,n){e?we(n,e,t):t()}function nf(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=y=>u<r?h(y):c.push(y),h=y=>{i&&t.next(y),u++;let m=!1;L(n(y,l++)).subscribe(S(t,D=>{o?.(D),i?f(D):t.next(D)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&u<r;){let D=c.shift();s?we(t,s,()=>h(D)):h(D)}p()}catch(D){t.error(D)}}))};return e.subscribe(S(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Je(e,t,n=1/0){return T(t)?Je((r,o)=>ae((i,s)=>t(r,i,o,s))(L(e(r,o))),n):(typeof t=="number"&&(n=t),N((r,o)=>nf(r,o,e,n)))}function Oi(e=1/0){return Je(le,e)}function rf(){return Oi(1)}function gr(...e){return rf()(Ne(e,gt(e)))}function pv(e){return new O(t=>{L(e()).subscribe(t)})}function qa(...e){let t=fr(e),{args:n,keys:r}=xi(e),o=new O(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;L(n[l]).subscribe(S(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Ri(r,a):a),i.complete())}))}});return t?o.pipe(hr(t)):o}var hv=["addListener","removeListener"],gv=["addEventListener","removeEventListener"],mv=["on","off"];function Za(e,t,n,r){if(T(n)&&(r=n,n=void 0),r)return Za(e,t,n).pipe(hr(r));let[o,i]=Dv(e)?gv.map(s=>a=>e[s](t,a,n)):yv(e)?hv.map(of(e,t)):vv(e)?mv.map(of(e,t)):[];if(!o&&pr(e))return Je(s=>Za(s,t,n))(L(e));if(!o)throw new TypeError("Invalid event target");return new O(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function of(e,t){return n=>r=>e[n](t,r)}function yv(e){return T(e.addListener)&&T(e.removeListener)}function vv(e){return T(e.on)&&T(e.off)}function Dv(e){return T(e.addEventListener)&&T(e.removeEventListener)}function Ot(e=0,t,n=$a){let r=-1;return t!=null&&(Ei(t)?n=t:r=t),new O(o=>{let i=ef(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 Ev(...e){let t=gt(e),n=Ud(e,1/0),r=e;return r.length?r.length===1?L(r[0]):Oi(n)(Ne(r,t)):Fe}var Iv=new O(Qe);function Xe(e,t){return N((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}function sf(e){return N((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(S(n,u=>{r=!0,o=u,i||L(e(u)).subscribe(i=S(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function wv(e,t=Qt){return sf(()=>Ot(e,t))}function ao(e){return N((t,n)=>{let r=null,o=!1,i;r=t.subscribe(S(n,void 0,void 0,s=>{i=L(e(s,ao(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ya(e,t){return T(t)?Je(e,t,1):Je(e,1)}function Qa(e){return N((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function _n(e){return e<=0?()=>Fe:N((t,n)=>{let r=0;t.subscribe(S(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function af(){return N((e,t)=>{e.subscribe(S(t,Qe))})}function cf(e){return ae(()=>e)}function Ka(e,t){return t?n=>gr(t.pipe(_n(1),af()),n.pipe(Ka(e))):Je((n,r)=>L(e(n,r)).pipe(_n(1),cf(n)))}function Cv(e,t=Qt){let n=Ot(e,t);return Ka(()=>n)}function bv(e,t=le){return e=e??Tv,N((n,r)=>{let o,i=!0;n.subscribe(S(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Tv(e,t){return e===t}function uf(e=_v){return N((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function _v(){return new Tn}function ki(e){return N((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Sv(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Xe((o,i)=>e(o,i,r)):le,_n(1),n?Qa(t):uf(()=>new Tn))}function Mv(e){return e<=0?()=>Fe:N((t,n)=>{let r=[];t.subscribe(S(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Nv(e){let t=1/0,n;return e!=null&&(typeof e=="object"?{count:t=1/0,delay:n}=e:t=e),t<=0?()=>Fe:N((r,o)=>{let i=0,s,a=()=>{if(s?.unsubscribe(),s=null,n!=null){let u=typeof n=="number"?Ot(n):L(n(i)),l=S(o,()=>{l.unsubscribe(),c()});u.subscribe(l)}else c()},c=()=>{let u=!1;s=r.subscribe(S(o,void 0,()=>{++i<t?s?a():u=!0:o.complete()})),u&&a()};c()})}function Xa(e={}){let{connector:t=()=>new ge,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return N((y,m)=>{u++,!d&&!l&&p();let D=c=c??t();m.add(()=>{u--,u===0&&!d&&!l&&(a=Ja(h,o))}),D.subscribe(m),!s&&u>0&&(s=new Ke({next:F=>D.next(F),error:F=>{d=!0,p(),a=Ja(f,n,F),D.error(F)},complete:()=>{l=!0,p(),a=Ja(f,r),D.complete()}}),L(y).subscribe(s))})(i)}}function Ja(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ke({next:()=>{r.unsubscribe(),e()}});return L(t(...n)).subscribe(r)}function Av(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Xa({connector:()=>new oo(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function xv(e){return Xe((t,n)=>e<=n)}function lf(...e){let t=gt(e);return N((n,r)=>{(t?gr(e,n,t):gr(e,n)).subscribe(r)})}function mr(e,t){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(S(r,c=>{o?.unsubscribe();let u=0,l=i++;L(e(c,l)).subscribe(o=S(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function df(e){return N((t,n)=>{L(e).subscribe(S(n,()=>n.complete(),Qe)),!n.closed&&t.subscribe(n)})}function Rv(e,t=!1){return N((n,r)=>{let o=0;n.subscribe(S(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function co(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(S(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)}))}):le}function ff(e,t){return N((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,u=!1,l=()=>{c?.unsubscribe(),c=null,i&&(f(),u&&r.complete())},d=()=>{c=null,u&&r.complete()},p=h=>c=L(e(h)).subscribe(S(r,l,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!u&&p(h)}};n.subscribe(S(r,h=>{s=!0,a=h,!(c&&!c.closed)&&(o?f():p(h))},()=>{u=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function Ov(e,t=Qt,n){let r=Ot(e,t);return ff(()=>r,n)}function kv(...e){let t=fr(e);return N((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)L(e[c]).subscribe(S(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(le))&&(s=null))},Qe));n.subscribe(S(r,c=>{if(a){let u=[c,...i];r.next(t?t(...u):u)}}))})}var Hi="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(t,n){super(Pt(t,n)),this.code=t}};function Lv(e){return`NG0${Math.abs(e)}`}function Pt(e,t){return`${Lv(e)}${t?": "+t:""}`}function j(e){for(let t in e)if(e[t]===j)return t;throw Error("")}function yf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function go(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(go).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 pc(e,t){return e?t?`${e} ${t}`:e:t||""}var Fv=j({__forward_ref__:j});function Ui(e){return e.__forward_ref__=Ui,e}function re(e){return hc(e)?e():e}function hc(e){return typeof e=="function"&&e.hasOwnProperty(Fv)&&e.__forward_ref__===Ui}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function xn(e){return{providers:e.providers||[],imports:e.imports||[]}}function mo(e){return jv(e,$i)}function Pv(e){return mo(e)!==null}function jv(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Bv(e){let t=e?.[$i]??null;return t||null}function tc(e){return e&&e.hasOwnProperty(Fi)?e[Fi]:null}var $i=j({\u0275prov:j}),Fi=j({\u0275inj:j}),_=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=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gc(e){return e&&!!e.\u0275providers}var mc=j({\u0275cmp:j}),yc=j({\u0275dir:j}),vc=j({\u0275pipe:j}),Dc=j({\u0275mod:j}),lo=j({\u0275fac:j}),Rn=j({__NG_ELEMENT_ID__:j}),pf=j({__NG_ENV_ID__:j});function vf(e){return zi(e,"@NgModule"),e[Dc]||null}function jt(e){return zi(e,"@Component"),e[mc]||null}function Gi(e){return zi(e,"@Directive"),e[yc]||null}function Df(e){return zi(e,"@Pipe"),e[vc]||null}function zi(e,t){if(e==null)throw new v(-919,!1)}function On(e){return typeof e=="string"?e:e==null?"":String(e)}var Ef=j({ngErrorCode:j}),Vv=j({ngErrorMessage:j}),Hv=j({ngTokenPath:j});function Ec(e,t){return If("",-200,t)}function Wi(e,t){throw new v(-201,!1)}function If(e,t,n){let r=new v(t,e);return r[Ef]=t,r[Vv]=e,n&&(r[Hv]=n),r}function Uv(e){return e[Ef]}var nc;function wf(){return nc}function me(e){let t=nc;return nc=e,t}function Ic(e,t,n){let r=mo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Wi(e,"")}var je=globalThis;var $v={},Sn=$v,rc="__NG_DI_FLAG__",oc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Mn(n)||0;try{return this.injector.get(t,r&8?null:Sn,r)}catch(o){if(or(o))return o;throw o}}};function Gv(e,t=0){let n=di();if(n===void 0)throw new v(-203,!1);if(n===null)return Ic(e,void 0,t);{let r=zv(t),o=n.retrieve(e,r);if(or(o)){if(r.optional)return null;throw o}return o}}function A(e,t=0){return(wf()||Gv)(re(e),t)}function g(e,t){return A(e,Mn(t))}function Mn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ic(e){let t=[];for(let n=0;n<e.length;n++){let r=re(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Wv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(A(o,i))}else t.push(A(r))}return t}function qi(e,t){return e[rc]=t,e.prototype[rc]=t,e}function Wv(e){return e[rc]}function Kt(e,t){let n=e.hasOwnProperty(lo);return n?e[lo]:null}function Cf(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 bf(e){return e.flat(Number.POSITIVE_INFINITY)}function Zi(e,t){e.forEach(n=>Array.isArray(n)?Zi(n,t):t(n))}function wc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function yo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Tf(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function _f(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 Sf(e,t,n){let r=Dr(e,t);return r>=0?e[r|1]=n:(r=~r,_f(e,r,t,n)),r}function Yi(e,t){let n=Dr(e,t);if(n>=0)return e[n|1]}function Dr(e,t){return qv(e,t,1)}function qv(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 Xt={},Ce=[],kn=new _(""),vo=new _("",-1),Cc=new _(""),vr=class{get(t,n=Sn){if(n===Sn){let o=If("",-201);throw o.name="\u0275NotFound",o}return n}};function Bt(e){return{\u0275providers:e}}function Mf(e){return Bt([{provide:kn,multi:!0,useValue:e}])}function Nf(...e){return{\u0275providers:bc(!0,e),\u0275fromNgModule:!0}}function bc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Zi(t,s=>{let a=s;Pi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Af(o,i),n}function Af(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Tc(o,i=>{t(i,r)})}}function Pi(e,t,n,r){if(e=re(e),!e)return!1;let o=null,i=tc(e),s=!i&&jt(e);if(!i&&!s){let c=e.ngModule;if(i=tc(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)Pi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Zi(i.imports,l=>{Pi(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Af(u,t)}if(!a){let u=Kt(o)||(()=>new o);t({provide:o,useFactory:u,deps:Ce},o),t({provide:Cc,useValue:o,multi:!0},o),t({provide:kn,useValue:()=>A(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Tc(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Tc(e,t){for(let n of e)gc(n)&&(n=n.\u0275providers),Array.isArray(n)?Tc(n,t):t(n)}var Zv=j({provide:String,useValue:j});function xf(e){return e!==null&&typeof e=="object"&&Zv in e}function Yv(e){return!!(e&&e.useExisting)}function Qv(e){return!!(e&&e.useFactory)}function Nn(e){return typeof e=="function"}function Rf(e){return!!e.useClass}var Do=new _(""),Li={},hf={},ec;function Er(){return ec===void 0&&(ec=new vr),ec}var ye=class{},An=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,ac(t,s=>this.processProvider(s)),this.records.set(vo,yr(void 0,this)),o.has("environment")&&this.records.set(ye,yr(void 0,this));let i=this.records.get(Do);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Cc,Ce,{self:!0}))}retrieve(t,n){let r=Mn(n)||0;try{return this.get(t,Sn,r)}catch(o){if(or(o))return o;throw o}}destroy(){uo(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 uo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){uo(this);let n=ht(this),r=me(void 0),o;try{return t()}finally{ht(n),me(r)}}get(t,n=Sn,r){if(uo(this),t.hasOwnProperty(pf))return t[pf](this);let o=Mn(r),i,s=ht(this),a=me(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=tD(t)&&mo(t);l&&this.injectableDefInScope(l)?u=yr(sc(t),Li):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Er():this.parent;return n=o&8&&n===Sn?null:n,c.get(t,n)}catch(c){let u=Uv(c);throw u===-200||u===-201?new v(u,null):c}finally{me(a),ht(s)}}resolveInjectorInitializers(){let t=C(null),n=ht(this),r=me(void 0),o;try{let i=this.get(kn,Ce,{self:!0});for(let s of i)s()}finally{ht(n),me(r),C(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=re(t);let n=Nn(t)?t:re(t&&t.provide),r=Jv(t);if(!Nn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=yr(void 0,Li,!0),o.factory=()=>ic(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=C(null);try{if(n.value===hf)throw Ec("");return n.value===Li&&(n.value=hf,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&eD(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=re(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 sc(e){let t=mo(e),n=t!==null?t.factory:Kt(e);if(n!==null)return n;if(e instanceof _)throw new v(-204,!1);if(e instanceof Function)return Kv(e);throw new v(-204,!1)}function Kv(e){if(e.length>0)throw new v(-204,!1);let n=Bv(e);return n!==null?()=>n.factory(e):()=>new e}function Jv(e){if(xf(e))return yr(void 0,e.useValue);{let t=_c(e);return yr(t,Li)}}function _c(e,t,n){let r;if(Nn(e)){let o=re(e);return Kt(o)||sc(o)}else if(xf(e))r=()=>re(e.useValue);else if(Qv(e))r=()=>e.useFactory(...ic(e.deps||[]));else if(Yv(e))r=(o,i)=>A(re(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=re(e&&(e.useClass||e.provide));if(Xv(e))r=()=>new o(...ic(e.deps));else return Kt(o)||sc(o)}return r}function uo(e){if(e.destroyed)throw new v(-205,!1)}function yr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xv(e){return!!e.deps}function eD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function tD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ac(e,t){for(let n of e)Array.isArray(n)?ac(n,t):n&&gc(n)?ac(n.\u0275providers,t):t(n)}function Ir(e,t){let n;e instanceof An?(uo(e),n=e):n=new oc(e);let r,o=ht(n),i=me(void 0);try{return t()}finally{ht(o),me(i)}}function Of(){return wf()!==void 0||di()!=null}var et=0,w=1,M=2,oe=3,Be=4,fe=5,Ln=6,wr=7,J=8,yt=9,tt=10,H=11,Cr=12,Sc=13,en=14,De=15,tn=16,Fn=17,vt=18,Dt=19,Mc=20,Lt=21,Qi=22,Jt=23,Ae=24,Pn=25,Et=26,z=27,kf=1,Nc=6,nn=7,Eo=8,jn=9,Q=10;function Vt(e){return Array.isArray(e)&&typeof e[kf]=="object"}function Ve(e){return Array.isArray(e)&&e[kf]===!0}function Ac(e){return(e.flags&4)!==0}function Ht(e){return e.componentOffset>-1}function br(e){return(e.flags&1)===1}function nt(e){return!!e.template}function Tr(e){return(e[M]&512)!==0}function Bn(e){return(e[M]&256)===256}var xc="svg",Lf="math";function He(e){for(;Array.isArray(e);)e=e[et];return e}function Rc(e,t){return He(t[e])}function Ue(e,t){return He(t[e.index])}function Ki(e,t){return e.data[t]}function Ji(e,t){return e[t]}function Oc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function $e(e,t){let n=t[e];return Vt(n)?n:n[et]}function Ff(e){return(e[M]&4)===4}function Xi(e){return(e[M]&128)===128}function Pf(e){return Ve(e[oe])}function Ge(e,t){return t==null?null:e[t]}function kc(e){e[Fn]=0}function Lc(e){e[M]&1024||(e[M]|=1024,Xi(e)&&Vn(e))}function jf(e,t){for(;e>0;)t=t[en],e--;return t}function Io(e){return!!(e[M]&9216||e[Ae]?.dirty)}function es(e){e[tt].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Io(e)&&Vn(e)}function Vn(e){e[tt].changeDetectionScheduler?.notify(0);let t=Ft(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Xi(t)));)t=Ft(t)}function ts(e,t){if(Bn(e))throw new v(911,!1);e[Lt]===null&&(e[Lt]=[]),e[Lt].push(t)}function Bf(e,t){if(e[Lt]===null)return;let n=e[Lt].indexOf(t);n!==-1&&e[Lt].splice(n,1)}function Ft(e){let t=e[oe];return Ve(t)?t[oe]:t}function Fc(e){return e[wr]??=[]}function Pc(e){return e.cleanup??=[]}function Vf(e,t,n,r){let o=Fc(t);o.push(n),e.firstCreatePass&&Pc(e).push(r,o.length-1)}var x={lFrame:ep(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var cc=!1;function Hf(){return x.lFrame.elementDepthCount}function Uf(){x.lFrame.elementDepthCount++}function jc(){x.lFrame.elementDepthCount--}function ns(){return x.bindingsEnabled}function Bc(){return x.skipHydrationRootTNode!==null}function Vc(e){return x.skipHydrationRootTNode===e}function Hc(){x.skipHydrationRootTNode=null}function b(){return x.lFrame.lView}function W(){return x.lFrame.tView}function $f(e){return x.lFrame.contextLView=e,e[J]}function Gf(e){return x.lFrame.contextLView=null,e}function ie(){let e=Uc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Uc(){return x.lFrame.currentTNode}function zf(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function _r(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function $c(){return x.lFrame.isParent}function Gc(){x.lFrame.isParent=!1}function Wf(){return x.lFrame.contextLView}function zc(){return cc}function fo(e){let t=cc;return cc=e,t}function Sr(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qf(){return x.lFrame.bindingIndex}function Zf(e){return x.lFrame.bindingIndex=e}function rn(){return x.lFrame.bindingIndex++}function Wc(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Yf(){return x.lFrame.inI18n}function Qf(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,rs(t)}function Kf(){return x.lFrame.currentDirectiveIndex}function rs(e){x.lFrame.currentDirectiveIndex=e}function Jf(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function os(){return x.lFrame.currentQueryIndex}function wo(e){x.lFrame.currentQueryIndex=e}function nD(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[fe]:null}function qc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=nD(i),o===null||(i=i[en],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=Xf();return r.currentTNode=t,r.lView=e,!0}function is(e){let t=Xf(),n=e[w];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xf(){let e=x.lFrame,t=e===null?null:e.child;return t===null?ep(e):t}function ep(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 tp(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Zc=tp;function ss(){let e=tp();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 np(e){return(x.lFrame.contextLView=jf(e,x.lFrame.contextLView))[J]}function Ut(){return x.lFrame.selectedIndex}function on(e){x.lFrame.selectedIndex=e}function Mr(){let e=x.lFrame;return Ki(e.tView,e.selectedIndex)}function rp(){x.lFrame.currentNamespace=xc}function Yc(){return x.lFrame.currentNamespace}var op=!0;function as(){return op}function Co(e){op=e}function uc(e,t=null,n=null,r){let o=Qc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Qc(e,t=null,n=null,r,o=new Set){let i=[n||Ce,Nf(e)],s;return new An(i,t||Er(),s||null,o)}var ve=class e{static THROW_IF_NOT_FOUND=Sn;static NULL=new vr;static create(t,n){if(Array.isArray(t))return uc({name:""},n,t,"");{let r=t.name??"";return uc({name:r},t.parent,t.providers,r)}}static \u0275prov=k({token:e,providedIn:"any",factory:()=>A(vo)});static __NG_ELEMENT_ID__=-1},q=new _(""),xe=(()=>{class e{static __NG_ELEMENT_ID__=rD;static __NG_ENV_ID__=n=>n}return e})(),ji=class extends xe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Bn(this._lView)}onDestroy(t){let n=this._lView;return ts(n,t),()=>Bf(n,t)}};function rD(){return new ji(b())}var ip=!1,sp=new _(""),Hn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new wn(!1);debugTaskTracker=g(sp,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new O(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),lc=class extends ge{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Of()&&(this.destroyRef=g(xe,{optional:!0})??void 0,this.pendingTasks=g(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 ue&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},kt=lc;function Bi(...e){}function Kc(e){let t,n;function r(){e=Bi;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 ap(e){return queueMicrotask(()=>e()),()=>{e=Bi}}var Jc="isAngularZone",po=Jc+"_ID",oD=0,de=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new kt(!1);onMicrotaskEmpty=new kt(!1);onStable=new kt(!1);onError=new kt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ip}=t;if(typeof Zone>"u")throw new v(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,aD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Jc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(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,iD,Bi,Bi);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)}},iD={};function Xc(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 sD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Kc(()=>{e.callbackScheduled=!1,dc(e),e.isCheckStableRunning=!0,Xc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),dc(e)}function aD(e){let t=()=>{sD(e)},n=oD++;e._inner=e._inner.fork({name:"angular",properties:{[Jc]:!0,[po]:n,[po+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(cD(c))return r.invokeTask(i,s,a,c);try{return gf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),mf(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return gf(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!uD(c)&&t(),mf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,dc(e),Xc(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 dc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function gf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mf(e){e._nesting--,Xc(e)}var ho=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new kt;onMicrotaskEmpty=new kt;onStable=new kt;onError=new kt;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 cD(e){return cp(e,"__ignore_ng_zone__")}function uD(e){return cp(e,"__scheduler_tick__")}function cp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Pe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},It=new _("",{factory:()=>{let e=g(de),t=g(ye),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Pe),n.handleError(r))})}}}),up={provide:kn,useValue:()=>{let e=g(Pe,{optional:!0})},multi:!0},lD=new _("",{factory:()=>{let e=g(q).defaultView;if(!e)return;let t=g(It),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),g(xe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function dD(){return Bt([Mf(()=>{g(lD)})])}function be(e,t){let[n,r,o]=xa(e,t?.equal),i=n,s=i[Y];return i.set=r,i.update=o,i.asReadonly=Nr.bind(i),i}function Nr(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}var Ar=new _("",{factory:()=>fD}),fD="ng";var cs=new _(""),Un=new _("",{providedIn:"platform",factory:()=>"unknown"});var bo=new _("",{factory:()=>g(q).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var xr=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>{let n=new e;return n.store=lp(g(q),g(Ar)),n}});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return e})();function lp(e,t){let n=e.getElementById(t+"-state");if(n?.tagName==="SCRIPT"&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var Rr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=pD}return e})();function pD(){return new Rr(b(),ie())}var mt=class{},To=new _("",{factory:()=>!0});var eu=new _(""),us=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>new fc})}return e})(),fc=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},Vi=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};function tu(e,t){let n=t?.injector??g(ve),r=t?.manualCleanup!==!0?n.get(xe):null,o,i=n.get(Rr,null,{optional:!0}),s=n.get(mt);return i!==null?(o=mD(i.view,s,e),r instanceof ji&&r._lView===i.view&&(r=null)):o=yD(e,n.get(us),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Vi(o)}var dp=X(U({},Ra),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=fo(!1);try{Oa(this)}finally{fo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=C(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],C(e)}}}),hD=X(U({},dp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Rt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),gD=X(U({},dp),{consumerMarkedDirty(){this.view[M]|=8192,Vn(this.view),this.notifier.notify(13)},destroy(){if(Rt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Jt]?.delete(this)}});function mD(e,t,n){let r=Object.create(gD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=fp(r,n),e[Jt]??=new Set,e[Jt].add(r),r.consumerMarkedDirty(r),r}function yD(e,t,n){let r=Object.create(hD);return r.fn=fp(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function fp(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Or(e){return typeof e=="function"&&e[Y]!==void 0}function ls(e){return Or(e)&&typeof e.set=="function"}var kr=(()=>{class e{internalPendingTasks=g(Hn);scheduler=g(mt);errorHandler=g(It);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})();function $r(e){return{toString:e}.toString()}var P=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(P||{}),Es=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function th(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var nh=null,Zu=(()=>{nh=pp;let e=()=>pp;return e.ngInherit=!0,e})();function MD(){return nh}function pp(e){return e.type.prototype.ngOnChanges&&(e.setInput=AD),ND}function ND(){let e=rh(this),t=e?.current;if(t){let n=e.previous;if(n===Xt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function AD(e,t,n,r,o){let i=this.declaredInputs[r],s=rh(e)||xD(e,{previous:Xt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Es(u&&u.currentValue,n,c===Xt),th(e,t,o,n)}var pu="__ngSimpleChanges__";function rh(e){return Object.hasOwn(e,pu)&&e[pu]||null}function xD(e,t){return e[pu]=t}var hp=[];var B=function(e,t=null,n){for(let r=0;r<hp.length;r++){let o=hp[r];o(e,t,n)}};function RD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=MD()(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 oh(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 ms(e,t,n){ih(e,t,3,n)}function ys(e,t,n,r){(e[M]&3)===n&&ih(e,t,n,r)}function nu(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function ih(e,t,n,r){let o=r!==void 0?e[Fn]&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[Fn]+=65536),(a<i||i==-1)&&(OD(e,n,t,c),e[Fn]=(e[Fn]&4294901760)+c+2),c++}function gp(e,t){B(P.LifecycleHookStart,e,t);let n=C(null);try{t.call(e)}finally{C(n),B(P.LifecycleHookEnd,e,t)}}function OD(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[Fn]>>16&&(e[M]&3)===t&&(e[M]+=16384,gp(a,i)):gp(a,i)}var Fr=-1,$n=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function kD(e){return(e.flags&8)!==0}function LD(e){return(e.flags&16)!==0}function FD(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];PD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function sh(e){return e===3||e===4||e===6}function PD(e){return e.charCodeAt(0)===64}function jr(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?mp(e,n,o,null,t[++r]):mp(e,n,o,null,null))}}return e}function mp(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function ah(e){return e!==Fr}function Is(e){return e&32767}function jD(e){return e>>16}function ws(e,t){let n=jD(e),r=t;for(;n>0;)r=r[en],n--;return r}var hu=!0;function Cs(e){let t=hu;return hu=e,t}var BD=256,ch=BD-1,uh=5,VD=0,wt={};function HD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Rn)&&(r=n[Rn]),r==null&&(r=n[Rn]=VD++);let o=r&ch,i=1<<o;t.data[e+(o>>uh)]|=i}function bs(e,t){let n=lh(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,ru(r.data,e),ru(t,null),ru(r.blueprint,null));let o=Yu(e,t),i=e.injectorIndex;if(ah(o)){let s=Is(o),a=ws(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ru(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Yu(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=gh(o),r===null)return Fr;if(n++,o=o[en],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Fr}function gu(e,t,n){HD(e,t,n)}function UD(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(sh(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function dh(e,t,n){if(n&8||e!==void 0)return e;Wi(t,"NodeInjector")}function fh(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[yt],i=me(void 0);try{return o?o.get(t,r,n&8):Ic(t,r,n&8)}finally{me(i)}}return dh(r,t,n)}function ph(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=WD(e,t,n,r,wt);if(s!==wt)return s}let i=hh(e,t,n,r,wt);if(i!==wt)return i}return fh(t,n,r,o)}function hh(e,t,n,r,o){let i=GD(n);if(typeof i=="function"){if(!qc(t,e,r))return r&1?dh(o,n,r):fh(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Wi(n);else return s}finally{Zc()}}else if(typeof i=="number"){let s=null,a=lh(e,t),c=Fr,u=r&1?t[De][fe]:null;for((a===-1||r&4)&&(c=a===-1?Yu(e,t):t[a+8],c===Fr||!vp(r,!1)?a=-1:(s=t[w],a=Is(c),t=ws(c,t)));a!==-1;){let l=t[w];if(yp(i,a,l.data)){let d=$D(a,t,n,s,r,u);if(d!==wt)return d}c=t[a+8],c!==Fr&&vp(r,t[w].data[a+8]===u)&&yp(i,a,t)?(s=l,a=Is(c),t=ws(c,t)):a=-1}}return o}function $D(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Ht(a)&&hu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=vs(a,s,n,c,u);return l!==null?Ao(t,s,l,a,o):wt}function vs(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&nt(f)&&f.type===n)return c}return null}function Ao(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof $n){let a=i;if(a.resolving)throw Ec("");let c=Cs(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?me(a.injectImpl):null,p=qc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&RD(n,s[n],t)}finally{d!==null&&me(d),Cs(c),a.resolving=!1,Zc()}}return i}function GD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Rn)?e[Rn]:void 0;return typeof t=="number"?t>=0?t&ch:zD:t}function yp(e,t,n){let r=1<<e;return!!(n[t+(e>>uh)]&r)}function vp(e,t){return!(e&2)&&!(e&1&&t)}var sn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ph(this._tNode,this._lView,t,Mn(r),n)}};function zD(){return new sn(ie(),b())}function Vs(e){return $r(()=>{let t=e.prototype.constructor,n=t[lo]||mu(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[lo]||mu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function mu(e){return hc(e)?()=>{let t=mu(re(e));return t&&t()}:Kt(e)}function WD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Tr(s);){let a=hh(i,s,n,r|2,wt);if(a!==wt)return a;let c=i.parent;if(!c){let u=s[Mc];if(u){let l=u.get(n,wt,r&-5);if(l!==wt)return l}c=gh(s),s=s[en]}i=c}return o}function gh(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[fe]:null}function Qu(e){return UD(ie(),e)}var ds="__parameters__";function qD(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Ku(e,t,n){return $r(()=>{let r=qD(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 d=c.hasOwnProperty(ds)?c[ds]:Object.defineProperty(c,ds,{value:[]})[ds];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function st(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}var ZD=qi(Ku("Optional"),8),YD=qi(Ku("Self"),2),QD=qi(Ku("SkipSelf"),4);function KD(){return Gr(ie(),b())}function Gr(e,t){return new bt(Ue(e,t))}var bt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=KD}return e})();function mh(e){return e instanceof bt?e.nativeElement:e}function JD(){return this._results[Symbol.iterator]()}var Ts=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 ge}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=bf(t);(this._changesDetected=!Cf(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]=JD};function yh(e){return(e.flags&128)===128}var Ju=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Ju||{}),vh=new Map,XD=0;function eE(){return XD++}function tE(e){vh.set(e[Dt],e)}function yu(e){vh.delete(e[Dt])}var Dp="__ngContext__";function Br(e,t){Vt(t)?(e[Dp]=t[Dt],tE(t)):e[Dp]=t}function Dh(e){return Ih(e[Cr])}function Eh(e){return Ih(e[Be])}function Ih(e){for(;e!==null&&!Ve(e);)e=e[Be];return e}var vu;function Xu(e){vu=e}function el(){if(vu!==void 0)return vu;if(typeof document<"u")return document;throw new v(210,!1)}var wh="r";var Ch="di";var bh=!1,Th=new _("",{factory:()=>bh});var Ep=new WeakMap;function nE(e,t){if(e==null||typeof e!="object")return;let n=Ep.get(e);n||(n=new WeakSet,Ep.set(e,n)),n.add(t)}var rE=(e,t,n,r)=>{};function oE(e,t,n,r){rE(e,t,n,r)}function Hs(e){return(e.flags&32)===32}var iE=()=>null;function _h(e,t,n=!1){return iE(e,t,n)}function Sh(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];wo(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function Du(e,t,n){wo(0);let r=C(null);try{t(e,n)}finally{C(r)}}function tl(e,t,n){if(Ac(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 ot=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(ot||{});var fs;function sE(){if(fs===void 0&&(fs=null,je.trustedTypes))try{fs=je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fs}function Us(e){return sE()?.createHTML(e)||e}var ps;function Mh(){if(ps===void 0&&(ps=null,je.trustedTypes))try{ps=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ps}function Ip(e){return Mh()?.createHTML(e)||e}function wp(e){return Mh()?.createScriptURL(e)||e}var $t=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Hi})`}},Eu=class extends $t{getTypeName(){return"HTML"}},Iu=class extends $t{getTypeName(){return"Style"}},wu=class extends $t{getTypeName(){return"Script"}},Cu=class extends $t{getTypeName(){return"URL"}},bu=class extends $t{getTypeName(){return"ResourceURL"}};function at(e){return e instanceof $t?e.changingThisBreaksApplicationSecurity:e}function Tt(e,t){let n=Nh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Hi})`)}return n===t}function Nh(e){return e instanceof $t&&e.getTypeName()||null}function nl(e){return new Eu(e)}function rl(e){return new Iu(e)}function ol(e){return new wu(e)}function il(e){return new Cu(e)}function sl(e){return new bu(e)}function aE(e){let t=new _u(e);return cE()?new Tu(t):t}var Tu=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Us(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},_u=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=Us(t),n}};function cE(){try{return!!new window.DOMParser().parseFromString(Us(""),"text/html")}catch{return!1}}var uE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Po(e){return e=String(e),e.match(uE)?e:"unsafe:"+e}function Gt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function jo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ah=Gt("area,br,col,hr,img,wbr"),xh=Gt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rh=Gt("rp,rt"),lE=jo(Rh,xh),dE=jo(xh,Gt("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")),fE=jo(Rh,Gt("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")),Cp=jo(Ah,dE,fE,lE),Oh=Gt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pE=Gt("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"),hE=Gt("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"),gE=jo(Oh,pE,hE),mE=Gt("script,style,template"),Su=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=DE(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=vE(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=bp(t).toLowerCase();if(!Cp.hasOwnProperty(n))return this.sanitizedSomething=!0,!mE.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(!gE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Oh[a]&&(c=Po(c)),this.buf.push(" ",s,'="',Tp(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=bp(t).toLowerCase();Cp.hasOwnProperty(n)&&!Ah.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Tp(t))}};function yE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function vE(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw kh(t);return t}function DE(e){let t=e.firstChild;if(t&&yE(e,t))throw kh(t);return t}function bp(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function kh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var EE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,IE=/([^\#-~ |!])/g;function Tp(e){return e.replace(/&/g,"&").replace(EE,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(IE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var hs;function $s(e,t){let n=null;try{hs=hs||aE(e);let r=t?String(t):"";n=hs.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=hs.getInertBodyElement(r)}while(r!==i);let a=new Su().sanitizeChildren(_p(n)||n);return Us(a)}finally{if(n){let r=_p(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function _p(e){return"content"in e&&wE(e)?e.content:null}function wE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var CE=/^>|^->|<!--|-->|--!>|<!-$/g,bE=/(<|>)/g,TE="\u200B$1\u200B";function _E(e){return e.replace(CE,t=>t.replace(bE,TE))}function SE(e,t){return e.createText(t)}function ME(e,t,n){e.setValue(t,n)}function NE(e,t){return e.createComment(_E(t))}function Lh(e,t,n){return e.createElement(t,n)}function _s(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Fh(e,t,n){e.appendChild(t,n)}function Sp(e,t,n,r,o){r!==null?_s(e,t,n,r,o):Fh(e,t,n)}function Ph(e,t,n,r){e.removeChild(null,t,n,r)}function AE(e,t,n){e.setAttribute(t,"style",n)}function xE(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function jh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&FD(e,t,r),o!==null&&xE(e,t,o),i!==null&&AE(e,t,i)}var Te=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Te||{});function RE(e){let t=al();return t?Ip(t.sanitize(Te.HTML,e)||""):Tt(e,"HTML")?Ip(at(e)):$s(el(),On(e))}function Bh(e){let t=al();return t?t.sanitize(Te.URL,e)||"":Tt(e,"URL")?at(e):Po(On(e))}function Vh(e){let t=al();if(t)return wp(t.sanitize(Te.RESOURCE_URL,e)||"");if(Tt(e,"ResourceURL"))return wp(at(e));throw new v(904,!1)}var OE={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function kE(e,t){return OE[e.toLowerCase()]?.[t.toLowerCase()]===!0?Vh:Bh}function LE(e,t,n){return kE(t,n)(e)}function al(){let e=b();return e&&e[tt].sanitizer}function FE(e){return e.ownerDocument}function PE(e){return e instanceof Function?e():e}function jE(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 Hh="ng-template";function BE(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&jE(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(cl(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 cl(e){return e.type===4&&e.value!==Hh}function VE(e,t,n){let r=e.type===4&&!n?Hh:e.value;return t===r}function HE(e,t,n){let r=4,o=e.attrs,i=o!==null?GE(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!rt(r)&&!rt(c))return!1;if(s&&rt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!VE(e,c,n)||c===""&&t.length===1){if(rt(r))return!1;s=!0}}else if(r&8){if(o===null||!BE(e,o,c,n)){if(rt(r))return!1;s=!0}}else{let u=t[++a],l=UE(c,o,cl(e),n);if(l===-1){if(rt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(rt(r))return!1;s=!0}}}}return rt(r)||s}function rt(e){return(e&1)===0}function UE(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 zE(t,e)}function Uh(e,t,n=!1){for(let r=0;r<t.length;r++)if(HE(e,t[r],n))return!0;return!1}function $E(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function GE(e){for(let t=0;t<e.length;t++){let n=e[t];if(sh(n))return t}return e.length}function zE(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 WE(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Mp(e,t){return e?":not("+t.trim()+")":t}function qE(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!==""&&!rt(s)&&(t+=Mp(i,o),o=""),r=s,i=i||!rt(r);n++}return o!==""&&(t+=Mp(i,o)),t}function ZE(e){return e.map(qE).join(",")}function YE(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(!rt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Re={},Ct=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ct||{}),QE;function ul(e,t){return QE(e,t)}var gL=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Mu=new WeakMap;function $h(e){return e?e[en]??e:null}var So=new WeakSet;function KE(e,t,n){let r=Mu.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=$h(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:u}=r[a],l=c.parentNode;c===t?(r.splice(a,1),So.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):l&&o&&l!==o&&(s===null||u===null||s===u)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function JE(e,t,n){let r=$h(n),o=Mu.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Mu.set(e,[{el:t,declarationView:r}])}var an=new Set,Gs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Gs||{}),_t=new _(""),Np=new Set;function zt(e){Np.has(e)||(Np.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var zs=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),ll=[0,1,2,3],dl=(()=>{class e{ngZone=g(de);scheduler=g(mt);errorHandler=g(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(_t,{optional:!0})}execute(){let n=this.sequences.size>0;n&&B(P.AfterRenderHooksStart),this.executing=!0;for(let r of ll)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&&B(P.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Pn]??=[]).push(n),Vn(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(Gs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),xo=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?.[Pn];t&&(this.view[Pn]=t.filter(n=>n!==this))}};function XE(e,t){let n=t?.injector??g(ve);return zt("NgAfterNextRender"),tI(e,n,t,!0)}function eI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function tI(e,t,n,r){let o=t.get(zs);o.impl??=t.get(dl);let i=t.get(_t,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(xe):null,a=t.get(Rr,null,{optional:!0}),c=new xo(o.impl,eI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var fl=new _("",{factory:()=>{let e=g(ye),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Gh(e,t,n){let r=e.get(fl);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function nI(e,t){let n=e.get(fl);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function rI(e,t){let n=e.get(fl);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function oI(e,t){for(let[n,r]of t)Gh(e,r.animateFns)}function Ap(e,t,n,r){let o=e?.[Et]?.enter;t!==null&&o&&o.has(n.index)&&oI(r,o)}function xp(e,t,n,r){try{n.get(vo)}catch{return r(!1)}let o=e?.[Et];o?.enter?.has(t.index)&&nI(n,o.enter.get(t.index).animateFns);let i=iI(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Ws(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&an.add(e[Dt]),Gh(n,()=>sI(e,t,o||void 0,i,r),o||void 0)}function iI(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[w].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function sI(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:u}=c();i.push(u)}n.detachedLeaveAnimationFns=void 0}if(e&&Ws(e,t,i),i.length>0){let s=n||e?.[Et];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),cI(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&an.delete(e[Dt]),o(!0)})}else e&&an.delete(e[Dt]),o(!1)}function Ws(e,t,n){if(t.type&12){let o=e[t.index];if(Ve(o))for(let i=Q;i<o.length;i++){let s=o[i];s[w].type===2&&aI(s,n)}}let r=t.child;for(;r;)Ws(e,r,n),r=r.next}function aI(e,t){let n=e[Et];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[w].firstChild;for(;r;)Ws(e,r,t),r=r.next}function cI(e,t,n){t.then(()=>{e[Et]?.running===t&&(e[Et].running=void 0,an.delete(e[Dt])),n(!0)})}function Lr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ve(o)?c=o:Vt(o)&&(u=!0,o=o[et]);let l=He(o);e===0&&r!==null?(Ap(a,r,i,n),s==null?Fh(t,r,l):_s(t,r,l,s||null,!0)):e===1&&r!==null?(Ap(a,r,i,n),_s(t,r,l,s||null,!0),KE(i,l,a)):e===2?(a?.[Et]?.leave?.has(i.index)&&JE(i,l,a),So.delete(l),xp(a,i,n,d=>{if(So.has(l)){So.delete(l);return}Ph(t,l,u,d)})):e===3&&(So.delete(l),xp(a,i,n,()=>{t.destroyNode(l)})),c!=null&&vI(t,e,n,c,i,r,s)}}function uI(e,t){zh(e,t),t[et]=null,t[fe]=null}function lI(e,t,n,r,o,i){r[et]=o,r[fe]=t,Zs(e,r,n,1,o,i)}function zh(e,t){t[tt].changeDetectionScheduler?.notify(9),Zs(e,t,t[H],2,null,null)}function dI(e){let t=e[Cr];if(!t)return ou(e[w],e);for(;t;){let n=null;if(Vt(t))n=t[Cr];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[Be]&&t!==e;)Vt(t)&&ou(t[w],t),t=t[oe];t===null&&(t=e),Vt(t)&&ou(t[w],t),n=t&&t[Be]}t=n}}function pl(e,t){let n=e[jn],r=n.indexOf(t);n.splice(r,1)}function qs(e,t){if(Bn(t))return;let n=t[H];n.destroyNode&&Zs(e,t,n,3,null,null),dI(t)}function ou(e,t){if(Bn(t))return;let n=C(null);try{t[M]&=-129,t[M]|=256,t[Ae]&&Rt(t[Ae]),pI(e,t),fI(e,t),t[w].type===1&&t[H].destroy();let r=t[tn];if(r!==null&&Ve(t[oe])){r!==t[oe]&&pl(r,t);let o=t[vt];o!==null&&o.detachView(e)}yu(t)}finally{C(n)}}function fI(e,t){let n=e.cleanup,r=t[wr];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[wr]=null);let o=t[Lt];if(o!==null){t[Lt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Jt];if(i!==null){t[Jt]=null;for(let s of i)s.destroy()}}function pI(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 $n)){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];B(P.LifecycleHookStart,a,c);try{c.call(a)}finally{B(P.LifecycleHookEnd,a,c)}}else{B(P.LifecycleHookStart,o,i);try{i.call(o)}finally{B(P.LifecycleHookEnd,o,i)}}}}}function Wh(e,t,n){return hI(e,t.parent,n)}function hI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[et];if(Ht(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ot.None||o===ot.Emulated)return null}return Ue(r,n)}function qh(e,t,n){return mI(e,t,n)}function gI(e,t,n){return e.type&40?Ue(e,n):null}var mI=gI,Rp;function hl(e,t,n,r){let o=Wh(e,r,t),i=t[H],s=r.parent||t[fe],a=qh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Sp(i,o,n[c],a,!1);else Sp(i,o,n,a,!1);Rp!==void 0&&Rp(i,r,t,n,o)}function Mo(e,t){if(t!==null){let n=t.type;if(n&3)return Ue(t,e);if(n&4)return Nu(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Mo(e,r);{let o=e[t.index];return Ve(o)?Nu(-1,o):He(o)}}else{if(n&128)return Mo(e,t.next);if(n&32)return ul(t,e)()||He(e[t.index]);{let r=Zh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ft(e[De]);return Mo(o,r)}else return Mo(e,t.next)}}}return null}function Zh(e,t){if(t!==null){let r=e[De][fe],o=t.projection;return r.projection[o]}return null}function Nu(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Mo(r,o)}return t[nn]}function gl(e,t,n,r,o,i,s){for(;n!=null;){let a=r[yt];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Br(He(c),r),n.flags|=2),!Hs(n))if(u&8)gl(e,t,n.child,r,o,i,!1),Lr(t,e,a,o,c,n,i,r);else if(u&32){let l=ul(n,r),d;for(;d=l();)Lr(t,e,a,o,d,n,i,r);Lr(t,e,a,o,c,n,i,r)}else u&16?Yh(e,t,r,n,o,i):Lr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Zs(e,t,n,r,o,i){gl(n,r,e.firstChild,t,o,i,!1)}function yI(e,t,n){let r=t[H],o=Wh(e,n,t),i=n.parent||t[fe],s=qh(i,n,t);Yh(r,0,t,n,o,s)}function Yh(e,t,n,r,o,i){let s=n[De],c=s[fe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Lr(t,e,n[yt],o,l,r,i,n)}else{let u=c,l=s[oe];yh(r)&&(u.flags|=128),gl(e,t,u,l,o,i,!0)}}function vI(e,t,n,r,o,i,s){let a=r[nn],c=He(r);a!==c&&Lr(t,e,n,i,a,o,s);for(let u=Q;u<r.length;u++){let l=r[u];Zs(l[w],l,e,t,i,a)}}function DI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ct.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ct.Important),e.setStyle(n,r,o,i))}}function ml(e,t,n,r,o,i,s,a,c,u,l){let d=z+r,p=d+o,f=EI(d,p),h=typeof u=="function"?u():u;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function EI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Re);return n}function II(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ml(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function yl(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[et]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),kc(d),d[oe]=d[en]=e,d[J]=n,d[tt]=s||e&&e[tt],d[H]=a||e&&e[H],d[yt]=c||e&&e[yt]||null,d[fe]=i,d[Dt]=eE(),d[Ln]=l,d[Mc]=u,d[De]=t.type==2?e[De]:d,d}function wI(e,t,n){let r=Ue(t,e),o=II(n),i=e[tt].rendererFactory,s=vl(e,yl(e,o,null,Qh(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Qh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kh(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 vl(e,t){return e[Cr]?e[Sc][Be]=t:e[Cr]=t,e[Sc]=t,t}function CI(e=1){Jh(W(),b(),Ut()+e,!1)}function Jh(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ms(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ys(t,i,0,n)}on(n)}var Ys=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ys||{});function Gn(e,t,n,r){let o=C(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ys.SignalBased)!==0&&(c=t[i][Y]),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):th(t,c,i,r)}finally{C(o)}}function Xh(e,t,n,r,o){let i=Ut(),s=r&2;try{on(-1),s&&t.length>z&&Jh(e,t,z,!1);let a=s?P.TemplateUpdateStart:P.TemplateCreateStart;B(a,o,n),n(r,o)}finally{on(i);let a=s?P.TemplateUpdateEnd:P.TemplateCreateEnd;B(a,o,n)}}function Qs(e,t,n){NI(e,t,n),(n.flags&64)===64&&AI(e,t,n)}function Bo(e,t,n=Ue){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 bI(e,t,n,r){let i=r.get(Th,bh)||n===ot.ShadowDom||n===ot.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return TI(s),s}function TI(e){_I(e)}var _I=()=>null;function SI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function eg(e,t,n,r,o,i){let s=t[w];if(wl(e,s,t,n,r)){Ht(e)&&MI(t,e.index);return}e.type&3&&(n=SI(n)),tg(e,t,n,r,o,i)}function tg(e,t,n,r,o,i){if(e.type&3){let s=Ue(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function MI(e,t){let n=$e(t,e);n[M]&16||(n[M]|=64)}function NI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ht(n)&&wI(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||bs(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Ao(t,e,s,n);if(Br(c,t),i!==null&&kI(t,s-r,c,a,n,i),nt(a)){let u=$e(n.index,t);u[J]=Ao(t,e,s,n)}}}function AI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Kf();try{on(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];rs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&xI(c,u)}}finally{on(-1),rs(s)}}function xI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Dl(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Uh(t,i.selectors,!1)&&(r??=[],nt(i)?r.unshift(i):r.push(i))}return r}function RI(e,t,n,r,o,i){let s=Ue(e,t);OI(t[H],s,i,e.value,n,r,o)}function OI(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?On(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function kI(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];Gn(r,n,c,u)}}function El(e,t,n,r,o){let i=z+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,_r(e,!0);let c=e.type===2;return c?(jh(t[H],a,e),(Hf()===0||br(e))&&Br(a,t),Uf()):Br(a,t),as()&&(!c||!Hs(e))&&hl(s,t,a,e),e}function Il(e){let t=e;return $c()?Gc():(t=t.parent,_r(t,!1)),t}function LI(e,t){let n=e[yt];if(!n)return;let r;try{r=n.get(It,null)}catch{r=null}r?.(t)}function wl(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Gn(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Gn(l,u,r,o),a=!0}return a}function FI(e,t,n,r,o,i){let s=null,a=null,c=null,u=!1,l=e.directiveToIndex.get(r.type);if(typeof l=="number"?s=l:[s,a,c]=l,a!==null&&c!==null&&e.hostDirectiveInputs?.hasOwnProperty(o)){let d=e.hostDirectiveInputs[o];for(let p=0;p<d.length;p+=2){let f=d[p];if(f>=a&&f<=c){let h=t.data[f],y=d[p+1];Gn(h,n[f],y,i),u=!0}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(Gn(r,n[s],o,i),u=!0),u}function PI(e,t){let n=$e(t,e),r=n[w];jI(r,n);let o=n[et];o!==null&&n[Ln]===null&&(n[Ln]=_h(o,n[yt])),B(P.ComponentStart);try{Cl(r,n,n[J])}finally{B(P.ComponentEnd,n[J])}}function jI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Cl(e,t,n){is(t);try{let r=e.viewQuery;r!==null&&Du(1,r,n);let o=e.template;o!==null&&Xh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[vt]?.finishViewCreation(e),e.staticContentQueries&&Sh(e,t),e.staticViewQueries&&Du(2,e.viewQuery,n);let i=e.components;i!==null&&BI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,ss()}}function BI(e,t){for(let n=0;n<t.length;n++)PI(e,t[n])}function Vo(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=yl(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[tn]=u;let l=e[vt];return l!==null&&(c[vt]=l.createEmbeddedView(i)),Cl(i,c,n),c}finally{C(o)}}function Vr(e,t){return!t||t.firstChild===null||yh(e)}function Ro(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(He(i)),Ve(i)&&ng(i,r);let s=n.type;if(s&8)Ro(e,t,n.child,r);else if(s&32){let a=ul(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Zh(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ft(t[De]);Ro(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function ng(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Ro(r[w],r,o,t)}e[nn]!==e[et]&&t.push(e[nn])}function rg(e){if(e[Pn]!==null){for(let t of e[Pn])t.impl.addSequence(t);e[Pn].length=0}}var og=[];function VI(e){return e[Ae]??HI(e)}function HI(e){let t=og.pop()??Object.create($I);return t.lView=e,t}function UI(e){e.lView[Ae]!==e&&(e.lView=null,og.push(e))}var $I=X(U({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Vn(e.lView)},consumerOnSignalRead(){this.lView[Ae]=this}});function GI(e){let t=e[Ae]??Object.create(zI);return t.lView=e,t}var zI=X(U({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ft(e.lView);for(;t&&!ig(t[w]);)t=Ft(t);t&&Lc(t)},consumerOnSignalRead(){this.lView[Ae]=this}});function ig(e){return e.type!==2}function sg(e){if(e[Jt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Jt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var WI=100;function ag(e,t=0){let r=e[tt].rendererFactory,o=!1;o||r.begin?.();try{qI(e,t)}finally{o||r.end?.()}}function qI(e,t){let n=zc();try{fo(!0),Au(e,t);let r=0;for(;Io(e);){if(r===WI)throw new v(103,!1);r++,Au(e,1)}}finally{fo(n)}}function ZI(e,t,n,r){if(Bn(t))return;let o=t[M],i=!1,s=!1;is(t);let a=!0,c=null,u=null;i||(ig(e)?(u=VI(t),c=pt(u)):ui()===null?(a=!1,u=GI(t),c=pt(u)):t[Ae]&&(Rt(t[Ae]),t[Ae]=null));try{kc(t),Zf(e.bindingStartIndex),n!==null&&Xh(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ms(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ys(t,f,0,null),nu(t,0)}if(s||YI(t),sg(t),cg(t,0),e.contentQueries!==null&&Sh(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ms(t,f)}else{let f=e.contentHooks;f!==null&&ys(t,f,1),nu(t,1)}KI(e,t);let d=e.components;d!==null&&lg(t,d,0);let p=e.viewQuery;if(p!==null&&Du(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ms(t,f)}else{let f=e.viewHooks;f!==null&&ys(t,f,2),nu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Qi]){for(let f of t[Qi])f();t[Qi]=null}i||(rg(t),t[M]&=-73)}catch(l){throw i||Vn(t),l}finally{u!==null&&(xt(u,c),a&&UI(u)),ss()}}function cg(e,t){for(let n=Dh(e);n!==null;n=Eh(n))for(let r=Q;r<n.length;r++){let o=n[r];ug(o,t)}}function YI(e){for(let t=Dh(e);t!==null;t=Eh(t)){if(!(t[M]&2))continue;let n=t[jn];for(let r=0;r<n.length;r++){let o=n[r];Lc(o)}}}function QI(e,t,n){B(P.ComponentStart);let r=$e(t,e);try{ug(r,n)}finally{B(P.ComponentEnd,r[J])}}function ug(e,t){Xi(e)&&Au(e,t)}function Au(e,t){let r=e[w],o=e[M],i=e[Ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&vn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)ZI(r,e,r.template,e[J]);else if(o&8192){let a=C(null);try{sg(e),cg(e,1);let c=r.components;c!==null&&lg(e,c,1),rg(e)}finally{C(a)}}}function lg(e,t,n){for(let r=0;r<t.length;r++)QI(e,t[r],n)}function KI(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)on(~o);else{let i=o,s=n[++r],a=n[++r];Qf(s,i);let c=t[i];B(P.HostBindingsUpdateStart,c);try{a(2,c)}finally{B(P.HostBindingsUpdateEnd,c)}}}}finally{on(-1)}}function bl(e,t){let n=zc()?64:1088;for(e[tt].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=Ft(e);if(Tr(e)&&!r)return e;e=r}return null}function dg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function fg(e,t){let n=Q+t;if(n<e.length)return e[n]}function Ho(e,t,n,r=!0){let o=t[w];if(JI(o,t,e,n),r){let s=Nu(n,e),a=t[H],c=a.parentNode(e[nn]);c!==null&&lI(o,e[fe],a,t,c,s)}let i=t[Ln];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function pg(e,t){let n=Oo(e,t);return n!==void 0&&qs(n[w],n),n}function Oo(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[tn];o!==null&&o!==e&&pl(o,r),t>0&&(e[n-1][Be]=r[Be]);let i=yo(e,Q+t);uI(r[w],r);let s=i[vt];s!==null&&s.detachView(i[w]),r[oe]=null,r[Be]=null,r[M]&=-129}return r}function JI(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][Be]=t),r<i-Q?(t[Be]=n[o],wc(n,Q+r,t)):(n.push(t),t[Be]=null),t[oe]=n;let s=t[tn];s!==null&&n!==s&&hg(s,t);let a=t[vt];a!==null&&a.insertView(e),es(t),t[M]|=128}function hg(e,t){let n=e[jn],r=t[oe];if(Vt(r))e[M]|=2;else{let o=r[oe][De];t[De]!==o&&(e[M]|=2)}n===null?e[jn]=[t]:n.push(t)}var cn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return Ro(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[J]}set context(t){this._lView[J]=t}get destroyed(){return Bn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[oe];if(Ve(t)){let n=t[Eo],r=n?n.indexOf(this):-1;r>-1&&(Oo(t,r),yo(n,r))}this._attachedToViewContainer=!1}qs(this._lView[w],this._lView)}onDestroy(t){ts(this._lView,t)}markForCheck(){bl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){es(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,ag(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Tr(this._lView),n=this._lView[tn];n!==null&&!t&&pl(n,this._lView),zh(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=Tr(this._lView),r=this._lView[tn];r!==null&&!n&&hg(r,this._lView),es(this._lView)}};var Hr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=XI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Vo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new cn(i)}}return e})();function XI(){return Ks(ie(),b())}function Ks(e,t){return e.type&4?new Hr(t,e,Gr(e,t)):null}function zr(e,t,n,r,o){let i=e.data[t];if(i===null)i=ew(e,t,n,r,o),Yf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=zf();i.injectorIndex=s===null?-1:s.injectorIndex}return _r(i,!0),i}function ew(e,t,n,r,o){let i=Uc(),s=$c(),a=s?i:i&&i.parent,c=e.data[t]=nw(e,a,n,t,r,o);return tw(e,c,i,s),c}function tw(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 nw(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Bc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Yc(),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}}function rw(e){let t=e[Nc]??[],r=e[oe][H],o=[];for(let i of t)i.data[Ch]!==void 0?o.push(i):ow(i,r);e[Nc]=o}function ow(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[wh];for(;n<o;){let i=r.nextSibling;Ph(t,r,!1),r=i,n++}}}var iw=()=>null,sw=()=>null;function Ss(e,t){return iw(e,t)}function gg(e,t,n){return sw(e,t,n)}var mg=class{},zn=class{},yg=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>aw()}return e})();function aw(){let e=b(),t=ie(),n=$e(t.index,e);return(Vt(n)?n:e)[H]}var vg=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>null})}return e})();function Dg(e){return e.debugInfo?.className||e.type.name||null}var Ds={},Ms=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ds,r);return o!==Ds||n===Ds?o:this.parentInjector.get(t,n,r)}};function Tl(e,t,n){return e[t]=n}function cw(e,t){return e[t]}function it(e,t,n){if(n===Re)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Eg(e,t,n,r){let o=it(e,t,n);return it(e,t+1,r)||o}function Pr(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&nE(o,i);let s=Ht(e)?$e(e.index,t):t;bl(s,5);let a=t[J],c=Op(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=Op(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function Op(e,t,n,r){let o=C(null);try{return B(P.OutputStart,t,n),n(r)!==!1}catch(i){return LI(e,i),!1}finally{B(P.OutputEnd,t,n),C(o)}}function Ig(e,t,n,r,o,i,s,a){let c=br(e),u=!1,l=null;if(!r&&c&&(l=lw(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ue(e,n),p=r?r(d):d;oE(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!uw(i)){let h=r?y=>r(He(y[e.index])):e.index;wg(h,t,n,i,a,f,!1)}}return u}function uw(e){return e.startsWith("animation")||e.startsWith("transition")}function lw(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[wr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function wg(e,t,n,r,o,i,s){let a=t.firstCreatePass?Pc(t):null,c=Fc(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function kp(e,t,n,r,o){let i=null,s=null,a=null,c=!1,u=e.directiveToIndex.get(n.type);if(typeof u=="number"?i=u:[i,s,a]=u,s!==null&&a!==null&&e.hostDirectiveOutputs?.hasOwnProperty(r)){let l=e.hostDirectiveOutputs[r];for(let d=0;d<l.length;d+=2){let p=l[d];if(p>=s&&p<=a)c=!0,Ns(e,t,p,l[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=!0,Ns(e,t,i,r,r,o)),c}function Ns(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);wg(e.index,a,t,o,i,d,!0)}function dw(){fw()}function fw(){let e=b(),t=W(),n=ie();if(t.firstCreatePass&&gw(t,n),n.controlDirectiveIndex===-1)return;zt("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new As(e,t,n))}function pw(){hw()}function hw(){let e=b(),t=W(),n=Mr();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new As(e,t,n))}var As=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return Ue(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];kp(this.tNode,this.lView,r,t,Pr(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];kp(this.tNode,this.lView,r,n,Pr(this.tNode,this.lView,t))}listenToDom(t,n){Ig(this.tNode,this.tView,this.lView,void 0,this.lView[H],t,n,Pr(this.tNode,this.lView,n))}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return!1;let i=!1;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];Gn(a,c,t,n),i=!0}if(o)for(let s=0;s<o.length;s+=2){let a=o[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=o[s+1],u=this.tView.data[a],l=this.lView[a];Gn(u,l,c,n),i=!0}return i}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";FI(this.tNode,this.tView,this.lView,n,r,t)}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return!1;let n=this.tView.data[this.tNode.customControlIndex];return(n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===!0}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=!0;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!="function"){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=Lp(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i=="function")continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=!0}let s=Lp(i.directive);s!==null&&r.push(...s)}}}return n}};function Lp(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function gw(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}mw(e,t)}function mw(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(Fp(r,"value")){t.flags|=1024,t.customControlIndex=n;return}if(Fp(r,"checked")){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+"Change"];if(!i||!s)return!1;for(let a=0;a<i.length;a+=2){let c=i[a];for(let u=0;u<s.length;u+=2){let l=s[u];if(c===l)for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[p,f,h]=d;if(c>=f&&c<=h)return t.flags|=o,t.customControlIndex=p,!0}}}return!1};if(n("value",1024)||n("checked",2048))return}}function Fp(e,t){return yw(e,t)&&vw(e,t+"Change")}function yw(e,t){return t in e.inputs}function vw(e,t){return t in e.outputs}var xu=Symbol("BINDING");var Yn=new _("");function xs(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=pc(o,a);else if(i==2){let c=a,u=t[++s];r=pc(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ct(e,t=0){let n=b();if(n===null)return A(e,t);let r=ie();return ph(r,n,re(e),t)}function Dw(){let e="invalid";throw new Error(e)}function Cg(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}ww(e,t,n,a,i,c,u)}i!==null&&r!==null&&Ew(n,r,i)}function Ew(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 v(-301,!1);r.push(t[o],i)}}function Iw(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ww(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&nt(f)&&(c=f,Iw(e,n,p)),gu(bs(n,t),e,f.type)}Mw(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Kh(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=jr(n.mergedAttrs,f.hostAttrs),bw(e,n,t,d,f),Sw(d,f,o),s!==null&&s.has(f)){let[y,m]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,m+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}Cw(e,n,i)}function Cw(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Pp(0,t,o,r),Pp(1,t,o,r),Bp(t,r,!1);else{let i=n.get(o);jp(0,t,i,r),jp(1,t,i,r),Bp(t,r,!0)}}}function Pp(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),bg(t,i)}}function jp(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),bg(t,s)}}function bg(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Bp(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||cl(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 bw(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Kt(o.type,!0)),s=new $n(i,nt(o),ct,null);e.blueprint[r]=s,n[r]=s,Tw(e,t,r,Kh(e,n,o.hostVars,Re),o)}function Tw(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;_w(s)!=a&&s.push(a),s.push(n,r,i)}}function _w(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Sw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;nt(t)&&(n[""]=e)}}function Mw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _l(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=Ge(u,s),d=zr(c,e,n,r,l);return i&&Cg(c,t,d,Ge(u,a),o),d.mergedAttrs=jr(d.mergedAttrs,d.attrs),d.attrs!==null&&xs(d,d.attrs,!1),d.mergedAttrs!==null&&xs(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Sl(e,t){oh(e,t),Ac(t)&&e.queries.elementEnd(t)}function Nw(e,t,n,r,o,i){let s=t.consts,a=Ge(s,o),c=zr(t,e,n,r,a);if(c.mergedAttrs=jr(c.mergedAttrs,c.attrs),i!=null){let u=Ge(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&xs(c,c.attrs,!1),c.mergedAttrs!==null&&xs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var Tg=typeof ShadowRoot<"u",Aw=typeof Document<"u";function xw(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ys.SignalBased)!==0};return o&&(i.transform=o),i})}function Rw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Ow(e,t,n){let r=t instanceof ye?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ms(n,r):n}function kw(e){let t=e.get(zn,null);if(t===null)throw new v(407,!1);let n=e.get(vg,null),r=e.get(mt,null),o=e.get(_t,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Lw(e,t){let n=_g(e);return Lh(t,n,n==="svg"?xc:n==="math"?Lf:null)}function Fw(e){if(e?.toLowerCase()==="script")throw new v(905,!1)}function _g(e){return(e.selectors[0][0]||"div").toLowerCase()}var Wn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=xw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Rw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ZE(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){B(P.DynamicComponentStart);let a=C(null);try{let c=this.componentDef,u=Ow(c,o||this.ngModule,t),l=kw(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Dg(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{C(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=Pw(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?bI(u,o,a.encapsulation,n):Lw(a,u);Fw(l?.tagName);let d=n.get(Yn,null),p=jw(l,()=>n.get(q,null)??el());d&&d.addHost(p);let f=s?.some(Vp)||i?.some(m=>typeof m!="function"&&m.bindings.some(Vp)),h=yl(null,c,null,512|Qh(a),null,null,t,u,n,null,_h(l,n,!0));d&&Tg&&p instanceof ShadowRoot&&ts(h,()=>{d.removeHost(p)}),h[z]=l,is(h);let y=null;try{let m=_l(z,h,2,"#host",()=>c.directiveRegistry,!0,0);jh(u,l,m),Br(l,h),Qs(c,h,m),tl(c,m,h),Sl(c,m),r!==void 0&&Vw(m,this.ngContentSelectors,r),y=$e(m.index,h),h[J]=y[J],Cl(c,h,null)}catch(m){throw y!==null&&yu(y),yu(h),m}finally{B(P.DynamicComponentEnd),ss()}return new Rs(this.componentType,h,!!f)}};function Pw(e,t,n,r){let o=e?["ng-version","22.0.7"]:YE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[xu].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[xu].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Gi(d);c.push(p)}return ml(0,null,Bw(i,s),1,a,c,null,null,null,[o],null)}function jw(e,t){let n=e.getRootNode?.();return Aw&&n instanceof Document?n.head:n&&Tg&&n instanceof ShadowRoot?n:t().head}function Bw(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Vp(e){let t=e[xu].kind;return t==="input"||t==="twoWay"}var Rs=class extends mg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ki(n[w],z),this.location=Gr(this._tNode,n),this.instance=$e(this._tNode.index,n)[J],this.hostView=this.changeDetectorRef=new cn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=wl(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=$e(r.index,o);bl(s,1)}get injector(){return new sn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Vw(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 Wr=(()=>{class e{static __NG_ELEMENT_ID__=Hw}return e})();function Hw(){let e=ie();return Sg(e,b())}var Ru=class e extends Wr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Gr(this._hostTNode,this._hostLView)}get injector(){return new sn(this._hostTNode,this._hostLView)}get parentInjector(){let t=Yu(this._hostTNode,this._hostLView);if(ah(t)){let n=ws(t,this._hostLView),r=Is(t),o=n[w].data[r+8];return new sn(o,n)}else return new sn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Hp(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ss(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Vr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings;let l=new Wn(jt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let D=this.parentInjector.get(ye,null);D&&(i=D)}let p=jt(l.componentType??{}),f=Ss(this._lContainer,p?.id??null),h=f?.firstChild??null,y=l.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,c,Vr(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Pf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[oe],u=new e(c,c[fe],c[oe]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ho(s,o,i,r),t.attachToViewContainerRef(),wc(iu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Hp(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Oo(this._lContainer,n);r&&(yo(iu(this._lContainer),n),qs(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Oo(this._lContainer,n);return r&&yo(iu(this._lContainer),n)!=null?new cn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Hp(e){return e[Eo]}function iu(e){return e[Eo]||(e[Eo]=[])}function Sg(e,t){let n,r=t[e.index];return Ve(r)?n=r:(n=dg(r,t,null,e),t[e.index]=n,vl(t,n)),$w(n,t,e,r),new Ru(n,e,t)}function Uw(e,t){let n=e[H],r=n.createComment(""),o=Ue(t,e),i=n.parentNode(o);return _s(n,i,r,n.nextSibling(o),!1),r}var $w=Ww,Gw=()=>!1;function zw(e,t,n){return Gw(e,t,n)}function Ww(e,t,n,r){if(e[nn])return;let o;n.type&8?o=He(r):o=Uw(t,n),e[nn]=o}var Ou=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ku=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++)Nl(t,n).matches!==null&&this.queries[n].setDirty()}},Os=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Jw(t):this.predicate=t}},Lu=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)}},Fu=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,qw(n,i)),this.matchTNodeWithReadOption(t,n,vs(n,t,i,!1,!1))}else r===Hr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,vs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===bt||o===Wr||o===Hr&&n.type&4)this.addMatch(n.index,-2);else{let i=vs(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 qw(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 Zw(e,t){return e.type&11?Gr(e,t):e.type&4?Ks(e,t):null}function Yw(e,t,n,r){return n===-1?Zw(t,e):n===-2?Qw(e,t,r):Ao(e,e[w],n,t)}function Qw(e,t,n){if(n===bt)return Gr(t,e);if(n===Hr)return Ks(t,e);if(n===Wr)return Sg(t,e)}function Mg(e,t,n,r){let o=t[vt].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(Yw(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Pu(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Mg(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=Q;d<l.length;d++){let p=l[d];p[tn]===p[oe]&&Pu(p[w],p,u,r)}if(l[jn]!==null){let d=l[jn];for(let p=0;p<d.length;p++){let f=d[p];Pu(f[w],f,u,r)}}}}}return r}function Ml(e,t){return e[vt].queries[t].queryList}function Ng(e,t,n){let r=new Ts((n&4)===4);return Vf(e,t,r,r.destroy),(t[vt]??=new ku).queries.push(new Ou(r))-1}function Kw(e,t,n){let r=W();return r.firstCreatePass&&(xg(r,new Os(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ng(r,b(),t)}function Ag(e,t,n,r){let o=W();if(o.firstCreatePass){let i=ie();xg(o,new Os(t,n,r),i.index),Xw(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ng(o,b(),n)}function Jw(e){return e.split(",").map(t=>t.trim())}function xg(e,t,n){e.queries===null&&(e.queries=new Lu),e.queries.track(new Fu(t,n))}function Xw(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Nl(e,t){return e.queries.getByIndex(t)}function Rg(e,t){let n=e[w],r=Nl(n,t);return r.crossesNgTemplate?Pu(n,e,t,[]):Mg(n,e,r,t)}function Al(e,t,n){let r,o=to(()=>{r._dirtyCounter();let i=eC(r,e);if(t&&i===void 0)throw new v(-951,!1);return i});return r=o[Y],r._dirtyCounter=be(0),r._flatValue=void 0,o}function xl(e){return Al(!0,!1,e)}function Rl(e){return Al(!0,!0,e)}function Og(e){return Al(!1,!1,e)}function kg(e,t){let n=e[Y];n._lView=b(),n._queryIndex=t,n._queryList=Ml(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function eC(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:Ce;let o=Ml(n,r),i=Rg(n,r);return o.reset(i,mh),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Uo(e){return!!e&&typeof e.then=="function"}function Js(e){return!!e&&typeof e.subscribe=="function"}var qn=class{},Lg=class{};var ks=class extends qn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=vf(t);this._bootstrapComponents=PE(i.bootstrap),this._r3Injector=Qc(t,n,[{provide:qn,useValue:this},...r],go(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ls=class extends Lg{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ks(this.moduleType,t,[])}};var ko=class extends qn{injector;instance=null;constructor(t){super();let n=new An([...t.providers,{provide:qn,useValue:this}],t.parent||Er(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Fg(e,t,n=null){return new ko({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var tC=(()=>{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=bc(!1,n.type),o=r.length>0?Fg([r],this._injector,""):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=k({token:e,providedIn:"environment",factory:()=>new e(A(ye))})}return e})();function nC(e){return $r(()=>{let t=Pg(e),n=X(U({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Ju.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(tC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ot.Emulated,styles:e.styles||Ce,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&zt("NgStandalone"),jg(n);let r=e.dependencies;return n.directiveDefs=Up(r,rC),n.pipeDefs=Up(r,Df),n.id=sC(n),n})}function rC(e){return jt(e)||Gi(e)}function qr(e){return $r(()=>({type:e.type,bootstrap:e.bootstrap||Ce,declarations:e.declarations||Ce,imports:e.imports||Ce,exports:e.exports||Ce,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function oC(e,t){if(e==null)return Xt;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=Ys.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function iC(e){if(e==null)return Xt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function un(e){return $r(()=>{let t=Pg(e);return jg(t),t})}function Xs(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 Pg(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Xt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Ce,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:oC(e.inputs,t),outputs:iC(e.outputs),debugInfo:null}}function jg(e){e.features?.forEach(t=>t(e))}function Up(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function sC(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}var Ol=new _("");function aC(e){return Bt([{provide:Ol,multi:!0,useValue:e}])}var kl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Ol,{optional:!0})??[];injector=g(ve);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ir(this.injector,o);if(Uo(i))n.push(i);else if(Js(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=st({token:e,factory:e.\u0275fac})}return e})();function cC(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}}function uC(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=lC,n.hostDirectives=r?e.map(ju):[e]):r?n.hostDirectives.unshift(...e.map(ju)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function lC(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Bg(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&nt(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{dC(s.declaredInputs,i.inputs)}),[t,r,o]}function Bg(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)$p(ju(s),t,n,r)}else $p(o,t,n,r)}function $p(e,t,n,r){let o=Gi(e.directive);if(Bg(o,t,n,r),n.has(o)){let i=n.get(o);Gp(i,e.inputs,"input"),Gp(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function Gp(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i)})}function ju(e){return typeof e=="function"?{directive:re(e),inputs:{},outputs:{}}:{directive:re(e.directive),inputs:zp(e.inputs),outputs:zp(e.outputs)}}function zp(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function dC(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function fC(e){return Object.getPrototypeOf(e.prototype).constructor}function ea(e){let t=fC(e.type),n=!0,r=[e];for(;t;){let o;if(nt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=su(e.inputs),s.declaredInputs=su(e.declaredInputs),s.outputs=su(e.outputs);let a=o.hostBindings;a&&yC(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&gC(e,c),u&&mC(e,u),pC(e,o),yf(e.outputs,o.outputs),nt(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===ea&&(n=!1)}}t=Object.getPrototypeOf(t)}hC(r)}function pC(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 hC(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=jr(o.hostAttrs,n=jr(n,o.hostAttrs))}}function su(e){return e===Xt?{}:e===Ce?[]:e}function gC(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function mC(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function yC(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Vg(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=jr(e.mergedAttrs,e.attrs);let l=e.tView=ml(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),_r(e,!1);let c=DC(n,t,e,r);as()&&hl(n,t,c,e),Br(c,t);let u=dg(c,t,c,e);t[r+z]=u,vl(t,u),zw(u,e,t)}function vC(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,p;return t.firstCreatePass?(p=zr(t,d,4,s||null,a||null),ns()&&Cg(t,e,p,Ge(t.consts,u),Dl),oh(t,p)):p=t.data[d],Vg(p,e,t,n,r,o,i,c),br(p)&&Qs(t,e,p),u!=null&&Bo(e,p,l),p}function Lo(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,p;if(t.firstCreatePass){if(p=zr(t,d,4,s||null,a||null),u!=null){let f=Ge(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Vg(p,e,t,n,r,o,i,c),u!=null&&Bo(e,p,l),p}function Hg(e,t,n,r,o,i,s,a){let c=b(),u=W(),l=Ge(u.consts,i);return vC(c,u,e,t,n,r,o,l,void 0,s,a),Hg}var DC=EC;function EC(e,t,n,r){return Co(!0),t[H].createComment("")}var Ug=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Ll=new _("");var ta=new _("");function $g(){Aa(()=>{let e="";throw new v(600,e)})}var IC=10;var Zr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(It);afterRenderManager=g(zs);zonelessEnabled=g(To);rootEffectScheduler=g(us);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ge;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Hn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ae(n=>!n))}constructor(){g(_t,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ye);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ve.NULL){return this._injector.get(de).run(()=>{if(B(P.BootstrapComponentStart),!this._injector.get(kl).done){let D="";throw new v(405,D)}let a=jt(n),c=this._injector.get(qn),u=new Wn(a,c);this.componentTypes.push(n);let{hostElement:l,directives:d,bindings:p}=wC(r),f=l||u.selector,h=u.create(o,[],f,c.injector,d,p),y=h.location.nativeElement,m=h.injector.get(Ll,null);return m?.registerApplication(y),h.onDestroy(()=>{this.detachView(h.hostView),No(this.components,h),m?.unregisterApplication(y)}),this._loadComponent(h),B(P.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){B(P.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Gs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw B(P.ChangeDetectionEnd),new v(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(n),this.afterTick.next(),B(P.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(zn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<IC;){B(P.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{B(P.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Io(o))continue;let i=r&&!this.zonelessEnabled?0:1;ag(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Io(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;No(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ta,[]).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),()=>No(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(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=st({token:e,factory:e.\u0275fac})}return e})();function wC(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function No(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Gg(e,t,n,r){let o=b(),i=rn();if(it(o,i,t)){let s=W(),a=Mr();RI(a,o,e,t,n,r)}return Gg}var Bu=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 au(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function CC(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){C(r);let u=t.length-1;for(C(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=au(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],y=au(a,f,u,h,n);if(y!==0){y<0&&e.updateValue(a,h),a--,u--;continue}let m=n(s,l),D=n(a,f),F=n(s,d);if(Object.is(F,D)){let ce=n(u,h);Object.is(ce,m)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Fs,i??=qp(e,s,a,n),Vu(e,o,s,F))e.updateValue(s,d),s++,a++;else if(i.has(F))o.set(m,e.detach(s)),a--;else{let ce=e.create(s,t[s]);e.attach(s,ce),s++,a++}}for(;s<=u;)Wp(e,o,n,s,t[s]),s++}else if(t!=null){C(r);let u=t[Symbol.iterator]();C(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=au(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new Fs,i??=qp(e,s,a,n);let h=n(s,p);if(Vu(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let y=n(s,d);o.set(y,e.detach(s)),a--}}}for(;!l.done;)Wp(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Vu(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Wp(e,t,n,r,o){if(Vu(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function qp(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 Fs=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 bC(e,t,n,r,o,i,s,a){zt("NgControlFlow");let c=b(),u=W(),l=Ge(u.consts,i);return Lo(c,u,e,t,n,r,o,l,256,s,a),Fl}function Fl(e,t,n,r,o,i,s,a){zt("NgControlFlow");let c=b(),u=W(),l=Ge(u.consts,i);return Lo(c,u,e,t,n,r,o,l,512,s,a),Fl}function TC(e,t){zt("NgControlFlow");let n=b(),r=rn(),o=n[r]!==Re?n[r]:-1,i=o!==-1?Ps(n,z+o):void 0,s=0;if(it(n,r,e)){let a=C(null);try{if(i!==void 0&&pg(i,s),e!==-1){let c=z+e,u=Ps(n,c),l=Gu(n[w],c),d=gg(u,l,n),p=Vo(n,l,t,{dehydratedView:d});Ho(u,p,s,Vr(l,d))}}finally{C(a)}}else if(i!==void 0){let a=fg(i,s);a!==void 0&&(a[J]=t)}}var Hu=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Q}};function _C(e){return e}function SC(e,t){return t}var Uu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function MC(e,t,n,r,o,i,s,a,c,u,l,d,p){zt("NgControlFlow");let f=b(),h=W(),y=c!==void 0,m=b(),D=a?s.bind(m[De][J]):s,F=new Uu(y,D);m[z+e]=F,Lo(f,h,e+1,t,n,r,o,Ge(h.consts,i),256),y&&Lo(f,h,e+2,c,u,l,d,Ge(h.consts,p),512)}var $u=class extends Bu{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-Q}at(t){return this.getLView(t)[J].$implicit}attach(t,n){let r=n[Ln];this.needsIndexUpdate||=t!==this.length,Ho(this.lContainer,n,t,Vr(this.templateTNode,r)),AC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xC(this.lContainer,t),RC(this.lContainer,t)}create(t,n){let r=Ss(this.lContainer,this.templateTNode.tView.ssrId);return Vo(this.hostLView,this.templateTNode,new Hu(this.lContainer,n,t),{dehydratedView:r})}destroy(t){qs(t[w],t)}updateValue(t,n){this.getLView(t)[J].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[J].$index=t}getLView(t){return OC(this.lContainer,t)}};function NC(e){let t=C(null),n=Ut();try{let r=b(),o=r[w],i=r[n],s=n+1,a=Ps(r,s);if(i.liveCollection===void 0){let u=Gu(o,s);i.liveCollection=new $u(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(CC(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=rn(),l=c.length===0;if(it(r,u,l)){let d=n+2,p=Ps(r,d);if(l){let f=Gu(o,d),h=gg(p,f,r),y=Vo(r,f,void 0,{dehydratedView:h});Ho(p,y,0,Vr(f,h))}else o.firstUpdatePass&&rw(p),pg(p,0)}}}finally{C(t)}}function Ps(e,t){return e[t]}function AC(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n],o=r?r[Et]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[yt];rI(i,o),an.delete(r[Dt]),o.detachedLeaveAnimationFns=void 0}}function xC(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n],o=r?r[Et]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function RC(e,t){return Oo(e,t)}function OC(e,t){return fg(e,t)}function Gu(e,t){return Ki(e,t)}function zg(e,t,n){let r=b(),o=rn();if(it(r,o,t)){let i=W(),s=Mr();eg(s,r,e,t,r[H],n)}return zg}function Zp(e,t,n,r,o){wl(t,e,n,o?"class":"style",r)}function js(e,t,n,r){let o=b(),i=o[w],s=e+z,a=i.firstCreatePass?_l(s,o,2,t,Dl,ns(),n,r):i.data[s];if(Ht(a)){let c=o[tt].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Dg(u),()=>(Yp(e,t,o,a,r),js))}}return Yp(e,t,o,a,r),js}function Yp(e,t,n,r,o){if(El(r,n,e,t,Zg),br(r)){let i=n[w];Qs(i,n,r),tl(i,r,n)}o!=null&&Bo(n,r)}function Pl(){let e=W(),t=ie(),n=Il(t);return e.firstCreatePass&&Sl(e,n),Vc(n)&&Hc(),jc(),n.classesWithoutHost!=null&&kD(n)&&Zp(e,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&LD(n)&&Zp(e,n,b(),n.stylesWithoutHost,!1),Pl}function Wg(e,t,n,r){return js(e,t,n,r),Pl(),Wg}function jl(e,t,n,r){let o=b(),i=o[w],s=e+z,a=i.firstCreatePass?Nw(s,i,2,t,n,r):i.data[s];return El(a,o,e,t,Zg),r!=null&&Bo(o,a),jl}function Bl(){let e=ie(),t=Il(e);return Vc(t)&&Hc(),jc(),Bl}function qg(e,t,n,r){return jl(e,t,n,r),Bl(),qg}var Zg=(e,t,n,r,o)=>(Co(!0),Lh(t[H],r,Yc()));function Vl(e,t,n){let r=b(),o=r[w],i=e+z,s=o.firstCreatePass?_l(i,r,8,"ng-container",Dl,ns(),t,n):o.data[i];if(El(s,r,e,"ng-container",kC),br(s)){let a=r[w];Qs(a,r,s),tl(a,s,r)}return n!=null&&Bo(r,s),Vl}function Hl(){let e=W(),t=ie(),n=Il(t);return e.firstCreatePass&&Sl(e,n),Hl}function Yg(e,t,n){return Vl(e,t,n),Hl(),Yg}var kC=(e,t,n,r,o)=>(Co(!0),NE(t[H],""));function LC(){return b()}function Qg(e,t,n){let r=b(),o=rn();if(it(r,o,t)){let i=W(),s=Mr();tg(s,r,e,t,r[H],n)}return Qg}var _o=void 0;function FC(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var PC=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],_o,[["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"]],_o,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",_o,_o,_o],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",FC],cu=Object.create(null);function Oe(e){let t=jC(e),n=Qp(t);if(n)return n;let r=t.split("-")[0];if(n=Qp(r),n)return n;if(r==="en")return PC;throw new v(701,!1)}function Qp(e){if(!(e in cu)){let t=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e];return t!==void 0&&(cu[e]=t),t}return cu[e]}var ee={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};function jC(e){return e.toLowerCase().replace(/_/g,"-")}var $o="en-US";var BC=$o;function Kg(e){typeof e=="string"&&(BC=e.toLowerCase().replace(/_/g,"-"))}function Jg(e,t,n){let r=b(),o=W(),i=ie();return Xg(o,r,r[H],i,e,t,n),Jg}function Xg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Pr(r,t,i),Ig(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Pr(r,t,i),Ns(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Pr(r,t,i),Ns(r,t,d,o,o,c)}}function VC(e=1){return np(e)}function HC(e,t){let n=null,r=$E(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Uh(e,i,!0):WE(r,i))return o}return n}function UC(e){let t=b()[De][fe];if(!t.projection){let n=e?e.length:1,r=t.projection=Tf(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?HC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function $C(e,t=0,n,r,o,i){let s=b(),a=W(),c=r?e+1:null;c!==null&&Lo(s,a,c,r,o,i,null,n);let u=zr(a,z+e,16,null,n||null);u.projection===null&&(u.projection=t),Gc();let d=!s[Ln]||Bc();s[De][fe].projection[u.projection]===null&&c!==null?GC(s,a,c):d&&!Hs(u)&&yI(a,s,u)}function GC(e,t,n){let r=z+n,o=t.data[r],i=e[r],s=Ss(i,o.tView.ssrId),a=Vo(e,o,void 0,{dehydratedView:s});Ho(i,a,0,Vr(o,s))}function em(e,t,n,r){return Ag(e,t,n,r),em}function zC(e){let t=b(),n=W(),r=os();wo(r+1);let o=Nl(n,r);if(e.dirty&&Ff(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Rg(t,r);e.reset(i,mh),e.notifyOnChanges()}return!0}return!1}function WC(){return Ml(b(),os())}function tm(e,t,n,r,o){return kg(t,Ag(e,n,r,o)),tm}function nm(e,t,n,r){return kg(e,Kw(t,n,r)),nm}function qC(e=1){wo(os()+e)}function ZC(e){let t=Wf();return Ji(t,z+e)}function gs(e,t){return e<<17|t<<2}function Zn(e){return e>>17&32767}function YC(e){return(e&2)==2}function QC(e,t){return e&131071|t<<17}function zu(e){return e|2}function Ur(e){return(e&131068)>>2}function uu(e,t){return e&-131069|t<<2}function KC(e){return(e&1)===1}function Wu(e){return e|1}function JC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Zn(s),c=Ur(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Dr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Zn(e[a+1]);e[r+1]=gs(p,a),p!==0&&(e[p+1]=uu(e[p+1],r)),e[a+1]=QC(e[a+1],r)}else e[r+1]=gs(a,0),a!==0&&(e[a+1]=uu(e[a+1],r)),a=r;else e[r+1]=gs(c,0),a===0?a=r:e[c+1]=uu(e[c+1],r),c=r;u&&(e[r+1]=zu(e[r+1])),Kp(e,l,r,!0),Kp(e,l,r,!1),XC(t,l,e,r,i),s=gs(a,c),i?t.classBindings=s:t.styleBindings=s}function XC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Dr(i,t)>=0&&(n[r+1]=Wu(n[r+1]))}function Kp(e,t,n,r){let o=e[n+1],i=t===null,s=r?Zn(o):Ur(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];eb(c,t)&&(a=!0,e[s+1]=r?Wu(u):zu(u)),s=r?Zn(u):Ur(u)}a&&(e[n+1]=r?zu(o):Wu(o))}function eb(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Dr(e,t)>=0:!1}function rm(e,t,n){return om(e,t,n,!1),rm}function na(e,t){return om(e,t,null,!0),na}function om(e,t,n,r){let o=b(),i=W(),s=Wc(2);if(i.firstUpdatePass&&nb(i,e,s,r),t!==Re&&it(o,s,t)){let a=i.data[Ut()];ab(i,a,o,o[H],e,o[s+1]=cb(t,n),r,s)}}function tb(e,t){return t>=e.expandoStartIndex}function nb(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ut()],s=tb(e,n);ub(i,r)&&t===null&&!s&&(t=!1),t=rb(o,i,t,r),JC(o,i,t,n,s,r)}}function rb(e,t,n,r){let o=Jf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=lu(null,e,t,n,r),n=Fo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=lu(o,e,t,n,r),i===null){let c=ob(e,t,r);c!==void 0&&Array.isArray(c)&&(c=lu(null,e,t,c[1],r),c=Fo(c,t.attrs,r),ib(e,t,r,c))}else i=sb(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function ob(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ur(r)!==0)return e[Zn(r)]}function ib(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Zn(o)]=r}function sb(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Fo(r,s,n)}return Fo(r,t.attrs,n)}function lu(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=Fo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Fo(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]),Sf(e,s,n?!0:t[++i]))}return e===void 0?null:e}function ab(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=KC(u)?Jp(c,t,n,o,Ur(u),s):void 0;if(!Bs(l)){Bs(i)||YC(u)&&(i=Jp(c,null,n,o,a,s));let d=Rc(Ut(),n);DI(r,s,d,o,i)}}function Jp(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===Re&&(p=d?Ce:void 0);let f=d?Yi(p,r):l===r?p:void 0;if(u&&!Bs(f)&&(f=Yi(c,r)),Bs(f)&&(a=f,s))return a;let h=e[o+1];o=s?Zn(h):Ur(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Yi(c,r))}return a}function Bs(e){return e!==void 0}function cb(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=go(at(e)))),e}function ub(e,t){return(e.flags&(t?8:16))!==0}function lb(e,t=""){let n=b(),r=W(),o=e+z,i=r.firstCreatePass?zr(r,o,1,t,null):r.data[o],s=db(r,n,i,t);n[o]=s,as()&&hl(r,n,s,i),_r(i,!1)}var db=(e,t,n,r)=>(Co(!0),SE(t[H],r));function fb(e,t,n,r=""){return it(e,rn(),n)?t+On(n)+r:Re}function pb(e,t,n,r,o,i=""){let s=qf(),a=Eg(e,s,n,o);return Wc(2),a?t+On(n)+r+On(o)+i:Re}function im(e){return Ul("",e),im}function Ul(e,t,n){let r=b(),o=fb(r,e,t,n);return o!==Re&&am(r,Ut(),o),Ul}function sm(e,t,n,r,o){let i=b(),s=pb(i,e,t,n,r,o);return s!==Re&&am(i,Ut(),s),sm}function am(e,t,n){let r=Rc(t,e);ME(e[H],r,n)}function cm(e,t,n){ls(t)&&(t=t());let r=b(),o=rn();if(it(r,o,t)){let i=W(),s=Mr();eg(s,r,e,t,r[H],n)}return cm}function hb(e,t){let n=ls(e);return n&&e.set(t),n}function um(e,t){let n=b(),r=W(),o=ie();return Xg(r,n,n[H],o,e,t),um}function Xp(e,t,n){let r=W();r.firstCreatePass&&lm(t,r.data,r.blueprint,nt(e),n)}function lm(e,t,n,r,o){if(e=re(e),Array.isArray(e))for(let i=0;i<e.length;i++)lm(e[i],t,n,r,o);else{let i=W(),s=b(),a=ie(),c=Nn(e)?e:re(e.provide),u=_c(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Nn(e)||!e.multi){let f=new $n(u,o,ct,null),h=fu(c,t,o?l:l+p,d);h===-1?(gu(bs(a,s),i,c),du(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=fu(c,t,l+p,d),h=fu(c,t,l,l+p),y=f>=0&&n[f],m=h>=0&&n[h];if(o&&!m||!o&&!y){gu(bs(a,s),i,c);let D=yb(o?mb:gb,n.length,o,r,u,e);!o&&m&&(n[h].providerFactory=D),du(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else{let D=dm(n[o?h:f],u,!o&&r);du(i,e,f>-1?f:h,D)}!o&&r&&m&&n[h].componentProviders++}}}function du(e,t,n,r){let o=Nn(t),i=Rf(t);if(o||i){let c=(i?re(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 dm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function gb(e,t,n,r,o){return qu(this.multi,[])}function mb(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Ao(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),qu(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],qu(i,s);return s}function qu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function yb(e,t,n,r,o,i){let s=new $n(e,n,ct,null);return s.multi=[],s.index=t,s.componentProviders=0,dm(s,o,r&&!n),s}function $l(e,t){return n=>{n.providersResolver=(r,o)=>Xp(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Xp(r,o?o(t):t,!0))}}function vb(e,t){let n=Sr()+e,r=b();return r[n]===Re?Tl(r,n,t()):cw(r,n)}function Db(e,t,n){return pm(b(),Sr(),e,t,n)}function Eb(e,t,n,r){return hm(b(),Sr(),e,t,n,r)}function fm(e,t){let n=e[t];return n===Re?void 0:n}function pm(e,t,n,r,o,i){let s=t+n;return it(e,s,o)?Tl(e,s+1,i?r.call(i,o):r(o)):fm(e,s+1)}function hm(e,t,n,r,o,i,s){let a=t+n;return Eg(e,a,o,i)?Tl(e,a+2,s?r.call(s,o,i):r(o,i)):fm(e,a+2)}function Ib(e,t){let n=W(),r,o=e+z;n.firstCreatePass?(r=wb(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=Kt(r.type,!0)),s,a=me(ct);try{let c=Cs(!1),u=i();return Cs(c),Oc(n,b(),o,u),u}finally{me(a)}}function wb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Cb(e,t,n){let r=e+z,o=b(),i=Ji(o,r);return gm(o,r)?pm(o,Sr(),t,i.transform,n,i):i.transform(n)}function bb(e,t,n,r){let o=e+z,i=b(),s=Ji(i,o);return gm(i,o)?hm(i,Sr(),t,s.transform,n,r,s):s.transform(n,r)}function gm(e,t){return e[w].data[t].pure}function Tb(e,t){return Ks(e,t)}var mm=(()=>{class e{applicationErrorHandler=g(It);appRef=g(Zr);taskService=g(Hn);ngZone=g(de);zonelessEnabled=g(To);tracing=g(_t,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ue;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(po):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(eu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?ap:Kc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(po+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}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=st({token:e,factory:e.\u0275fac})}return e})();function ym(){return[{provide:mt,useExisting:mm},{provide:de,useClass:ho},{provide:To,useValue:!0}]}var _b=(()=>{class e{compileModuleSync(n){return new Ls(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=st({token:e,factory:e.\u0275fac})}return e})();function Sb(){return typeof $localize<"u"&&$localize.locale||$o}var Go=new _("",{factory:()=>g(Go,{optional:!0,skipSelf:!0})||Sb()});var zo=class{destroyed=!1;listeners=null;errorHandler=g(Pe,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=g(xe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new v(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[n]=null):this.listeners.splice(n,1))}}}emit(t){if(this.destroyed){console.warn(Pt(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let n=C(null);try{for(let r of this.listeners)try{r!==null&&r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&Mb(this.listeners)),C(n),this.isEmitting=!1}}};function Mb(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}var Yl=new _("");function ze(e,t){return to(e,t?.equal)}function se(e){return kd(e)}var ra=class extends Error{dependency;constructor(t){super("Dependency error",{cause:t.error()}),this.name="ResourceDependencyError",this.dependency=t}},Qn=class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e("IDLE");static LOADING=new e("LOADING")},Nb=e=>e;function Kn(e,t){if(typeof e=="function"){let n=La(e,Nb,t?.equal);return vm(n,t?.debugName)}else{let n=La(e.source,e.computation,e.equal);return vm(n,e.debugName)}}function vm(e,t){let n=e[Y],r=e;return r.set=o=>Rd(n,o),r.update=o=>Od(n,o),r.asReadonly=Nr.bind(e),r}var Gl=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Nr,this.isLoading=ze(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=ze(()=>this.status()==="error");update(t){this.set(t(se(this.value)))}isValueDefined=ze(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=ze(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},Wo=class extends Gl{loaderFn;equal;debugName;transferCacheKey;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;transferState;constructor(t,n,r,o,i,s,a,c){if(wm())throw Cm();super(ze(()=>{let l=this.state().stream?.();if(!l||this.state().status==="loading"&&this.error())return r;if(!zl(l))throw new oa(this.error());return l.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.transferCacheKey=a;let u=s.get(Yl,void 0,{optional:!0})??{isActive:!1};this.transferState=s.get(xr,void 0,{optional:!0})??void 0,this.extRequest=Kn(()=>{try{return ql(!0),{request:t(xb),reload:0}}catch(l){return Zl(l),l===Qn.IDLE?{status:"idle",reload:0}:l===Qn.LOADING?{status:"loading",reload:0}:{error:l,reload:0}}finally{ql(!1)}},void 0),this.state=Kn({source:this.extRequest,computation:(l,d)=>{let{request:p,status:f,error:h}=l,y;if(h)f="resolved",y=be({error:qo(h)},void 0);else if(!f)if(d)f=p===void 0?"idle":"loading",d.value.extRequest.request===p&&(y=d.value.stream);else{let m=this.transferState,D=this.transferCacheKey;u.isActive&&D&&m&&p!==void 0&&m.hasKey(D)&&(y=be({value:m.get(D,r)},void 0)),y||(y=c?.(l.request)),c=void 0,f=p===void 0?"idle":y?"resolved":"loading"}return{extRequest:l,status:f,previousStatus:d?Dm(d.value):"idle",stream:y}}}),this.effectRef=tu(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(kr),this.unregisterOnDestroy=s.get(xe).onDestroy(()=>this.destroy()),this.status=ze(()=>Dm(this.state()),void 0),this.error=ze(()=>{let l=this.state().stream?.();return l&&!zl(l)?l.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=se(this.error),r=se(this.state);if(!n){let o=se(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:be({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=se(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=se(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=se(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}})),a=()=>i.aborted||se(this.extRequest)!==t;if(Or(s)){if(a())return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s});let c=se(s)}else{let c=await s;if(a())return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:c});let u=c?se(c):void 0}}catch(s){if(Zl(s),i.aborted||se(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:be({error:qo(s)},void 0)})}finally{o?.(),o=void 0}}abortInProgressLoad(){se(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function Dm(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return zl(e.stream())?"resolved":"error";default:return e.status}}function zl(e){return e.error===void 0}function qo(e){return Ab(e)?e:new Wl(e)}function Ab(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var oa=class extends Error{constructor(t){super(t.message,{cause:t})}},Wl=class extends Error{constructor(t){super(String(t),{cause:t})}};function Em(e){switch(e.status()){case"idle":throw Qn.IDLE;case"error":throw new ra(e);case"loading":case"reloading":throw Qn.LOADING}return e.value()}var xb={chain:Em},Im=!1;function wm(){return Im}function ql(e){Im=e}function Cm(){return new v(992,!1)}function Zl(e){if(e instanceof v&&e.code===992)throw e}var sa=Symbol("InputSignalNode#UNSET"),Am=X(U({},no),{transformFn:void 0,applyValueToInputSignal(e,t){Yt(e,t)}});function xm(e,t){let n=Object.create(Am);n.value=e,n.transformFn=t?.transform;function r(){if(At(n),n.value===sa){let o=null;throw new v(-950,o)}return n.value}return r[Y]=n,r}var bm=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Qu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function tV(e){return zb(e)?e.default:e}function zb(e){return e&&typeof e=="object"&&"default"in e}function Rm(e){return new zo}function Tm(e,t){return xm(e,t)}function Wb(e){return xm(sa,e)}var Jn=(Tm.required=Wb,Tm);function Om(e,t){let n=Object.create(Am),r=new zo;n.value=e;function o(){return At(n),_m(n.value),n.value}return o[Y]=n,o.asReadonly=Nr.bind(o),o.set=i=>{n.equal(n.value,i)||(Yt(n,i),r.emit(i))},o.update=i=>{_m(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function _m(e){if(e===sa)throw new v(952,!1)}function Sm(e,t){return Om(e,t)}function qb(e){return Om(sa,e)}var nV=(Sm.required=qb,Sm);function Mm(e,t){return xl(t)}function Zb(e,t){return Rl(t)}var rV=(Mm.required=Zb,Mm);function Nm(e,t){return xl(t)}function Yb(e,t){return Rl(t)}var oV=(Nm.required=Yb,Nm);function iV(e,t){return Og(t)}var Qb=1e4;var sV=Qb-1e3;var km=(()=>{class e{static __NG_ELEMENT_ID__=Kb}return e})();function Kb(e){return Jb(ie(),b(),(e&16)===16)}function Jb(e,t,n){if(Ht(e)&&!n){let r=$e(e.index,t);return new cn(r,r)}else if(e.type&175){let r=t[De];return new cn(r,t)}return null}var Kl=new _(""),Xb=new _("");function Zo(e){return!e.moduleRef}function eT(e){let t=Zo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(de);return n.run(()=>{Zo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(It),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Zo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Kl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Kl);s.add(i),e.moduleRef.onDestroy(()=>{No(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return nT(r,n,()=>{let i=t.get(Hn),s=i.add(),a=t.get(kl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Go,$o);if(Kg(c||$o),!t.get(Xb,!0))return Zo(e)?t.get(Zr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Zo(e)){let l=t.get(Zr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return tT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var tT;function nT(e,t,n){try{let r=n();return Uo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ia=null;function rT(e=[],t){return ve.create({name:t,providers:[{provide:Do,useValue:"platform"},{provide:Kl,useValue:new Set([()=>ia=null])},...e]})}function oT(e=[]){if(ia)return ia;let t=rT(e);return ia=t,$g(),iT(t),t}function iT(e){let t=e.get(cs,null);Ir(e,()=>{t?.forEach(n=>n())})}function Lm(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;B(P.BootstrapApplicationStart);try{let i=o?.injector??oT(r),s=[ym(),up,...n||[]],a=new ko({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return eT({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{B(P.BootstrapApplicationEnd)}}function aa(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Fm(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Ql=Symbol("NOT_SET"),Pm=new Set,sT=X(U({},no),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Ql,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Ql&&!vn(this))return this.signal;try{for(let o of this.cleanup??Pm)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=pt(this),r;try{r=this.userFn.apply(null,t)}finally{xt(this,n)}return(this.value===Ql||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Jl=class extends xo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(xe),s),this.scheduler=o;for(let a of ll){let c=n[a];if(c===void 0)continue;let u=Object.create(sT);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(At(u),u.value),u.signal[Y]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Pm)n()}finally{Rt(t)}}};function Yo(e,t){let n=t?.injector??g(ve),r=n.get(mt),o=n.get(zs),i=n.get(_t,null,{optional:!0});o.impl??=n.get(dl);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Rr,null,{optional:!0}),c=new Jl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function aV(e,t){let n=jt(e),r=t.elementInjector||Er();return new Wn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function cV(e){let t=jt(e);if(!t)return null;let n=new Wn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var jm=null;function St(){return jm}function Xl(e){jm??=e}var Qo=class{},ca=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>g(Bm),providedIn:"platform"})}return e})();var Bm=(()=>{class e extends ca{_location;_history;_doc=g(q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return St().getBaseHref(this._doc)}onPopState(n){let r=St().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=St().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=k({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Um(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Vm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function ln(e){return e&&e[0]!=="?"?`?${e}`:e}var ua=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>g(cT),providedIn:"root"})}return e})(),aT=new _(""),cT=(()=>{class e extends ua{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(q).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 Um(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ln(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ln(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ln(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)(A(ca),A(aT,8))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $m=(()=>{class e{_subject=new ge;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=dT(Vm(Hm(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+ln(r))}normalize(n){return e.stripTrailingSlash(lT(this._basePath,Hm(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+ln(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ln(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=ln;static joinWithSlash=Um;static stripTrailingSlash=Vm;static \u0275fac=function(r){return new(r||e)(A(ua))};static \u0275prov=k({token:e,factory:()=>uT(),providedIn:"root"})}return e})();function uT(){return new $m(A(ua))}function lT(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Hm(e){return e.replace(/\/index\.html$/,"")}function dT(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var pe=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(pe||{}),V=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(V||{}),_e=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(_e||{}),Zt={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 zm(e){return Oe(e)[ee.LocaleId]}function Wm(e,t,n){let r=Oe(e),o=[r[ee.DayPeriodsFormat],r[ee.DayPeriodsStandalone]],i=We(o,t);return We(i,n)}function qm(e,t,n){let r=Oe(e),o=[r[ee.DaysFormat],r[ee.DaysStandalone]],i=We(o,t);return We(i,n)}function Zm(e,t,n){let r=Oe(e),o=[r[ee.MonthsFormat],r[ee.MonthsStandalone]],i=We(o,t);return We(i,n)}function Ym(e,t){let r=Oe(e)[ee.Eras];return We(r,t)}function Ko(e,t){let n=Oe(e);return We(n[ee.DateFormat],t)}function Jo(e,t){let n=Oe(e);return We(n[ee.TimeFormat],t)}function Xo(e,t){let r=Oe(e)[ee.DateTimeFormat];return We(r,t)}function ei(e,t){let n=Oe(e),r=n[ee.NumberSymbols][t];if(typeof r>"u"){if(t===Zt.CurrencyDecimal)return n[ee.NumberSymbols][Zt.Decimal];if(t===Zt.CurrencyGroup)return n[ee.NumberSymbols][Zt.Group]}return r}function Qm(e){if(!e[ee.ExtraData])throw new v(2303,!1)}function Km(e){let t=Oe(e);return Qm(t),(t[ee.ExtraData][2]||[]).map(r=>typeof r=="string"?ed(r):[ed(r[0]),ed(r[1])])}function Jm(e,t,n){let r=Oe(e);Qm(r);let o=[r[ee.ExtraData][0],r[ee.ExtraData][1]],i=We(o,t)||[];return We(i,n)||[]}function We(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new v(2304,!1)}function ed(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var fT=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,la=Object.create(null),pT=/((?:[^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]*)/,hT=256;function Xm(e,t,n,r){let o=bT(e);gT(t),t=qt(n,t)||t;let s=[],a;for(;t;)if(a=pT.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=ty(r,c),o=CT(o,r));let u="";return s.forEach(l=>{let d=IT(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function gT(e){if(e.length>hT)throw new v(2300,!1)}function ga(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function qt(e,t){let n=zm(e);if(la[n]??=Object.create(null),la[n][t])return la[n][t];let r="";switch(t){case"shortDate":r=Ko(e,_e.Short);break;case"mediumDate":r=Ko(e,_e.Medium);break;case"longDate":r=Ko(e,_e.Long);break;case"fullDate":r=Ko(e,_e.Full);break;case"shortTime":r=Jo(e,_e.Short);break;case"mediumTime":r=Jo(e,_e.Medium);break;case"longTime":r=Jo(e,_e.Long);break;case"fullTime":r=Jo(e,_e.Full);break;case"short":let o=qt(e,"shortTime"),i=qt(e,"shortDate");r=da(Xo(e,_e.Short),[o,i]);break;case"medium":let s=qt(e,"mediumTime"),a=qt(e,"mediumDate");r=da(Xo(e,_e.Medium),[s,a]);break;case"long":let c=qt(e,"longTime"),u=qt(e,"longDate");r=da(Xo(e,_e.Long),[c,u]);break;case"full":let l=qt(e,"fullTime"),d=qt(e,"fullDate");r=da(Xo(e,_e.Full),[l,d]);break}return r&&(la[n][t]=r),r}function da(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return Object.hasOwn(t,r)?t[r]:n})),e}function ut(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 mT(e,t){return ut(e,3).substring(0,t)}function te(e,t,n=0,r=!1,o=!1){return function(i,s){let a=yT(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return mT(a,t);let c=ei(s,Zt.MinusSign);return ut(a,t,c,r,o)}}function yT(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 v(2301,!1)}}function $(e,t,n=pe.Format,r=!1){return function(o,i){return vT(o,i,e,t,n,r)}}function vT(e,t,n,r,o,i){switch(n){case 2:return Zm(t,o,r)[e.getMonth()];case 1:return qm(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Km(t),l=Jm(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,y=s>=f.hours&&a>=f.minutes,m=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(y&&m)return!0}else if(y||m)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Wm(t,o,r)[s<12?0:1];case 3:return Ym(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new v(2302,!1)}}function fa(e){return function(t,n,r){let o=-1*r,i=ei(n,Zt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ut(s,2,i)+ut(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ut(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);default:throw new v(2310,!1)}}}var DT=0,ha=4;function ET(e){let t=ga(e,DT,1).getDay();return ga(e,0,1+(t<=ha?ha:ha+7)-t)}function ey(e){let t=e.getDay(),n=t===0?-3:ha-t;return ga(e.getFullYear(),e.getMonth(),e.getDate()+n)}function td(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=ey(n),s=ET(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ut(o,e,ei(r,Zt.MinusSign))}}function pa(e,t=!1){return function(n,r){let i=ey(n).getFullYear();return ut(i,e,ei(r,Zt.MinusSign),t)}}var nd=Object.create(null);function IT(e){if(nd[e])return nd[e];let t;switch(e){case"G":case"GG":case"GGG":t=$(3,V.Abbreviated);break;case"GGGG":t=$(3,V.Wide);break;case"GGGGG":t=$(3,V.Narrow);break;case"y":t=te(0,1,0,!1,!0);break;case"yy":t=te(0,2,0,!0,!0);break;case"yyy":t=te(0,3,0,!1,!0);break;case"yyyy":t=te(0,4,0,!1,!0);break;case"Y":t=pa(1);break;case"YY":t=pa(2,!0);break;case"YYY":t=pa(3);break;case"YYYY":t=pa(4);break;case"M":case"L":t=te(1,1,1);break;case"MM":case"LL":t=te(1,2,1);break;case"MMM":t=$(2,V.Abbreviated);break;case"MMMM":t=$(2,V.Wide);break;case"MMMMM":t=$(2,V.Narrow);break;case"LLL":t=$(2,V.Abbreviated,pe.Standalone);break;case"LLLL":t=$(2,V.Wide,pe.Standalone);break;case"LLLLL":t=$(2,V.Narrow,pe.Standalone);break;case"w":t=td(1);break;case"ww":t=td(2);break;case"W":t=td(1,!0);break;case"d":t=te(2,1);break;case"dd":t=te(2,2);break;case"c":case"cc":t=te(7,1);break;case"ccc":t=$(1,V.Abbreviated,pe.Standalone);break;case"cccc":t=$(1,V.Wide,pe.Standalone);break;case"ccccc":t=$(1,V.Narrow,pe.Standalone);break;case"cccccc":t=$(1,V.Short,pe.Standalone);break;case"E":case"EE":case"EEE":t=$(1,V.Abbreviated);break;case"EEEE":t=$(1,V.Wide);break;case"EEEEE":t=$(1,V.Narrow);break;case"EEEEEE":t=$(1,V.Short);break;case"a":case"aa":case"aaa":t=$(0,V.Abbreviated);break;case"aaaa":t=$(0,V.Wide);break;case"aaaaa":t=$(0,V.Narrow);break;case"b":case"bb":case"bbb":t=$(0,V.Abbreviated,pe.Standalone,!0);break;case"bbbb":t=$(0,V.Wide,pe.Standalone,!0);break;case"bbbbb":t=$(0,V.Narrow,pe.Standalone,!0);break;case"B":case"BB":case"BBB":t=$(0,V.Abbreviated,pe.Format,!0);break;case"BBBB":t=$(0,V.Wide,pe.Format,!0);break;case"BBBBB":t=$(0,V.Narrow,pe.Format,!0);break;case"h":t=te(3,1,-12);break;case"hh":t=te(3,2,-12);break;case"H":t=te(3,1);break;case"HH":t=te(3,2);break;case"m":t=te(4,1);break;case"mm":t=te(4,2);break;case"s":t=te(5,1);break;case"ss":t=te(5,2);break;case"S":t=te(6,1);break;case"SS":t=te(6,2);break;case"SSS":t=te(6,3);break;case"Z":case"ZZ":case"ZZZ":t=fa(0);break;case"ZZZZZ":t=fa(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=fa(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=fa(2);break;default:return null}return nd[e]=t,t}function ty(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function wT(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function CT(e,t,n){let o=e.getTimezoneOffset(),i=ty(t,o);return wT(e,-1*(i-o))}function bT(e){if(Gm(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 ga(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(fT))return TT(r)}let t=new Date(e);if(!Gm(t))throw new v(2311,!1);return t}function TT(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 Gm(e){return e instanceof Date&&!isNaN(e.valueOf())}var _T=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(ve);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._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.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)(ct(Wr))};static \u0275dir=un({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Zu]})}return e})();function ny(e,t){return new v(2100,!1)}var rd=class{createSubscription(t,n,r){return se(()=>t.subscribe({next:n,error:r}))}dispose(t){se(()=>t.unsubscribe())}},od=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},ST=new od,MT=new rd,NT=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g(It);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(Uo(n))return ST;if(Js(n))return MT;throw ny(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ct(km,16))};static \u0275pipe=Xs({name:"async",type:e,pure:!1})}return e})();var AT="mediumDate",ry=new _(""),oy=new _(""),xT=(()=>{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??AT,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Xm(n,s,i||this.locale,a)}catch(s){throw ny(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ct(Go,16),ct(ry,24),ct(oy,24))};static \u0275pipe=Xs({name:"date",type:e,pure:!0})}return e})();var iy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=qr({type:e});static \u0275inj=xn({})}return e})();function id(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 sd="browser";function sy(e){return e===sd}var Yr=class{_doc;constructor(t){this._doc=t}manager},ti=(()=>{class e extends Yr{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)(A(q))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),oi=new _(""),va=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ti));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ti);i&&this._plugins.push(i)}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 v(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(A(oi),A(de))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),ad="ng-app-id";function ay(e){for(let t of e)t.remove()}function cy(e,t){let n=t.createElement("style");return n.textContent=e,n}function OT(e,t,n,r){let o=e.head?.querySelectorAll(`style[${ad}="${t}"],link[${ad}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(ad),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]});return!0}function ud(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Da=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,OT(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,cy);r?.forEach(o=>this.addUsage(o,this.external,ud))}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&&(ay(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])ay(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,cy(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,ud(r,this.doc)))}}removeHost(n){this.hosts.delete(n);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(A(q),A(Ar),A(bo,8),A(Un))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),cd={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"},ld=/%COMP%/g;var ly="%COMP%",kT=`_nghost-${ly}`,LT=`_ngcontent-${ly}`,FT=!0,dy=new _("",{factory:()=>FT});function PT(e){return LT.replace(ld,e)}function jT(e){return kT.replace(ld,e)}function fy(e,t){return t.map(n=>n.replace(ld,e))}var Ea=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new ni(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof ya?o.applyToHost(n):o instanceof ri&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case ot.Emulated:i=new ya(c,u,r,this.appId,l,s,a,d);break;case ot.ShadowDom:return new ma(c,n,r,s,a,this.nonce,d,u);case ot.ExperimentalIsolatedShadowDom:return new ma(c,n,r,s,a,this.nonce,d);default:i=new ri(c,u,r,l,s,a,d);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)(A(va),A(Yn),A(Ar),A(dy),A(q),A(de),A(bo),A(_t,8))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),ni=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(cd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(uy(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(uy(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 v(-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=cd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=cd[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&(Ct.DashCase|Ct.Important)?t.style.setProperty(n,r,o&Ct.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ct.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=St().getGlobalEventTarget(this.doc,t),!t))throw new v(-5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function uy(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ma=class extends ni{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=fy(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=ud(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}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&&this.sharedStylesHost.removeHost(this.shadowRoot)}},ri=class extends ni{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?fy(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&an.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ya=class extends ri{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=PT(u),this.hostAttr=jT(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Ia=class e extends Qo{supportsDOMEvents=!0;static makeCurrent(){Xl(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=BT();return n==null?null:VT(n)}resetBaseElement(){ii=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return id(document.cookie,t)}},ii=null;function BT(){return ii=ii||document.head.querySelector("base"),ii?ii.getAttribute("href"):null}function VT(e){return new URL(e,document.baseURI).pathname}var py=["alt","control","meta","shift"],HT={"\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"},UT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},hy=(()=>{class e extends Yr{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(()=>St().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."),py.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=HT[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"),py.forEach(s=>{if(s!==o){let a=UT[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)(A(q))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})();async function $T(e,t,n){let r=U({rootComponent:e},GT(t,n));return Lm(r)}function GT(e,t){return{platformRef:t?.platformRef,appProviders:[...YT,...e?.providers??[]],platformProviders:ZT}}function zT(){Ia.makeCurrent()}function WT(){return new Pe}function qT(){return Xu(document),document}var ZT=[{provide:Un,useValue:sd},{provide:cs,useValue:zT,multi:!0},{provide:q,useFactory:qT}];var YT=[{provide:Do,useValue:"root"},{provide:Pe,useFactory:WT},{provide:oi,useClass:ti,multi:!0},{provide:oi,useClass:hy,multi:!0},Ea,{provide:Yn,useClass:Da},{provide:Da,useExisting:Yn},va,{provide:zn,useExisting:Ea},[]];var qe=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
-
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var pd=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},hd=class{encodeKey(t){return gy(t)}encodeValue(t){return gy(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function QT(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var KT=/%(\d[a-f0-9])/gi,JT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function gy(e){return encodeURIComponent(e).replace(KT,(t,n)=>JT[n]??t)}function wa(e){return`${e}`}var lt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new hd,t.fromString){if(t.fromObject)throw new v(2805,!1);this.map=QT(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(wa):[wa(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(wa(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(wa(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function XT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function my(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function yy(e){return typeof Blob<"u"&&e instanceof Blob}function vy(e){return typeof FormData<"u"&&e instanceof FormData}function e_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var dd="Content-Type",Dy="Accept",Iy="text/plain",wy="application/json",t_=`${wy}, ${Iy}, */*`,Xn=class e{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(XT(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.reportUploadProgress=!!i.reportUploadProgress,this.reportDownloadProgress=!!i.reportDownloadProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new v(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new qe,this.context??=new pd,!this.params)this.params=new lt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n,c="",u=n.indexOf("#");u!==-1&&(c=n.substring(u),a=n.substring(0,u));let l=a.indexOf("?"),d=l===-1?"?":l<a.length-1?"&":"";this.urlWithParams=a+d+s+c}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||my(this.body)||yy(this.body)||vy(this.body)||e_(this.body)?this.body:this.body instanceof lt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||vy(this.body)?null:yy(this.body)?this.body.type||null:my(this.body)?null:typeof this.body=="string"?Iy:this.body instanceof lt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?wy:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer??this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,y=t.timeout??this.timeout,m=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,F=t.reportProgress??this.reportProgress,ce=t.reportUploadProgress??this.reportUploadProgress,Ee=t.reportDownloadProgress??this.reportDownloadProgress,Ze=t.headers||this.headers,K=t.params||this.params,ke=t.context??this.context;return t.setHeaders!==void 0&&(Ze=Object.keys(t.setHeaders).reduce((Se,Ie)=>Se.set(Ie,t.setHeaders[Ie]),Ze)),t.setParams&&(K=Object.keys(t.setParams).reduce((Se,Ie)=>Se.set(Ie,t.setParams[Ie]),K)),new e(n,r,m,{params:K,headers:Ze,context:ke,reportProgress:F,reportUploadProgress:ce,reportDownloadProgress:Ee,responseType:o,withCredentials:D,transferCache:h,keepalive:i,cache:a,priority:s,timeout:y,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},fn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(fn||{}),si=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new qe,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},gd=class e extends si{constructor(t={}){super(t)}type=fn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Qr=class e extends si{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=fn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},dn=class extends si{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},n_=200;var r_=/^\)\]\}',?\n/,u2=1024*1024,o_=new _("",{factory:()=>null}),i_=(()=>{class e{fetchImpl=g(md,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(de);destroyRef=g(xe);maxResponseSize=g(o_);handle(n){return new O(r=>{let o=new AbortController;this.doRequest(n,o.signal,r).then(yd,s=>r.error(new dn({error:s})));let i;return n.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},n.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(n,r,o){let i=this.createRequestInit(n),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,U({signal:r},i)));s_(m),o.next({type:fn.Sent}),s=await m}catch(m){o.error(new dn({error:m,status:m.status??0,statusText:m.statusText,url:n.urlWithParams,headers:m.headers}));return}let a=new qe(s.headers),c=s.statusText,u=s.url||n.urlWithParams,l=s.status,d=null,p=n.reportProgress||n.reportDownloadProgress;if(p&&o.next(new gd({headers:a,status:l,statusText:c,url:u})),s.body){let m=s.headers.get("content-length"),D=m!==null?Number(m):NaN;this.maxResponseSize!==null&&Number.isFinite(D)&&D>this.maxResponseSize&&Ey(this.maxResponseSize);let F=[],ce=s.body.getReader(),Ee=0,Ze,K,ke=typeof Zone<"u"&&Zone.current,Se=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await ce.cancel(),Se=!0;break}let{done:G,value:Me}=await ce.read();if(G)break;if(F.push(Me),Ee+=Me.length,this.maxResponseSize!==null&&Ee>this.maxResponseSize&&(await ce.cancel(),Ey(this.maxResponseSize)),p){K=n.responseType==="text"?(K??"")+(Ze??=new TextDecoder).decode(Me,{stream:!0}):void 0;let Le=()=>o.next({type:fn.DownloadProgress,total:Number.isFinite(D)?D:void 0,loaded:Ee,partialText:K});ke?ke.run(Le):Le()}}}),Se){o.complete();return}let Ie=this.concatChunks(F,Ee);try{let G=s.headers.get(dd)??"";d=this.parseBody(n,Ie,G,l)}catch(G){o.error(new dn({error:G,headers:new qe(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}l===0&&(l=d?n_:0);let f=l>=200&&l<300,h=s.redirected,y=s.type;f?(o.next(new Qr({body:d,headers:a,status:l,statusText:c,url:u,redirected:h,responseType:y})),o.complete()):o.error(new dn({error:d,headers:a,status:l,statusText:c,url:u,redirected:h,responseType:y}))}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(r_,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new v(2824,!1);let r={},o;if(o=n.credentials,n.withCredentials&&(o="include"),n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has(Dy)||(r[Dy]=t_),!n.headers.has(dd)){let i=n.detectContentTypeHeader();i!==null&&(r[dd]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=st({token:e,factory:e.\u0275fac})}return e})(),md=class{};function yd(){}function s_(e){e.then(yd,yd)}function Ey(e){throw new v(-2825,!1)}function a_(e,t){return t(e)}function c_(e,t,n){return(r,o)=>Ir(n,()=>t(r,i=>e(i,o)))}var u_=new _("",{factory:()=>[]}),Cy=new _(""),l_=new _("",{factory:()=>!0});var d_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=A(i_),o},providedIn:"root"})}return e})();var f_=(()=>{class e{backend;injector;chain=null;pendingTasks=g(kr);contributeToStability=g(l_);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(u_),...this.injector.get(Cy,[])]));this.chain=o.reduceRight((i,s)=>c_(i,s,this.injector),a_)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return se(()=>r(n,i=>this.backend.handle(i))).pipe(ki(o))}else return se(()=>r(n,o=>this.backend.handle(o)))}static \u0275fac=function(r){return new(r||e)(A(d_),A(ye))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),p_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=A(f_),o},providedIn:"root"})}return e})();function fd(e,t){return U({body:t},e)}var by=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Xn)i=n;else{let c;o.headers instanceof qe?c=o.headers:c=new qe(o.headers);let u;o.params&&(o.params instanceof lt?u=o.params:u=new lt({fromObject:o.params})),i=new Xn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=za(i).pipe(Ya(c=>this.handler.handle(c)));if(n instanceof Xn||o.observe==="events")return s;let a=s.pipe(Xe(c=>c instanceof Qr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ae(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new v(2806,!1);return c.body}));case"blob":return a.pipe(ae(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new v(2807,!1);return c.body}));case"text":return a.pipe(ae(c=>{if(c.body!==null&&typeof c.body!="string")throw new v(2808,!1);return c.body}));default:return a.pipe(ae(c=>c.body))}case"response":return a;default:throw new v(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new lt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,fd(o,r))}post(n,r,o={}){return this.request("POST",n,fd(o,r))}put(n,r,o={}){return this.request("PUT",n,fd(o,r))}static \u0275fac=function(r){return new(r||e)(A(p_))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var h_=new _(""),g_="b",m_="h",y_="s",v_="st",D_="u",E_="rt",I_=new _(""),w_=["GET","HEAD"];function C_(e,t){let s=t,{isCacheActive:n}=s,r=_a(s,["isCacheActive"]),{transferCache:o,method:i}=e;return!(!n||o===!1||N_(e)||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!w_.includes(i)||!r.includeRequestsWithAuthHeaders&&T_(e)||S_(e.headers)||M_(e.cache)||r.filter?.(e)===!1)}function b_(e,t,n,r,o,i=!1){if(!i&&!C_(e,t))return null;if(r)throw new v(2803,!1);if(!o){let y=e.url;o=A_(e,y)}let s=n.get(o,null);if(!s)return null;let{[g_]:a,[E_]:c,[m_]:u,[y_]:l,[v_]:d,[D_]:p}=s,f=a;switch(c){case"arraybuffer":f=_y(a);break;case"blob":f=new Blob([_y(a)]);break}let h=new qe(u);return new Qr({body:f,headers:h,status:l,statusText:d,url:p})}function T_(e){let t=e.headers;return t.has("authorization")||t.has("proxy-authorization")||t.has("cookie")}var __=new Set(["no-store","private","no-cache"]);function S_(e){let t=e.get("cache-control");return t?t.split(",").some(n=>{let r=n.split("=",1)[0].trim().toLowerCase();return __.has(r)}):!1}function M_(e){return e==="no-cache"||e==="no-store"}function N_(e){let{withCredentials:t,credentials:n}=e;return t||n==="include"||n==="same-origin"}function Ty(e){let t=new URLSearchParams(e instanceof URLSearchParams?e:e.toString());return t.sort(),t.toString()}function A_(e,t){let{params:n,method:r,responseType:o}=e,i=Ty(n),s=e.serializeBody();s instanceof URLSearchParams?s=Ty(s):typeof s!="string"&&(s="");let a=[r,o,t,s,i].join("|"),c=R_(a);return c}function _y(e){let t=atob(e);return Uint8Array.from(t,r=>r.charCodeAt(0)).buffer}var x_=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Sy;function R_(e){Sy??=new TextEncoder;let t=Sy.encode(e),n=1779033703,r=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,u=1541459225,l=t.length*8,d=(t.length+8>>6)+1<<6,p=new Uint8Array(d);p.set(t),p[t.length]=128;let f=new DataView(p.buffer),h=l>>>0,y=l/4294967296>>>0;f.setUint32(d-8,y,!1),f.setUint32(d-4,h,!1);let m=new Uint32Array(64);for(let D=0;D<d;D+=64){for(let G=0;G<16;G++)m[G]=f.getUint32(D+G*4,!1);for(let G=16;G<64;G++){let Me=m[G-15],Le=((Me>>>7|Me<<25)^(Me>>>18|Me<<14)^Me>>>3)>>>0,dt=m[G-2],Jr=((dt>>>17|dt<<15)^(dt>>>19|dt<<13)^dt>>>10)>>>0;m[G]=m[G-16]+Le+m[G-7]+Jr>>>0}let F=n,ce=r,Ee=o,Ze=i,K=s,ke=a,Se=c,Ie=u;for(let G=0;G<64;G++){let Me=((K>>>6|K<<26)^(K>>>11|K<<21)^(K>>>25|K<<7))>>>0,Le=(K&ke^~K&Se)>>>0,dt=Ie+Me+Le+x_[G]+m[G]>>>0,Jr=((F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10))>>>0,E=(F&ce^F&Ee^ce&Ee)>>>0,I=Jr+E>>>0;Ie=Se,Se=ke,ke=K,K=Ze+dt>>>0,Ze=Ee,Ee=ce,ce=F,F=dt+I>>>0}n=n+F>>>0,r=r+ce>>>0,o=o+Ee>>>0,i=i+Ze>>>0,s=s+K>>>0,a=a+ke>>>0,c=c+Se>>>0,u=u+Ie>>>0}return[n,r,o,i,s,a,c,u].map(D=>D.toString(16).padStart(8,"0")).join("")}var g2=(()=>{let e=Ca("json");return e.arrayBuffer=Ca("arraybuffer"),e.blob=Ca("blob"),e.text=Ca("text"),e})();function Ca(e){return function(n,r){let o=r?.injector??g(ve),i=o.get(I_,null,{optional:!0}),s=o.get(xr,null,{optional:!0}),a=o.get(h_,null,{optional:!0}),c=u=>{if(i&&s&&u){let l=b_(u,i,s,a);if(l)try{let d=l.body,p=r?.parse?r.parse(d):d;return be({value:p})}catch{}}};return new vd(o,u=>O_(u,n,e),r?.defaultValue,r?.debugName,r?.parse,r?.equal,c)}}function O_(e,t,n){let r=typeof t=="function"?t(e):t;if(r===void 0)return;typeof r=="string"&&(r={url:r});let o=r.headers instanceof qe?r.headers:new qe(r.headers),i=r.params instanceof lt?r.params:new lt({fromObject:r.params});return new Xn(r.method??"GET",r.url,r.body??null,{headers:o,params:i,reportProgress:r.reportProgress,withCredentials:r.withCredentials,keepalive:r.keepalive,cache:r.cache,priority:r.priority,mode:r.mode,redirect:r.redirect,responseType:n,context:r.context,transferCache:r.transferCache,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}var vd=class extends Wo{client;_headers=Kn({source:this.extRequest,computation:()=>{}});_progress=Kn({source:this.extRequest,computation:()=>{}});_statusCode=Kn({source:this.extRequest,computation:()=>{}});headers=ze(()=>this.status()==="resolved"||this.status()==="error"?this._headers():void 0);progress=this._progress.asReadonly();statusCode=this._statusCode.asReadonly();constructor(t,n,r,o,i,s,a){super(n,({params:c,abortSignal:u})=>{let l,d=!1,p=()=>{d=!0,l?.unsubscribe()};u.addEventListener("abort",p);let f=be({value:void 0}),h,y=new Promise(D=>h=D),m=D=>{f.set(D),h?.(f),h=void 0};return l=this.client.request(c).subscribe({next:D=>{switch(D.type){case fn.Response:this._headers.set(D.headers),this._statusCode.set(D.status);try{m({value:i?i(D.body):D.body})}catch(F){m({error:qo(F)})}break;case fn.DownloadProgress:this._progress.set(D);break}},error:D=>{D instanceof dn&&(this._headers.set(D.headers),this._statusCode.set(D.status)),m({error:D}),u.removeEventListener("abort",p)},complete:()=>{h&&m({error:new v(991,!1)}),u.removeEventListener("abort",p)}}),d&&l.unsubscribe(),y},r,s,o,t,void 0,a),this.client=t.get(by)}set(t){super.set(t),this._headers.set(void 0),this._progress.set(void 0),this._statusCode.set(void 0)}};var L2=(()=>{class e{_doc=g(q);_dom=St();_cachedHead;addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n.filter(o=>!!o).map(o=>this._getOrCreateElement(o,r))}getTag(n){if(!n)return null;let r=this._doc.querySelector(My(n));return xy(r)?r:null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(My(n));return r?Array.from(r).filter(o=>xy(o)):[]}updateTag(n,r){r??=Ay(n);let o=this.getTag(r);return o?(Ny(n,o),o):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(!r){let s=Ay(n),a=this.getTags(s).filter(c=>L_(n,c))[0];if(a!==void 0)return a}let o=this._dom.createElement("meta");return Ny(n,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=st({token:e,factory:e.\u0275fac})}return e})();function My(e){return`meta[${e}]`}function Ny(e,t){Object.keys(e).forEach(n=>t.setAttribute(Ry(n),e[n]))}function Ay(e){let t=e.name?"name":"property";return`${t}=${k_(String(e[t]))}`}function k_(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function L_(e,t){return Object.keys(e).every(n=>t.getAttribute(Ry(n))===e[n])}function Ry(e){return F_[e]||e}function xy(e){return e?.nodeName.toLowerCase()==="meta"}var F_={httpEquiv:"http-equiv"},F2=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(A(q))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Dd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=A(P_),o},providedIn:"root"})}return e})(),P_=(()=>{class e extends Dd{_doc=g(q);sanitize(n,r){if(r==null)return null;switch(n){case Te.NONE:return r;case Te.HTML:return Tt(r,"HTML")?at(r):$s(this._doc,String(r)).toString();case Te.STYLE:return Tt(r,"Style")?at(r):r;case Te.SCRIPT:if(Tt(r,"Script"))return at(r);throw new v(5200,!1);case Te.URL:return Tt(r,"URL")?at(r):Po(String(r));case Te.RESOURCE_URL:if(Tt(r,"ResourceURL"))return at(r);throw new v(-5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return nl(n)}bypassSecurityTrustStyle(n){return rl(n)}bypassSecurityTrustScript(n){return ol(n)}bypassSecurityTrustUrl(n){return il(n)}bypassSecurityTrustResourceUrl(n){return sl(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=st({token:e,factory:e.\u0275fac})}return e})();var ai=new _("HIGHLIGHT_OPTIONS");function q2(e){return Bt([{provide:ai,useValue:e}])}var Kr=(function(e){return e.FULL_WITH_CORE_LIBRARY_IMPORTS="The full library and the core library were imported, only one of them should be imported!",e.FULL_WITH_LANGUAGE_IMPORTS="The highlighting languages were imported they are not needed!",e.CORE_WITHOUT_LANGUAGE_IMPORTS="The highlighting languages were not imported!",e.LANGUAGE_WITHOUT_CORE_IMPORTS="The core library was not imported!",e.NO_FULL_AND_NO_CORE_IMPORTS="Highlight.js library was not imported!",e})(Kr||{}),j_=(()=>{class e{constructor(){this.document=g(q),this.isPlatformBrowser=sy(g(Un)),this.options=g(ai,{optional:!0}),this._ready=new wn(null),this.ready=Wa(this._ready.asObservable().pipe(Xe(n=>!!n))),this.isPlatformBrowser&&(this.document.defaultView.hljs?this._ready.next(this.document.defaultView.hljs):this._loadLibrary().pipe(mr(n=>this.options?.lineNumbersLoader?(this.document.defaultView.hljs=n,this.loadLineNumbers().pipe(co(r=>{r.activateLineNumbers(),this._ready.next(n)}))):(this._ready.next(n),Fe)),ao(n=>(console.error("[HLJS] ",n),this._ready.error(n),Fe))).subscribe(),this.options?.themePath&&this.loadTheme(this.options.themePath))}_loadLibrary(){if(this.options){if(this.options.fullLibraryLoader&&this.options.coreLibraryLoader)return bn(()=>Kr.FULL_WITH_CORE_LIBRARY_IMPORTS);if(this.options.fullLibraryLoader&&this.options.languages)return bn(()=>Kr.FULL_WITH_LANGUAGE_IMPORTS);if(this.options.coreLibraryLoader&&!this.options.languages)return bn(()=>Kr.CORE_WITHOUT_LANGUAGE_IMPORTS);if(!this.options.coreLibraryLoader&&this.options.languages)return bn(()=>Kr.LANGUAGE_WITHOUT_CORE_IMPORTS);if(this.options.fullLibraryLoader)return this.loadFullLibrary();if(this.options.coreLibraryLoader&&this.options.languages&&Object.keys(this.options.languages).length)return this.loadCoreLibrary().pipe(mr(n=>this._loadLanguages(n)))}return bn(()=>Kr.NO_FULL_AND_NO_CORE_IMPORTS)}_loadLanguages(n){let r=Object.entries(this.options.languages).map(([o,i])=>Ed(i()).pipe(co(s=>n.registerLanguage(o,s))));return qa(r).pipe(ae(()=>n))}loadCoreLibrary(){return Ed(this.options.coreLibraryLoader())}loadFullLibrary(){return Ed(this.options.fullLibraryLoader())}loadLineNumbers(){return Ne(this.options.lineNumbersLoader())}setTheme(n){this.isPlatformBrowser&&(this._themeLinkElement?this._themeLinkElement.href=n:this.loadTheme(n))}loadTheme(n){this._themeLinkElement=this.document.createElement("link"),this._themeLinkElement.href=n,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.document.head.appendChild(this._themeLinkElement)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ed=e=>Ne(e).pipe(Xe(t=>!!t?.default),ae(t=>t.default)),wd=(()=>{class e{constructor(){this.loader=g(j_),this.options=g(ai,{optional:!0}),this.hljsSignal=be(null),this.hljs=ze(()=>this.hljsSignal()),this.loader.ready.then(n=>{this.hljsSignal.set(n),this.options?.highlightOptions&&n.configure(this.options.highlightOptions)})}async highlight(n,r){return(await this.loader.ready).highlight(n,r)}async highlightAuto(n,r){return(await this.loader.ready).highlightAuto(n,r)}async highlightElement(n){(await this.loader.ready).highlightElement(n)}async highlightAll(){(await this.loader.ready).highlightAll()}async configure(n){(await this.loader.ready).configure(n)}async registerLanguage(n,r){(await this.loader.ready).registerLanguage(n,r)}async unregisterLanguage(n){(await this.loader.ready).unregisterLanguage(n)}async registerAliases(n,{languageName:r}){(await this.loader.ready).registerAliases(n,{languageName:r})}async listLanguages(){return(await this.loader.ready).listLanguages()}async getLanguage(n){return(await this.loader.ready).getLanguage(n)}async safeMode(){(await this.loader.ready).safeMode()}async debugMode(){(await this.loader.ready).debugMode()}async lineNumbersBlock(n,r){let o=await this.loader.ready;o.lineNumbersBlock&&o.lineNumbersBlock(n,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Id;function B_(){if(!Id)try{Id=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return Id}function V_(e){return B_()?.createHTML(e)||e}var ba=(()=>{class e{constructor(){this._hljs=g(wd),this._nativeElement=g(bt).nativeElement,this._sanitizer=g(Dd),Yo({write:()=>{let n=this.code();this.setTextContent(n||""),n&&this.highlightElement(n)}}),Yo({write:()=>{let n=this.highlightResult();this.setInnerHTML(n?.value),this.highlighted.emit(n)}})}setTextContent(n){requestAnimationFrame(()=>this._nativeElement.textContent=n)}setInnerHTML(n){requestAnimationFrame(()=>this._nativeElement.innerHTML=V_(this._sanitizer.sanitize(Te.HTML,n)||""))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=un({type:e})}}return e})(),Z2=(()=>{class e extends ba{constructor(){super(...arguments),this.code=Jn(null,{alias:"highlight"}),this.highlightResult=be(null),this.language=Jn.required(),this.ignoreIllegals=Jn(void 0,{transform:aa}),this.highlighted=Rm()}async highlightElement(n){let r=await this._hljs.highlight(n,{language:this.language(),ignoreIllegals:this.ignoreIllegals()});this.highlightResult.set(r)}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Vs(e)))(o||e)}})()}static{this.\u0275dir=un({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,o){r&2&&na("hljs",!0)},inputs:{code:[1,"highlight","code"],language:[1,"language"],ignoreIllegals:[1,"ignoreIllegals"]},outputs:{highlighted:"highlighted"},features:[$l([{provide:ba,useExisting:e}]),ea]})}}return e})();function X2(){let e=window,t=document,n="hljs-ln",r="hljs-ln-line",o="hljs-ln-code",i="hljs-ln-numbers",s="hljs-ln-n",a="data-line-number",c=/\r\n|\r|\n/g;e.hljs?(e.hljs.initLineNumbersOnLoad=f,e.hljs.lineNumbersBlock=m,e.hljs.lineNumbersValue=D,p()):e.console.error("highlight.js not detected!");function u(E){let I=E;for(;I;){if(I.className&&I.className.indexOf("hljs-ln-code")!==-1)return!0;I=I.parentNode}return!1}function l(E){let I=E;for(;I.nodeName!=="TABLE";)I=I.parentNode;return I}function d(E){let I=E.toString(),R=E.anchorNode;for(;R.nodeName!=="TD";)R=R.parentNode;let Z=E.focusNode;for(;Z.nodeName!=="TD";)Z=Z.parentNode;let ne=parseInt(R.dataset.lineNumber),Mt=parseInt(Z.dataset.lineNumber);if(ne!=Mt){let er=R.textContent,tr=Z.textContent;if(ne>Mt){let pn=ne;ne=Mt,Mt=pn,pn=er,er=tr,tr=pn}for(;I.indexOf(er)!==0;)er=er.slice(1);for(;I.lastIndexOf(tr)===-1;)tr=tr.slice(0,-1);let Ta=er,Oy=l(R);for(let pn=ne+1;pn<Mt;++pn){let ky=Le('.{0}[{1}="{2}"]',[o,a,pn]),Ly=Oy.querySelector(ky);Ta+=`
|
|
6
|
-
`+Ly.textContent}return Ta+=`
|
|
7
|
-
`+tr,Ta}else return I}document.addEventListener("copy",function(E){let I=window.getSelection();if(u(I.anchorNode)){let R;window.navigator.userAgent.indexOf("Edge")!==-1?R=d(I):R=I.toString(),E.clipboardData.setData("text/plain",R),E.preventDefault()}});function p(){let E=t.createElement("style");E.type="text/css",E.innerHTML=Le(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[n,s,a]),t.getElementsByTagName("head")[0].appendChild(E)}function f(E){t.readyState==="interactive"||t.readyState==="complete"?h(E):e.addEventListener("DOMContentLoaded",function(){h(E)})}function h(E){try{let I=t.querySelectorAll("code.hljs,code.nohighlight");for(let R in I)I.hasOwnProperty(R)&&(y(I[R])||m(I[R],E))}catch(I){e.console.error("LineNumbers error: ",I)}}function y(E){return E.classList.contains("nohljsln")}function m(E,I){typeof E=="object"&&Me(function(){E.innerHTML=F(E,I)})}function D(E,I){if(typeof E!="string")return;let R=document.createElement("code");return R.innerHTML=E,F(R,I)}function F(E,I){let R=Ee(E,I);return ke(E),ce(E.innerHTML,R)}function ce(E,I){let R=Ie(E);if(R[R.length-1].trim()===""&&R.pop(),R.length>1||I.singleLine){let Z="";for(let ne=0,Mt=R.length;ne<Mt;ne++)Z+=Le('<tr><td class="{0} {1}" {3}="{5}"><div class="{2}" {3}="{5}"></div></td><td class="{0} {4}" {3}="{5}">{6}</td></tr>',[r,i,s,a,o,ne+I.startFrom,R[ne].length>0?R[ne]:" "]);return Le('<table class="{0}">{1}</table>',[n,Z])}return E}function Ee(E,I){return I=I||{},{singleLine:Ze(I),startFrom:K(E,I)}}function Ze(E){return E.singleLine?E.singleLine:!1}function K(E,I){let Z=1;isFinite(I.startFrom)&&(Z=I.startFrom);let ne=dt(E,"data-ln-start-from");return ne!==null&&(Z=Jr(ne,1)),Z}function ke(E){let I=E.childNodes;for(let R in I)if(I.hasOwnProperty(R)){let Z=I[R];G(Z.textContent)>0&&(Z.childNodes.length>0?ke(Z):Se(Z.parentNode))}}function Se(E){let I=E.className;if(!/hljs-/.test(I))return;let R=Ie(E.innerHTML),Z="";for(let ne=0;ne<R.length;ne++){let Mt=R[ne].length>0?R[ne]:" ";Z+=Le(`<span class="{0}">{1}</span>
|
|
8
|
-
`,[I,Mt])}E.innerHTML=Z.trim()}function Ie(E){return E.length===0?[]:E.split(c)}function G(E){return(E.trim().match(c)||[]).length}function Me(E){e.setTimeout(E,0)}function Le(E,I){return E.replace(/\{(\d+)\}/g,function(R,Z){return I[Z]!==void 0?I[Z]:R})}function dt(E,I){return E.hasAttribute(I)?E.getAttribute(I):null}function Jr(E,I){if(!E)return I;let R=Number(E);return isFinite(R)?R:I}}var eU=(()=>{class e{constructor(){this.options=g(ai)?.lineNumbersOptions,this._hljs=g(wd),this._highlight=g(ba),this._nativeElement=g(bt).nativeElement,this.startFrom=Jn(this.options?.startFrom,{transform:Fm}),this.singleLine=Jn(this.options?.singleLine,{transform:aa}),Yo({write:()=>{this._highlight.highlightResult()&&this.addLineNumbers()}})}addLineNumbers(){this.destroyLineNumbersObserver(),requestAnimationFrame(async()=>{await this._hljs.lineNumbersBlock(this._nativeElement,{startFrom:this.startFrom(),singleLine:this.singleLine()}),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild?.tagName.toUpperCase()==="TABLE"&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=un({type:e,selectors:[["","highlight","","lineNumbers",""],["","highlightAuto","","lineNumbers",""]],inputs:{startFrom:[1,"startFrom"],singleLine:[1,"singleLine"]}})}}return e})();export{Y as a,ue as b,le as c,zy as d,O as e,ge as f,wn as g,oo as h,Qt as i,Yy as j,Fe as k,so as l,Ne as m,za as n,bn as o,rv as p,Tn as q,ae as r,dv as s,Je as t,gr as u,pv as v,qa as w,Za as x,Ot as y,Ev as z,Iv as A,Xe as B,wv as C,ao as D,Ya as E,Qa as F,_n as G,Cv as H,bv as I,ki as J,Sv as K,Mv as L,Nv as M,Xa as N,Av as O,xv as P,lf as Q,mr as R,df as S,Rv as T,co as U,Ov as V,kv as W,v as X,Pt as Y,Ui as Z,k as _,xn as $,Pv as aa,_ as ba,A as ca,g as da,vo as ea,Bt as fa,ye as ga,Ir as ha,$f as ia,Gf as ja,rp as ka,ve as la,q as ma,xe as na,Hn as oa,kt as pa,de as qa,It as ra,dD as sa,be as ta,Un as ua,tu as va,Or as wa,Zu as xa,Vs as ya,Qu as za,st as Aa,ZD as Ba,YD as Ca,QD as Da,bt as Ea,RE as Fa,Bh as Ga,LE as Ha,FE as Ia,XE as Ja,CI as Ka,Hr as La,zn as Ma,yg as Na,dw as Oa,pw as Pa,ct as Qa,Dw as Ra,Wr as Sa,Uo as Ta,Lg as Ua,Fg as Va,nC as Wa,qr as Xa,un as Ya,aC as Za,cC as _a,uC as $a,ea as ab,Hg as bb,Ug as cb,ta as db,Zr as eb,Gg as fb,bC as gb,TC as hb,_C as ib,SC as jb,MC as kb,NC as lb,zg as mb,js as nb,Pl as ob,Wg as pb,qg as qb,Vl as rb,Hl as sb,Yg as tb,LC as ub,Qg as vb,Jg as wb,VC as xb,UC as yb,$C as zb,em as Ab,zC as Bb,WC as Cb,tm as Db,nm as Eb,qC as Fb,ZC as Gb,rm as Hb,na as Ib,lb as Jb,im as Kb,Ul as Lb,sm as Mb,cm as Nb,hb as Ob,um as Pb,$l as Qb,vb as Rb,Db as Sb,Eb as Tb,Ib as Ub,Cb as Vb,bb as Wb,Tb as Xb,_b as Yb,ze as Zb,se as _b,Kn as $b,bm as ac,tV as bc,Rm as cc,Jn as dc,nV as ec,rV as fc,oV as gc,iV as hc,km as ic,aa as jc,aV as kc,cV as lc,St as mc,ua as nc,$m as oc,_T as pc,NT as qc,xT as rc,iy as sc,sy as tc,Yr as uc,oi as vc,dy as wc,$T as xc,g2 as yc,L2 as zc,F2 as Ac,Dd as Bc,q2 as Cc,Z2 as Dc,X2 as Ec,eU as Fc};
|