spec-box-tms-sync 1.0.3 → 1.0.5

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.
@@ -1,8 +0,0 @@
1
- import{a as U,b as X,c as Aa}from"./chunk-IFGU66OU.js";var ge=null,ui=!1,gn=1,$y=null,Y=Symbol("SIGNAL");function C(e){let t=ge;return ge=e,t}function li(){return ge}var xt={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 Rt(e){if(ui)throw new Error("");if(ge===null)return;ge.consumerOnSignalRead(e);let t=ge.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ge.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ge.producers,n!==void 0&&n.producer===e)){ge.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=gn;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ge&&(!r||o.knownValidAtEpoch===gn))return;let i=or(ge),s={producer:e,consumer:ge,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:gn,lastReadVersion:e.version,nextConsumer:void 0};ge.producersTail=s,t!==void 0?t.nextProducer=s:ge.producers=s,i&&Ad(e,s)}function _d(){gn++}function vn(e){if(!(or(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===gn)){if(!e.producerMustRecompute(e)&&!Dn(e)){rr(e);return}e.producerRecomputeValue(e),rr(e)}}function xa(e){if(e.consumers===void 0)return;let t=ui;ui=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Sd(r)}}finally{ui=t}}function Ra(){return ge?.consumerAllowSignalWrites!==!1}function Sd(e){e.dirty=!0,xa(e),e.consumerMarkedDirty?.(e)}function rr(e){e.dirty=!1,e.lastCleanEpoch=gn}function ht(e){return e&&Md(e),C(e)}function Md(e){if(e.producersTail?.knownValidAtEpoch===gn){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function Ot(e,t){C(t),e&&Nd(e)}function Nd(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(or(e))do n=Oa(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Dn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(vn(n),r!==n.version))return!0}return!1}function kt(e){if(or(e)){let t=e.producers;for(;t!==void 0;)t=Oa(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Ad(e,t){let n=e.consumersTail,r=or(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)Ad(o.producer,o)}function Oa(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,!or(t)){let i=t.producers;for(;i!==void 0;)i=Oa(i)}return n}function or(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function eo(e){$y?.(e)}function to(e,t){return Object.is(e,t)}function no(e,t){let n=Object.create(Gy);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(vn(n),Rt(n),n.value===pt)throw n.error;return n.value};return r[Y]=n,eo(n),r}var mn=Symbol("UNSET"),yn=Symbol("COMPUTING"),pt=Symbol("ERRORED"),Gy=X(U({},xt),{value:mn,dirty:!0,error:null,equal:to,kind:"computed",producerMustRecompute(e){return e.value===mn||e.value===yn},producerRecomputeValue(e){if(e.value===yn)throw new Error("");let t=e.value;e.value=yn;let n=ht(e),r,o=!1;try{r=e.computation(),C(null),o=t!==mn&&t!==pt&&r!==pt&&e.equal(t,r)}catch(i){r=pt,e.error=i}finally{Ot(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function zy(){throw new Error}var xd=zy;function Rd(e){xd(e)}function ka(e){xd=e}var Wy=null;function La(e,t){let n=Object.create(ro);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Od(n);return r[Y]=n,eo(n),[r,s=>Qt(n,s),s=>di(n,s)]}function Od(e){return Rt(e),e.value}function Qt(e,t){Ra()||Rd(e),e.equal(e.value,t)||(e.value=t,qy(e))}function di(e,t){Ra()||Rd(e),Qt(e,t(e.value))}var ro=X(U({},xt),{equal:to,value:void 0,kind:"signal"});function qy(e){e.version++,_d(),xa(e),Wy?.(e)}var Fa=X(U({},xt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Pa(e){if(e.dirty=!1,e.version>0&&!Dn(e))return;e.version++;let t=ht(e);try{e.cleanup(),e.fn()}finally{Ot(e,t)}}var ja;function fi(){return ja}function gt(e){let t=ja;return ja=e,t}var kd=Symbol("NotFound");function ir(e){return e===kd||e?.name==="\u0275NotFound"}function Ba(e,t,n){let r=Object.create(Zy);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(vn(r),Rt(r),r.value===pt)throw r.error;return r.value};return i[Y]=r,eo(r),i}function Ld(e,t){vn(e),Qt(e,t),rr(e)}function Fd(e,t){if(vn(e),e.value===pt)throw e.error;di(e,t),rr(e)}var Zy=X(U({},xt),{value:mn,dirty:!0,error:null,equal:to,kind:"linkedSignal",producerMustRecompute(e){return e.value===mn||e.value===yn},producerRecomputeValue(e){if(e.value===yn)throw new Error("");let t=e.value;e.value=yn;let n=ht(e),r,o=!1;try{let i=e.source(),s=t!==mn&&t!==pt,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,C(null),o=s&&r!==pt&&e.equal(t,r)}catch(i){r=pt,e.error=i}finally{Ot(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Pd(e){let t=C(null);try{return e()}finally{C(t)}}function T(e){return typeof e=="function"}function sr(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 pi=sr(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 En(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 pi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{jd(i)}catch(s){t=t??[],s instanceof pi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)jd(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)&&En(n,t)}remove(t){let{_finalizers:n}=this;n&&En(n,t),t instanceof e&&t._removeParent(this)}};ue.EMPTY=(()=>{let e=new ue;return e.closed=!0,e})();var Va=ue.EMPTY;function hi(e){return e instanceof ue||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function jd(e){T(e)?e():e.unsubscribe()}var Ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ar={setTimeout(e,t,...n){let{delegate:r}=ar;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ar;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gi(e){ar.setTimeout(()=>{let{onUnhandledError:t}=Ke;if(t)t(e);else throw e})}function Je(){}var Bd=Ha("C",void 0,void 0);function Vd(e){return Ha("E",void 0,e)}function Hd(e){return Ha("N",e,void 0)}function Ha(e,t,n){return{kind:e,value:t,error:n}}var In=null;function cr(e){if(Ke.useDeprecatedSynchronousErrorHandling){let t=!In;if(t&&(In={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=In;if(In=null,n)throw r}}else e()}function Ud(e){Ke.useDeprecatedSynchronousErrorHandling&&In&&(In.errorThrown=!0,In.error=e)}var wn=class extends ue{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hi(t)&&t.add(this)):this.destination=Ky}static create(t,n,r){return new Xe(t,n,r)}next(t){this.isStopped?$a(Hd(t),this):this._next(t)}error(t){this.isStopped?$a(Vd(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$a(Bd,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()}}},Yy=Function.prototype.bind;function Ua(e,t){return Yy.call(e,t)}var Ga=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mi(r)}else mi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mi(n)}}},Xe=class extends wn{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&&Ke.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ua(t.next,i),error:t.error&&Ua(t.error,i),complete:t.complete&&Ua(t.complete,i)}):o=t}this.destination=new Ga(o)}};function mi(e){Ke.useDeprecatedSynchronousErrorHandling?Ud(e):gi(e)}function Qy(e){throw e}function $a(e,t){let{onStoppedNotification:n}=Ke;n&&ar.setTimeout(()=>n(e,t))}var Ky={closed:!0,next:Je,error:Qy,complete:Je};var ur=typeof Symbol=="function"&&Symbol.observable||"@@observable";function le(e){return e}function Jy(...e){return za(e)}function za(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=ev(n)?n:new Xe(n,r,o);return cr(()=>{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=$d(r),new r((o,i)=>{let s=new Xe({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)}[ur](){return this}pipe(...n){return za(n)(this)}toPromise(n){return n=$d(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 $d(e){var t;return(t=e??Ke.Promise)!==null&&t!==void 0?t:Promise}function Xy(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function ev(e){return e&&e instanceof wn||Xy(e)&&hi(e)}function tv(e){return T(e?.lift)}function N(e){return t=>{if(tv(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 Wa(e,t,n,r,o)}var Wa=class extends wn{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 Gd=sr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var me=(()=>{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 yi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Gd}next(n){cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){cr(()=>{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(){cr(()=>{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?Va:(this.currentObservers=null,i.push(n),new ue(()=>{this.currentObservers=null,En(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 yi(t,n),e})(),yi=class extends me{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:Va}};var Cn=class extends me{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 oo={now(){return(oo.delegate||Date).now()},delegate:void 0};var io=class extends me{constructor(t=1/0,n=1/0,r=oo){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 vi=class extends ue{constructor(t,n){super()}schedule(t,n=0){return this}};var so={setInterval(e,t,...n){let{delegate:r}=so;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=so;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var lr=class extends vi{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 so.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&&so.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,En(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var dr=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)}};dr.now=oo.now;var fr=class extends dr{constructor(t,n=dr.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 Kt=new fr(lr),qa=Kt;var Di=class extends lr{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 Ei=class extends fr{};var nv=new Ei(Di);var Fe=new O(e=>e.complete());function Ii(e){return e&&T(e.schedule)}function Za(e){return e[e.length-1]}function pr(e){return T(Za(e))?e.pop():void 0}function mt(e){return Ii(Za(e))?e.pop():void 0}function zd(e,t){return typeof Za(e)=="number"?e.pop():t}function qd(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 Wd(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 bn(e){return this instanceof bn?(this.v=e,this):new bn(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(m){return new Promise(function(y,D){i.push([f,m,y,D])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(m){p(i[0][3],m)}}function u(f){f.value instanceof bn?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 Yd(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 Wd=="function"?Wd(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 hr=e=>e&&typeof e.length=="number"&&typeof e!="function";function wi(e){return T(e?.then)}function Ci(e){return T(e[ur])}function bi(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function Ti(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 rv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var _i=rv();function Si(e){return T(e?.[_i])}function Mi(e){return Zd(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield bn(n.read());if(o)return yield bn(void 0);yield yield bn(r)}}finally{n.releaseLock()}})}function Ni(e){return T(e?.getReader)}function L(e){if(e instanceof O)return e;if(e!=null){if(Ci(e))return ov(e);if(hr(e))return iv(e);if(wi(e))return sv(e);if(bi(e))return Qd(e);if(Si(e))return av(e);if(Ni(e))return cv(e)}throw Ti(e)}function ov(e){return new O(t=>{let n=e[ur]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function iv(e){return new O(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function sv(e){return new O(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gi)})}function av(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=>{uv(e,t).catch(n=>t.error(n))})}function cv(e){return Qd(Mi(e))}function uv(e,t){var n,r,o,i;return qd(this,void 0,void 0,function*(){try{for(n=Yd(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 be(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 ao(e,t=0){return N((n,r)=>{n.subscribe(S(r,o=>be(r,e,()=>r.next(o),t),()=>be(r,e,()=>r.complete(),t),o=>be(r,e,()=>r.error(o),t)))})}function Ai(e,t=0){return N((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Kd(e,t){return L(e).pipe(Ai(t),ao(t))}function Jd(e,t){return L(e).pipe(Ai(t),ao(t))}function Xd(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 ef(e,t){return new O(n=>{let r;return be(n,t,()=>{r=e[_i](),be(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 xi(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(n=>{be(n,t,()=>{let r=e[Symbol.asyncIterator]();be(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function tf(e,t){return xi(Mi(e),t)}function nf(e,t){if(e!=null){if(Ci(e))return Kd(e,t);if(hr(e))return Xd(e,t);if(wi(e))return Jd(e,t);if(bi(e))return xi(e,t);if(Si(e))return ef(e,t);if(Ni(e))return tf(e,t)}throw Ti(e)}function Ae(e,t){return t?nf(e,t):L(e)}function Ya(...e){let t=mt(e);return Ae(e,t)}function Tn(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 lv(e){return!!e&&(e instanceof O||T(e.lift)&&T(e.subscribe))}var _n=sr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Qa(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Xe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new _n)}});e.subscribe(i)})}function rf(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:dv}=Array;function fv(e,t){return dv(t)?e(...t):e(t)}function gr(e){return ae(t=>fv(e,t))}var{isArray:pv}=Array,{getPrototypeOf:hv,prototype:gv,keys:mv}=Object;function Ri(e){if(e.length===1){let t=e[0];if(pv(t))return{args:t,keys:null};if(yv(t)){let n=mv(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yv(e){return e&&typeof e=="object"&&hv(e)===gv}function Oi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function vv(...e){let t=mt(e),n=pr(e),{args:r,keys:o}=Ri(e);if(r.length===0)return Ae([],t);let i=new O(Dv(r,t,o?s=>Oi(o,s):le));return n?i.pipe(gr(n)):i}function Dv(e,t,n=le){return r=>{of(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)of(t,()=>{let u=Ae(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 of(e,t,n){e?be(n,e,t):t()}function sf(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=m=>u<r?h(m):c.push(m),h=m=>{i&&t.next(m),u++;let y=!1;L(n(m,l++)).subscribe(S(t,D=>{o?.(D),i?f(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let D=c.shift();s?be(t,s,()=>h(D)):h(D)}p()}catch(D){t.error(D)}}))};return e.subscribe(S(t,f,()=>{d=!0,p()})),()=>{a?.()}}function et(e,t,n=1/0){return T(t)?et((r,o)=>ae((i,s)=>t(r,i,o,s))(L(e(r,o))),n):(typeof t=="number"&&(n=t),N((r,o)=>sf(r,o,e,n)))}function ki(e=1/0){return et(le,e)}function af(){return ki(1)}function mr(...e){return af()(Ae(e,mt(e)))}function Ev(e){return new O(t=>{L(e()).subscribe(t)})}function Ka(...e){let t=pr(e),{args:n,keys:r}=Ri(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?Oi(r,a):a),i.complete())}))}});return t?o.pipe(gr(t)):o}var Iv=["addListener","removeListener"],wv=["addEventListener","removeEventListener"],Cv=["on","off"];function Ja(e,t,n,r){if(T(n)&&(r=n,n=void 0),r)return Ja(e,t,n).pipe(gr(r));let[o,i]=_v(e)?wv.map(s=>a=>e[s](t,a,n)):bv(e)?Iv.map(cf(e,t)):Tv(e)?Cv.map(cf(e,t)):[];if(!o&&hr(e))return et(s=>Ja(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 cf(e,t){return n=>r=>e[n](t,r)}function bv(e){return T(e.addListener)&&T(e.removeListener)}function Tv(e){return T(e.on)&&T(e.off)}function _v(e){return T(e.addEventListener)&&T(e.removeEventListener)}function Lt(e=0,t,n=qa){let r=-1;return t!=null&&(Ii(t)?n=t:r=t),new O(o=>{let i=rf(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 Sv(...e){let t=mt(e),n=zd(e,1/0),r=e;return r.length?r.length===1?L(r[0]):ki(n)(Ae(r,t)):Fe}var Mv=new O(Je);function tt(e,t){return N((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}function uf(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 Nv(e,t=Kt){return uf(()=>Lt(e,t))}function co(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,co(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Xa(e,t){return T(t)?et(e,t,1):et(e,1)}function ec(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 Sn(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 lf(){return N((e,t)=>{e.subscribe(S(t,Je))})}function df(e){return ae(()=>e)}function tc(e,t){return t?n=>mr(t.pipe(Sn(1),lf()),n.pipe(tc(e))):et((n,r)=>L(e(n,r)).pipe(Sn(1),df(n)))}function Av(e,t=Kt){let n=Lt(e,t);return tc(()=>n)}function xv(e,t=le){return e=e??Rv,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 Rv(e,t){return e===t}function ff(e=Ov){return N((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ov(){return new _n}function Li(e){return N((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function kv(e,t){let n=arguments.length>=2;return r=>r.pipe(e?tt((o,i)=>e(o,i,r)):le,Sn(1),n?ec(t):ff(()=>new _n))}function Lv(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 Fv(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"?Lt(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 rc(e={}){let{connector:t=()=>new me,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 m=s;f(),m?.unsubscribe()};return N((m,y)=>{u++,!d&&!l&&p();let D=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=nc(h,o))}),D.subscribe(y),!s&&u>0&&(s=new Xe({next:F=>D.next(F),error:F=>{d=!0,p(),a=nc(f,n,F),D.error(F)},complete:()=>{l=!0,p(),a=nc(f,r),D.complete()}}),L(m).subscribe(s))})(i)}}function nc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Xe({next:()=>{r.unsubscribe(),e()}});return L(t(...n)).subscribe(r)}function Pv(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,rc({connector:()=>new io(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function jv(e){return tt((t,n)=>e<=n)}function pf(...e){let t=mt(e);return N((n,r)=>{(t?mr(e,n,t):mr(e,n)).subscribe(r)})}function yr(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 hf(e){return N((t,n)=>{L(e).subscribe(S(n,()=>n.complete(),Je)),!n.closed&&t.subscribe(n)})}function Bv(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 uo(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 gf(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 Vv(e,t=Kt,n){let r=Lt(e,t);return gf(()=>r,n)}function Hv(...e){let t=pr(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))},Je));n.subscribe(S(r,c=>{if(a){let u=[c,...i];r.next(t?t(...u):u)}}))})}var Ui="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(t,n){super(Bt(t,n)),this.code=t}};function Uv(e){return`NG0${Math.abs(e)}`}function Bt(e,t){return`${Uv(e)}${t?": "+t:""}`}function j(e){for(let t in e)if(e[t]===j)return t;throw Error("")}function Ef(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(mo).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 $i(e,t){return e?t?`${e} ${t}`:e:t||""}var $v=j({__forward_ref__:j});function Gi(e){return e.__forward_ref__=Gi,e}function re(e){return yc(e)?e():e}function yc(e){return typeof e=="function"&&e.hasOwnProperty($v)&&e.__forward_ref__===Gi}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Rn(e){return{providers:e.providers||[],imports:e.imports||[]}}function yo(e){return zv(e,zi)}function Gv(e){return yo(e)!==null}function zv(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Wv(e){let t=e?.[zi]??null;return t||null}function ic(e){return e&&e.hasOwnProperty(Pi)?e[Pi]:null}var zi=j({\u0275prov:j}),Pi=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 vc(e){return e&&!!e.\u0275providers}var Dc=j({\u0275cmp:j}),Ec=j({\u0275dir:j}),Ic=j({\u0275pipe:j}),wc=j({\u0275mod:j}),fo=j({\u0275fac:j}),On=j({__NG_ELEMENT_ID__:j}),mf=j({__NG_ENV_ID__:j});function If(e){return qi(e,"@NgModule"),e[wc]||null}function Vt(e){return qi(e,"@Component"),e[Dc]||null}function Wi(e){return qi(e,"@Directive"),e[Ec]||null}function wf(e){return qi(e,"@Pipe"),e[Ic]||null}function qi(e,t){if(e==null)throw new v(-919,!1)}function kn(e){return typeof e=="string"?e:e==null?"":String(e)}var Cf=j({ngErrorCode:j}),qv=j({ngErrorMessage:j}),Zv=j({ngTokenPath:j});function Cc(e,t){return bf("",-200,t)}function Zi(e,t){throw new v(-201,!1)}function bf(e,t,n){let r=new v(t,e);return r[Cf]=t,r[qv]=e,n&&(r[Zv]=n),r}function Yv(e){return e[Cf]}var sc;function Tf(){return sc}function ye(e){let t=sc;return sc=e,t}function bc(e,t,n){let r=yo(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;Zi(e,"")}var je=globalThis;var Qv={},Mn=Qv,ac="__NG_DI_FLAG__",cc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Nn(n)||0;try{return this.injector.get(t,r&8?null:Mn,r)}catch(o){if(ir(o))return o;throw o}}};function Kv(e,t=0){let n=fi();if(n===void 0)throw new v(-203,!1);if(n===null)return bc(e,void 0,t);{let r=Jv(t),o=n.retrieve(e,r);if(ir(o)){if(r.optional)return null;throw o}return o}}function A(e,t=0){return(Tf()||Kv)(re(e),t)}function g(e,t){return A(e,Nn(t))}function Nn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Jv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function uc(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=Xv(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 Yi(e,t){return e[ac]=t,e.prototype[ac]=t,e}function Xv(e){return e[ac]}function Jt(e,t){let n=e.hasOwnProperty(fo);return n?e[fo]:null}function _f(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 Sf(e){return e.flat(Number.POSITIVE_INFINITY)}function Qi(e,t){e.forEach(n=>Array.isArray(n)?Qi(n,t):t(n))}function Tc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Mf(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Nf(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 Ki(e,t,n){let r=Er(e,t);return r>=0?e[r|1]=n:(r=~r,Nf(e,r,t,n)),r}function Ji(e,t){let n=Er(e,t);if(n>=0)return e[n|1]}function Er(e,t){return eD(e,t,1)}function eD(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 en={},de=[],Ln=new _(""),Do=new _("",-1),_c=new _(""),Dr=class{get(t,n=Mn){if(n===Mn){let o=bf("",-201);throw o.name="\u0275NotFound",o}return n}};function Ht(e){return{\u0275providers:e}}function Af(e){return Ht([{provide:Ln,multi:!0,useValue:e}])}function xf(...e){return{\u0275providers:Sc(!0,e),\u0275fromNgModule:!0}}function Sc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Qi(t,s=>{let a=s;ji(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Rf(o,i),n}function Rf(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Mc(o,i=>{t(i,r)})}}function ji(e,t,n,r){if(e=re(e),!e)return!1;let o=null,i=ic(e),s=!i&&Vt(e);if(!i&&!s){let c=e.ngModule;if(i=ic(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)ji(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Qi(i.imports,l=>{ji(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Rf(u,t)}if(!a){let u=Jt(o)||(()=>new o);t({provide:o,useFactory:u,deps:de},o),t({provide:_c,useValue:o,multi:!0},o),t({provide:Ln,useValue:()=>A(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Mc(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Mc(e,t){for(let n of e)vc(n)&&(n=n.\u0275providers),Array.isArray(n)?Mc(n,t):t(n)}var tD=j({provide:String,useValue:j});function Of(e){return e!==null&&typeof e=="object"&&tD in e}function nD(e){return!!(e&&e.useExisting)}function rD(e){return!!(e&&e.useFactory)}function An(e){return typeof e=="function"}function kf(e){return!!e.useClass}var Eo=new _(""),Fi={},yf={},oc;function Ir(){return oc===void 0&&(oc=new Dr),oc}var ve=class{},xn=class extends ve{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,dc(t,s=>this.processProvider(s)),this.records.set(Do,vr(void 0,this)),o.has("environment")&&this.records.set(ve,vr(void 0,this));let i=this.records.get(Eo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(_c,de,{self:!0}))}retrieve(t,n){let r=Nn(n)||0;try{return this.get(t,Mn,r)}catch(o){if(ir(o))return o;throw o}}destroy(){lo(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 lo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){lo(this);let n=gt(this),r=ye(void 0),o;try{return t()}finally{gt(n),ye(r)}}get(t,n=Mn,r){if(lo(this),t.hasOwnProperty(mf))return t[mf](this);let o=Nn(r),i,s=gt(this),a=ye(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=cD(t)&&yo(t);l&&this.injectableDefInScope(l)?u=vr(lc(t),Fi):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Ir():this.parent;return n=o&8&&n===Mn?null:n,c.get(t,n)}catch(c){let u=Yv(c);throw u===-200||u===-201?new v(u,null):c}finally{ye(a),gt(s)}}resolveInjectorInitializers(){let t=C(null),n=gt(this),r=ye(void 0),o;try{let i=this.get(Ln,de,{self:!0});for(let s of i)s()}finally{gt(n),ye(r),C(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=re(t);let n=An(t)?t:re(t&&t.provide),r=iD(t);if(!An(t)&&t.multi===!0){let o=this.records.get(n);o||(o=vr(void 0,Fi,!0),o.factory=()=>uc(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===yf)throw Cc("");return n.value===Fi&&(n.value=yf,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&aD(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 lc(e){let t=yo(e),n=t!==null?t.factory:Jt(e);if(n!==null)return n;if(e instanceof _)throw new v(-204,!1);if(e instanceof Function)return oD(e);throw new v(-204,!1)}function oD(e){if(e.length>0)throw new v(-204,!1);let n=Wv(e);return n!==null?()=>n.factory(e):()=>new e}function iD(e){if(Of(e))return vr(void 0,e.useValue);{let t=Nc(e);return vr(t,Fi)}}function Nc(e,t,n){let r;if(An(e)){let o=re(e);return Jt(o)||lc(o)}else if(Of(e))r=()=>re(e.useValue);else if(rD(e))r=()=>e.useFactory(...uc(e.deps||[]));else if(nD(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(sD(e))r=()=>new o(...uc(e.deps));else return Jt(o)||lc(o)}return r}function lo(e){if(e.destroyed)throw new v(-205,!1)}function vr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function sD(e){return!!e.deps}function aD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function cD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function dc(e,t){for(let n of e)Array.isArray(n)?dc(n,t):n&&vc(n)?dc(n.\u0275providers,t):t(n)}function wr(e,t){let n;e instanceof xn?(lo(e),n=e):n=new cc(e);let r,o=gt(n),i=ye(void 0);try{return t()}finally{gt(o),ye(i)}}function Lf(){return Tf()!==void 0||fi()!=null}var nt=0,w=1,M=2,oe=3,Be=4,pe=5,Fn=6,Cr=7,J=8,vt=9,rt=10,V=11,br=12,Ac=13,tn=14,Ee=15,nn=16,Pn=17,Dt=18,Et=19,xc=20,Pt=21,Xi=22,Xt=23,xe=24,jn=25,It=26,W=27,Ff=1,Rc=6,rn=7,Io=8,Bn=9,Q=10;function Ut(e){return Array.isArray(e)&&typeof e[Ff]=="object"}function Ve(e){return Array.isArray(e)&&e[Ff]===!0}function Oc(e){return(e.flags&4)!==0}function $t(e){return e.componentOffset>-1}function Tr(e){return(e.flags&1)===1}function ot(e){return!!e.template}function _r(e){return(e[M]&512)!==0}function Vn(e){return(e[M]&256)===256}var kc="svg",Pf="math";function He(e){for(;Array.isArray(e);)e=e[nt];return e}function Lc(e,t){return He(t[e])}function Ue(e,t){return He(t[e.index])}function es(e,t){return e.data[t]}function ts(e,t){return e[t]}function Fc(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 Ut(n)?n:n[nt]}function jf(e){return(e[M]&4)===4}function ns(e){return(e[M]&128)===128}function Bf(e){return Ve(e[oe])}function Ge(e,t){return t==null?null:e[t]}function Pc(e){e[Pn]=0}function jc(e){e[M]&1024||(e[M]|=1024,ns(e)&&Hn(e))}function Vf(e,t){for(;e>0;)t=t[tn],e--;return t}function wo(e){return!!(e[M]&9216||e[xe]?.dirty)}function rs(e){e[rt].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),wo(e)&&Hn(e)}function Hn(e){e[rt].changeDetectionScheduler?.notify(0);let t=jt(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!ns(t)));)t=jt(t)}function os(e,t){if(Vn(e))throw new v(911,!1);e[Pt]===null&&(e[Pt]=[]),e[Pt].push(t)}function Hf(e,t){if(e[Pt]===null)return;let n=e[Pt].indexOf(t);n!==-1&&e[Pt].splice(n,1)}function jt(e){let t=e[oe];return Ve(t)?t[oe]:t}function Bc(e){return e[Cr]??=[]}function Vc(e){return e.cleanup??=[]}function Uf(e,t,n,r){let o=Bc(t);o.push(n),e.firstCreatePass&&Vc(e).push(r,o.length-1)}var x={lFrame:np(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var fc=!1;function $f(){return x.lFrame.elementDepthCount}function Gf(){x.lFrame.elementDepthCount++}function Hc(){x.lFrame.elementDepthCount--}function is(){return x.bindingsEnabled}function Uc(){return x.skipHydrationRootTNode!==null}function $c(e){return x.skipHydrationRootTNode===e}function Gc(){x.skipHydrationRootTNode=null}function b(){return x.lFrame.lView}function $(){return x.lFrame.tView}function zf(e){return x.lFrame.contextLView=e,e[J]}function Wf(e){return x.lFrame.contextLView=null,e}function ie(){let e=zc();for(;e!==null&&e.type===64;)e=e.parent;return e}function zc(){return x.lFrame.currentTNode}function qf(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Sr(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function Wc(){return x.lFrame.isParent}function qc(){x.lFrame.isParent=!1}function Zf(){return x.lFrame.contextLView}function Zc(){return fc}function po(e){let t=fc;return fc=e,t}function Mr(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yf(){return x.lFrame.bindingIndex}function Qf(e){return x.lFrame.bindingIndex=e}function on(){return x.lFrame.bindingIndex++}function ss(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Kf(){return x.lFrame.inI18n}function Jf(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,as(t)}function Xf(){return x.lFrame.currentDirectiveIndex}function as(e){x.lFrame.currentDirectiveIndex=e}function ep(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function cs(){return x.lFrame.currentQueryIndex}function Co(e){x.lFrame.currentQueryIndex=e}function uD(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[pe]:null}function Yc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=uD(i),o===null||(i=i[tn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=tp();return r.currentTNode=t,r.lView=e,!0}function us(e){let t=tp(),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 tp(){let e=x.lFrame,t=e===null?null:e.child;return t===null?np(e):t}function np(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 rp(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qc=rp;function ls(){let e=rp();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 op(e){return(x.lFrame.contextLView=Vf(e,x.lFrame.contextLView))[J]}function wt(){return x.lFrame.selectedIndex}function sn(e){x.lFrame.selectedIndex=e}function Nr(){let e=x.lFrame;return es(e.tView,e.selectedIndex)}function ip(){x.lFrame.currentNamespace=kc}function Kc(){return x.lFrame.currentNamespace}var sp=!0;function ds(){return sp}function bo(e){sp=e}function pc(e,t=null,n=null,r){let o=Jc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Jc(e,t=null,n=null,r,o=new Set){let i=[n||de,xf(e)],s;return new xn(i,t||Ir(),s||null,o)}var De=class e{static THROW_IF_NOT_FOUND=Mn;static NULL=new Dr;static create(t,n){if(Array.isArray(t))return pc({name:""},n,t,"");{let r=t.name??"";return pc({name:r},t.parent,t.providers,r)}}static \u0275prov=k({token:e,providedIn:"any",factory:()=>A(Do)});static __NG_ELEMENT_ID__=-1},q=new _(""),Re=(()=>{class e{static __NG_ELEMENT_ID__=lD;static __NG_ENV_ID__=n=>n}return e})(),Bi=class extends Re{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Vn(this._lView)}onDestroy(t){let n=this._lView;return os(n,t),()=>Hf(n,t)}};function lD(){return new Bi(b())}var ap=!1,cp=new _(""),Un=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Cn(!1);debugTaskTracker=g(cp,{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})(),hc=class extends me{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Lf()&&(this.destroyRef=g(Re,{optional:!0})??void 0,this.pendingTasks=g(Un,{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)}})}}},Ft=hc;function Vi(...e){}function Xc(e){let t,n;function r(){e=Vi;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 up(e){return queueMicrotask(()=>e()),()=>{e=Vi}}var eu="isAngularZone",ho=eu+"_ID",dD=0,fe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ft(!1);onMicrotaskEmpty=new Ft(!1);onStable=new Ft(!1);onError=new Ft(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ap}=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,hD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(eu)===!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,fD,Vi,Vi);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)}},fD={};function tu(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 pD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Xc(()=>{e.callbackScheduled=!1,gc(e),e.isCheckStableRunning=!0,tu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),gc(e)}function hD(e){let t=()=>{pD(e)},n=dD++;e._inner=e._inner.fork({name:"angular",properties:{[eu]:!0,[ho]:n,[ho+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(gD(c))return r.invokeTask(i,s,a,c);try{return vf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Df(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return vf(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!mD(c)&&t(),Df(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,gc(e),tu(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 gc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function vf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Df(e){e._nesting--,tu(e)}var go=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ft;onMicrotaskEmpty=new Ft;onStable=new Ft;onError=new Ft;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 gD(e){return lp(e,"__ignore_ng_zone__")}function mD(e){return lp(e,"__scheduler_tick__")}function lp(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)}},Ct=new _("",{factory:()=>{let e=g(fe),t=g(ve),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Pe),n.handleError(r))})}}}),dp={provide:Ln,useValue:()=>{let e=g(Pe,{optional:!0})},multi:!0},yD=new _("",{factory:()=>{let e=g(q).defaultView;if(!e)return;let t=g(Ct),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(Re).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function vD(){return Ht([Af(()=>{g(yD)})])}function Te(e,t){let[n,r,o]=La(e,t?.equal),i=n,s=i[Y];return i.set=r,i.update=o,i.asReadonly=Ar.bind(i),i}function Ar(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}var xr=new _("",{factory:()=>DD}),DD="ng";var fs=new _(""),$n=new _("",{providedIn:"platform",factory:()=>"unknown"});var To=new _("",{factory:()=>g(q).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Rr=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>{let n=new e;return n.store=fp(g(q),g(xr)),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 fp(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 Or=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=ED}return e})();function ED(){return new Or(b(),ie())}var yt=class{},_o=new _("",{factory:()=>!0});var nu=new _(""),ps=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>new mc})}return e})(),mc=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}},Hi=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};function ru(e,t){let n=t?.injector??g(De),r=t?.manualCleanup!==!0?n.get(Re):null,o,i=n.get(Or,null,{optional:!0}),s=n.get(yt);return i!==null?(o=CD(i.view,s,e),r instanceof Bi&&r._lView===i.view&&(r=null)):o=bD(e,n.get(ps),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Hi(o)}var pp=X(U({},Fa),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=po(!1);try{Pa(this)}finally{po(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=C(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],C(e)}}}),ID=X(U({},pp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(kt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),wD=X(U({},pp),{consumerMarkedDirty(){this.view[M]|=8192,Hn(this.view),this.notifier.notify(13)},destroy(){if(kt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Xt]?.delete(this)}});function CD(e,t,n){let r=Object.create(wD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=hp(r,n),e[Xt]??=new Set,e[Xt].add(r),r.consumerMarkedDirty(r),r}function bD(e,t,n){let r=Object.create(ID);return r.fn=hp(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 hp(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function kr(e){return typeof e=="function"&&e[Y]!==void 0}function hs(e){return kr(e)&&typeof e.set=="function"}var Lr=(()=>{class e{internalPendingTasks=g(Un);scheduler=g(yt);errorHandler=g(Ct);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 Gr(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||{}),bs=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function nh(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var rh=null,Ku=(()=>{rh=gp;let e=()=>gp;return e.ngInherit=!0,e})();function LD(){return rh}function gp(e){return e.type.prototype.ngOnChanges&&(e.setInput=PD),FD}function FD(){let e=oh(this),t=e?.current;if(t){let n=e.previous;if(n===en)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function PD(e,t,n,r,o){let i=this.declaredInputs[r],s=oh(e)||jD(e,{previous:en,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new bs(u&&u.currentValue,n,c===en),nh(e,t,o,n)}var gu="__ngSimpleChanges__";function oh(e){return Object.hasOwn(e,gu)&&e[gu]||null}function jD(e,t){return e[gu]=t}var mp=[];var B=function(e,t=null,n){for(let r=0;r<mp.length;r++){let o=mp[r];o(e,t,n)}};function BD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=LD()(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 ih(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 Es(e,t,n){sh(e,t,3,n)}function Is(e,t,n,r){(e[M]&3)===n&&sh(e,t,n,r)}function ou(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function sh(e,t,n,r){let o=r!==void 0?e[Pn]&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[Pn]+=65536),(a<i||i==-1)&&(VD(e,n,t,c),e[Pn]=(e[Pn]&4294901760)+c+2),c++}function yp(e,t){B(P.LifecycleHookStart,e,t);let n=C(null);try{t.call(e)}finally{C(n),B(P.LifecycleHookEnd,e,t)}}function VD(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[Pn]>>16&&(e[M]&3)===t&&(e[M]+=16384,yp(a,i)):yp(a,i)}var Pr=-1,Gn=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 HD(e){return(e.flags&8)!==0}function UD(e){return(e.flags&16)!==0}function $D(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];GD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function ah(e){return e===3||e===4||e===6}function GD(e){return e.charCodeAt(0)===64}function Br(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?vp(e,n,o,null,t[++r]):vp(e,n,o,null,null))}}return e}function vp(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 ch(e){return e!==Pr}function Ts(e){return e&32767}function zD(e){return e>>16}function _s(e,t){let n=zD(e),r=t;for(;n>0;)r=r[tn],n--;return r}var mu=!0;function Ss(e){let t=mu;return mu=e,t}var WD=256,uh=WD-1,lh=5,qD=0,bt={};function ZD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(On)&&(r=n[On]),r==null&&(r=n[On]=qD++);let o=r&uh,i=1<<o;t.data[e+(o>>lh)]|=i}function Ms(e,t){let n=dh(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,iu(r.data,e),iu(t,null),iu(r.blueprint,null));let o=Ju(e,t),i=e.injectorIndex;if(ch(o)){let s=Ts(o),a=_s(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 iu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ju(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=mh(o),r===null)return Pr;if(n++,o=o[tn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Pr}function yu(e,t,n){ZD(e,t,n)}function YD(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(ah(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 fh(e,t,n){if(n&8||e!==void 0)return e;Zi(t,"NodeInjector")}function ph(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[vt],i=ye(void 0);try{return o?o.get(t,r,n&8):bc(t,r,n&8)}finally{ye(i)}}return fh(r,t,n)}function hh(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=XD(e,t,n,r,bt);if(s!==bt)return s}let i=gh(e,t,n,r,bt);if(i!==bt)return i}return ph(t,n,r,o)}function gh(e,t,n,r,o){let i=KD(n);if(typeof i=="function"){if(!Yc(t,e,r))return r&1?fh(o,n,r):ph(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Zi(n);else return s}finally{Qc()}}else if(typeof i=="number"){let s=null,a=dh(e,t),c=Pr,u=r&1?t[Ee][pe]:null;for((a===-1||r&4)&&(c=a===-1?Ju(e,t):t[a+8],c===Pr||!Ep(r,!1)?a=-1:(s=t[w],a=Ts(c),t=_s(c,t)));a!==-1;){let l=t[w];if(Dp(i,a,l.data)){let d=QD(a,t,n,s,r,u);if(d!==bt)return d}c=t[a+8],c!==Pr&&Ep(r,t[w].data[a+8]===u)&&Dp(i,a,t)?(s=l,a=Ts(c),t=_s(c,t)):a=-1}}return o}function QD(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?$t(a)&&mu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ws(a,s,n,c,u);return l!==null?xo(t,s,l,a,o):bt}function ws(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&&ot(f)&&f.type===n)return c}return null}function xo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Gn){let a=i;if(a.resolving)throw Cc("");let c=Ss(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?ye(a.injectImpl):null,p=Yc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&BD(n,s[n],t)}finally{d!==null&&ye(d),Ss(c),a.resolving=!1,Qc()}}return i}function KD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(On)?e[On]:void 0;return typeof t=="number"?t>=0?t&uh:JD:t}function Dp(e,t,n){let r=1<<e;return!!(n[t+(e>>lh)]&r)}function Ep(e,t){return!(e&2)&&!(e&1&&t)}var an=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return hh(this._tNode,this._lView,t,Nn(r),n)}};function JD(){return new an(ie(),b())}function Gs(e){return Gr(()=>{let t=e.prototype.constructor,n=t[fo]||vu(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[fo]||vu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function vu(e){return yc(e)?()=>{let t=vu(re(e));return t&&t()}:Jt(e)}function XD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!_r(s);){let a=gh(i,s,n,r|2,bt);if(a!==bt)return a;let c=i.parent;if(!c){let u=s[xc];if(u){let l=u.get(n,bt,r&-5);if(l!==bt)return l}c=mh(s),s=s[tn]}i=c}return o}function mh(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[pe]:null}function Xu(e){return YD(ie(),e)}var gs="__parameters__";function eE(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function el(e,t,n){return Gr(()=>{let r=eE(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(gs)?c[gs]:Object.defineProperty(c,gs,{value:[]})[gs];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 ct(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}var tE=Yi(el("Optional"),8),nE=Yi(el("Self"),2),rE=Yi(el("SkipSelf"),4);function oE(){return zr(ie(),b())}function zr(e,t){return new _t(Ue(e,t))}var _t=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=oE}return e})();function yh(e){return e instanceof _t?e.nativeElement:e}function iE(){return this._results[Symbol.iterator]()}var Ns=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 me}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=Sf(t);(this._changesDetected=!_f(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]=iE};function vh(e){return(e.flags&128)===128}var tl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(tl||{}),Dh=new Map,sE=0;function aE(){return sE++}function cE(e){Dh.set(e[Et],e)}function Du(e){Dh.delete(e[Et])}var Ip="__ngContext__";function Vr(e,t){Ut(t)?(e[Ip]=t[Et],cE(t)):e[Ip]=t}function Eh(e){return wh(e[br])}function Ih(e){return wh(e[Be])}function wh(e){for(;e!==null&&!Ve(e);)e=e[Be];return e}var Eu;function nl(e){Eu=e}function rl(){if(Eu!==void 0)return Eu;if(typeof document<"u")return document;throw new v(210,!1)}var Ch="r";var bh="di";var Th=!1,_h=new _("",{factory:()=>Th});var wp=new WeakMap;function uE(e,t){if(e==null||typeof e!="object")return;let n=wp.get(e);n||(n=new WeakSet,wp.set(e,n)),n.add(t)}var lE=(e,t,n,r)=>{};function dE(e,t,n,r){lE(e,t,n,r)}function zs(e){return(e.flags&32)===32}var fE=()=>null;function Sh(e,t,n=!1){return fE(e,t,n)}function Mh(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];Co(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function Iu(e,t,n){Co(0);let r=C(null);try{t(e,n)}finally{C(r)}}function ol(e,t,n){if(Oc(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 at=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(at||{});var ms;function pE(){if(ms===void 0&&(ms=null,je.trustedTypes))try{ms=je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ms}function Ws(e){return pE()?.createHTML(e)||e}var ys;function Nh(){if(ys===void 0&&(ys=null,je.trustedTypes))try{ys=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ys}function Cp(e){return Nh()?.createHTML(e)||e}function bp(e){return Nh()?.createScriptURL(e)||e}var Gt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ui})`}},wu=class extends Gt{getTypeName(){return"HTML"}},Cu=class extends Gt{getTypeName(){return"Style"}},bu=class extends Gt{getTypeName(){return"Script"}},Tu=class extends Gt{getTypeName(){return"URL"}},_u=class extends Gt{getTypeName(){return"ResourceURL"}};function We(e){return e instanceof Gt?e.changingThisBreaksApplicationSecurity:e}function St(e,t){let n=Ah(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ui})`)}return n===t}function Ah(e){return e instanceof Gt&&e.getTypeName()||null}function il(e){return new wu(e)}function sl(e){return new Cu(e)}function al(e){return new bu(e)}function cl(e){return new Tu(e)}function ul(e){return new _u(e)}function hE(e){let t=new Mu(e);return gE()?new Su(t):t}var Su=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ws(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Mu=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=Ws(t),n}};function gE(){try{return!!new window.DOMParser().parseFromString(Ws(""),"text/html")}catch{return!1}}var mE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jo(e){return e=String(e),e.match(mE)?e:"unsafe:"+e}function zt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Bo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var xh=zt("area,br,col,hr,img,wbr"),Rh=zt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Oh=zt("rp,rt"),yE=Bo(Oh,Rh),vE=Bo(Rh,zt("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")),DE=Bo(Oh,zt("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")),Tp=Bo(xh,vE,DE,yE),kh=zt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),EE=zt("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"),IE=zt("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"),wE=Bo(kh,EE,IE),CE=zt("script,style,template"),Nu=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=_E(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=TE(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=_p(t).toLowerCase();if(!Tp.hasOwnProperty(n))return this.sanitizedSomething=!0,!CE.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(!wE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;kh[a]&&(c=jo(c)),this.buf.push(" ",s,'="',Sp(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=_p(t).toLowerCase();Tp.hasOwnProperty(n)&&!xh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Sp(t))}};function bE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function TE(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Lh(t);return t}function _E(e){let t=e.firstChild;if(t&&bE(e,t))throw Lh(t);return t}function _p(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Lh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var SE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ME=/([^\#-~ |!])/g;function Sp(e){return e.replace(/&/g,"&amp;").replace(SE,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(ME,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var vs;function qs(e,t){let n=null;try{vs=vs||hE(e);let r=t?String(t):"";n=vs.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=vs.getInertBodyElement(r)}while(r!==i);let a=new Nu().sanitizeChildren(Mp(n)||n);return Ws(a)}finally{if(n){let r=Mp(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Mp(e){return"content"in e&&NE(e)?e.content:null}function NE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var AE=/^>|^->|<!--|-->|--!>|<!-$/g,xE=/(<|>)/g,RE="\u200B$1\u200B";function OE(e){return e.replace(AE,t=>t.replace(xE,RE))}function kE(e,t){return e.createText(t)}function LE(e,t,n){e.setValue(t,n)}function FE(e,t){return e.createComment(OE(t))}function Fh(e,t,n){return e.createElement(t,n)}function As(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ph(e,t,n){e.appendChild(t,n)}function Np(e,t,n,r,o){r!==null?As(e,t,n,r,o):Ph(e,t,n)}function jh(e,t,n,r){e.removeChild(null,t,n,r)}function PE(e,t,n){e.setAttribute(t,"style",n)}function jE(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Bh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&$D(e,t,r),o!==null&&jE(e,t,o),i!==null&&PE(e,t,i)}var _e=(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})(_e||{});function BE(e){let t=ll();return t?Cp(t.sanitize(_e.HTML,e)||""):St(e,"HTML")?Cp(We(e)):qs(rl(),kn(e))}function Vh(e){let t=ll();return t?t.sanitize(_e.URL,e)||"":St(e,"URL")?We(e):jo(kn(e))}function Hh(e){let t=ll();if(t)return bp(t.sanitize(_e.RESOURCE_URL,e)||"");if(St(e,"ResourceURL"))return bp(We(e));throw new v(904,!1)}var VE={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function HE(e,t){return VE[e.toLowerCase()]?.[t.toLowerCase()]===!0?Hh:Vh}function UE(e,t,n){return HE(t,n)(e)}function ll(){let e=b();return e&&e[rt].sanitizer}function $E(e){return e.ownerDocument}function GE(e){return e instanceof Function?e():e}function zE(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 Uh="ng-template";function WE(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&zE(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(dl(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 dl(e){return e.type===4&&e.value!==Uh}function qE(e,t,n){let r=e.type===4&&!n?Uh:e.value;return t===r}function ZE(e,t,n){let r=4,o=e.attrs,i=o!==null?KE(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!it(r)&&!it(c))return!1;if(s&&it(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!qE(e,c,n)||c===""&&t.length===1){if(it(r))return!1;s=!0}}else if(r&8){if(o===null||!WE(e,o,c,n)){if(it(r))return!1;s=!0}}else{let u=t[++a],l=YE(c,o,dl(e),n);if(l===-1){if(it(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(it(r))return!1;s=!0}}}}return it(r)||s}function it(e){return(e&1)===0}function YE(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 JE(t,e)}function $h(e,t,n=!1){for(let r=0;r<t.length;r++)if(ZE(e,t[r],n))return!0;return!1}function QE(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function KE(e){for(let t=0;t<e.length;t++){let n=e[t];if(ah(n))return t}return e.length}function JE(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 XE(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 Ap(e,t){return e?":not("+t.trim()+")":t}function eI(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!==""&&!it(s)&&(t+=Ap(i,o),o=""),r=s,i=i||!it(r);n++}return o!==""&&(t+=Ap(i,o)),t}function tI(e){return e.map(eI).join(",")}function nI(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(!it(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Ie={},Tt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Tt||{}),rI;function fl(e,t){return rI(e,t)}var ML=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Au=new WeakMap;function Gh(e){return e?e[tn]??e:null}var Mo=new WeakSet;function oI(e,t,n){let r=Au.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=Gh(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),Mo.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 iI(e,t,n){let r=Gh(n),o=Au.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Au.set(e,[{el:t,declarationView:r}])}var cn=new Set,Zs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Zs||{}),Mt=new _(""),xp=new Set;function Wt(e){xp.has(e)||(xp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ys=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),pl=[0,1,2,3],hl=(()=>{class e{ngZone=g(fe);scheduler=g(yt);errorHandler=g(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Mt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&B(P.AfterRenderHooksStart),this.executing=!0;for(let r of pl)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[jn]??=[]).push(n),Hn(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(Zs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ro=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?.[jn];t&&(this.view[jn]=t.filter(n=>n!==this))}};function sI(e,t){let n=t?.injector??g(De);return Wt("NgAfterNextRender"),cI(e,n,t,!0)}function aI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function cI(e,t,n,r){let o=t.get(Ys);o.impl??=t.get(hl);let i=t.get(Mt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Re):null,a=t.get(Or,null,{optional:!0}),c=new Ro(o.impl,aI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var gl=new _("",{factory:()=>{let e=g(ve),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function zh(e,t,n){let r=e.get(gl);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 uI(e,t){let n=e.get(gl);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function lI(e,t){let n=e.get(gl);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function dI(e,t){for(let[n,r]of t)zh(e,r.animateFns)}function Rp(e,t,n,r){let o=e?.[It]?.enter;t!==null&&o&&o.has(n.index)&&dI(r,o)}function Op(e,t,n,r){try{n.get(Do)}catch{return r(!1)}let o=e?.[It];o?.enter?.has(t.index)&&uI(n,o.enter.get(t.index).animateFns);let i=fI(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Qs(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&cn.add(e[Et]),zh(n,()=>pI(e,t,o||void 0,i,r),o||void 0)}function fI(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 pI(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&&Qs(e,t,i),i.length>0){let s=n||e?.[It];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),gI(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&cn.delete(e[Et]),o(!0)})}else e&&cn.delete(e[Et]),o(!1)}function Qs(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&&hI(s,n)}}let r=t.child;for(;r;)Qs(e,r,n),r=r.next}function hI(e,t){let n=e[It];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;)Qs(e,r,t),r=r.next}function gI(e,t,n){t.then(()=>{e[It]?.running===t&&(e[It].running=void 0,cn.delete(e[Et])),n(!0)})}function Fr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ve(o)?c=o:Ut(o)&&(u=!0,o=o[nt]);let l=He(o);e===0&&r!==null?(Rp(a,r,i,n),s==null?Ph(t,r,l):As(t,r,l,s||null,!0)):e===1&&r!==null?(Rp(a,r,i,n),As(t,r,l,s||null,!0),oI(i,l,a)):e===2?(a?.[It]?.leave?.has(i.index)&&iI(i,l,a),Mo.delete(l),Op(a,i,n,d=>{if(Mo.has(l)){Mo.delete(l);return}jh(t,l,u,d)})):e===3&&(Mo.delete(l),Op(a,i,n,()=>{t.destroyNode(l)})),c!=null&&TI(t,e,n,c,i,r,s)}}function mI(e,t){Wh(e,t),t[nt]=null,t[pe]=null}function yI(e,t,n,r,o,i){r[nt]=o,r[pe]=t,Js(e,r,n,1,o,i)}function Wh(e,t){t[rt].changeDetectionScheduler?.notify(9),Js(e,t,t[V],2,null,null)}function vI(e){let t=e[br];if(!t)return su(e[w],e);for(;t;){let n=null;if(Ut(t))n=t[br];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[Be]&&t!==e;)Ut(t)&&su(t[w],t),t=t[oe];t===null&&(t=e),Ut(t)&&su(t[w],t),n=t&&t[Be]}t=n}}function ml(e,t){let n=e[Bn],r=n.indexOf(t);n.splice(r,1)}function Ks(e,t){if(Vn(t))return;let n=t[V];n.destroyNode&&Js(e,t,n,3,null,null),vI(t)}function su(e,t){if(Vn(t))return;let n=C(null);try{t[M]&=-129,t[M]|=256,t[xe]&&kt(t[xe]),EI(e,t),DI(e,t),t[w].type===1&&t[V].destroy();let r=t[nn];if(r!==null&&Ve(t[oe])){r!==t[oe]&&ml(r,t);let o=t[Dt];o!==null&&o.detachView(e)}Du(t)}finally{C(n)}}function DI(e,t){let n=e.cleanup,r=t[Cr];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[Cr]=null);let o=t[Pt];if(o!==null){t[Pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Xt];if(i!==null){t[Xt]=null;for(let s of i)s.destroy()}}function EI(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 Gn)){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 qh(e,t,n){return II(e,t.parent,n)}function II(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[nt];if($t(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===at.None||o===at.Emulated)return null}return Ue(r,n)}function Zh(e,t,n){return CI(e,t,n)}function wI(e,t,n){return e.type&40?Ue(e,n):null}var CI=wI,kp;function yl(e,t,n,r){let o=qh(e,r,t),i=t[V],s=r.parent||t[pe],a=Zh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Np(i,o,n[c],a,!1);else Np(i,o,n,a,!1);kp!==void 0&&kp(i,r,t,n,o)}function No(e,t){if(t!==null){let n=t.type;if(n&3)return Ue(t,e);if(n&4)return xu(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return No(e,r);{let o=e[t.index];return Ve(o)?xu(-1,o):He(o)}}else{if(n&128)return No(e,t.next);if(n&32)return fl(t,e)()||He(e[t.index]);{let r=Yh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=jt(e[Ee]);return No(o,r)}else return No(e,t.next)}}}return null}function Yh(e,t){if(t!==null){let r=e[Ee][pe],o=t.projection;return r.projection[o]}return null}function xu(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return No(r,o)}return t[rn]}function vl(e,t,n,r,o,i,s){for(;n!=null;){let a=r[vt];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Vr(He(c),r),n.flags|=2),!zs(n))if(u&8)vl(e,t,n.child,r,o,i,!1),Fr(t,e,a,o,c,n,i,r);else if(u&32){let l=fl(n,r),d;for(;d=l();)Fr(t,e,a,o,d,n,i,r);Fr(t,e,a,o,c,n,i,r)}else u&16?Qh(e,t,r,n,o,i):Fr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Js(e,t,n,r,o,i){vl(n,r,e.firstChild,t,o,i,!1)}function bI(e,t,n){let r=t[V],o=qh(e,n,t),i=n.parent||t[pe],s=Zh(i,n,t);Qh(r,0,t,n,o,s)}function Qh(e,t,n,r,o,i){let s=n[Ee],c=s[pe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Fr(t,e,n[vt],o,l,r,i,n)}else{let u=c,l=s[oe];vh(r)&&(u.flags|=128),vl(e,t,u,l,o,i,!0)}}function TI(e,t,n,r,o,i,s){let a=r[rn],c=He(r);a!==c&&Fr(t,e,n,i,a,o,s);for(let u=Q;u<r.length;u++){let l=r[u];Js(l[w],l,e,t,i,a)}}function _I(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Tt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Tt.Important),e.setStyle(n,r,o,i))}}function Dl(e,t,n,r,o,i,s,a,c,u,l){let d=W+r,p=d+o,f=SI(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 SI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ie);return n}function MI(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Dl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function El(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[nt]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),Pc(d),d[oe]=d[tn]=e,d[J]=n,d[rt]=s||e&&e[rt],d[V]=a||e&&e[V],d[vt]=c||e&&e[vt]||null,d[pe]=i,d[Et]=aE(),d[Fn]=l,d[xc]=u,d[Ee]=t.type==2?e[Ee]:d,d}function NI(e,t,n){let r=Ue(t,e),o=MI(n),i=e[rt].rendererFactory,s=Il(e,El(e,o,null,Kh(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Kh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Jh(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 Il(e,t){return e[br]?e[Ac][Be]=t:e[br]=t,e[Ac]=t,t}function AI(e=1){Xh($(),b(),wt()+e,!1)}function Xh(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Es(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Is(t,i,0,n)}sn(n)}var Xs=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Xs||{});function zn(e,t,n,r){let o=C(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Xs.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):nh(t,c,i,r)}finally{C(o)}}function eg(e,t,n,r,o){let i=wt(),s=r&2;try{sn(-1),s&&t.length>W&&Xh(e,t,W,!1);let a=s?P.TemplateUpdateStart:P.TemplateCreateStart;B(a,o,n),n(r,o)}finally{sn(i);let a=s?P.TemplateUpdateEnd:P.TemplateCreateEnd;B(a,o,n)}}function ea(e,t,n){FI(e,t,n),(n.flags&64)===64&&PI(e,t,n)}function Vo(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 xI(e,t,n,r){let i=r.get(_h,Th)||n===at.ShadowDom||n===at.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return RI(s),s}function RI(e){OI(e)}var OI=()=>null;function kI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function tg(e,t,n,r,o,i){let s=t[w];if(Tl(e,s,t,n,r)){$t(e)&&LI(t,e.index);return}e.type&3&&(n=kI(n)),ng(e,t,n,r,o,i)}function ng(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 LI(e,t){let n=$e(t,e);n[M]&16||(n[M]|=64)}function FI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;$t(n)&&NI(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ms(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=xo(t,e,s,n);if(Vr(c,t),i!==null&&HI(t,s-r,c,a,n,i),ot(a)){let u=$e(n.index,t);u[J]=xo(t,e,s,n)}}}function PI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Xf();try{sn(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];as(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&jI(c,u)}}finally{sn(-1),as(s)}}function jI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function wl(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];$h(t,i.selectors,!1)&&(r??=[],ot(i)?r.unshift(i):r.push(i))}return r}function BI(e,t,n,r,o,i){let s=Ue(e,t);VI(t[V],s,i,e.value,n,r,o)}function VI(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?kn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function HI(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];zn(r,n,c,u)}}function Cl(e,t,n,r,o){let i=W+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,Sr(e,!0);let c=e.type===2;return c?(Bh(t[V],a,e),($f()===0||Tr(e))&&Vr(a,t),Gf()):Vr(a,t),ds()&&(!c||!zs(e))&&yl(s,t,a,e),e}function bl(e){let t=e;return Wc()?qc():(t=t.parent,Sr(t,!1)),t}function UI(e,t){let n=e[vt];if(!n)return;let r;try{r=n.get(Ct,null)}catch{r=null}r?.(t)}function Tl(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];zn(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];zn(l,u,r,o),a=!0}return a}function $I(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],m=d[p+1];zn(h,n[f],m,i),u=!0}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(zn(r,n[s],o,i),u=!0),u}function GI(e,t){let n=$e(t,e),r=n[w];zI(r,n);let o=n[nt];o!==null&&n[Fn]===null&&(n[Fn]=Sh(o,n[vt])),B(P.ComponentStart);try{_l(r,n,n[J])}finally{B(P.ComponentEnd,n[J])}}function zI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function _l(e,t,n){us(t);try{let r=e.viewQuery;r!==null&&Iu(1,r,n);let o=e.template;o!==null&&eg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Dt]?.finishViewCreation(e),e.staticContentQueries&&Mh(e,t),e.staticViewQueries&&Iu(2,e.viewQuery,n);let i=e.components;i!==null&&WI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,ls()}}function WI(e,t){for(let n=0;n<t.length;n++)GI(e,t[n])}function Ho(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=El(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[nn]=u;let l=e[Dt];return l!==null&&(c[Dt]=l.createEmbeddedView(i)),_l(i,c,n),c}finally{C(o)}}function Hr(e,t){return!t||t.firstChild===null||vh(e)}function Oo(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)&&rg(i,r);let s=n.type;if(s&8)Oo(e,t,n.child,r);else if(s&32){let a=fl(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Yh(t,n);if(Array.isArray(a))r.push(...a);else{let c=jt(t[Ee]);Oo(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function rg(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Oo(r[w],r,o,t)}e[rn]!==e[nt]&&t.push(e[rn])}function og(e){if(e[jn]!==null){for(let t of e[jn])t.impl.addSequence(t);e[jn].length=0}}var ig=[];function qI(e){return e[xe]??ZI(e)}function ZI(e){let t=ig.pop()??Object.create(QI);return t.lView=e,t}function YI(e){e.lView[xe]!==e&&(e.lView=null,ig.push(e))}var QI=X(U({},xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Hn(e.lView)},consumerOnSignalRead(){this.lView[xe]=this}});function KI(e){let t=e[xe]??Object.create(JI);return t.lView=e,t}var JI=X(U({},xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=jt(e.lView);for(;t&&!sg(t[w]);)t=jt(t);t&&jc(t)},consumerOnSignalRead(){this.lView[xe]=this}});function sg(e){return e.type!==2}function ag(e){if(e[Xt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Xt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var XI=100;function cg(e,t=0){let r=e[rt].rendererFactory,o=!1;o||r.begin?.();try{ew(e,t)}finally{o||r.end?.()}}function ew(e,t){let n=Zc();try{po(!0),Ru(e,t);let r=0;for(;wo(e);){if(r===XI)throw new v(103,!1);r++,Ru(e,1)}}finally{po(n)}}function tw(e,t,n,r){if(Vn(t))return;let o=t[M],i=!1,s=!1;us(t);let a=!0,c=null,u=null;i||(sg(e)?(u=qI(t),c=ht(u)):li()===null?(a=!1,u=KI(t),c=ht(u)):t[xe]&&(kt(t[xe]),t[xe]=null));try{Pc(t),Qf(e.bindingStartIndex),n!==null&&eg(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Es(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Is(t,f,0,null),ou(t,0)}if(s||nw(t),ag(t),ug(t,0),e.contentQueries!==null&&Mh(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Es(t,f)}else{let f=e.contentHooks;f!==null&&Is(t,f,1),ou(t,1)}ow(e,t);let d=e.components;d!==null&&dg(t,d,0);let p=e.viewQuery;if(p!==null&&Iu(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Es(t,f)}else{let f=e.viewHooks;f!==null&&Is(t,f,2),ou(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Xi]){for(let f of t[Xi])f();t[Xi]=null}i||(og(t),t[M]&=-73)}catch(l){throw i||Hn(t),l}finally{u!==null&&(Ot(u,c),a&&YI(u)),ls()}}function ug(e,t){for(let n=Eh(e);n!==null;n=Ih(n))for(let r=Q;r<n.length;r++){let o=n[r];lg(o,t)}}function nw(e){for(let t=Eh(e);t!==null;t=Ih(t)){if(!(t[M]&2))continue;let n=t[Bn];for(let r=0;r<n.length;r++){let o=n[r];jc(o)}}}function rw(e,t,n){B(P.ComponentStart);let r=$e(t,e);try{lg(r,n)}finally{B(P.ComponentEnd,r[J])}}function lg(e,t){ns(e)&&Ru(e,t)}function Ru(e,t){let r=e[w],o=e[M],i=e[xe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Dn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)tw(r,e,r.template,e[J]);else if(o&8192){let a=C(null);try{ag(e),ug(e,1);let c=r.components;c!==null&&dg(e,c,1),og(e)}finally{C(a)}}}function dg(e,t,n){for(let r=0;r<t.length;r++)rw(e,t[r],n)}function ow(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)sn(~o);else{let i=o,s=n[++r],a=n[++r];Jf(s,i);let c=t[i];B(P.HostBindingsUpdateStart,c);try{a(2,c)}finally{B(P.HostBindingsUpdateEnd,c)}}}}finally{sn(-1)}}function Sl(e,t){let n=Zc()?64:1088;for(e[rt].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=jt(e);if(_r(e)&&!r)return e;e=r}return null}function fg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function pg(e,t){let n=Q+t;if(n<e.length)return e[n]}function Uo(e,t,n,r=!0){let o=t[w];if(iw(o,t,e,n),r){let s=xu(n,e),a=t[V],c=a.parentNode(e[rn]);c!==null&&yI(o,e[pe],a,t,c,s)}let i=t[Fn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function hg(e,t){let n=ko(e,t);return n!==void 0&&Ks(n[w],n),n}function ko(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[nn];o!==null&&o!==e&&ml(o,r),t>0&&(e[n-1][Be]=r[Be]);let i=vo(e,Q+t);mI(r[w],r);let s=i[Dt];s!==null&&s.detachView(i[w]),r[oe]=null,r[Be]=null,r[M]&=-129}return r}function iw(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],Tc(n,Q+r,t)):(n.push(t),t[Be]=null),t[oe]=n;let s=t[nn];s!==null&&n!==s&&gg(s,t);let a=t[Dt];a!==null&&a.insertView(e),rs(t),t[M]|=128}function gg(e,t){let n=e[Bn],r=t[oe];if(Ut(r))e[M]|=2;else{let o=r[oe][Ee];t[Ee]!==o&&(e[M]|=2)}n===null?e[Bn]=[t]:n.push(t)}var un=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return Oo(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 Vn(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[Io],r=n?n.indexOf(this):-1;r>-1&&(ko(t,r),vo(n,r))}this._attachedToViewContainer=!1}Ks(this._lView[w],this._lView)}onDestroy(t){os(this._lView,t)}markForCheck(){Sl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){rs(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,cg(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=_r(this._lView),n=this._lView[nn];n!==null&&!t&&ml(n,this._lView),Wh(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=_r(this._lView),r=this._lView[nn];r!==null&&!n&&gg(r,this._lView),rs(this._lView)}};var Ur=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=sw;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=Ho(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new un(i)}}return e})();function sw(){return ta(ie(),b())}function ta(e,t){return e.type&4?new Ur(t,e,zr(e,t)):null}function Wr(e,t,n,r,o){let i=e.data[t];if(i===null)i=aw(e,t,n,r,o),Kf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=qf();i.injectorIndex=s===null?-1:s.injectorIndex}return Sr(i,!0),i}function aw(e,t,n,r,o){let i=zc(),s=Wc(),a=s?i:i&&i.parent,c=e.data[t]=uw(e,a,n,t,r,o);return cw(e,c,i,s),c}function cw(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 uw(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Uc()&&(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:Kc(),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 lw(e){let t=e[Rc]??[],r=e[oe][V],o=[];for(let i of t)i.data[bh]!==void 0?o.push(i):dw(i,r);e[Rc]=o}function dw(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Ch];for(;n<o;){let i=r.nextSibling;jh(t,r,!1),r=i,n++}}}var fw=()=>null,pw=()=>null;function xs(e,t){return fw(e,t)}function mg(e,t,n){return pw(e,t,n)}var yg=class{},Wn=class{},vg=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>hw()}return e})();function hw(){let e=b(),t=ie(),n=$e(t.index,e);return(Ut(n)?n:e)[V]}var Dg=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>null})}return e})();function Eg(e){return e.debugInfo?.className||e.type.name||null}var Cs={},Rs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Cs,r);return o!==Cs||n===Cs?o:this.parentInjector.get(t,n,r)}};function Ml(e,t,n){return e[t]=n}function gw(e,t){return e[t]}function ze(e,t,n){if(n===Ie)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ig(e,t,n,r){let o=ze(e,t,n);return ze(e,t+1,r)||o}function jr(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&uE(o,i);let s=$t(e)?$e(e.index,t):t;Sl(s,5);let a=t[J],c=Lp(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=Lp(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function Lp(e,t,n,r){let o=C(null);try{return B(P.OutputStart,t,n),n(r)!==!1}catch(i){return UI(e,i),!1}finally{B(P.OutputEnd,t,n),C(o)}}function wg(e,t,n,r,o,i,s,a){let c=Tr(e),u=!1,l=null;if(!r&&c&&(l=yw(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;dE(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!mw(i)){let h=r?m=>r(He(m[e.index])):e.index;Cg(h,t,n,i,a,f,!1)}}return u}function mw(e){return e.startsWith("animation")||e.startsWith("transition")}function yw(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[Cr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Cg(e,t,n,r,o,i,s){let a=t.firstCreatePass?Vc(t):null,c=Bc(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Fp(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,Os(e,t,p,l[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=!0,Os(e,t,i,r,r,o)),c}function Os(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);Cg(e.index,a,t,o,i,d,!0)}function vw(){Dw()}function Dw(){let e=b(),t=$(),n=ie();if(t.firstCreatePass&&ww(t,n),n.controlDirectiveIndex===-1)return;Wt("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new ks(e,t,n))}function Ew(){Iw()}function Iw(){let e=b(),t=$(),n=Nr();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new ks(e,t,n))}var ks=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];Fp(this.tNode,this.lView,r,t,jr(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];Fp(this.tNode,this.lView,r,n,jr(this.tNode,this.lView,t))}listenToDom(t,n){wg(this.tNode,this.tView,this.lView,void 0,this.lView[V],t,n,jr(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];zn(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];zn(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";$I(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=Pp(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=Pp(i.directive);s!==null&&r.push(...s)}}}return n}};function Pp(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function ww(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}Cw(e,t)}function Cw(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(jp(r,"value")){t.flags|=1024,t.customControlIndex=n;return}if(jp(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 jp(e,t){return bw(e,t)&&Tw(e,t+"Change")}function bw(e,t){return t in e.inputs}function Tw(e,t){return t in e.outputs}var Ou=Symbol("BINDING");var Qn=new _("");function Ls(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=$i(o,a);else if(i==2){let c=a,u=t[++s];r=$i(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ut(e,t=0){let n=b();if(n===null)return A(e,t);let r=ie();return hh(r,n,re(e),t)}function _w(){let e="invalid";throw new Error(e)}function bg(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}Nw(e,t,n,a,i,c,u)}i!==null&&r!==null&&Sw(n,r,i)}function Sw(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 Mw(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Nw(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&&ot(f)&&(c=f,Mw(e,n,p)),yu(Ms(n,t),e,f.type)}Lw(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=Jh(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Br(n.mergedAttrs,f.hostAttrs),xw(e,n,t,d,f),kw(d,f,o),s!==null&&s.has(f)){let[m,y]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,y+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++}Aw(e,n,i)}function Aw(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Bp(0,t,o,r),Bp(1,t,o,r),Hp(t,r,!1);else{let i=n.get(o);Vp(0,t,i,r),Vp(1,t,i,r),Hp(t,r,!0)}}}function Bp(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),Tg(t,i)}}function Vp(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),Tg(t,s)}}function Tg(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Hp(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||dl(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 xw(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Jt(o.type,!0)),s=new Gn(i,ot(o),ut,null);e.blueprint[r]=s,n[r]=s,Rw(e,t,r,Jh(e,n,o.hostVars,Ie),o)}function Rw(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Ow(s)!=a&&s.push(a),s.push(n,r,i)}}function Ow(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function kw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ot(t)&&(n[""]=e)}}function Lw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Nl(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=Ge(u,s),d=Wr(c,e,n,r,l);return i&&bg(c,t,d,Ge(u,a),o),d.mergedAttrs=Br(d.mergedAttrs,d.attrs),d.attrs!==null&&Ls(d,d.attrs,!1),d.mergedAttrs!==null&&Ls(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Al(e,t){ih(e,t),Oc(t)&&e.queries.elementEnd(t)}function Fw(e,t,n,r,o,i){let s=t.consts,a=Ge(s,o),c=Wr(t,e,n,r,a);if(c.mergedAttrs=Br(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&&Ls(c,c.attrs,!1),c.mergedAttrs!==null&&Ls(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var _g=typeof ShadowRoot<"u",Pw=typeof Document<"u";function jw(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Xs.SignalBased)!==0};return o&&(i.transform=o),i})}function Bw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Vw(e,t,n){let r=t instanceof ve?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Rs(n,r):n}function Hw(e){let t=e.get(Wn,null);if(t===null)throw new v(407,!1);let n=e.get(Dg,null),r=e.get(yt,null),o=e.get(Mt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Uw(e,t){let n=Sg(e);return Fh(t,n,n==="svg"?kc:n==="math"?Pf:null)}function $w(e){if(e?.toLowerCase()==="script")throw new v(905,!1)}function Sg(e){return(e.selectors[0][0]||"div").toLowerCase()}var qn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=jw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Bw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=tI(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=Vw(c,o||this.ngModule,t),l=Hw(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Eg(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=Gw(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?xI(u,o,a.encapsulation,n):Uw(a,u);$w(l?.tagName);let d=n.get(Qn,null),p=zw(l,()=>n.get(q,null)??rl());d&&d.addHost(p);let f=s?.some(Up)||i?.some(y=>typeof y!="function"&&y.bindings.some(Up)),h=El(null,c,null,512|Kh(a),null,null,t,u,n,null,Sh(l,n,!0));d&&_g&&p instanceof ShadowRoot&&os(h,()=>{d.removeHost(p)}),h[W]=l,us(h);let m=null;try{let y=Nl(W,h,2,"#host",()=>c.directiveRegistry,!0,0);Bh(u,l,y),Vr(l,h),ea(c,h,y),ol(c,y,h),Al(c,y),r!==void 0&&qw(y,this.ngContentSelectors,r),m=$e(y.index,h),h[J]=m[J],_l(c,h,null)}catch(y){throw m!==null&&Du(m),Du(h),y}finally{B(P.DynamicComponentEnd),ls()}return new Fs(this.componentType,h,!!f)}};function Gw(e,t,n,r){let o=e?["ng-version","22.0.7"]:nI(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ou].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[Ou].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=Wi(d);c.push(p)}return Dl(0,null,Ww(i,s),1,a,c,null,null,null,[o],null)}function zw(e,t){let n=e.getRootNode?.();return Pw&&n instanceof Document?n.head:n&&_g&&n instanceof ShadowRoot?n:t().head}function Ww(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 Up(e){let t=e[Ou].kind;return t==="input"||t==="twoWay"}var Fs=class extends yg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=es(n[w],W),this.location=zr(this._tNode,n),this.instance=$e(this._tNode.index,n)[J],this.hostView=this.changeDetectorRef=new un(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=Tl(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=$e(r.index,o);Sl(s,1)}get injector(){return new an(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function qw(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 qr=(()=>{class e{static __NG_ELEMENT_ID__=Zw}return e})();function Zw(){let e=ie();return Mg(e,b())}var ku=class e extends qr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zr(this._hostTNode,this._hostLView)}get injector(){return new an(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ju(this._hostTNode,this._hostLView);if(ch(t)){let n=_s(t,this._hostLView),r=Ts(t),o=n[w].data[r+8];return new an(o,n)}else return new an(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$p(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=xs(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Hr(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 qn(Vt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let D=this.parentInjector.get(ve,null);D&&(i=D)}let p=Vt(l.componentType??{}),f=xs(this._lContainer,p?.id??null),h=f?.firstChild??null,m=l.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,c,Hr(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Bf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[oe],u=new e(c,c[pe],c[oe]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Uo(s,o,i,r),t.attachToViewContainerRef(),Tc(au(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$p(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ko(this._lContainer,n);r&&(vo(au(this._lContainer),n),Ks(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=ko(this._lContainer,n);return r&&vo(au(this._lContainer),n)!=null?new un(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function $p(e){return e[Io]}function au(e){return e[Io]||(e[Io]=[])}function Mg(e,t){let n,r=t[e.index];return Ve(r)?n=r:(n=fg(r,t,null,e),t[e.index]=n,Il(t,n)),Qw(n,t,e,r),new ku(n,e,t)}function Yw(e,t){let n=e[V],r=n.createComment(""),o=Ue(t,e),i=n.parentNode(o);return As(n,i,r,n.nextSibling(o),!1),r}var Qw=Xw,Kw=()=>!1;function Jw(e,t,n){return Kw(e,t,n)}function Xw(e,t,n,r){if(e[rn])return;let o;n.type&8?o=He(r):o=Yw(t,n),e[rn]=o}var Lu=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Fu=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++)Rl(t,n).matches!==null&&this.queries[n].setDirty()}},Ps=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=iC(t):this.predicate=t}},Pu=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)}},ju=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,eC(n,i)),this.matchTNodeWithReadOption(t,n,ws(n,t,i,!1,!1))}else r===Ur?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ws(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===_t||o===qr||o===Ur&&n.type&4)this.addMatch(n.index,-2);else{let i=ws(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 eC(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 tC(e,t){return e.type&11?zr(e,t):e.type&4?ta(e,t):null}function nC(e,t,n,r){return n===-1?tC(t,e):n===-2?rC(e,t,r):xo(e,e[w],n,t)}function rC(e,t,n){if(n===_t)return zr(t,e);if(n===Ur)return ta(t,e);if(n===qr)return Mg(t,e)}function Ng(e,t,n,r){let o=t[Dt].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(nC(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Bu(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Ng(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[nn]===p[oe]&&Bu(p[w],p,u,r)}if(l[Bn]!==null){let d=l[Bn];for(let p=0;p<d.length;p++){let f=d[p];Bu(f[w],f,u,r)}}}}}return r}function xl(e,t){return e[Dt].queries[t].queryList}function Ag(e,t,n){let r=new Ns((n&4)===4);return Uf(e,t,r,r.destroy),(t[Dt]??=new Fu).queries.push(new Lu(r))-1}function oC(e,t,n){let r=$();return r.firstCreatePass&&(Rg(r,new Ps(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ag(r,b(),t)}function xg(e,t,n,r){let o=$();if(o.firstCreatePass){let i=ie();Rg(o,new Ps(t,n,r),i.index),sC(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ag(o,b(),n)}function iC(e){return e.split(",").map(t=>t.trim())}function Rg(e,t,n){e.queries===null&&(e.queries=new Pu),e.queries.track(new ju(t,n))}function sC(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 Rl(e,t){return e.queries.getByIndex(t)}function Og(e,t){let n=e[w],r=Rl(n,t);return r.crossesNgTemplate?Bu(n,e,t,[]):Ng(n,e,r,t)}function Ol(e,t,n){let r,o=no(()=>{r._dirtyCounter();let i=aC(r,e);if(t&&i===void 0)throw new v(-951,!1);return i});return r=o[Y],r._dirtyCounter=Te(0),r._flatValue=void 0,o}function kl(e){return Ol(!0,!1,e)}function Ll(e){return Ol(!0,!0,e)}function kg(e){return Ol(!1,!1,e)}function Lg(e,t){let n=e[Y];n._lView=b(),n._queryIndex=t,n._queryList=xl(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function aC(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:de;let o=xl(n,r),i=Og(n,r);return o.reset(i,yh),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function $o(e){return!!e&&typeof e.then=="function"}function na(e){return!!e&&typeof e.subscribe=="function"}var Zn=class{},Fg=class{};var js=class extends Zn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=If(t);this._bootstrapComponents=GE(i.bootstrap),this._r3Injector=Jc(t,n,[{provide:Zn,useValue:this},...r],mo(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)}},Bs=class extends Fg{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new js(this.moduleType,t,[])}};var Lo=class extends Zn{injector;instance=null;constructor(t){super();let n=new xn([...t.providers,{provide:Zn,useValue:this}],t.parent||Ir(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Pg(e,t,n=null){return new Lo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var cC=(()=>{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=Sc(!1,n.type),o=r.length>0?Pg([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(ve))})}return e})();function uC(e){return Gr(()=>{let t=jg(e),n=X(U({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==tl.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(cC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||at.Emulated,styles:e.styles||de,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Wt("NgStandalone"),Bg(n);let r=e.dependencies;return n.directiveDefs=Gp(r,lC),n.pipeDefs=Gp(r,wf),n.id=pC(n),n})}function lC(e){return Vt(e)||Wi(e)}function Zr(e){return Gr(()=>({type:e.type,bootstrap:e.bootstrap||de,declarations:e.declarations||de,imports:e.imports||de,exports:e.exports||de,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function dC(e,t){if(e==null)return en;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=Xs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function fC(e){if(e==null)return en;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ln(e){return Gr(()=>{let t=jg(e);return Bg(t),t})}function ra(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 jg(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||en,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||de,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:dC(e.inputs,t),outputs:fC(e.outputs),debugInfo:null}}function Bg(e){e.features?.forEach(t=>t(e))}function Gp(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 pC(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 Fl=new _("");function hC(e){return Ht([{provide:Fl,multi:!0,useValue:e}])}var Pl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Fl,{optional:!0})??[];injector=g(De);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=wr(this.injector,o);if($o(i))n.push(i);else if(na(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=ct({token:e,factory:e.\u0275fac})}return e})();function gC(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}}function mC(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=yC,n.hostDirectives=r?e.map(Vu):[e]):r?n.hostDirectives.unshift(...e.map(Vu)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function yC(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,Vg(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&ot(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)=>{vC(s.declaredInputs,i.inputs)}),[t,r,o]}function Vg(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)zp(Vu(s),t,n,r)}else zp(o,t,n,r)}function zp(e,t,n,r){let o=Wi(e.directive);if(Vg(o,t,n,r),n.has(o)){let i=n.get(o);Wp(i,e.inputs,"input"),Wp(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function Wp(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 Vu(e){return typeof e=="function"?{directive:re(e),inputs:{},outputs:{}}:{directive:re(e.directive),inputs:qp(e.inputs),outputs:qp(e.outputs)}}function qp(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 vC(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function DC(e){return Object.getPrototypeOf(e.prototype).constructor}function oa(e){let t=DC(e.type),n=!0,r=[e];for(;t;){let o;if(ot(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=cu(e.inputs),s.declaredInputs=cu(e.declaredInputs),s.outputs=cu(e.outputs);let a=o.hostBindings;a&&bC(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&wC(e,c),u&&CC(e,u),EC(e,o),Ef(e.outputs,o.outputs),ot(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===oa&&(n=!1)}}t=Object.getPrototypeOf(t)}IC(r)}function EC(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 IC(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=Br(o.hostAttrs,n=Br(n,o.hostAttrs))}}function cu(e){return e===en?{}:e===de?[]:e}function wC(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function CC(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function bC(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Hg(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Br(e.mergedAttrs,e.attrs);let l=e.tView=Dl(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),Sr(e,!1);let c=_C(n,t,e,r);ds()&&yl(n,t,c,e),Vr(c,t);let u=fg(c,t,c,e);t[r+W]=u,Il(t,u),Jw(u,e,t)}function TC(e,t,n,r,o,i,s,a,c,u,l){let d=n+W,p;return t.firstCreatePass?(p=Wr(t,d,4,s||null,a||null),is()&&bg(t,e,p,Ge(t.consts,u),wl),ih(t,p)):p=t.data[d],Hg(p,e,t,n,r,o,i,c),Tr(p)&&ea(t,e,p),u!=null&&Vo(e,p,l),p}function Fo(e,t,n,r,o,i,s,a,c,u,l){let d=n+W,p;if(t.firstCreatePass){if(p=Wr(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 Hg(p,e,t,n,r,o,i,c),u!=null&&Vo(e,p,l),p}function Ug(e,t,n,r,o,i,s,a){let c=b(),u=$(),l=Ge(u.consts,i);return TC(c,u,e,t,n,r,o,l,void 0,s,a),Ug}var _C=SC;function SC(e,t,n,r){return bo(!0),t[V].createComment("")}var $g=(()=>{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 jl=new _("");var ia=new _("");function Gg(){ka(()=>{let e="";throw new v(600,e)})}var MC=10;var Yr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Ct);afterRenderManager=g(Ys);zonelessEnabled=g(_o);rootEffectScheduler=g(ps);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new me;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Un);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ae(n=>!n))}constructor(){g(Mt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=De.NULL){return this._injector.get(fe).run(()=>{if(B(P.BootstrapComponentStart),!this._injector.get(Pl).done){let D="";throw new v(405,D)}let a=Vt(n),c=this._injector.get(Zn),u=new qn(a,c);this.componentTypes.push(n);let{hostElement:l,directives:d,bindings:p}=NC(r),f=l||u.selector,h=u.create(o,[],f,c.injector,d,p),m=h.location.nativeElement,y=h.injector.get(jl,null);return y?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),Ao(this.components,h),y?.unregisterApplication(m)}),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(Zs.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(Wn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<MC;){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&&!wo(o))continue;let i=r&&!this.zonelessEnabled?0:1;cg(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})=>wo(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;Ao(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(ia,[]).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),()=>Ao(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=ct({token:e,factory:e.\u0275fac})}return e})();function NC(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Ao(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zg(e,t,n,r){let o=b(),i=on();if(ze(o,i,t)){let s=$(),a=Nr();BI(a,o,e,t,n,r)}return zg}var Hu=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 uu(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function AC(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=uu(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],m=uu(a,f,u,h,n);if(m!==0){m<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),D=n(a,f),F=n(s,d);if(Object.is(F,D)){let ce=n(u,h);Object.is(ce,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Vs,i??=Yp(e,s,a,n),Uu(e,o,s,F))e.updateValue(s,d),s++,a++;else if(i.has(F))o.set(y,e.detach(s)),a--;else{let ce=e.create(s,t[s]);e.attach(s,ce),s++,a++}}for(;s<=u;)Zp(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=uu(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new Vs,i??=Yp(e,s,a,n);let h=n(s,p);if(Uu(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 m=n(s,d);o.set(m,e.detach(s)),a--}}}for(;!l.done;)Zp(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 Uu(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Zp(e,t,n,r,o){if(Uu(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Yp(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 Vs=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 xC(e,t,n,r,o,i,s,a){Wt("NgControlFlow");let c=b(),u=$(),l=Ge(u.consts,i);return Fo(c,u,e,t,n,r,o,l,256,s,a),Bl}function Bl(e,t,n,r,o,i,s,a){Wt("NgControlFlow");let c=b(),u=$(),l=Ge(u.consts,i);return Fo(c,u,e,t,n,r,o,l,512,s,a),Bl}function RC(e,t){Wt("NgControlFlow");let n=b(),r=on(),o=n[r]!==Ie?n[r]:-1,i=o!==-1?Hs(n,W+o):void 0,s=0;if(ze(n,r,e)){let a=C(null);try{if(i!==void 0&&hg(i,s),e!==-1){let c=W+e,u=Hs(n,c),l=Wu(n[w],c),d=mg(u,l,n),p=Ho(n,l,t,{dehydratedView:d});Uo(u,p,s,Hr(l,d))}}finally{C(a)}}else if(i!==void 0){let a=pg(i,s);a!==void 0&&(a[J]=t)}}var $u=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 OC(e){return e}function kC(e,t){return t}var Gu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function LC(e,t,n,r,o,i,s,a,c,u,l,d,p){Wt("NgControlFlow");let f=b(),h=$(),m=c!==void 0,y=b(),D=a?s.bind(y[Ee][J]):s,F=new Gu(m,D);y[W+e]=F,Fo(f,h,e+1,t,n,r,o,Ge(h.consts,i),256),m&&Fo(f,h,e+2,c,u,l,d,Ge(h.consts,p),512)}var zu=class extends Hu{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[Fn];this.needsIndexUpdate||=t!==this.length,Uo(this.lContainer,n,t,Hr(this.templateTNode,r)),PC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,jC(this.lContainer,t),BC(this.lContainer,t)}create(t,n){let r=xs(this.lContainer,this.templateTNode.tView.ssrId);return Ho(this.hostLView,this.templateTNode,new $u(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Ks(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 VC(this.lContainer,t)}};function FC(e){let t=C(null),n=wt();try{let r=b(),o=r[w],i=r[n],s=n+1,a=Hs(r,s);if(i.liveCollection===void 0){let u=Wu(o,s);i.liveCollection=new zu(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(AC(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=on(),l=c.length===0;if(ze(r,u,l)){let d=n+2,p=Hs(r,d);if(l){let f=Wu(o,d),h=mg(p,f,r),m=Ho(r,f,void 0,{dehydratedView:h});Uo(p,m,0,Hr(f,h))}else o.firstUpdatePass&&lw(p),hg(p,0)}}}finally{C(t)}}function Hs(e,t){return e[t]}function PC(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n],o=r?r[It]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[vt];lI(i,o),cn.delete(r[Et]),o.detachedLeaveAnimationFns=void 0}}function jC(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n],o=r?r[It]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function BC(e,t){return ko(e,t)}function VC(e,t){return pg(e,t)}function Wu(e,t){return es(e,t)}function Wg(e,t,n){let r=b(),o=on();if(ze(r,o,t)){let i=$(),s=Nr();tg(s,r,e,t,r[V],n)}return Wg}function qu(e,t,n,r,o){Tl(t,e,n,o?"class":"style",r)}function Us(e,t,n,r){let o=b(),i=o[w],s=e+W,a=i.firstCreatePass?Nl(s,o,2,t,wl,is(),n,r):i.data[s];if($t(a)){let c=o[rt].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Eg(u),()=>(Qp(e,t,o,a,r),Us))}}return Qp(e,t,o,a,r),Us}function Qp(e,t,n,r,o){if(Cl(r,n,e,t,Yg),Tr(r)){let i=n[w];ea(i,n,r),ol(i,r,n)}o!=null&&Vo(n,r)}function Vl(){let e=$(),t=ie(),n=bl(t);return e.firstCreatePass&&Al(e,n),$c(n)&&Gc(),Hc(),n.classesWithoutHost!=null&&HD(n)&&qu(e,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&UD(n)&&qu(e,n,b(),n.stylesWithoutHost,!1),Vl}function qg(e,t,n,r){return Us(e,t,n,r),Vl(),qg}function Hl(e,t,n,r){let o=b(),i=o[w],s=e+W,a=i.firstCreatePass?Fw(s,i,2,t,n,r):i.data[s];return Cl(a,o,e,t,Yg),r!=null&&Vo(o,a),Hl}function Ul(){let e=ie(),t=bl(e);return $c(t)&&Gc(),Hc(),Ul}function Zg(e,t,n,r){return Hl(e,t,n,r),Ul(),Zg}var Yg=(e,t,n,r,o)=>(bo(!0),Fh(t[V],r,Kc()));function $l(e,t,n){let r=b(),o=r[w],i=e+W,s=o.firstCreatePass?Nl(i,r,8,"ng-container",wl,is(),t,n):o.data[i];if(Cl(s,r,e,"ng-container",HC),Tr(s)){let a=r[w];ea(a,r,s),ol(a,s,r)}return n!=null&&Vo(r,s),$l}function Gl(){let e=$(),t=ie(),n=bl(t);return e.firstCreatePass&&Al(e,n),Gl}function Qg(e,t,n){return $l(e,t,n),Gl(),Qg}var HC=(e,t,n,r,o)=>(bo(!0),FE(t[V],""));function UC(){return b()}function Kg(e,t,n){let r=b(),o=on();if(ze(r,o,t)){let i=$(),s=Nr();ng(s,r,e,t,r[V],n)}return Kg}var So=void 0;function $C(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var GC=["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"]],So,[["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"]],So,[["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}",So,So,So],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",$C],lu=Object.create(null);function Oe(e){let t=zC(e),n=Kp(t);if(n)return n;let r=t.split("-")[0];if(n=Kp(r),n)return n;if(r==="en")return GC;throw new v(701,!1)}function Kp(e){if(!(e in lu)){let t=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e];return t!==void 0&&(lu[e]=t),t}return lu[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 zC(e){return e.toLowerCase().replace(/_/g,"-")}var Go="en-US";var WC=Go;function Jg(e){typeof e=="string"&&(WC=e.toLowerCase().replace(/_/g,"-"))}function Xg(e,t,n){let r=b(),o=$(),i=ie();return em(o,r,r[V],i,e,t,n),Xg}function em(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=jr(r,t,i),wg(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??=jr(r,t,i),Os(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=jr(r,t,i),Os(r,t,d,o,o,c)}}function qC(e=1){return op(e)}function ZC(e,t){let n=null,r=QE(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?$h(e,i,!0):XE(r,i))return o}return n}function YC(e){let t=b()[Ee][pe];if(!t.projection){let n=e?e.length:1,r=t.projection=Mf(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ZC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function QC(e,t=0,n,r,o,i){let s=b(),a=$(),c=r?e+1:null;c!==null&&Fo(s,a,c,r,o,i,null,n);let u=Wr(a,W+e,16,null,n||null);u.projection===null&&(u.projection=t),qc();let d=!s[Fn]||Uc();s[Ee][pe].projection[u.projection]===null&&c!==null?KC(s,a,c):d&&!zs(u)&&bI(a,s,u)}function KC(e,t,n){let r=W+n,o=t.data[r],i=e[r],s=xs(i,o.tView.ssrId),a=Ho(e,o,void 0,{dehydratedView:s});Uo(i,a,0,Hr(o,s))}function tm(e,t,n,r){return xg(e,t,n,r),tm}function JC(e){let t=b(),n=$(),r=cs();Co(r+1);let o=Rl(n,r);if(e.dirty&&jf(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Og(t,r);e.reset(i,yh),e.notifyOnChanges()}return!0}return!1}function XC(){return xl(b(),cs())}function nm(e,t,n,r,o){return Lg(t,xg(e,n,r,o)),nm}function rm(e,t,n,r){return Lg(e,oC(t,n,r)),rm}function eb(e=1){Co(cs()+e)}function tb(e){let t=Zf();return ts(t,W+e)}function Ds(e,t){return e<<17|t<<2}function Yn(e){return e>>17&32767}function nb(e){return(e&2)==2}function rb(e,t){return e&131071|t<<17}function Zu(e){return e|2}function $r(e){return(e&131068)>>2}function du(e,t){return e&-131069|t<<2}function ob(e){return(e&1)===1}function Yu(e){return e|1}function ib(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Yn(s),c=$r(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Er(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Yn(e[a+1]);e[r+1]=Ds(p,a),p!==0&&(e[p+1]=du(e[p+1],r)),e[a+1]=rb(e[a+1],r)}else e[r+1]=Ds(a,0),a!==0&&(e[a+1]=du(e[a+1],r)),a=r;else e[r+1]=Ds(c,0),a===0?a=r:e[c+1]=du(e[c+1],r),c=r;u&&(e[r+1]=Zu(e[r+1])),Jp(e,l,r,!0),Jp(e,l,r,!1),sb(t,l,e,r,i),s=Ds(a,c),i?t.classBindings=s:t.styleBindings=s}function sb(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Er(i,t)>=0&&(n[r+1]=Yu(n[r+1]))}function Jp(e,t,n,r){let o=e[n+1],i=t===null,s=r?Yn(o):$r(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];ab(c,t)&&(a=!0,e[s+1]=r?Yu(u):Zu(u)),s=r?Yn(u):$r(u)}a&&(e[n+1]=r?Zu(o):Yu(o))}function ab(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Er(e,t)>=0:!1}var st={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function cb(e){return e.substring(st.key,st.keyEnd)}function ub(e){return lb(e),om(e,im(e,0,st.textEnd))}function om(e,t){let n=st.textEnd;return n===t?-1:(t=st.keyEnd=db(e,st.key=t,n),im(e,t,n))}function lb(e){st.key=0,st.keyEnd=0,st.value=0,st.valueEnd=0,st.textEnd=e.length}function im(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function db(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function sm(e,t,n){return am(e,t,n,!1),sm}function sa(e,t){return am(e,t,null,!0),sa}function fb(e){hb(Eb,pb,e,!0)}function pb(e,t){for(let n=ub(t);n>=0;n=om(t,n))Ki(e,cb(t),!0)}function am(e,t,n,r){let o=b(),i=$(),s=ss(2);if(i.firstUpdatePass&&um(i,e,s,r),t!==Ie&&ze(o,s,t)){let a=i.data[wt()];lm(i,a,o,o[V],e,o[s+1]=wb(t,n),r,s)}}function hb(e,t,n,r){let o=$(),i=ss(2);o.firstUpdatePass&&um(o,null,i,r);let s=b();if(n!==Ie&&ze(s,i,n)){let a=o.data[wt()];if(dm(a,r)&&!cm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=$i(c,n||"")),qu(o,a,s,n,r)}else Ib(o,a,s,s[V],s[i+1],s[i+1]=Db(e,t,n),r,i)}}function cm(e,t){return t>=e.expandoStartIndex}function um(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[wt()],s=cm(e,n);dm(i,r)&&t===null&&!s&&(t=!1),t=gb(o,i,t,r),ib(o,i,t,n,s,r)}}function gb(e,t,n,r){let o=ep(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=fu(null,e,t,n,r),n=Po(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=fu(o,e,t,n,r),i===null){let c=mb(e,t,r);c!==void 0&&Array.isArray(c)&&(c=fu(null,e,t,c[1],r),c=Po(c,t.attrs,r),yb(e,t,r,c))}else i=vb(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function mb(e,t,n){let r=n?t.classBindings:t.styleBindings;if($r(r)!==0)return e[Yn(r)]}function yb(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Yn(o)]=r}function vb(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Po(r,s,n)}return Po(r,t.attrs,n)}function fu(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=Po(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Po(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]),Ki(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Db(e,t,n){if(n==null||n==="")return de;let r=[],o=We(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Eb(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ki(e,r,n)}function Ib(e,t,n,r,o,i,s,a){o===Ie&&(o=de);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,m;l===d?(c+=2,u+=2,p!==f&&(h=d,m=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,m=f),h!==null&&lm(e,t,n,r,h,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function lm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=ob(u)?Xp(c,t,n,o,$r(u),s):void 0;if(!$s(l)){$s(i)||nb(u)&&(i=Xp(c,null,n,o,a,s));let d=Lc(wt(),n);_I(r,s,d,o,i)}}function Xp(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===Ie&&(p=d?de:void 0);let f=d?Ji(p,r):l===r?p:void 0;if(u&&!$s(f)&&(f=Ji(c,r)),$s(f)&&(a=f,s))return a;let h=e[o+1];o=s?Yn(h):$r(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ji(c,r))}return a}function $s(e){return e!==void 0}function wb(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=mo(We(e)))),e}function dm(e,t){return(e.flags&(t?8:16))!==0}function Cb(e,t=""){let n=b(),r=$(),o=e+W,i=r.firstCreatePass?Wr(r,o,1,t,null):r.data[o],s=bb(r,n,i,t);n[o]=s,ds()&&yl(r,n,s,i),Sr(i,!1)}var bb=(e,t,n,r)=>(bo(!0),kE(t[V],r));function Tb(e,t,n,r=""){return ze(e,on(),n)?t+kn(n)+r:Ie}function _b(e,t,n,r,o,i=""){let s=Yf(),a=Ig(e,s,n,o);return ss(2),a?t+kn(n)+r+kn(o)+i:Ie}function fm(e){return zl("",e),fm}function zl(e,t,n){let r=b(),o=Tb(r,e,t,n);return o!==Ie&&hm(r,wt(),o),zl}function pm(e,t,n,r,o){let i=b(),s=_b(i,e,t,n,r,o);return s!==Ie&&hm(i,wt(),s),pm}function hm(e,t,n){let r=Lc(t,e);LE(e[V],r,n)}function gm(e,t,n){hs(t)&&(t=t());let r=b(),o=on();if(ze(r,o,t)){let i=$(),s=Nr();tg(s,r,e,t,r[V],n)}return gm}function Sb(e,t){let n=hs(e);return n&&e.set(t),n}function mm(e,t){let n=b(),r=$(),o=ie();return em(r,n,n[V],o,e,t),mm}function eh(e,t,n){let r=$();r.firstCreatePass&&ym(t,r.data,r.blueprint,ot(e),n)}function ym(e,t,n,r,o){if(e=re(e),Array.isArray(e))for(let i=0;i<e.length;i++)ym(e[i],t,n,r,o);else{let i=$(),s=b(),a=ie(),c=An(e)?e:re(e.provide),u=Nc(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(An(e)||!e.multi){let f=new Gn(u,o,ut,null),h=hu(c,t,o?l:l+p,d);h===-1?(yu(Ms(a,s),i,c),pu(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=hu(c,t,l+p,d),h=hu(c,t,l,l+p),m=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!m){yu(Ms(a,s),i,c);let D=Ab(o?Nb:Mb,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=D),pu(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=vm(n[o?h:f],u,!o&&r);pu(i,e,f>-1?f:h,D)}!o&&r&&y&&n[h].componentProviders++}}}function pu(e,t,n,r){let o=An(t),i=kf(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 vm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function hu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Mb(e,t,n,r,o){return Qu(this.multi,[])}function Nb(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=xo(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 Ab(e,t,n,r,o,i){let s=new Gn(e,n,ut,null);return s.multi=[],s.index=t,s.componentProviders=0,vm(s,o,r&&!n),s}function Wl(e,t){return n=>{n.providersResolver=(r,o)=>eh(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>eh(r,o?o(t):t,!0))}}function xb(e,t){let n=Mr()+e,r=b();return r[n]===Ie?Ml(r,n,t()):gw(r,n)}function Rb(e,t,n){return Em(b(),Mr(),e,t,n)}function Ob(e,t,n,r){return Im(b(),Mr(),e,t,n,r)}function Dm(e,t){let n=e[t];return n===Ie?void 0:n}function Em(e,t,n,r,o,i){let s=t+n;return ze(e,s,o)?Ml(e,s+1,i?r.call(i,o):r(o)):Dm(e,s+1)}function Im(e,t,n,r,o,i,s){let a=t+n;return Ig(e,a,o,i)?Ml(e,a+2,s?r.call(s,o,i):r(o,i)):Dm(e,a+2)}function kb(e,t){let n=$(),r,o=e+W;n.firstCreatePass?(r=Lb(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=Jt(r.type,!0)),s,a=ye(ut);try{let c=Ss(!1),u=i();return Ss(c),Fc(n,b(),o,u),u}finally{ye(a)}}function Lb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Fb(e,t,n){let r=e+W,o=b(),i=ts(o,r);return wm(o,r)?Em(o,Mr(),t,i.transform,n,i):i.transform(n)}function Pb(e,t,n,r){let o=e+W,i=b(),s=ts(i,o);return wm(i,o)?Im(i,Mr(),t,s.transform,n,r,s):s.transform(n,r)}function wm(e,t){return e[w].data[t].pure}function jb(e,t){return ta(e,t)}var Cm=(()=>{class e{applicationErrorHandler=g(Ct);appRef=g(Yr);taskService=g(Un);ngZone=g(fe);zonelessEnabled=g(_o);tracing=g(Mt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ue;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ho):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(nu,{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?up:Xc;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(ho+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=ct({token:e,factory:e.\u0275fac})}return e})();function bm(){return[{provide:yt,useExisting:Cm},{provide:fe,useClass:go},{provide:_o,useValue:!0}]}var Bb=(()=>{class e{compileModuleSync(n){return new Bs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ct({token:e,factory:e.\u0275fac})}return e})();function Vb(){return typeof $localize<"u"&&$localize.locale||Go}var zo=new _("",{factory:()=>g(zo,{optional:!0,skipSelf:!0})||Vb()});var Wo=class{destroyed=!1;listeners=null;errorHandler=g(Pe,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=g(Re);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(Bt(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&&Hb(this.listeners)),C(n),this.isEmitting=!1}}};function Hb(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}var Jl=new _("");function qe(e,t){return no(e,t?.equal)}function se(e){return Pd(e)}var aa=class extends Error{dependency;constructor(t){super("Dependency error",{cause:t.error()}),this.name="ResourceDependencyError",this.dependency=t}},Kn=class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e("IDLE");static LOADING=new e("LOADING")},Ub=e=>e;function Jn(e,t){if(typeof e=="function"){let n=Ba(e,Ub,t?.equal);return Tm(n,t?.debugName)}else{let n=Ba(e.source,e.computation,e.equal);return Tm(n,e.debugName)}}function Tm(e,t){let n=e[Y],r=e;return r.set=o=>Ld(n,o),r.update=o=>Fd(n,o),r.asReadonly=Ar.bind(e),r}var ql=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=Ar,this.isLoading=qe(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=qe(()=>this.status()==="error");update(t){this.set(t(se(this.value)))}isValueDefined=qe(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=qe(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},qo=class extends ql{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(Nm())throw Am();super(qe(()=>{let l=this.state().stream?.();if(!l||this.state().status==="loading"&&this.error())return r;if(!Zl(l))throw new ca(this.error());return l.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.transferCacheKey=a;let u=s.get(Jl,void 0,{optional:!0})??{isActive:!1};this.transferState=s.get(Rr,void 0,{optional:!0})??void 0,this.extRequest=Jn(()=>{try{return Ql(!0),{request:t(Gb),reload:0}}catch(l){return Kl(l),l===Kn.IDLE?{status:"idle",reload:0}:l===Kn.LOADING?{status:"loading",reload:0}:{error:l,reload:0}}finally{Ql(!1)}},void 0),this.state=Jn({source:this.extRequest,computation:(l,d)=>{let{request:p,status:f,error:h}=l,m;if(h)f="resolved",m=Te({error:Zo(h)},void 0);else if(!f)if(d)f=p===void 0?"idle":"loading",d.value.extRequest.request===p&&(m=d.value.stream);else{let y=this.transferState,D=this.transferCacheKey;u.isActive&&D&&y&&p!==void 0&&y.hasKey(D)&&(m=Te({value:y.get(D,r)},void 0)),m||(m=c?.(l.request)),c=void 0,f=p===void 0?"idle":m?"resolved":"loading"}return{extRequest:l,status:f,previousStatus:d?_m(d.value):"idle",stream:m}}}),this.effectRef=ru(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(Lr),this.unregisterOnDestroy=s.get(Re).onDestroy(()=>this.destroy()),this.status=qe(()=>_m(this.state()),void 0),this.error=qe(()=>{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:Te({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(kr(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(Kl(s),i.aborted||se(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:Te({error:Zo(s)},void 0)})}finally{o?.(),o=void 0}}abortInProgressLoad(){se(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function _m(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 Zo(e){return $b(e)?e:new Yl(e)}function $b(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var ca=class extends Error{constructor(t){super(t.message,{cause:t})}},Yl=class extends Error{constructor(t){super(String(t),{cause:t})}};function Sm(e){switch(e.status()){case"idle":throw Kn.IDLE;case"error":throw new aa(e);case"loading":case"reloading":throw Kn.LOADING}return e.value()}var Gb={chain:Sm},Mm=!1;function Nm(){return Mm}function Ql(e){Mm=e}function Am(){return new v(992,!1)}function Kl(e){if(e instanceof v&&e.code===992)throw e}var la=Symbol("InputSignalNode#UNSET"),Pm=X(U({},ro),{transformFn:void 0,applyValueToInputSignal(e,t){Qt(e,t)}});function jm(e,t){let n=Object.create(Pm);n.value=e,n.transformFn=t?.transform;function r(){if(Rt(n),n.value===la){let o=null;throw new v(-950,o)}return n.value}return r[Y]=n,r}var xm=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Xu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function pV(e){return oT(e)?e.default:e}function oT(e){return e&&typeof e=="object"&&"default"in e}function Bm(e){return new Wo}function Rm(e,t){return jm(e,t)}function iT(e){return jm(la,e)}var Xn=(Rm.required=iT,Rm);function Vm(e,t){let n=Object.create(Pm),r=new Wo;n.value=e;function o(){return Rt(n),Om(n.value),n.value}return o[Y]=n,o.asReadonly=Ar.bind(o),o.set=i=>{n.equal(n.value,i)||(Qt(n,i),r.emit(i))},o.update=i=>{Om(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Om(e){if(e===la)throw new v(952,!1)}function km(e,t){return Vm(e,t)}function sT(e){return Vm(la,e)}var hV=(km.required=sT,km);function Lm(e,t){return kl(t)}function aT(e,t){return Ll(t)}var gV=(Lm.required=aT,Lm);function Fm(e,t){return kl(t)}function cT(e,t){return Ll(t)}var mV=(Fm.required=cT,Fm);function yV(e,t){return kg(t)}var uT=1e4;var vV=uT-1e3;var Hm=(()=>{class e{static __NG_ELEMENT_ID__=lT}return e})();function lT(e){return dT(ie(),b(),(e&16)===16)}function dT(e,t,n){if($t(e)&&!n){let r=$e(e.index,t);return new un(r,r)}else if(e.type&175){let r=t[Ee];return new un(r,t)}return null}var ed=new _(""),fT=new _("");function Yo(e){return!e.moduleRef}function pT(e){let t=Yo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(fe);return n.run(()=>{Yo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ct),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Yo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ed);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ed);s.add(i),e.moduleRef.onDestroy(()=>{Ao(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return gT(r,n,()=>{let i=t.get(Un),s=i.add(),a=t.get(Pl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(zo,Go);if(Jg(c||Go),!t.get(fT,!0))return Yo(e)?t.get(Yr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Yo(e)){let l=t.get(Yr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return hT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var hT;function gT(e,t,n){try{let r=n();return $o(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ua=null;function mT(e=[],t){return De.create({name:t,providers:[{provide:Eo,useValue:"platform"},{provide:ed,useValue:new Set([()=>ua=null])},...e]})}function yT(e=[]){if(ua)return ua;let t=mT(e);return ua=t,Gg(),vT(t),t}function vT(e){let t=e.get(fs,null);wr(e,()=>{t?.forEach(n=>n())})}function Um(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;B(P.BootstrapApplicationStart);try{let i=o?.injector??yT(r),s=[bm(),dp,...n||[]],a=new Lo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return pT({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{B(P.BootstrapApplicationEnd)}}function da(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function $m(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Xl=Symbol("NOT_SET"),Gm=new Set,DT=X(U({},ro),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Xl,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!==Xl&&!Dn(this))return this.signal;try{for(let o of this.cleanup??Gm)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=ht(this),r;try{r=this.userFn.apply(null,t)}finally{Ot(this,n)}return(this.value===Xl||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),td=class extends Ro{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(Re),s),this.scheduler=o;for(let a of pl){let c=n[a];if(c===void 0)continue;let u=Object.create(DT);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Rt(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??Gm)n()}finally{kt(t)}}};function Qo(e,t){let n=t?.injector??g(De),r=n.get(yt),o=n.get(Ys),i=n.get(Mt,null,{optional:!0});o.impl??=n.get(hl);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Or,null,{optional:!0}),c=new td(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function DV(e,t){let n=Vt(e),r=t.elementInjector||Ir();return new qn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function EV(e){let t=Vt(e);if(!t)return null;let n=new qn(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 zm=null;function Nt(){return zm}function nd(e){zm??=e}var Ko=class{},fa=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>g(Wm),providedIn:"platform"})}return e})();var Wm=(()=>{class e extends fa{_location;_history;_doc=g(q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nt().getBaseHref(this._doc)}onPopState(n){let r=Nt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Nt().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 Ym(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function qm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function dn(e){return e&&e[0]!=="?"?`?${e}`:e}var pa=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>g(IT),providedIn:"root"})}return e})(),ET=new _(""),IT=(()=>{class e extends pa{_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 Ym(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+dn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+dn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+dn(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(fa),A(ET,8))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Qm=(()=>{class e{_subject=new me;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=bT(qm(Zm(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+dn(r))}normalize(n){return e.stripTrailingSlash(CT(this._basePath,Zm(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+dn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dn(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=dn;static joinWithSlash=Ym;static stripTrailingSlash=qm;static \u0275fac=function(r){return new(r||e)(A(pa))};static \u0275prov=k({token:e,factory:()=>wT(),providedIn:"root"})}return e})();function wT(){return new Qm(A(pa))}function CT(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Zm(e){return e.replace(/\/index\.html$/,"")}function bT(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var he=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(he||{}),H=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(H||{}),Se=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Se||{}),Yt={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 Jm(e){return Oe(e)[ee.LocaleId]}function Xm(e,t,n){let r=Oe(e),o=[r[ee.DayPeriodsFormat],r[ee.DayPeriodsStandalone]],i=Ze(o,t);return Ze(i,n)}function ey(e,t,n){let r=Oe(e),o=[r[ee.DaysFormat],r[ee.DaysStandalone]],i=Ze(o,t);return Ze(i,n)}function ty(e,t,n){let r=Oe(e),o=[r[ee.MonthsFormat],r[ee.MonthsStandalone]],i=Ze(o,t);return Ze(i,n)}function ny(e,t){let r=Oe(e)[ee.Eras];return Ze(r,t)}function Jo(e,t){let n=Oe(e);return Ze(n[ee.DateFormat],t)}function Xo(e,t){let n=Oe(e);return Ze(n[ee.TimeFormat],t)}function ei(e,t){let r=Oe(e)[ee.DateTimeFormat];return Ze(r,t)}function ti(e,t){let n=Oe(e),r=n[ee.NumberSymbols][t];if(typeof r>"u"){if(t===Yt.CurrencyDecimal)return n[ee.NumberSymbols][Yt.Decimal];if(t===Yt.CurrencyGroup)return n[ee.NumberSymbols][Yt.Group]}return r}function ry(e){if(!e[ee.ExtraData])throw new v(2303,!1)}function oy(e){let t=Oe(e);return ry(t),(t[ee.ExtraData][2]||[]).map(r=>typeof r=="string"?rd(r):[rd(r[0]),rd(r[1])])}function iy(e,t,n){let r=Oe(e);ry(r);let o=[r[ee.ExtraData][0],r[ee.ExtraData][1]],i=Ze(o,t)||[];return Ze(i,n)||[]}function Ze(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new v(2304,!1)}function rd(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var TT=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ha=Object.create(null),_T=/((?:[^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]*)/,ST=256;function sy(e,t,n,r){let o=PT(e);MT(t),t=Zt(n,t)||t;let s=[],a;for(;t;)if(a=_T.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=cy(r,c),o=FT(o,r));let u="";return s.forEach(l=>{let d=kT(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function MT(e){if(e.length>ST)throw new v(2300,!1)}function Da(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Zt(e,t){let n=Jm(e);if(ha[n]??=Object.create(null),ha[n][t])return ha[n][t];let r="";switch(t){case"shortDate":r=Jo(e,Se.Short);break;case"mediumDate":r=Jo(e,Se.Medium);break;case"longDate":r=Jo(e,Se.Long);break;case"fullDate":r=Jo(e,Se.Full);break;case"shortTime":r=Xo(e,Se.Short);break;case"mediumTime":r=Xo(e,Se.Medium);break;case"longTime":r=Xo(e,Se.Long);break;case"fullTime":r=Xo(e,Se.Full);break;case"short":let o=Zt(e,"shortTime"),i=Zt(e,"shortDate");r=ga(ei(e,Se.Short),[o,i]);break;case"medium":let s=Zt(e,"mediumTime"),a=Zt(e,"mediumDate");r=ga(ei(e,Se.Medium),[s,a]);break;case"long":let c=Zt(e,"longTime"),u=Zt(e,"longDate");r=ga(ei(e,Se.Long),[c,u]);break;case"full":let l=Zt(e,"fullTime"),d=Zt(e,"fullDate");r=ga(ei(e,Se.Full),[l,d]);break}return r&&(ha[n][t]=r),r}function ga(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return Object.hasOwn(t,r)?t[r]:n})),e}function lt(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 NT(e,t){return lt(e,3).substring(0,t)}function te(e,t,n=0,r=!1,o=!1){return function(i,s){let a=AT(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return NT(a,t);let c=ti(s,Yt.MinusSign);return lt(a,t,c,r,o)}}function AT(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 G(e,t,n=he.Format,r=!1){return function(o,i){return xT(o,i,e,t,n,r)}}function xT(e,t,n,r,o,i){switch(n){case 2:return ty(t,o,r)[e.getMonth()];case 1:return ey(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=oy(t),l=iy(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,m=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(m&&y)return!0}else if(m||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Xm(t,o,r)[s<12?0:1];case 3:return ny(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new v(2302,!1)}}function ma(e){return function(t,n,r){let o=-1*r,i=ti(n,Yt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+lt(s,2,i)+lt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+lt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+lt(s,2,i)+":"+lt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+lt(s,2,i)+":"+lt(Math.abs(o%60),2,i);default:throw new v(2310,!1)}}}var RT=0,va=4;function OT(e){let t=Da(e,RT,1).getDay();return Da(e,0,1+(t<=va?va:va+7)-t)}function ay(e){let t=e.getDay(),n=t===0?-3:va-t;return Da(e.getFullYear(),e.getMonth(),e.getDate()+n)}function od(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=ay(n),s=OT(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return lt(o,e,ti(r,Yt.MinusSign))}}function ya(e,t=!1){return function(n,r){let i=ay(n).getFullYear();return lt(i,e,ti(r,Yt.MinusSign),t)}}var id=Object.create(null);function kT(e){if(id[e])return id[e];let t;switch(e){case"G":case"GG":case"GGG":t=G(3,H.Abbreviated);break;case"GGGG":t=G(3,H.Wide);break;case"GGGGG":t=G(3,H.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=ya(1);break;case"YY":t=ya(2,!0);break;case"YYY":t=ya(3);break;case"YYYY":t=ya(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=G(2,H.Abbreviated);break;case"MMMM":t=G(2,H.Wide);break;case"MMMMM":t=G(2,H.Narrow);break;case"LLL":t=G(2,H.Abbreviated,he.Standalone);break;case"LLLL":t=G(2,H.Wide,he.Standalone);break;case"LLLLL":t=G(2,H.Narrow,he.Standalone);break;case"w":t=od(1);break;case"ww":t=od(2);break;case"W":t=od(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=G(1,H.Abbreviated,he.Standalone);break;case"cccc":t=G(1,H.Wide,he.Standalone);break;case"ccccc":t=G(1,H.Narrow,he.Standalone);break;case"cccccc":t=G(1,H.Short,he.Standalone);break;case"E":case"EE":case"EEE":t=G(1,H.Abbreviated);break;case"EEEE":t=G(1,H.Wide);break;case"EEEEE":t=G(1,H.Narrow);break;case"EEEEEE":t=G(1,H.Short);break;case"a":case"aa":case"aaa":t=G(0,H.Abbreviated);break;case"aaaa":t=G(0,H.Wide);break;case"aaaaa":t=G(0,H.Narrow);break;case"b":case"bb":case"bbb":t=G(0,H.Abbreviated,he.Standalone,!0);break;case"bbbb":t=G(0,H.Wide,he.Standalone,!0);break;case"bbbbb":t=G(0,H.Narrow,he.Standalone,!0);break;case"B":case"BB":case"BBB":t=G(0,H.Abbreviated,he.Format,!0);break;case"BBBB":t=G(0,H.Wide,he.Format,!0);break;case"BBBBB":t=G(0,H.Narrow,he.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=ma(0);break;case"ZZZZZ":t=ma(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ma(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ma(2);break;default:return null}return id[e]=t,t}function cy(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function LT(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function FT(e,t,n){let o=e.getTimezoneOffset(),i=cy(t,o);return LT(e,-1*(i-o))}function PT(e){if(Km(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 Da(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(TT))return jT(r)}let t=new Date(e);if(!Km(t))throw new v(2311,!1);return t}function jT(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 Km(e){return e instanceof Date&&!isNaN(e.valueOf())}var BT=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(De);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)(ut(qr))};static \u0275dir=ln({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ku]})}return e})();function uy(e,t){return new v(2100,!1)}var sd=class{createSubscription(t,n,r){return se(()=>t.subscribe({next:n,error:r}))}dispose(t){se(()=>t.unsubscribe())}},ad=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},VT=new ad,HT=new sd,UT=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g(Ct);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($o(n))return VT;if(na(n))return HT;throw uy(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)(ut(Hm,16))};static \u0275pipe=ra({name:"async",type:e,pure:!1})}return e})();var $T="mediumDate",ly=new _(""),dy=new _(""),GT=(()=>{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??$T,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return sy(n,s,i||this.locale,a)}catch(s){throw uy(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ut(zo,16),ut(ly,24),ut(dy,24))};static \u0275pipe=ra({name:"date",type:e,pure:!0})}return e})();var fy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Zr({type:e});static \u0275inj=Rn({})}return e})();function cd(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 ud="browser";function py(e){return e===ud}var Qr=class{_doc;constructor(t){this._doc=t}manager},ni=(()=>{class e extends Qr{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})(),ii=new _(""),wa=(()=>{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 ni));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ni);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(ii),A(fe))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),ld="ng-app-id";function hy(e){for(let t of e)t.remove()}function gy(e,t){let n=t.createElement("style");return n.textContent=e,n}function WT(e,t,n,r){let o=e.head?.querySelectorAll(`style[${ld}="${t}"],link[${ld}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(ld),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 fd(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Ca=(()=>{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,WT(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,gy);r?.forEach(o=>this.addUsage(o,this.external,fd))}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&&(hy(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])hy(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,gy(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,fd(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(xr),A(To,8),A($n))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),dd={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"},pd=/%COMP%/g;var yy="%COMP%",qT=`_nghost-${yy}`,ZT=`_ngcontent-${yy}`,YT=!0,vy=new _("",{factory:()=>YT});function QT(e){return ZT.replace(pd,e)}function KT(e){return qT.replace(pd,e)}function Dy(e,t){return t.map(n=>n.replace(pd,e))}var ba=(()=>{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 ri(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Ia?o.applyToHost(n):o instanceof oi&&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 at.Emulated:i=new Ia(c,u,r,this.appId,l,s,a,d);break;case at.ShadowDom:return new Ea(c,n,r,s,a,this.nonce,d,u);case at.ExperimentalIsolatedShadowDom:return new Ea(c,n,r,s,a,this.nonce,d);default:i=new oi(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(wa),A(Qn),A(xr),A(vy),A(q),A(fe),A(To),A(Mt,8))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),ri=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(dd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(my(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(my(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=dd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=dd[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&(Tt.DashCase|Tt.Important)?t.style.setProperty(n,r,o&Tt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Tt.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=Nt().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 my(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ea=class extends ri{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=Dy(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=fd(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)}},oi=class extends ri{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?Dy(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&cn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ia=class extends oi{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=QT(u),this.hostAttr=KT(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 Ta=class e extends Ko{supportsDOMEvents=!0;static makeCurrent(){nd(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=JT();return n==null?null:XT(n)}resetBaseElement(){si=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return cd(document.cookie,t)}},si=null;function JT(){return si=si||document.head.querySelector("base"),si?si.getAttribute("href"):null}function XT(e){return new URL(e,document.baseURI).pathname}var Ey=["alt","control","meta","shift"],e_={"\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"},t_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Iy=(()=>{class e extends Qr{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(()=>Nt().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."),Ey.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=e_[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"),Ey.forEach(s=>{if(s!==o){let a=t_[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 n_(e,t,n){let r=U({rootComponent:e},r_(t,n));return Um(r)}function r_(e,t){return{platformRef:t?.platformRef,appProviders:[...c_,...e?.providers??[]],platformProviders:a_}}function o_(){Ta.makeCurrent()}function i_(){return new Pe}function s_(){return nl(document),document}var a_=[{provide:$n,useValue:ud},{provide:fs,useValue:o_,multi:!0},{provide:q,useFactory:s_}];var c_=[{provide:Eo,useValue:"root"},{provide:Pe,useFactory:i_},{provide:ii,useClass:ni,multi:!0},{provide:ii,useClass:Iy,multi:!0},ba,{provide:Qn,useClass:Ca},{provide:Ca,useExisting:Qn},wa,{provide:Wn,useExisting:ba},[]];var Ye=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 md=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()}},yd=class{encodeKey(t){return wy(t)}encodeValue(t){return wy(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function u_(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 l_=/%(\d[a-f0-9])/gi,d_={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wy(e){return encodeURIComponent(e).replace(l_,(t,n)=>d_[n]??t)}function _a(e){return`${e}`}var dt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new yd,t.fromString){if(t.fromObject)throw new v(2805,!1);this.map=u_(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(_a):[_a(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(_a(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(_a(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 f_(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Cy(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function by(e){return typeof Blob<"u"&&e instanceof Blob}function Ty(e){return typeof FormData<"u"&&e instanceof FormData}function p_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var hd="Content-Type",_y="Accept",My="text/plain",Ny="application/json",h_=`${Ny}, ${My}, */*`,er=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(f_(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 Ye,this.context??=new md,!this.params)this.params=new dt,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"||Cy(this.body)||by(this.body)||Ty(this.body)||p_(this.body)?this.body:this.body instanceof dt?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||Ty(this.body)?null:by(this.body)?this.body.type||null:Cy(this.body)?null:typeof this.body=="string"?My:this.body instanceof dt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ny: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,m=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,F=t.reportProgress??this.reportProgress,ce=t.reportUploadProgress??this.reportUploadProgress,we=t.reportDownloadProgress??this.reportDownloadProgress,Qe=t.headers||this.headers,K=t.params||this.params,ke=t.context??this.context;return t.setHeaders!==void 0&&(Qe=Object.keys(t.setHeaders).reduce((Me,Ce)=>Me.set(Ce,t.setHeaders[Ce]),Qe)),t.setParams&&(K=Object.keys(t.setParams).reduce((Me,Ce)=>Me.set(Ce,t.setParams[Ce]),K)),new e(n,r,y,{params:K,headers:Qe,context:ke,reportProgress:F,reportUploadProgress:ce,reportDownloadProgress:we,responseType:o,withCredentials:D,transferCache:h,keepalive:i,cache:a,priority:s,timeout:m,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},pn=(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})(pn||{}),ai=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Ye,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}},vd=class e extends ai{constructor(t={}){super(t)}type=pn.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})}},Kr=class e extends ai{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=pn.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})}},fn=class extends ai{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}},g_=200;var m_=/^\)\]\}',?\n/,I2=1024*1024,y_=new _("",{factory:()=>null}),v_=(()=>{class e{fetchImpl=g(Dd,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(fe);destroyRef=g(Re);maxResponseSize=g(y_);handle(n){return new O(r=>{let o=new AbortController;this.doRequest(n,o.signal,r).then(Ed,s=>r.error(new fn({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 y=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,U({signal:r},i)));D_(y),o.next({type:pn.Sent}),s=await y}catch(y){o.error(new fn({error:y,status:y.status??0,statusText:y.statusText,url:n.urlWithParams,headers:y.headers}));return}let a=new Ye(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 vd({headers:a,status:l,statusText:c,url:u})),s.body){let y=s.headers.get("content-length"),D=y!==null?Number(y):NaN;this.maxResponseSize!==null&&Number.isFinite(D)&&D>this.maxResponseSize&&Sy(this.maxResponseSize);let F=[],ce=s.body.getReader(),we=0,Qe,K,ke=typeof Zone<"u"&&Zone.current,Me=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await ce.cancel(),Me=!0;break}let{done:z,value:Ne}=await ce.read();if(z)break;if(F.push(Ne),we+=Ne.length,this.maxResponseSize!==null&&we>this.maxResponseSize&&(await ce.cancel(),Sy(this.maxResponseSize)),p){K=n.responseType==="text"?(K??"")+(Qe??=new TextDecoder).decode(Ne,{stream:!0}):void 0;let Le=()=>o.next({type:pn.DownloadProgress,total:Number.isFinite(D)?D:void 0,loaded:we,partialText:K});ke?ke.run(Le):Le()}}}),Me){o.complete();return}let Ce=this.concatChunks(F,we);try{let z=s.headers.get(hd)??"";d=this.parseBody(n,Ce,z,l)}catch(z){o.error(new fn({error:z,headers:new Ye(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}l===0&&(l=d?g_:0);let f=l>=200&&l<300,h=s.redirected,m=s.type;f?(o.next(new Kr({body:d,headers:a,status:l,statusText:c,url:u,redirected:h,responseType:m})),o.complete()):o.error(new fn({error:d,headers:a,status:l,statusText:c,url:u,redirected:h,responseType:m}))}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(m_,"");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(_y)||(r[_y]=h_),!n.headers.has(hd)){let i=n.detectContentTypeHeader();i!==null&&(r[hd]=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=ct({token:e,factory:e.\u0275fac})}return e})(),Dd=class{};function Ed(){}function D_(e){e.then(Ed,Ed)}function Sy(e){throw new v(-2825,!1)}function E_(e,t){return t(e)}function I_(e,t,n){return(r,o)=>wr(n,()=>t(r,i=>e(i,o)))}var w_=new _("",{factory:()=>[]}),Ay=new _(""),C_=new _("",{factory:()=>!0});var b_=(()=>{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(v_),o},providedIn:"root"})}return e})();var T_=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Lr);contributeToStability=g(C_);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(w_),...this.injector.get(Ay,[])]));this.chain=o.reduceRight((i,s)=>I_(i,s,this.injector),E_)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return se(()=>r(n,i=>this.backend.handle(i))).pipe(Li(o))}else return se(()=>r(n,o=>this.backend.handle(o)))}static \u0275fac=function(r){return new(r||e)(A(b_),A(ve))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),__=(()=>{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(T_),o},providedIn:"root"})}return e})();function gd(e,t){return U({body:t},e)}var xy=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof er)i=n;else{let c;o.headers instanceof Ye?c=o.headers:c=new Ye(o.headers);let u;o.params&&(o.params instanceof dt?u=o.params:u=new dt({fromObject:o.params})),i=new er(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=Ya(i).pipe(Xa(c=>this.handler.handle(c)));if(n instanceof er||o.observe==="events")return s;let a=s.pipe(tt(c=>c instanceof Kr));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 dt().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,gd(o,r))}post(n,r,o={}){return this.request("POST",n,gd(o,r))}put(n,r,o={}){return this.request("PUT",n,gd(o,r))}static \u0275fac=function(r){return new(r||e)(A(__))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var S_=new _(""),M_="b",N_="h",A_="s",x_="st",R_="u",O_="rt",k_=new _(""),L_=["GET","HEAD"];function F_(e,t){let s=t,{isCacheActive:n}=s,r=Aa(s,["isCacheActive"]),{transferCache:o,method:i}=e;return!(!n||o===!1||U_(e)||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!L_.includes(i)||!r.includeRequestsWithAuthHeaders&&j_(e)||V_(e.headers)||H_(e.cache)||r.filter?.(e)===!1)}function P_(e,t,n,r,o,i=!1){if(!i&&!F_(e,t))return null;if(r)throw new v(2803,!1);if(!o){let m=e.url;o=$_(e,m)}let s=n.get(o,null);if(!s)return null;let{[M_]:a,[O_]:c,[N_]:u,[A_]:l,[x_]:d,[R_]:p}=s,f=a;switch(c){case"arraybuffer":f=Oy(a);break;case"blob":f=new Blob([Oy(a)]);break}let h=new Ye(u);return new Kr({body:f,headers:h,status:l,statusText:d,url:p})}function j_(e){let t=e.headers;return t.has("authorization")||t.has("proxy-authorization")||t.has("cookie")}var B_=new Set(["no-store","private","no-cache"]);function V_(e){let t=e.get("cache-control");return t?t.split(",").some(n=>{let r=n.split("=",1)[0].trim().toLowerCase();return B_.has(r)}):!1}function H_(e){return e==="no-cache"||e==="no-store"}function U_(e){let{withCredentials:t,credentials:n}=e;return t||n==="include"||n==="same-origin"}function Ry(e){let t=new URLSearchParams(e instanceof URLSearchParams?e:e.toString());return t.sort(),t.toString()}function $_(e,t){let{params:n,method:r,responseType:o}=e,i=Ry(n),s=e.serializeBody();s instanceof URLSearchParams?s=Ry(s):typeof s!="string"&&(s="");let a=[r,o,t,s,i].join("|"),c=z_(a);return c}function Oy(e){let t=atob(e);return Uint8Array.from(t,r=>r.charCodeAt(0)).buffer}var G_=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]),ky;function z_(e){ky??=new TextEncoder;let t=ky.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,m=l/4294967296>>>0;f.setUint32(d-8,m,!1),f.setUint32(d-4,h,!1);let y=new Uint32Array(64);for(let D=0;D<d;D+=64){for(let z=0;z<16;z++)y[z]=f.getUint32(D+z*4,!1);for(let z=16;z<64;z++){let Ne=y[z-15],Le=((Ne>>>7|Ne<<25)^(Ne>>>18|Ne<<14)^Ne>>>3)>>>0,ft=y[z-2],Xr=((ft>>>17|ft<<15)^(ft>>>19|ft<<13)^ft>>>10)>>>0;y[z]=y[z-16]+Le+y[z-7]+Xr>>>0}let F=n,ce=r,we=o,Qe=i,K=s,ke=a,Me=c,Ce=u;for(let z=0;z<64;z++){let Ne=((K>>>6|K<<26)^(K>>>11|K<<21)^(K>>>25|K<<7))>>>0,Le=(K&ke^~K&Me)>>>0,ft=Ce+Ne+Le+G_[z]+y[z]>>>0,Xr=((F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10))>>>0,E=(F&ce^F&we^ce&we)>>>0,I=Xr+E>>>0;Ce=Me,Me=ke,ke=K,K=Qe+ft>>>0,Qe=we,we=ce,ce=F,F=ft+I>>>0}n=n+F>>>0,r=r+ce>>>0,o=o+we>>>0,i=i+Qe>>>0,s=s+K>>>0,a=a+ke>>>0,c=c+Me>>>0,u=u+Ce>>>0}return[n,r,o,i,s,a,c,u].map(D=>D.toString(16).padStart(8,"0")).join("")}var S2=(()=>{let e=Sa("json");return e.arrayBuffer=Sa("arraybuffer"),e.blob=Sa("blob"),e.text=Sa("text"),e})();function Sa(e){return function(n,r){let o=r?.injector??g(De),i=o.get(k_,null,{optional:!0}),s=o.get(Rr,null,{optional:!0}),a=o.get(S_,null,{optional:!0}),c=u=>{if(i&&s&&u){let l=P_(u,i,s,a);if(l)try{let d=l.body,p=r?.parse?r.parse(d):d;return Te({value:p})}catch{}}};return new Id(o,u=>W_(u,n,e),r?.defaultValue,r?.debugName,r?.parse,r?.equal,c)}}function W_(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 Ye?r.headers:new Ye(r.headers),i=r.params instanceof dt?r.params:new dt({fromObject:r.params});return new er(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 Id=class extends qo{client;_headers=Jn({source:this.extRequest,computation:()=>{}});_progress=Jn({source:this.extRequest,computation:()=>{}});_statusCode=Jn({source:this.extRequest,computation:()=>{}});headers=qe(()=>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=Te({value:void 0}),h,m=new Promise(D=>h=D),y=D=>{f.set(D),h?.(f),h=void 0};return l=this.client.request(c).subscribe({next:D=>{switch(D.type){case pn.Response:this._headers.set(D.headers),this._statusCode.set(D.status);try{y({value:i?i(D.body):D.body})}catch(F){y({error:Zo(F)})}break;case pn.DownloadProgress:this._progress.set(D);break}},error:D=>{D instanceof fn&&(this._headers.set(D.headers),this._statusCode.set(D.status)),y({error:D}),u.removeEventListener("abort",p)},complete:()=>{h&&y({error:new v(991,!1)}),u.removeEventListener("abort",p)}}),d&&l.unsubscribe(),m},r,s,o,t,void 0,a),this.client=t.get(xy)}set(t){super.set(t),this._headers.set(void 0),this._progress.set(void 0),this._statusCode.set(void 0)}};var q2=(()=>{class e{_doc=g(q);_dom=Nt();_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(Ly(n));return jy(r)?r:null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(Ly(n));return r?Array.from(r).filter(o=>jy(o)):[]}updateTag(n,r){r??=Py(n);let o=this.getTag(r);return o?(Fy(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=Py(n),a=this.getTags(s).filter(c=>Z_(n,c))[0];if(a!==void 0)return a}let o=this._dom.createElement("meta");return Fy(n,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ct({token:e,factory:e.\u0275fac})}return e})();function Ly(e){return`meta[${e}]`}function Fy(e,t){Object.keys(e).forEach(n=>t.setAttribute(By(n),e[n]))}function Py(e){let t=e.name?"name":"property";return`${t}=${q_(String(e[t]))}`}function q_(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Z_(e,t){return Object.keys(e).every(n=>t.getAttribute(By(n))===e[n])}function By(e){return Y_[e]||e}function jy(e){return e?.nodeName.toLowerCase()==="meta"}var Y_={httpEquiv:"http-equiv"},Z2=(()=>{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 wd=(()=>{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(Q_),o},providedIn:"root"})}return e})(),Q_=(()=>{class e extends wd{_doc=g(q);sanitize(n,r){if(r==null)return null;switch(n){case _e.NONE:return r;case _e.HTML:return St(r,"HTML")?We(r):qs(this._doc,String(r)).toString();case _e.STYLE:return St(r,"Style")?We(r):r;case _e.SCRIPT:if(St(r,"Script"))return We(r);throw new v(5200,!1);case _e.URL:return St(r,"URL")?We(r):jo(String(r));case _e.RESOURCE_URL:if(St(r,"ResourceURL"))return We(r);throw new v(-5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return il(n)}bypassSecurityTrustStyle(n){return sl(n)}bypassSecurityTrustScript(n){return al(n)}bypassSecurityTrustUrl(n){return cl(n)}bypassSecurityTrustResourceUrl(n){return ul(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ct({token:e,factory:e.\u0275fac})}return e})();var ci=new _("HIGHLIGHT_OPTIONS");function iU(e){return Ht([{provide:ci,useValue:e}])}var Jr=(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})(Jr||{}),K_=(()=>{class e{constructor(){this.document=g(q),this.isPlatformBrowser=py(g($n)),this.options=g(ci,{optional:!0}),this._ready=new Cn(null),this.ready=Qa(this._ready.asObservable().pipe(tt(n=>!!n))),this.isPlatformBrowser&&(this.document.defaultView.hljs?this._ready.next(this.document.defaultView.hljs):this._loadLibrary().pipe(yr(n=>this.options?.lineNumbersLoader?(this.document.defaultView.hljs=n,this.loadLineNumbers().pipe(uo(r=>{r.activateLineNumbers(),this._ready.next(n)}))):(this._ready.next(n),Fe)),co(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 Tn(()=>Jr.FULL_WITH_CORE_LIBRARY_IMPORTS);if(this.options.fullLibraryLoader&&this.options.languages)return Tn(()=>Jr.FULL_WITH_LANGUAGE_IMPORTS);if(this.options.coreLibraryLoader&&!this.options.languages)return Tn(()=>Jr.CORE_WITHOUT_LANGUAGE_IMPORTS);if(!this.options.coreLibraryLoader&&this.options.languages)return Tn(()=>Jr.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(yr(n=>this._loadLanguages(n)))}return Tn(()=>Jr.NO_FULL_AND_NO_CORE_IMPORTS)}_loadLanguages(n){let r=Object.entries(this.options.languages).map(([o,i])=>Cd(i()).pipe(uo(s=>n.registerLanguage(o,s))));return Ka(r).pipe(ae(()=>n))}loadCoreLibrary(){return Cd(this.options.coreLibraryLoader())}loadFullLibrary(){return Cd(this.options.fullLibraryLoader())}loadLineNumbers(){return Ae(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})(),Cd=e=>Ae(e).pipe(tt(t=>!!t?.default),ae(t=>t.default)),Td=(()=>{class e{constructor(){this.loader=g(K_),this.options=g(ci,{optional:!0}),this.hljsSignal=Te(null),this.hljs=qe(()=>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})(),bd;function J_(){if(!bd)try{bd=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return bd}function X_(e){return J_()?.createHTML(e)||e}var Ma=(()=>{class e{constructor(){this._hljs=g(Td),this._nativeElement=g(_t).nativeElement,this._sanitizer=g(wd),Qo({write:()=>{let n=this.code();this.setTextContent(n||""),n&&this.highlightElement(n)}}),Qo({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=X_(this._sanitizer.sanitize(_e.HTML,n)||""))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=ln({type:e})}}return e})(),sU=(()=>{class e extends Ma{constructor(){super(...arguments),this.code=Xn(null,{alias:"highlight"}),this.highlightResult=Te(null),this.language=Xn.required(),this.ignoreIllegals=Xn(void 0,{transform:da}),this.highlighted=Bm()}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=Gs(e)))(o||e)}})()}static{this.\u0275dir=ln({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,o){r&2&&sa("hljs",!0)},inputs:{code:[1,"highlight","code"],language:[1,"language"],ignoreIllegals:[1,"ignoreIllegals"]},outputs:{highlighted:"highlighted"},features:[Wl([{provide:Ma,useExisting:e}]),oa]})}}return e})();function dU(){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=y,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),At=parseInt(Z.dataset.lineNumber);if(ne!=At){let tr=R.textContent,nr=Z.textContent;if(ne>At){let hn=ne;ne=At,At=hn,hn=tr,tr=nr,nr=hn}for(;I.indexOf(tr)!==0;)tr=tr.slice(1);for(;I.lastIndexOf(nr)===-1;)nr=nr.slice(0,-1);let Na=tr,Vy=l(R);for(let hn=ne+1;hn<At;++hn){let Hy=Le('.{0}[{1}="{2}"]',[o,a,hn]),Uy=Vy.querySelector(Hy);Na+=`
6
- `+Uy.textContent}return Na+=`
7
- `+nr,Na}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)&&(m(I[R])||y(I[R],E))}catch(I){e.console.error("LineNumbers error: ",I)}}function m(E){return E.classList.contains("nohljsln")}function y(E,I){typeof E=="object"&&Ne(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=we(E,I);return ke(E),ce(E.innerHTML,R)}function ce(E,I){let R=Ce(E);if(R[R.length-1].trim()===""&&R.pop(),R.length>1||I.singleLine){let Z="";for(let ne=0,At=R.length;ne<At;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 we(E,I){return I=I||{},{singleLine:Qe(I),startFrom:K(E,I)}}function Qe(E){return E.singleLine?E.singleLine:!1}function K(E,I){let Z=1;isFinite(I.startFrom)&&(Z=I.startFrom);let ne=ft(E,"data-ln-start-from");return ne!==null&&(Z=Xr(ne,1)),Z}function ke(E){let I=E.childNodes;for(let R in I)if(I.hasOwnProperty(R)){let Z=I[R];z(Z.textContent)>0&&(Z.childNodes.length>0?ke(Z):Me(Z.parentNode))}}function Me(E){let I=E.className;if(!/hljs-/.test(I))return;let R=Ce(E.innerHTML),Z="";for(let ne=0;ne<R.length;ne++){let At=R[ne].length>0?R[ne]:" ";Z+=Le(`<span class="{0}">{1}</span>
8
- `,[I,At])}E.innerHTML=Z.trim()}function Ce(E){return E.length===0?[]:E.split(c)}function z(E){return(E.trim().match(c)||[]).length}function Ne(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 ft(E,I){return E.hasAttribute(I)?E.getAttribute(I):null}function Xr(E,I){if(!E)return I;let R=Number(E);return isFinite(R)?R:I}}var fU=(()=>{class e{constructor(){this.options=g(ci)?.lineNumbersOptions,this._hljs=g(Td),this._highlight=g(Ma),this._nativeElement=g(_t).nativeElement,this.startFrom=Xn(this.options?.startFrom,{transform:$m}),this.singleLine=Xn(this.options?.singleLine,{transform:da}),Qo({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=ln({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,Jy as d,O as e,me as f,Cn as g,io as h,Kt as i,nv as j,Fe as k,ao as l,Ae as m,Ya as n,Tn as o,lv as p,_n as q,ae as r,vv as s,et as t,mr as u,Ev as v,Ka as w,Ja as x,Lt as y,Sv as z,Mv as A,tt as B,Nv as C,co as D,Xa as E,ec as F,Sn as G,Av as H,xv as I,Li as J,kv as K,Lv as L,Fv as M,rc as N,Pv as O,jv as P,pf as Q,yr as R,hf as S,Bv as T,uo as U,Vv as V,Hv as W,v as X,Bt as Y,Gi as Z,k as _,Rn as $,Gv as aa,_ as ba,A as ca,g as da,Do as ea,Ht as fa,ve as ga,wr as ha,zf as ia,Wf as ja,ip as ka,De as la,q as ma,Re as na,Un as oa,Ft as pa,fe as qa,Ct as ra,vD as sa,Te as ta,$n as ua,ru as va,kr as wa,Ku as xa,Gs as ya,Xu as za,ct as Aa,tE as Ba,nE as Ca,rE as Da,_t as Ea,BE as Fa,Vh as Ga,UE as Ha,$E as Ia,sI as Ja,AI as Ka,Ur as La,Wn as Ma,vg as Na,vw as Oa,Ew as Pa,ut as Qa,_w as Ra,qr as Sa,$o as Ta,Fg as Ua,Pg as Va,uC as Wa,Zr as Xa,ln as Ya,hC as Za,gC as _a,mC as $a,oa as ab,Ug as bb,$g as cb,ia as db,Yr as eb,zg as fb,xC as gb,RC as hb,OC as ib,kC as jb,LC as kb,FC as lb,Wg as mb,Us as nb,Vl as ob,qg as pb,Zg as qb,$l as rb,Gl as sb,Qg as tb,UC as ub,Kg as vb,Xg as wb,qC as xb,YC as yb,QC as zb,tm as Ab,JC as Bb,XC as Cb,nm as Db,rm as Eb,eb as Fb,tb as Gb,sm as Hb,sa as Ib,fb as Jb,Cb as Kb,fm as Lb,zl as Mb,pm as Nb,gm as Ob,Sb as Pb,mm as Qb,Wl as Rb,xb as Sb,Rb as Tb,Ob as Ub,kb as Vb,Fb as Wb,Pb as Xb,jb as Yb,Bb as Zb,qe as _b,se as $b,Jn as ac,xm as bc,pV as cc,Bm as dc,Xn as ec,hV as fc,gV as gc,mV as hc,yV as ic,Hm as jc,da as kc,DV as lc,EV as mc,Nt as nc,pa as oc,Qm as pc,BT as qc,UT as rc,GT as sc,fy as tc,py as uc,Qr as vc,ii as wc,vy as xc,n_ as yc,S2 as zc,q2 as Ac,Z2 as Bc,wd as Cc,iU as Dc,sU as Ec,dU as Fc,fU as Gc};