Files
quiz-test/chunk-2MUIW2M6.js
2025-12-29 22:23:30 +02:00

5 lines
166 KiB
JavaScript

var Zp=Object.defineProperty,Yp=Object.defineProperties;var Kp=Object.getOwnPropertyDescriptors;var ur=Object.getOwnPropertySymbols;var jc=Object.prototype.hasOwnProperty,Vc=Object.prototype.propertyIsEnumerable;var Fc=(e,t,n)=>t in e?Zp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,W=(e,t)=>{for(var n in t||={})jc.call(t,n)&&Fc(e,n,t[n]);if(ur)for(var n of ur(t))Vc.call(t,n)&&Fc(e,n,t[n]);return e},q=(e,t)=>Yp(e,Kp(t));var yD=(e,t)=>{var n={};for(var r in e)jc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ur)for(var r of ur(e))t.indexOf(r)<0&&Vc.call(e,r)&&(n[r]=e[r]);return n};function w(e){return typeof e=="function"}function Pt(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 dr=Pt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function st(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var F=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(w(r))try{r()}catch(i){t=i instanceof dr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Hc(i)}catch(s){t=t??[],s instanceof dr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new dr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Hc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&st(n,t)}remove(t){let{_finalizers:n}=this;n&&st(n,t),t instanceof e&&t._removeParent(this)}};F.EMPTY=(()=>{let e=new F;return e.closed=!0,e})();var hi=F.EMPTY;function fr(e){return e instanceof F||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Hc(e){w(e)?e():e.unsubscribe()}var de={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Lt={setTimeout(e,t,...n){let{delegate:r}=Lt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Lt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function pr(e){Lt.setTimeout(()=>{let{onUnhandledError:t}=de;if(t)t(e);else throw e})}function gn(){}var Bc=gi("C",void 0,void 0);function $c(e){return gi("E",void 0,e)}function Uc(e){return gi("N",e,void 0)}function gi(e,t,n){return{kind:e,value:t,error:n}}var at=null;function Ft(e){if(de.useDeprecatedSynchronousErrorHandling){let t=!at;if(t&&(at={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=at;if(at=null,n)throw r}}else e()}function Wc(e){de.useDeprecatedSynchronousErrorHandling&&at&&(at.errorThrown=!0,at.error=e)}var ct=class extends F{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,fr(t)&&t.add(this)):this.destination=eh}static create(t,n,r){return new Pe(t,n,r)}next(t){this.isStopped?yi(Uc(t),this):this._next(t)}error(t){this.isStopped?yi($c(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?yi(Bc,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()}}},Jp=Function.prototype.bind;function mi(e,t){return Jp.call(e,t)}var vi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){hr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){hr(r)}else hr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){hr(n)}}},Pe=class extends ct{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&de.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&mi(t.next,i),error:t.error&&mi(t.error,i),complete:t.complete&&mi(t.complete,i)}):o=t}this.destination=new vi(o)}};function hr(e){de.useDeprecatedSynchronousErrorHandling?Wc(e):pr(e)}function Xp(e){throw e}function yi(e,t){let{onStoppedNotification:n}=de;n&&Lt.setTimeout(()=>n(e,t))}var eh={closed:!0,next:gn,error:Xp,complete:gn};var jt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Z(e){return e}function th(...e){return Ii(e)}function Ii(e){return e.length===0?Z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=rh(n)?n:new Pe(n,r,o);return Ft(()=>{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=qc(r),new r((o,i)=>{let s=new Pe({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)}[jt](){return this}pipe(...n){return Ii(n)(this)}toPromise(n){return n=qc(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 qc(e){var t;return(t=e??de.Promise)!==null&&t!==void 0?t:Promise}function nh(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function rh(e){return e&&e instanceof ct||nh(e)&&fr(e)}var Gc=Pt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new gr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Gc}next(n){Ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ft(()=>{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(){Ft(()=>{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?hi:(this.currentObservers=null,i.push(n),new F(()=>{this.currentObservers=null,st(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new gr(t,n),e})(),gr=class extends ie{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:hi}};var mr=class extends F{constructor(t,n){super()}schedule(t,n=0){return this}};var mn={setInterval(e,t,...n){let{delegate:r}=mn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=mn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var yr=class extends mr{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 mn.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&&mn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,st(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var yn={now(){return(yn.delegate||Date).now()},delegate:void 0};var Vt=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)}};Vt.now=yn.now;var vr=class extends Vt{constructor(t,n=Vt.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 lt=new vr(yr),zc=lt;function Ir(e){return e&&w(e.schedule)}function Qc(e){return e instanceof Date&&!isNaN(e)}function vn(e=0,t,n=zc){let r=-1;return t!=null&&(Ir(t)?n=t:r=t),new M(o=>{let i=Qc(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 oh(e=0,t=lt){return e<0&&(e=0),vn(e,e,t)}function Ei(e){return w(e?.lift)}function C(e){return t=>{if(Ei(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 D(e,t,n,r,o){return new Di(e,t,n,r,o)}var Di=class extends ct{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))}}};function ih(e,t=lt){return C((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(D(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function sh(e,t=Z){return e=e??ah,C((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function ah(e,t){return e===t}function ch(e){return C((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Yc(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(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Zc(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 ut(e){return this instanceof ut?(this.v=e,this):new ut(e)}function Kc(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(v){return new Promise(function(N,T){i.push([f,v,N,T])>1||c(f,v)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(v){p(i[0][3],v)}}function l(f){f.value instanceof ut?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(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 Jc(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 Zc=="function"?Zc(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(l){i({value:l,done:a})},s)}}var Er=e=>e&&typeof e.length=="number"&&typeof e!="function";function Dr(e){return w(e?.then)}function Cr(e){return w(e[jt])}function wr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function Tr(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 lh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var br=lh();function _r(e){return w(e?.[br])}function Mr(e){return Kc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ut(n.read());if(o)return yield ut(void 0);yield yield ut(r)}}finally{n.releaseLock()}})}function Nr(e){return w(e?.getReader)}function O(e){if(e instanceof M)return e;if(e!=null){if(Cr(e))return uh(e);if(Er(e))return dh(e);if(Dr(e))return fh(e);if(wr(e))return Xc(e);if(_r(e))return ph(e);if(Nr(e))return hh(e)}throw Tr(e)}function uh(e){return new M(t=>{let n=e[jt]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function dh(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function fh(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,pr)})}function ph(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xc(e){return new M(t=>{gh(e,t).catch(n=>t.error(n))})}function hh(e){return Xc(Mr(e))}function gh(e,t){var n,r,o,i;return Yc(this,void 0,void 0,function*(){try{for(n=Jc(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 el(e){return C((t,n)=>{O(e).subscribe(D(n,()=>n.complete(),gn)),!n.closed&&t.subscribe(n)})}function Ci(){return C((e,t)=>{let n=null;e._refCount++;let r=D(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var wi=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ei(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new F;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=F.EMPTY)}return t}refCount(){return Ci()(this)}};var In=class extends ie{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 En=class extends ie{constructor(t=1/0,n=1/0,r=yn){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 dt=new M(e=>e.complete());function Ti(e){return e[e.length-1]}function xr(e){return w(Ti(e))?e.pop():void 0}function Ce(e){return Ir(Ti(e))?e.pop():void 0}function tl(e,t){return typeof Ti(e)=="number"?e.pop():t}function ee(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 Sr(e,t=0){return C((n,r)=>{n.subscribe(D(r,o=>ee(r,e,()=>r.next(o),t),()=>ee(r,e,()=>r.complete(),t),o=>ee(r,e,()=>r.error(o),t)))})}function Ar(e,t=0){return C((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function nl(e,t){return O(e).pipe(Ar(t),Sr(t))}function rl(e,t){return O(e).pipe(Ar(t),Sr(t))}function ol(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function il(e,t){return new M(n=>{let r;return ee(n,t,()=>{r=e[br](),ee(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)}),()=>w(r?.return)&&r.return()})}function Rr(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{ee(n,t,()=>{let r=e[Symbol.asyncIterator]();ee(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function sl(e,t){return Rr(Mr(e),t)}function al(e,t){if(e!=null){if(Cr(e))return nl(e,t);if(Er(e))return ol(e,t);if(Dr(e))return rl(e,t);if(wr(e))return Rr(e,t);if(_r(e))return il(e,t);if(Nr(e))return sl(e,t)}throw Tr(e)}function we(e,t){return t?al(e,t):O(e)}function mh(...e){let t=Ce(e);return we(e,t)}function yh(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function vh(e){return!!e&&(e instanceof M||w(e.lift)&&w(e.subscribe))}var ft=Pt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function We(e,t){return C((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Ih}=Array;function Eh(e,t){return Ih(t)?e(...t):e(t)}function Or(e){return We(t=>Eh(e,t))}var{isArray:Dh}=Array,{getPrototypeOf:Ch,prototype:wh,keys:Th}=Object;function kr(e){if(e.length===1){let t=e[0];if(Dh(t))return{args:t,keys:null};if(bh(t)){let n=Th(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function bh(e){return e&&typeof e=="object"&&Ch(e)===wh}function Pr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function _h(...e){let t=Ce(e),n=xr(e),{args:r,keys:o}=kr(e);if(r.length===0)return we([],t);let i=new M(Mh(r,t,o?s=>Pr(o,s):Z));return n?i.pipe(Or(n)):i}function Mh(e,t,n=Z){return r=>{cl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)cl(t,()=>{let l=we(e[c],t),u=!1;l.subscribe(D(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function cl(e,t,n){e?ee(n,e,t):t()}function ll(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=v=>l<r?h(v):c.push(v),h=v=>{i&&t.next(v),l++;let N=!1;O(n(v,u++)).subscribe(D(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{N=!0},void 0,()=>{if(N)try{for(l--;c.length&&l<r;){let T=c.shift();s?ee(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function pt(e,t,n=1/0){return w(t)?pt((r,o)=>We((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),C((r,o)=>ll(r,o,e,n)))}function Dn(e=1/0){return pt(Z,e)}function ul(){return Dn(1)}function Lr(...e){return ul()(we(e,Ce(e)))}function Nh(e){return new M(t=>{O(e()).subscribe(t)})}function xh(...e){let t=xr(e),{args:n,keys:r}=kr(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;O(n[u]).subscribe(D(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Pr(r,a):a),i.complete())}))}});return t?o.pipe(Or(t)):o}function Sh(...e){let t=Ce(e),n=tl(e,1/0),r=e;return r.length?r.length===1?O(r[0]):Dn(n)(we(r,t)):dt}function qe(e,t){return C((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function dl(e){return C((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(D(n,l=>{r=!0,o=l,i||O(e(l)).subscribe(i=D(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Ah(e,t=lt){return dl(()=>vn(e,t))}function bi(e){return C((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=O(e(s,bi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function fl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(D(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Rh(e,t){return w(t)?pt(e,t,1):pt(e,1)}function Cn(e){return C((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function _i(e){return e<=0?()=>dt:C((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Fr(e=Oh){return C((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Oh(){return new ft}function kh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?qe((o,i)=>e(o,i,r)):Z,_i(1),n?Cn(t):Fr(()=>new ft))}function Mi(e){return e<=0?()=>dt:C((t,n)=>{let r=[];t.subscribe(D(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 Ph(e,t){let n=arguments.length>=2;return r=>r.pipe(e?qe((o,i)=>e(o,i,r)):Z,Mi(1),n?Cn(t):Fr(()=>new ft))}function Lh(){return C((e,t)=>{let n,r=!1;e.subscribe(D(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Fh(e,t){return C(fl(e,t,arguments.length>=2,!0))}function xi(e={}){let{connector:t=()=>new ie,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let v=s;f(),v?.unsubscribe()};return C((v,N)=>{l++,!d&&!u&&p();let T=c=c??t();N.add(()=>{l--,l===0&&!d&&!u&&(a=Ni(h,o))}),T.subscribe(N),!s&&l>0&&(s=new Pe({next:De=>T.next(De),error:De=>{d=!0,p(),a=Ni(f,n,De),T.error(De)},complete:()=>{u=!0,p(),a=Ni(f,r),T.complete()}}),O(v).subscribe(s))})(i)}}function Ni(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Pe({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function jh(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,xi({connector:()=>new En(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Vh(e){return qe((t,n)=>e<=n)}function Hh(...e){let t=Ce(e);return C((n,r)=>{(t?Lr(e,n,t):Lr(e,n)).subscribe(r)})}function Bh(e,t){return C((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=D(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function $h(e,t=!1){return C((n,r)=>{let o=0;n.subscribe(D(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function pl(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Z}var Si;function jr(){return Si}function Te(e){let t=Si;return Si=e,t}var hl=Symbol("NotFound");function Ht(e){return e===hl||e?.name==="\u0275NotFound"}var z=null,Vr=!1,Ai=1,Uh=null,H=Symbol("SIGNAL");function I(e){let t=z;return z=e,t}function Ur(){return z}var ht={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 gt(e){if(Vr)throw new Error("");if(z===null)return;z.consumerOnSignalRead(e);let t=z.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=z.recomputing;if(r&&(n=t!==void 0?t.nextProducer:z.producers,n!==void 0&&n.producer===e)){z.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===z&&(!r||qh(o,z)))return;let i=Bt(z),s={producer:e,consumer:z,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};z.producersTail=s,t!==void 0?t.nextProducer=s:z.producers=s,i&&vl(e,s)}function gl(){Ai++}function Wr(e){if(!(Bt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ai)){if(!e.producerMustRecompute(e)&&!yt(e)){$r(e);return}e.producerRecomputeValue(e),$r(e)}}function Ri(e){if(e.consumers===void 0)return;let t=Vr;Vr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Wh(r)}}finally{Vr=t}}function Oi(){return z?.consumerAllowSignalWrites!==!1}function Wh(e){e.dirty=!0,Ri(e),e.consumerMarkedDirty?.(e)}function $r(e){e.dirty=!1,e.lastCleanEpoch=Ai}function Ge(e){return e&&ml(e),I(e)}function ml(e){e.producersTail=void 0,e.recomputing=!0}function mt(e,t){I(t),e&&yl(e)}function yl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Bt(e))do n=ki(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function yt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Wr(n),r!==n.version))return!0}return!1}function ze(e){if(Bt(e)){let t=e.producers;for(;t!==void 0;)t=ki(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function vl(e,t){let n=e.consumersTail,r=Bt(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)vl(o.producer,o)}function ki(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,!Bt(t)){let i=t.producers;for(;i!==void 0;)i=ki(i)}return n}function Bt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function qr(e){Uh?.(e)}function qh(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Gr(e,t){return Object.is(e,t)}function Tn(e,t){let n=Object.create(Gh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Wr(n),gt(n),n.value===wn)throw n.error;return n.value};return r[H]=n,qr(n),r}var Hr=Symbol("UNSET"),Br=Symbol("COMPUTING"),wn=Symbol("ERRORED"),Gh=q(W({},ht),{value:Hr,dirty:!0,error:null,equal:Gr,kind:"computed",producerMustRecompute(e){return e.value===Hr||e.value===Br},producerRecomputeValue(e){if(e.value===Br)throw new Error("");let t=e.value;e.value=Br;let n=Ge(e),r,o=!1;try{r=e.computation(),I(null),o=t!==Hr&&t!==wn&&r!==wn&&e.equal(t,r)}catch(i){r=wn,e.error=i}finally{mt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function zh(){throw new Error}var Il=zh;function El(e){Il(e)}function Pi(e){Il=e}var Qh=null;function Li(e,t){let n=Object.create(bn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Dl(n);return r[H]=n,qr(n),[r,s=>$t(n,s),s=>Fi(n,s)]}function Dl(e){return gt(e),e.value}function $t(e,t){Oi()||El(e),e.equal(e.value,t)||(e.value=t,Zh(e))}function Fi(e,t){Oi()||El(e),$t(e,t(e.value))}var bn=q(W({},ht),{equal:Gr,value:void 0,kind:"signal"});function Zh(e){e.version++,gl(),Ri(e),Qh?.(e)}function Cl(e){let t=I(null);try{return e()}finally{I(t)}}var wl=q(W({},ht),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Tl(e){if(e.dirty=!1,e.version>0&&!yt(e))return;e.version++;let t=Ge(e);try{e.cleanup(),e.fn()}finally{mt(e,t)}}var Yr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_=class extends Error{code;constructor(t,n){super(Sn(t,n)),this.code=t}};function Yh(e){return`NG0${Math.abs(e)}`}function Sn(e,t){return`${Yh(e)}${t?": "+t:""}`}var Me=globalThis;function S(e){for(let t in e)if(e[t]===S)return t;throw Error("")}function Ml(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Fe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Fe).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(`
`);return r>=0?n.slice(0,r):n}function Kr(e,t){return e?t?`${e} ${t}`:e:t||""}var Kh=S({__forward_ref__:S});function Jr(e){return e.__forward_ref__=Jr,e.toString=function(){return Fe(this())},e}function B(e){return Zi(e)?e():e}function Zi(e){return typeof e=="function"&&e.hasOwnProperty(Kh)&&e.__forward_ref__===Jr}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Nl(e){return{providers:e.providers||[],imports:e.imports||[]}}function An(e){return Xh(e,Xr)}function Jh(e){return An(e)!==null}function Xh(e,t){return e.hasOwnProperty(t)&&e[t]||null}function eg(e){let t=e?.[Xr]??null;return t||null}function Vi(e){return e&&e.hasOwnProperty(Qr)?e[Qr]:null}var Xr=S({\u0275prov:S}),Qr=S({\u0275inj:S}),x=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=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Yi(e){return e&&!!e.\u0275providers}var Ki=S({\u0275cmp:S}),Ji=S({\u0275dir:S}),Xi=S({\u0275pipe:S}),es=S({\u0275mod:S}),Mn=S({\u0275fac:S}),Ct=S({__NG_ELEMENT_ID__:S}),bl=S({__NG_ENV_ID__:S});function pe(e){return typeof e=="string"?e:e==null?"":String(e)}function xl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():pe(e)}var Sl=S({ngErrorCode:S}),tg=S({ngErrorMessage:S}),ng=S({ngTokenPath:S});function ts(e,t){return Al("",-200,t)}function eo(e,t){throw new _(-201,!1)}function Al(e,t,n){let r=new _(t,e);return r[Sl]=t,r[tg]=e,n&&(r[ng]=n),r}function rg(e){return e[Sl]}var Hi;function Rl(){return Hi}function Y(e){let t=Hi;return Hi=e,t}function ns(e,t,n){let r=An(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;eo(e,"Injector")}var og={},vt=og,Bi="__NG_DI_FLAG__",$i=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=It(n)||0;try{return this.injector.get(t,r&8?null:vt,r)}catch(o){if(Ht(o))return o;throw o}}};function ig(e,t=0){let n=jr();if(n===void 0)throw new _(-203,!1);if(n===null)return ns(e,void 0,t);{let r=sg(t),o=n.retrieve(e,r);if(Ht(o)){if(r.optional)return null;throw o}return o}}function be(e,t=0){return(Rl()||ig)(B(e),t)}function y(e,t){return be(e,It(t))}function It(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ui(e){let t=[];for(let n=0;n<e.length;n++){let r=B(e[n]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=ag(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(be(o,i))}else t.push(be(r))}return t}function rs(e,t){return e[Bi]=t,e.prototype[Bi]=t,e}function ag(e){return e[Bi]}function Qe(e,t){let n=e.hasOwnProperty(Mn);return n?e[Mn]:null}function Ol(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 kl(e){return e.flat(Number.POSITIVE_INFINITY)}function to(e,t){e.forEach(n=>Array.isArray(n)?to(n,t):t(n))}function os(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ll(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 no(e,t,n){let r=Wt(e,t);return r>=0?e[r|1]=n:(r=~r,Ll(e,r,t,n)),r}function ro(e,t){let n=Wt(e,t);if(n>=0)return e[n|1]}function Wt(e,t){return cg(e,t,1)}function cg(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 he={},Q=[],Ye=new x(""),is=new x("",-1),ss=new x(""),Nn=class{get(t,n=vt){if(n===vt){let o=Al("",-201);throw o.name="\u0275NotFound",o}return n}};function as(e){return e[es]||null}function Ne(e){return e[Ki]||null}function oo(e){return e[Ji]||null}function Fl(e){return e[Xi]||null}function qt(e){return{\u0275providers:e}}function jl(e){return qt([{provide:Ye,multi:!0,useValue:e}])}function Vl(...e){return{\u0275providers:cs(!0,e),\u0275fromNgModule:!0}}function cs(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return to(t,s=>{let a=s;Zr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Hl(o,i),n}function Hl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ls(o,i=>{t(i,r)})}}function Zr(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=Vi(e),s=!i&&Ne(e);if(!i&&!s){let c=e.ngModule;if(i=Vi(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 l of c)Zr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{to(i.imports,u=>{Zr(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Hl(l,t)}if(!a){let l=Qe(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:ss,useValue:o,multi:!0},o),t({provide:Ye,useValue:()=>be(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ls(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ls(e,t){for(let n of e)Yi(n)&&(n=n.\u0275providers),Array.isArray(n)?ls(n,t):t(n)}var lg=S({provide:String,useValue:S});function Bl(e){return e!==null&&typeof e=="object"&&lg in e}function ug(e){return!!(e&&e.useExisting)}function dg(e){return!!(e&&e.useFactory)}function Et(e){return typeof e=="function"}function $l(e){return!!e.useClass}var us=new x(""),zr={},_l={},ji;function Gt(){return ji===void 0&&(ji=new Nn),ji}var se=class{},Dt=class extends se{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,qi(t,s=>this.processProvider(s)),this.records.set(is,Ut(void 0,this)),o.has("environment")&&this.records.set(se,Ut(void 0,this));let i=this.records.get(us);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ss,Q,{self:!0}))}retrieve(t,n){let r=It(n)||0;try{return this.get(t,vt,r)}catch(o){if(Ht(o))return o;throw o}}destroy(){_n(this),this._destroyed=!0;let t=I(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(t)}}onDestroy(t){return _n(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){_n(this);let n=Te(this),r=Y(void 0),o;try{return t()}finally{Te(n),Y(r)}}get(t,n=vt,r){if(_n(this),t.hasOwnProperty(bl))return t[bl](this);let o=It(r),i,s=Te(this),a=Y(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=mg(t)&&An(t);u&&this.injectableDefInScope(u)?l=Ut(Wi(t),zr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Gt():this.parent;return n=o&8&&n===vt?null:n,c.get(t,n)}catch(c){let l=rg(c);throw l===-200||l===-201?new _(l,null):c}finally{Y(a),Te(s)}}resolveInjectorInitializers(){let t=I(null),n=Te(this),r=Y(void 0),o;try{let i=this.get(Ye,Q,{self:!0});for(let s of i)s()}finally{Te(n),Y(r),I(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Fe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=B(t);let n=Et(t)?t:B(t&&t.provide),r=pg(t);if(!Et(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ut(void 0,zr,!0),o.factory=()=>Ui(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===_l)throw ts(Fe(t));return n.value===zr&&(n.value=_l,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&gg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(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 Wi(e){let t=An(e),n=t!==null?t.factory:Qe(e);if(n!==null)return n;if(e instanceof x)throw new _(204,!1);if(e instanceof Function)return fg(e);throw new _(204,!1)}function fg(e){if(e.length>0)throw new _(204,!1);let n=eg(e);return n!==null?()=>n.factory(e):()=>new e}function pg(e){if(Bl(e))return Ut(void 0,e.useValue);{let t=ds(e);return Ut(t,zr)}}function ds(e,t,n){let r;if(Et(e)){let o=B(e);return Qe(o)||Wi(o)}else if(Bl(e))r=()=>B(e.useValue);else if(dg(e))r=()=>e.useFactory(...Ui(e.deps||[]));else if(ug(e))r=(o,i)=>be(B(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=B(e&&(e.useClass||e.provide));if(hg(e))r=()=>new o(...Ui(e.deps));else return Qe(o)||Wi(o)}return r}function _n(e){if(e.destroyed)throw new _(205,!1)}function Ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hg(e){return!!e.deps}function gg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function mg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function qi(e,t){for(let n of e)Array.isArray(n)?qi(n,t):n&&Yi(n)?qi(n.\u0275providers,t):t(n)}function io(e,t){let n;e instanceof Dt?(_n(e),n=e):n=new $i(e);let r,o=Te(n),i=Y(void 0);try{return t()}finally{Te(o),Y(i)}}function Ul(){return Rl()!==void 0||jr()!=null}var ge=0,m=1,E=2,$=3,ae=4,K=5,wt=6,zt=7,L=8,Ke=9,xe=10,A=11,Qt=12,fs=13,Tt=14,J=15,Je=16,bt=17,Se=18,On=19,ps=20,Le=21,so=22,je=23,re=24,_t=25,Mt=26,P=27,Wl=1,hs=6,Xe=7,kn=8,Nt=9,j=10;function Ae(e){return Array.isArray(e)&&typeof e[Wl]=="object"}function me(e){return Array.isArray(e)&&e[Wl]===!0}function gs(e){return(e.flags&4)!==0}function Ve(e){return e.componentOffset>-1}function Zt(e){return(e.flags&1)===1}function ye(e){return!!e.template}function Yt(e){return(e[E]&512)!==0}function xt(e){return(e[E]&256)===256}var ms="svg",ql="math";function ce(e){for(;Array.isArray(e);)e=e[ge];return e}function ys(e,t){return ce(t[e])}function le(e,t){return ce(t[e.index])}function Pn(e,t){return e.data[t]}function ao(e,t){return e[t]}function vs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ue(e,t){let n=t[e];return Ae(n)?n:n[ge]}function Gl(e){return(e[E]&4)===4}function co(e){return(e[E]&128)===128}function zl(e){return me(e[$])}function oe(e,t){return t==null?null:e[t]}function Is(e){e[bt]=0}function Es(e){e[E]&1024||(e[E]|=1024,co(e)&&et(e))}function Ql(e,t){for(;e>0;)t=t[Tt],e--;return t}function Ln(e){return!!(e[E]&9216||e[re]?.dirty)}function lo(e){e[xe].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),Ln(e)&&et(e)}function et(e){e[xe].changeDetectionScheduler?.notify(0);let t=Ze(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!co(t)));)t=Ze(t)}function Ds(e,t){if(xt(e))throw new _(911,!1);e[Le]===null&&(e[Le]=[]),e[Le].push(t)}function Zl(e,t){if(e[Le]===null)return;let n=e[Le].indexOf(t);n!==-1&&e[Le].splice(n,1)}function Ze(e){let t=e[$];return me(t)?t[$]:t}function Cs(e){return e[zt]??=[]}function ws(e){return e.cleanup??=[]}function Yl(e,t,n,r){let o=Cs(t);o.push(n),e.firstCreatePass&&ws(e).push(r,o.length-1)}var b={lFrame:lu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Gi=!1;function Kl(){return b.lFrame.elementDepthCount}function Jl(){b.lFrame.elementDepthCount++}function Ts(){b.lFrame.elementDepthCount--}function uo(){return b.bindingsEnabled}function bs(){return b.skipHydrationRootTNode!==null}function _s(e){return b.skipHydrationRootTNode===e}function Ms(){b.skipHydrationRootTNode=null}function g(){return b.lFrame.lView}function k(){return b.lFrame.tView}function Xl(e){return b.lFrame.contextLView=e,e[L]}function eu(e){return b.lFrame.contextLView=null,e}function V(){let e=Ns();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ns(){return b.lFrame.currentTNode}function tu(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Kt(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function xs(){return b.lFrame.isParent}function Ss(){b.lFrame.isParent=!1}function nu(){return b.lFrame.contextLView}function As(){return Gi}function Jt(e){let t=Gi;return Gi=e,t}function fo(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Rs(){return b.lFrame.bindingIndex}function ru(e){return b.lFrame.bindingIndex=e}function He(){return b.lFrame.bindingIndex++}function Fn(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ou(){return b.lFrame.inI18n}function iu(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,po(t)}function su(){return b.lFrame.currentDirectiveIndex}function po(e){b.lFrame.currentDirectiveIndex=e}function au(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ho(){return b.lFrame.currentQueryIndex}function jn(e){b.lFrame.currentQueryIndex=e}function yg(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[K]:null}function Os(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=yg(i),o===null||(i=i[Tt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=cu();return r.currentTNode=t,r.lView=e,!0}function go(e){let t=cu(),n=e[m];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function cu(){let e=b.lFrame,t=e===null?null:e.child;return t===null?lu(e):t}function lu(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 uu(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ks=uu;function mo(){let e=uu();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 du(e){return(b.lFrame.contextLView=Ql(e,b.lFrame.contextLView))[L]}function ve(){return b.lFrame.selectedIndex}function tt(e){b.lFrame.selectedIndex=e}function Xt(){let e=b.lFrame;return Pn(e.tView,e.selectedIndex)}function fu(){b.lFrame.currentNamespace=ms}function pu(){vg()}function vg(){b.lFrame.currentNamespace=null}function hu(){return b.lFrame.currentNamespace}var gu=!0;function yo(){return gu}function Vn(e){gu=e}function zi(e,t=null,n=null,r){let o=Ps(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ps(e,t=null,n=null,r,o=new Set){let i=[n||Q,Vl(e)];return r=r||(typeof e=="object"?void 0:Fe(e)),new Dt(i,t||Gt(),r||null,o)}var fe=class e{static THROW_IF_NOT_FOUND=vt;static NULL=new Nn;static create(t,n){if(Array.isArray(t))return zi({name:""},n,t,"");{let r=t.name??"";return zi({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>be(is)});static __NG_ELEMENT_ID__=-1},mu=new x(""),Re=(()=>{class e{static __NG_ELEMENT_ID__=Ig;static __NG_ENV_ID__=n=>n}return e})(),xn=class extends Re{_lView;constructor(t){super(),this._lView=t}get destroyed(){return xt(this._lView)}onDestroy(t){let n=this._lView;return Ds(n,t),()=>Zl(n,t)}};function Ig(){return new xn(g())}var _e=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Oe=new x("",{providedIn:"root",factory:()=>{let e=y(se),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(_e),t.handleError(n))}}}),yu={provide:Ye,useValue:()=>void y(_e),multi:!0},Eg=new x("",{providedIn:"root",factory:()=>{let e=y(mu).defaultView;if(!e)return;let t=y(Oe),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(),y(Re).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function Dg(){return qt([jl(()=>void y(Eg))])}function Ls(e){return typeof e=="function"&&e[H]!==void 0}function vo(e,t){let[n,r,o]=Li(e,t?.equal),i=n,s=i[H];return i.set=r,i.update=o,i.asReadonly=Fs.bind(i),i}function Fs(){let e=this[H];if(e.readonlyFn===void 0){let t=()=>this();t[H]=e,e.readonlyFn=t}return e.readonlyFn}function js(e){return Ls(e)&&typeof e.set=="function"}var St=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Cg}return e})();function Cg(){return new St(g(),V())}var ne=class{},Hn=new x("",{providedIn:"root",factory:()=>!1});var Vs=new x(""),Io=new x(""),nt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new In(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new M(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Hs=(()=>{class e{internalPendingTasks=y(nt);scheduler=y(ne);errorHandler=y(Oe);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();n().catch(this.errorHandler).finally(r)}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})();function At(...e){}var Bn=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new Qi})}return e})(),Qi=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function un(e){return{toString:e}.toString()}var Eo="__parameters__";function xg(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ed(e,t,n){return un(()=>{let r=xg(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,l,u){let d=c.hasOwnProperty(Eo)?c[Eo]:Object.defineProperty(c,Eo,{value:[]})[Eo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Sg=rs(ed("Optional"),8);var Ag=rs(ed("SkipSelf"),4);function Rg(e){return typeof e=="function"}var Ao=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function td(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Og=(()=>{let e=()=>nd;return e.ngInherit=!0,e})();function nd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pg),kg}function kg(){let e=od(this),t=e?.current;if(t){let n=e.previous;if(n===he)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pg(e,t,n,r,o){let i=this.declaredInputs[r],s=od(e)||Lg(e,{previous:he,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ao(l&&l.currentValue,n,c===he),td(e,t,o,n)}var rd="__ngSimpleChanges__";function od(e){return e[rd]||null}function Lg(e,t){return e[rd]=t}var vu=[];var R=function(e,t=null,n){for(let r=0;r<vu.length;r++){let o=vu[r];o(e,t,n)}};function Fg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=nd(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 id(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:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function _o(e,t,n){sd(e,t,3,n)}function Mo(e,t,n,r){(e[E]&3)===n&&sd(e,t,n,r)}function Bs(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function sd(e,t,n,r){let o=r!==void 0?e[bt]&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[bt]+=65536),(a<i||i==-1)&&(jg(e,n,t,c),e[bt]=(e[bt]&4294901760)+c+2),c++}function Iu(e,t){R(4,e,t);let n=I(null);try{t.call(e)}finally{I(n),R(5,e,t)}}function jg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[bt]>>16&&(e[E]&3)===t&&(e[E]+=16384,Iu(a,i)):Iu(a,i)}var tn=-1,Ot=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 Vg(e){return(e.flags&8)!==0}function Hg(e){return(e.flags&16)!==0}function Bg(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];$g(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function ad(e){return e===3||e===4||e===6}function $g(e){return e.charCodeAt(0)===64}function nn(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?Eu(e,n,o,null,t[++r]):Eu(e,n,o,null,null))}}return e}function Eu(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 cd(e){return e!==tn}function Ro(e){return e&32767}function Ug(e){return e>>16}function Oo(e,t){let n=Ug(e),r=t;for(;n>0;)r=r[Tt],n--;return r}var Js=!0;function ko(e){let t=Js;return Js=e,t}var Wg=256,ld=Wg-1,ud=5,qg=0,ke={};function Gg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ct)&&(r=n[Ct]),r==null&&(r=n[Ct]=qg++);let o=r&ld,i=1<<o;t.data[e+(o>>ud)]|=i}function Po(e,t){let n=dd(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,$s(r.data,e),$s(t,null),$s(r.blueprint,null));let o=Fa(e,t),i=e.injectorIndex;if(cd(o)){let s=Ro(o),a=Oo(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function $s(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fa(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=md(o),r===null)return tn;if(n++,o=o[Tt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return tn}function Xs(e,t,n){Gg(e,t,n)}function zg(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(ad(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 fd(e,t,n){if(n&8||e!==void 0)return e;eo(t,"NodeInjector")}function pd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ke],i=Y(void 0);try{return o?o.get(t,r,n&8):ns(t,r,n&8)}finally{Y(i)}}return fd(r,t,n)}function hd(e,t,n,r=0,o){if(e!==null){if(t[E]&2048&&!(r&2)){let s=Jg(e,t,n,r,ke);if(s!==ke)return s}let i=gd(e,t,n,r,ke);if(i!==ke)return i}return pd(t,n,r,o)}function gd(e,t,n,r,o){let i=Zg(n);if(typeof i=="function"){if(!Os(t,e,r))return r&1?fd(o,n,r):pd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))eo(n);else return s}finally{ks()}}else if(typeof i=="number"){let s=null,a=dd(e,t),c=tn,l=r&1?t[J][K]:null;for((a===-1||r&4)&&(c=a===-1?Fa(e,t):t[a+8],c===tn||!Cu(r,!1)?a=-1:(s=t[m],a=Ro(c),t=Oo(c,t)));a!==-1;){let u=t[m];if(Du(i,a,u.data)){let d=Qg(a,t,n,s,r,l);if(d!==ke)return d}c=t[a+8],c!==tn&&Cu(r,t[m].data[a+8]===l)&&Du(i,a,t)?(s=u,a=Ro(c),t=Oo(c,t)):a=-1}}return o}function Qg(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?Ve(a)&&Js:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=No(a,s,n,c,l);return u!==null?Wn(t,s,u,a,o):ke}function No(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;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&&ye(f)&&f.type===n)return c}return null}function Wn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Ot){let a=i;if(a.resolving){let f=xl(s[n]);throw ts(f)}let c=ko(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Y(a.injectImpl):null,p=Os(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Fg(n,s[n],t)}finally{d!==null&&Y(d),ko(c),a.resolving=!1,ks()}}return i}function Zg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ct)?e[Ct]:void 0;return typeof t=="number"?t>=0?t&ld:Yg:t}function Du(e,t,n){let r=1<<e;return!!(n[t+(e>>ud)]&r)}function Cu(e,t){return!(e&2)&&!(e&1&&t)}var Rt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return hd(this._tNode,this._lView,t,It(r),n)}};function Yg(){return new Rt(V(),g())}function Kg(e){return un(()=>{let t=e.prototype.constructor,n=t[Mn]||ea(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Mn]||ea(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ea(e){return Zi(e)?()=>{let t=ea(B(e));return t&&t()}:Qe(e)}function Jg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!Yt(s);){let a=gd(i,s,n,r|2,ke);if(a!==ke)return a;let c=i.parent;if(!c){let l=s[ps];if(l){let u=l.get(n,ke,r);if(u!==ke)return u}c=md(s),s=s[Tt]}i=c}return o}function md(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[K]:null}function yd(e){return zg(V(),e)}function Xg(){return dn(V(),g())}function dn(e,t){return new Xn(le(e,t))}var Xn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Xg}return e})();function vd(e){return e instanceof Xn?e.nativeElement:e}function em(){return this._results[Symbol.iterator]()}var Lo=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 ie}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=kl(t);(this._changesDetected=!Ol(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]=em};function Id(e){return(e.flags&128)===128}var ja=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(ja||{}),Ed=new Map,tm=0;function nm(){return tm++}function rm(e){Ed.set(e[On],e)}function ta(e){Ed.delete(e[On])}var wu="__ngContext__";function rn(e,t){Ae(t)?(e[wu]=t[On],rm(t)):e[wu]=t}function Dd(e){return wd(e[Qt])}function Cd(e){return wd(e[ae])}function wd(e){for(;e!==null&&!me(e);)e=e[ae];return e}var na;function om(e){na=e}function Va(){if(na!==void 0)return na;if(typeof document<"u")return document;throw new _(210,!1)}var im=new x("",{providedIn:"root",factory:()=>sm}),sm="ng",Td=new x(""),am=new x("",{providedIn:"platform",factory:()=>"unknown"});var cm=new x(""),lm=new x("",{providedIn:"root",factory:()=>Va().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var um="h",dm="b";var bd="r";var _d="di";var Md=!1,Nd=new x("",{providedIn:"root",factory:()=>Md});var fm=new x("");var pm=(e,t,n,r)=>{};function hm(e,t,n,r){pm(e,t,n,r)}function Jo(e){return(e.flags&32)===32}var gm=()=>null;function xd(e,t,n=!1){return gm(e,t,n)}function Sd(e,t){let n=e.contentQueries;if(n!==null){let r=I(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];jn(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function ra(e,t,n){jn(0);let r=I(null);try{t(e,n)}finally{I(r)}}function Ha(e,t,n){if(gs(t)){let r=I(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{I(r)}}}var on=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(on||{}),Do;function mm(){if(Do===void 0&&(Do=null,Me.trustedTypes))try{Do=Me.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Do}function Xo(e){return mm()?.createHTML(e)||e}var Co;function Ad(){if(Co===void 0&&(Co=null,Me.trustedTypes))try{Co=Me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Co}function Tu(e){return Ad()?.createHTML(e)||e}function bu(e){return Ad()?.createScriptURL(e)||e}var $e=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yr})`}},oa=class extends $e{getTypeName(){return"HTML"}},ia=class extends $e{getTypeName(){return"Style"}},sa=class extends $e{getTypeName(){return"Script"}},aa=class extends $e{getTypeName(){return"URL"}},ca=class extends $e{getTypeName(){return"ResourceURL"}};function fn(e){return e instanceof $e?e.changingThisBreaksApplicationSecurity:e}function ei(e,t){let n=Rd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Yr})`)}return n===t}function Rd(e){return e instanceof $e&&e.getTypeName()||null}function ym(e){return new oa(e)}function vm(e){return new ia(e)}function Im(e){return new sa(e)}function Em(e){return new aa(e)}function Dm(e){return new ca(e)}function Cm(e){let t=new ua(e);return wm()?new la(t):t}var la=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Xo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ua=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=Xo(t),n}};function wm(){try{return!!new window.DOMParser().parseFromString(Xo(""),"text/html")}catch{return!1}}var Tm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ba(e){return e=String(e),e.match(Tm)?e:"unsafe:"+e}function Ue(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function er(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Od=Ue("area,br,col,hr,img,wbr"),kd=Ue("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Pd=Ue("rp,rt"),bm=er(Pd,kd),_m=er(kd,Ue("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")),Mm=er(Pd,Ue("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")),_u=er(Od,_m,Mm,bm),Ld=Ue("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nm=Ue("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"),xm=Ue("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"),Sm=er(Ld,Nm,xm),Am=Ue("script,style,template"),da=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=km(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Om(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Mu(t).toLowerCase();if(!_u.hasOwnProperty(n))return this.sanitizedSomething=!0,!Am.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(!Sm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ld[a]&&(c=Ba(c)),this.buf.push(" ",s,'="',Nu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Mu(t).toLowerCase();_u.hasOwnProperty(n)&&!Od.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Nu(t))}};function Rm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Om(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Fd(t);return t}function km(e){let t=e.firstChild;if(t&&Rm(e,t))throw Fd(t);return t}function Mu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Fd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Pm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lm=/([^\#-~ |!])/g;function Nu(e){return e.replace(/&/g,"&amp;").replace(Pm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Lm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var wo;function jd(e,t){let n=null;try{wo=wo||Cm(e);let r=t?String(t):"";n=wo.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=wo.getInertBodyElement(r)}while(r!==i);let a=new da().sanitizeChildren(xu(n)||n);return Xo(a)}finally{if(n){let r=xu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function xu(e){return"content"in e&&Fm(e)?e.content:null}function Fm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var tr=(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})(tr||{});function jm(e){let t=$a();return t?Tu(t.sanitize(tr.HTML,e)||""):ei(e,"HTML")?Tu(fn(e)):jd(Va(),pe(e))}function Vd(e){let t=$a();return t?t.sanitize(tr.URL,e)||"":ei(e,"URL")?fn(e):Ba(pe(e))}function Hd(e){let t=$a();if(t)return bu(t.sanitize(tr.RESOURCE_URL,e)||"");if(ei(e,"ResourceURL"))return bu(fn(e));throw new _(904,!1)}function Vm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Hd:Vd}function Hm(e,t,n){return Vm(t,n)(e)}function $a(){let e=g();return e&&e[xe].sanitizer}var Bm=/^>|^->|<!--|-->|--!>|<!-$/g,$m=/(<|>)/g,Um="\u200B$1\u200B";function Wm(e){return e.replace(Bm,t=>t.replace($m,Um))}function Bd(e){return e instanceof Function?e():e}function qm(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 $d="ng-template";function Gm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&qm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ua(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ua(e){return e.type===4&&e.value!==$d}function zm(e,t,n){let r=e.type===4&&!n?$d:e.value;return t===r}function Qm(e,t,n){let r=4,o=e.attrs,i=o!==null?Km(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ie(r)&&!Ie(c))return!1;if(s&&Ie(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!zm(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!Gm(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=Zm(c,o,Ua(e),n);if(u===-1){if(Ie(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function Zm(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 Jm(t,e)}function Ud(e,t,n=!1){for(let r=0;r<t.length;r++)if(Qm(e,t[r],n))return!0;return!1}function Ym(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Km(e){for(let t=0;t<e.length;t++){let n=e[t];if(ad(n))return t}return e.length}function Jm(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 Xm(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 Su(e,t){return e?":not("+t.trim()+")":t}function ey(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!==""&&!Ie(s)&&(t+=Su(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=Su(i,o)),t}function ty(e){return e.map(ey).join(",")}function ny(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(!Ie(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var G={};function ry(e,t){return e.createText(t)}function oy(e,t,n){e.setValue(t,n)}function iy(e,t){return e.createComment(Wm(t))}function Wd(e,t,n){return e.createElement(t,n)}function Fo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function qd(e,t,n){e.appendChild(t,n)}function Au(e,t,n,r,o){r!==null?Fo(e,t,n,r,o):qd(e,t,n)}function Gd(e,t,n,r){e.removeChild(null,t,n,r)}function sy(e,t,n){e.setAttribute(t,"style",n)}function ay(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Bg(e,t,r),o!==null&&ay(e,t,o),i!==null&&sy(e,t,i)}function Wa(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=cy(d,p),h=typeof l=="function"?l():l;return f[m]={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:u}}function cy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}function ly(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Wa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ge]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Is(d),d[$]=d[Tt]=e,d[L]=n,d[xe]=s||e&&e[xe],d[A]=a||e&&e[A],d[Ke]=c||e&&e[Ke]||null,d[K]=i,d[On]=nm(),d[wt]=u,d[ps]=l,d[J]=t.type==2?e[J]:d,d}function uy(e,t,n){let r=le(t,e),o=ly(n),i=e[xe].rendererFactory,s=Ga(e,qa(e,o,null,Qd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Qd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Zd(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 Ga(e,t){return e[Qt]?e[fs][ae]=t:e[Qt]=t,e[fs]=t,t}function dy(e=1){Yd(k(),g(),ve()+e,!1)}function Yd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&_o(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Mo(t,i,0,n)}tt(n)}var ti=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ti||{});function fa(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ti.SignalBased)!==0&&(c=t[i][H]),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):td(t,c,i,r)}finally{I(o)}}var jo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(jo||{}),fy;function za(e,t){return fy(e,t)}var Vo=new Set,ni=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ni||{}),pn=new x(""),Ru=new Set;function it(e){Ru.has(e)||(Ru.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Kd=!1,pa=class extends ie{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ul()&&(this.destroyRef=y(Re,{optional:!0})??void 0,this.pendingTasks=y(nt,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof F&&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)}})}}},Be=pa;function Jd(e){let t,n;function r(){e=At;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 Ou(e){return queueMicrotask(()=>e()),()=>{e=At}}var Qa="isAngularZone",Ho=Qa+"_ID",py=0,X=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Be(!1);onMicrotaskEmpty=new Be(!1);onStable=new Be(!1);onError=new Be(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Kd}=t;if(typeof Zone>"u")throw new _(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,my(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(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,hy,At,At);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)}},hy={};function Za(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 gy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Jd(()=>{e.callbackScheduled=!1,ha(e),e.isCheckStableRunning=!0,Za(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ha(e)}function my(e){let t=()=>{gy(e)},n=py++;e._inner=e._inner.fork({name:"angular",properties:{[Qa]:!0,[Ho]:n,[Ho+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(yy(c))return r.invokeTask(i,s,a,c);try{return ku(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Pu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return ku(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!vy(c)&&t(),Pu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ha(e),Za(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 ha(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ku(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pu(e){e._nesting--,Za(e)}var qn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Be;onMicrotaskEmpty=new Be;onStable=new Be;onError=new Be;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 yy(e){return Xd(e,"__ignore_ng_zone__")}function vy(e){return Xd(e,"__scheduler_tick__")}function Xd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ri=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ya=[0,1,2,3],Ka=(()=>{class e{ngZone=y(X);scheduler=y(ne);errorHandler=y(_e,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){y(pn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(16),this.executing=!0;for(let r of Ya)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&&R(17)}register(n){let{view:r}=n;r!==void 0?((r[_t]??=[]).push(n),et(r),r[E]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ni.AFTER_NEXT_RENDER,n):n()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Gn=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[_t];t&&(this.view[_t]=t.filter(n=>n!==this))}};function Iy(e,t){let n=t?.injector??y(fe);return it("NgAfterNextRender"),Dy(e,n,t,!0)}function Ey(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Dy(e,t,n,r){let o=t.get(ri);o.impl??=t.get(Ka);let i=t.get(pn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Re):null,a=t.get(St,null,{optional:!0}),c=new Gn(o.impl,Ey(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Cy=new x("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function ef(e,t){let n=e.get(Cy);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t);n.scheduler&&n.scheduler(e)}function wy(e,t){for(let[n,r]of t)ef(e,r.animateFns)}function Lu(e,t,n,r){let o=e?.[Mt]?.enter;t!==null&&o&&o.has(n.index)&&wy(r,o)}function en(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;me(o)?c=o:Ae(o)&&(l=!0,o=o[ge]);let u=ce(o);e===0&&r!==null?(Lu(a,r,i,n),s==null?qd(t,r,u):Fo(t,r,u,s||null,!0)):e===1&&r!==null?(Lu(a,r,i,n),Fo(t,r,u,s||null,!0)):e===2?Fu(a,i,n,d=>{Gd(t,u,l,d)}):e===3&&Fu(a,i,n,()=>{t.destroyNode(u)}),c!=null&&ky(t,e,n,c,i,r,s)}}function Ty(e,t){tf(e,t),t[ge]=null,t[K]=null}function by(e,t,n,r,o,i){r[ge]=o,r[K]=t,ii(e,r,n,1,o,i)}function tf(e,t){t[xe].changeDetectionScheduler?.notify(9),ii(e,t,t[A],2,null,null)}function _y(e){let t=e[Qt];if(!t)return Us(e[m],e);for(;t;){let n=null;if(Ae(t))n=t[Qt];else{let r=t[j];r&&(n=r)}if(!n){for(;t&&!t[ae]&&t!==e;)Ae(t)&&Us(t[m],t),t=t[$];t===null&&(t=e),Ae(t)&&Us(t[m],t),n=t&&t[ae]}t=n}}function Ja(e,t){let n=e[Nt],r=n.indexOf(t);n.splice(r,1)}function oi(e,t){if(xt(t))return;let n=t[A];n.destroyNode&&ii(e,t,n,3,null,null),_y(t)}function Us(e,t){if(xt(t))return;let n=I(null);try{t[E]&=-129,t[E]|=256,t[re]&&ze(t[re]),xy(e,t),Ny(e,t),t[m].type===1&&t[A].destroy();let r=t[Je];if(r!==null&&me(t[$])){r!==t[$]&&Ja(r,t);let o=t[Se];o!==null&&o.detachView(e)}ta(t)}finally{I(n)}}function Fu(e,t,n,r){let o=e?.[Mt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);e&&Vo.add(e),ef(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s)for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.running=Promise.allSettled(a),My(e,r)}else e&&Vo.delete(e),r(!1)})}function My(e,t){let n=e[Mt]?.running;if(n){n.then(()=>{e[Mt].running=void 0,Vo.delete(e),t(!0)});return}t(!1)}function Ny(e,t){let n=e.cleanup,r=t[zt];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[zt]=null);let o=t[Le];if(o!==null){t[Le]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[je];if(i!==null){t[je]=null;for(let s of i)s.destroy()}}function xy(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 Ot)){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];R(4,a,c);try{c.call(a)}finally{R(5,a,c)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function nf(e,t,n){return Sy(e,t.parent,n)}function Sy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ge];if(Ve(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===on.None||o===on.Emulated)return null}return le(r,n)}function rf(e,t,n){return Ry(e,t,n)}function Ay(e,t,n){return e.type&40?le(e,n):null}var Ry=Ay,ju;function Xa(e,t,n,r){let o=nf(e,r,t),i=t[A],s=r.parent||t[K],a=rf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Au(i,o,n[c],a,!1);else Au(i,o,n,a,!1);ju!==void 0&&ju(i,r,t,n,o)}function $n(e,t){if(t!==null){let n=t.type;if(n&3)return le(t,e);if(n&4)return ga(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return $n(e,r);{let o=e[t.index];return me(o)?ga(-1,o):ce(o)}}else{if(n&128)return $n(e,t.next);if(n&32)return za(t,e)()||ce(e[t.index]);{let r=of(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ze(e[J]);return $n(o,r)}else return $n(e,t.next)}}}return null}function of(e,t){if(t!==null){let r=e[J][K],o=t.projection;return r.projection[o]}return null}function ga(e,t){let n=j+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return $n(r,o)}return t[Xe]}function ec(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ke];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&rn(ce(c),r),n.flags|=2),!Jo(n))if(l&8)ec(e,t,n.child,r,o,i,!1),en(t,e,a,o,c,n,i,r);else if(l&32){let u=za(n,r),d;for(;d=u();)en(t,e,a,o,d,n,i,r);en(t,e,a,o,c,n,i,r)}else l&16?sf(e,t,r,n,o,i):en(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ii(e,t,n,r,o,i){ec(n,r,e.firstChild,t,o,i,!1)}function Oy(e,t,n){let r=t[A],o=nf(e,n,t),i=n.parent||t[K],s=rf(i,n,t);sf(r,0,t,n,o,s)}function sf(e,t,n,r,o,i){let s=n[J],c=s[K].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];en(t,e,n[Ke],o,u,r,i,n)}else{let l=c,u=s[$];Id(r)&&(l.flags|=128),ec(e,t,l,u,o,i,!0)}}function ky(e,t,n,r,o,i,s){let a=r[Xe],c=ce(r);a!==c&&en(t,e,n,i,a,o,s);for(let l=j;l<r.length;l++){let u=r[l];ii(u[m],u,e,t,i,a)}}function Py(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:jo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=jo.Important),e.setStyle(n,r,o,i))}}function af(e,t,n,r,o){let i=ve(),s=r&2;try{tt(-1),s&&t.length>P&&Yd(e,t,P,!1),R(s?2:0,o,n),n(r,o)}finally{tt(i),R(s?3:1,o,n)}}function si(e,t,n){Hy(e,t,n),(n.flags&64)===64&&By(e,t,n)}function nr(e,t,n=le){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 Ly(e,t,n,r){let i=r.get(Nd,Md)||n===on.ShadowDom,s=e.selectRootElement(t,i);return Fy(s),s}function Fy(e){jy(e)}var jy=()=>null;function Vy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function cf(e,t,n,r,o,i){let s=t[m];if(ai(e,s,t,n,r)){Ve(e)&&uf(t,e.index);return}e.type&3&&(n=Vy(n)),lf(e,t,n,r,o,i)}function lf(e,t,n,r,o,i){if(e.type&3){let s=le(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function uf(e,t){let n=ue(t,e);n[E]&16||(n[E]|=64)}function Hy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ve(n)&&uy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Po(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Wn(t,e,s,n);if(rn(c,t),i!==null&&Wy(t,s-r,c,a,n,i),ye(a)){let l=ue(n.index,t);l[L]=Wn(t,e,s,n)}}}function By(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=su();try{tt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];po(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&$y(c,l)}}finally{tt(-1),po(s)}}function $y(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function tc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Ud(t,i.selectors,!1)&&(r??=[],ye(i)?r.unshift(i):r.push(i))}return r}function Uy(e,t,n,r,o,i){let s=le(e,t);df(t[A],s,i,e.value,n,r,o)}function df(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?pe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Wy(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],l=s[a+1];fa(r,n,c,l)}}function nc(e,t,n,r,o){let i=P+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,Kt(e,!0);let c=e.type===2;return c?(zd(t[A],a,e),(Kl()===0||Zt(e))&&rn(a,t),Jl()):rn(a,t),yo()&&(!c||!Jo(e))&&Xa(s,t,a,e),e}function rc(e){let t=e;return xs()?Ss():(t=t.parent,Kt(t,!1)),t}function qy(e,t){let n=e[Ke];if(!n)return;let r;try{r=n.get(Oe,null)}catch{r=null}r?.(t)}function ai(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 l=s[c],u=s[c+1],d=t.data[l];fa(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];fa(u,l,r,o),a=!0}return a}function Gy(e,t){let n=ue(t,e),r=n[m];zy(r,n);let o=n[ge];o!==null&&n[wt]===null&&(n[wt]=xd(o,n[Ke])),R(18),oc(r,n,n[L]),R(19,n[L])}function zy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function oc(e,t,n){go(t);try{let r=e.viewQuery;r!==null&&ra(1,r,n);let o=e.template;o!==null&&af(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Se]?.finishViewCreation(e),e.staticContentQueries&&Sd(e,t),e.staticViewQueries&&ra(2,e.viewQuery,n);let i=e.components;i!==null&&Qy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,mo()}}function Qy(e,t){for(let n=0;n<t.length;n++)Gy(e,t[n])}function rr(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=qa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Je]=l;let u=e[Se];return u!==null&&(c[Se]=u.createEmbeddedView(i)),oc(i,c,n),c}finally{I(o)}}function sn(e,t){return!t||t.firstChild===null||Id(e)}function zn(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(ce(i)),me(i)&&ff(i,r);let s=n.type;if(s&8)zn(e,t,n.child,r);else if(s&32){let a=za(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=of(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ze(t[J]);zn(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function ff(e,t){for(let n=j;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&zn(r[m],r,o,t)}e[Xe]!==e[ge]&&t.push(e[Xe])}function pf(e){if(e[_t]!==null){for(let t of e[_t])t.impl.addSequence(t);e[_t].length=0}}var hf=[];function Zy(e){return e[re]??Yy(e)}function Yy(e){let t=hf.pop()??Object.create(Jy);return t.lView=e,t}function Ky(e){e.lView[re]!==e&&(e.lView=null,hf.push(e))}var Jy=q(W({},ht),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{et(e.lView)},consumerOnSignalRead(){this.lView[re]=this}});function Xy(e){let t=e[re]??Object.create(ev);return t.lView=e,t}var ev=q(W({},ht),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ze(e.lView);for(;t&&!gf(t[m]);)t=Ze(t);t&&Es(t)},consumerOnSignalRead(){this.lView[re]=this}});function gf(e){return e.type!==2}function mf(e){if(e[je]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[je])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var tv=100;function yf(e,t=0){let r=e[xe].rendererFactory,o=!1;o||r.begin?.();try{nv(e,t)}finally{o||r.end?.()}}function nv(e,t){let n=As();try{Jt(!0),ma(e,t);let r=0;for(;Ln(e);){if(r===tv)throw new _(103,!1);r++,ma(e,1)}}finally{Jt(n)}}function rv(e,t,n,r){if(xt(t))return;let o=t[E],i=!1,s=!1;go(t);let a=!0,c=null,l=null;i||(gf(e)?(l=Zy(t),c=Ge(l)):Ur()===null?(a=!1,l=Xy(t),c=Ge(l)):t[re]&&(ze(t[re]),t[re]=null));try{Is(t),ru(e.bindingStartIndex),n!==null&&af(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&_o(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Mo(t,f,0,null),Bs(t,0)}if(s||ov(t),mf(t),vf(t,0),e.contentQueries!==null&&Sd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&_o(t,f)}else{let f=e.contentHooks;f!==null&&Mo(t,f,1),Bs(t,1)}sv(e,t);let d=e.components;d!==null&&Ef(t,d,0);let p=e.viewQuery;if(p!==null&&ra(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&_o(t,f)}else{let f=e.viewHooks;f!==null&&Mo(t,f,2),Bs(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[so]){for(let f of t[so])f();t[so]=null}i||(pf(t),t[E]&=-73)}catch(u){throw i||et(t),u}finally{l!==null&&(mt(l,c),a&&Ky(l)),mo()}}function vf(e,t){for(let n=Dd(e);n!==null;n=Cd(n))for(let r=j;r<n.length;r++){let o=n[r];If(o,t)}}function ov(e){for(let t=Dd(e);t!==null;t=Cd(t)){if(!(t[E]&2))continue;let n=t[Nt];for(let r=0;r<n.length;r++){let o=n[r];Es(o)}}}function iv(e,t,n){R(18);let r=ue(t,e);If(r,n),R(19,r[L])}function If(e,t){co(e)&&ma(e,t)}function ma(e,t){let r=e[m],o=e[E],i=e[re],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&yt(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)rv(r,e,r.template,e[L]);else if(o&8192){let a=I(null);try{mf(e),vf(e,1);let c=r.components;c!==null&&Ef(e,c,1),pf(e)}finally{I(a)}}}function Ef(e,t,n){for(let r=0;r<t.length;r++)iv(e,t[r],n)}function sv(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)tt(~o);else{let i=o,s=n[++r],a=n[++r];iu(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{tt(-1)}}function ic(e,t){let n=As()?64:1088;for(e[xe].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=Ze(e);if(Yt(e)&&!r)return e;e=r}return null}function Df(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Cf(e,t){let n=j+t;if(n<e.length)return e[n]}function or(e,t,n,r=!0){let o=t[m];if(av(o,t,e,n),r){let s=ga(n,e),a=t[A],c=a.parentNode(e[Xe]);c!==null&&by(o,e[K],a,t,c,s)}let i=t[wt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function wf(e,t){let n=Qn(e,t);return n!==void 0&&oi(n[m],n),n}function Qn(e,t){if(e.length<=j)return;let n=j+t,r=e[n];if(r){let o=r[Je];o!==null&&o!==e&&Ja(o,r),t>0&&(e[n-1][ae]=r[ae]);let i=Rn(e,j+t);Ty(r[m],r);let s=i[Se];s!==null&&s.detachView(i[m]),r[$]=null,r[ae]=null,r[E]&=-129}return r}function av(e,t,n,r){let o=j+r,i=n.length;r>0&&(n[o-1][ae]=t),r<i-j?(t[ae]=n[o],os(n,j+r,t)):(n.push(t),t[ae]=null),t[$]=n;let s=t[Je];s!==null&&n!==s&&Tf(s,t);let a=t[Se];a!==null&&a.insertView(e),lo(t),t[E]|=128}function Tf(e,t){let n=e[Nt],r=t[$];if(Ae(r))e[E]|=2;else{let o=r[$][J];t[J]!==o&&(e[E]|=2)}n===null?e[Nt]=[t]:n.push(t)}var rt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return zn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[L]}set context(t){this._lView[L]=t}get destroyed(){return xt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(me(t)){let n=t[kn],r=n?n.indexOf(this):-1;r>-1&&(Qn(t,r),Rn(n,r))}this._attachedToViewContainer=!1}oi(this._lView[m],this._lView)}onDestroy(t){Ds(this._lView,t)}markForCheck(){ic(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){lo(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,yf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Yt(this._lView),n=this._lView[Je];n!==null&&!t&&Ja(n,this._lView),tf(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=Yt(this._lView),r=this._lView[Je];r!==null&&!n&&Tf(r,this._lView),lo(this._lView)}};var Zn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=cv;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=rr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new rt(i)}}return e})();function cv(){return ci(V(),g())}function ci(e,t){return e.type&4?new Zn(t,e,dn(e,t)):null}function hn(e,t,n,r,o){let i=e.data[t];if(i===null)i=lv(e,t,n,r,o),ou()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=tu();i.injectorIndex=s===null?-1:s.injectorIndex}return Kt(i,!0),i}function lv(e,t,n,r,o){let i=Ns(),s=xs(),a=s?i:i&&i.parent,c=e.data[t]=dv(e,a,n,t,r,o);return uv(e,c,i,s),c}function uv(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 dv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return bs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var sS=new RegExp(`^(\\d+)*(${dm}|${um})*(.*)`);function fv(e){let t=e[hs]??[],r=e[$][A],o=[];for(let i of t)i.data[_d]!==void 0?o.push(i):pv(i,r);e[hs]=o}function pv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[bd];for(;n<o;){let i=r.nextSibling;Gd(t,r,!1),r=i,n++}}}var hv=()=>null,gv=()=>null;function Bo(e,t){return hv(e,t)}function bf(e,t,n){return gv(e,t,n)}var _f=class{},li=class{},ya=class{resolveComponentFactory(t){throw new _(917,!1)}},ir=class{static NULL=new ya},Yn=class{},mv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>yv()}return e})();function yv(){let e=g(),t=V(),n=ue(t.index,e);return(Ae(n)?n:e)[A]}var Mf=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();var xo={},va=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,xo,r);return o!==xo||n===xo?o:this.parentInjector.get(t,n,r)}};function $o(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=Kr(o,a);else if(i==2){let c=a,l=t[++s];r=Kr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function sr(e,t=0){let n=g();if(n===null)return be(e,t);let r=V();return hd(r,n,B(e),t)}function vv(){let e="invalid";throw new Error(e)}function Nf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Dv(e,t,n,a,i,c,l)}i!==null&&r!==null&&Iv(n,r,i)}function Iv(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 _(-301,!1);r.push(t[o],i)}}function Ev(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Dv(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&ye(f)&&(c=!0,Ev(e,n,p)),Xs(Po(n,t),e,f.type)}Mv(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Zd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=nn(n.mergedAttrs,f.hostAttrs),wv(e,n,t,d,f),_v(d,f,o),s!==null&&s.has(f)){let[v,N]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,N+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;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Cv(e,n,i)}function Cv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Vu(0,t,o,r),Vu(1,t,o,r),Bu(t,r,!1);else{let i=n.get(o);Hu(0,t,i,r),Hu(1,t,i,r),Bu(t,r,!0)}}}function Vu(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),xf(t,i)}}function Hu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),xf(t,s)}}function xf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Bu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ua(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function wv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Qe(o.type,!0)),s=new Ot(i,ye(o),sr,null);e.blueprint[r]=s,n[r]=s,Tv(e,t,r,Zd(e,n,o.hostVars,G),o)}function Tv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;bv(s)!=a&&s.push(a),s.push(n,r,i)}}function bv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function _v(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ye(t)&&(n[""]=e)}}function Mv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function sc(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=oe(l,s),d=hn(c,e,n,r,u);return i&&Nf(c,t,d,oe(l,a),o),d.mergedAttrs=nn(d.mergedAttrs,d.attrs),d.attrs!==null&&$o(d,d.attrs,!1),d.mergedAttrs!==null&&$o(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ac(e,t){id(e,t),gs(t)&&e.queries.elementEnd(t)}function Nv(e,t,n,r,o,i){let s=t.consts,a=oe(s,o),c=hn(t,e,n,r,a);if(c.mergedAttrs=nn(c.mergedAttrs,c.attrs),i!=null){let l=oe(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&$o(c,c.attrs,!1),c.mergedAttrs!==null&&$o(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function cc(e){return Af(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Sf(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Af(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function lc(e,t,n){return e[t]=n}function xv(e,t){return e[t]}function te(e,t,n){if(n===G)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function uc(e,t,n,r){let o=te(e,t,n);return te(e,t+1,r)||o}function Sv(e,t,n,r,o){let i=uc(e,t,n,r);return te(e,t+2,o)||i}function So(e,t,n){return function r(o){let i=Ve(e)?ue(e.index,t):t;ic(i,5);let s=t[L],a=$u(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=$u(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function $u(e,t,n,r){let o=I(null);try{return R(6,t,n),n(r)!==!1}catch(i){return qy(e,i),!1}finally{R(7,t,n),I(o)}}function Rf(e,t,n,r,o,i,s,a){let c=Zt(e),l=!1,u=null;if(!r&&c&&(u=Rv(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=le(e,n),p=r?r(d):d;hm(n,p,i,a);let f=o.listen(p,i,a);if(!Av(i)){let h=r?v=>r(ce(v[e.index])):e.index;Of(h,t,n,i,a,f,!1)}}return l}function Av(e){return e.startsWith("animation")||e.startsWith("transition")}function Rv(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[zt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Of(e,t,n,r,o,i,s){let a=t.firstCreatePass?ws(t):null,c=Cs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Uu(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);Of(e.index,a,t,o,i,d,!0)}var Ia=Symbol("BINDING");var Uo=class extends ir{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ne(t);return new ot(n,this.ngModule)}};function Ov(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ti.SignalBased)!==0};return o&&(i.transform=o),i})}function kv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Pv(e,t,n){let r=t instanceof se?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new va(n,r):n}function Lv(e){let t=e.get(Yn,null);if(t===null)throw new _(407,!1);let n=e.get(Mf,null),r=e.get(ne,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Fv(e,t){let n=kf(e);return Wd(t,n,n==="svg"?ms:n==="math"?ql:null)}function kf(e){return(e.selectors[0][0]||"div").toLowerCase()}var ot=class extends li{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Ov(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=kv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ty(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(22);let a=I(null);try{let c=this.componentDef,l=jv(r,c,s,i),u=Pv(c,o||this.ngModule,t),d=Lv(u),p=d.rendererFactory.createRenderer(null,c),f=r?Ly(p,r,c.encapsulation,u):Fv(c,p),h=s?.some(Wu)||i?.some(T=>typeof T!="function"&&T.bindings.some(Wu)),v=qa(null,l,null,512|Qd(c),null,null,d,p,u,null,xd(f,u,!0));v[P]=f,go(v);let N=null;try{let T=sc(P,v,2,"#host",()=>l.directiveRegistry,!0,0);zd(p,f,T),rn(f,v),si(l,v,T),Ha(l,T,v),ac(l,T),n!==void 0&&Hv(T,this.ngContentSelectors,n),N=ue(T.index,v),v[L]=N[L],oc(l,v,null)}catch(T){throw N!==null&&ta(N),ta(v),T}finally{R(23),mo()}return new Wo(this.componentType,v,!!h)}finally{I(a)}}};function jv(e,t,n,r){let o=e?["ng-version","20.3.10"]:ny(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ia].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Ia].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=oo(d);c.push(p)}return Wa(0,null,Vv(i,s),1,a,c,null,null,null,[o],null)}function Vv(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 Wu(e){let t=e[Ia].kind;return t==="input"||t==="twoWay"}var Wo=class extends _f{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Pn(n[m],P),this.location=dn(this._tNode,n),this.instance=ue(this._tNode.index,n)[L],this.hostView=this.changeDetectorRef=new rt(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=ai(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=ue(r.index,o);ic(s,1)}get injector(){return new Rt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Hv(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 ui=(()=>{class e{static __NG_ELEMENT_ID__=Bv}return e})();function Bv(){let e=V();return Lf(e,g())}var $v=ui,Pf=class extends $v{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return dn(this._hostTNode,this._hostLView)}get injector(){return new Rt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fa(this._hostTNode,this._hostLView);if(cd(t)){let n=Oo(t,this._hostLView),r=Ro(t),o=n[m].data[r+8];return new Rt(o,n)}else return new Rt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=qu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Bo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,sn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Rg(t),l;if(c)l=n;else{let N=n||{};l=N.index,r=N.injector,o=N.projectableNodes,i=N.environmentInjector||N.ngModuleRef,s=N.directives,a=N.bindings}let u=c?t:new ot(Ne(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(se,null);T&&(i=T)}let p=Ne(u.componentType??{}),f=Bo(this._lContainer,p?.id??null),h=f?.firstChild??null,v=u.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,l,sn(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(zl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new Pf(c,c[K],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return or(s,o,i,r),t.attachToViewContainerRef(),os(Ws(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=qu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Qn(this._lContainer,n);r&&(Rn(Ws(this._lContainer),n),oi(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=Qn(this._lContainer,n);return r&&Rn(Ws(this._lContainer),n)!=null?new rt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function qu(e){return e[kn]}function Ws(e){return e[kn]||(e[kn]=[])}function Lf(e,t){let n,r=t[e.index];return me(r)?n=r:(n=Df(r,t,null,e),t[e.index]=n,Ga(t,n)),Wv(n,t,e,r),new Pf(n,e,t)}function Uv(e,t){let n=e[A],r=n.createComment(""),o=le(t,e),i=n.parentNode(o);return Fo(n,i,r,n.nextSibling(o),!1),r}var Wv=zv,qv=()=>!1;function Gv(e,t,n){return qv(e,t,n)}function zv(e,t,n,r){if(e[Xe])return;let o;n.type&8?o=ce(r):o=Uv(t,n),e[Xe]=o}var Ea=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Da=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++)fc(t,n).matches!==null&&this.queries[n].setDirty()}},qo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Jv(t):this.predicate=t}},Ca=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)}},wa=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,Qv(n,i)),this.matchTNodeWithReadOption(t,n,No(n,t,i,!1,!1))}else r===Zn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,No(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Xn||o===ui||o===Zn&&n.type&4)this.addMatch(n.index,-2);else{let i=No(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 Qv(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 Zv(e,t){return e.type&11?dn(e,t):e.type&4?ci(e,t):null}function Yv(e,t,n,r){return n===-1?Zv(t,e):n===-2?Kv(e,t,r):Wn(e,e[m],n,t)}function Kv(e,t,n){if(n===Xn)return dn(t,e);if(n===Zn)return ci(t,e);if(n===ui)return Lf(t,e)}function Ff(e,t,n,r){let o=t[Se].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 l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Yv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ta(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Ff(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 l=i[a+1],u=t[-c];for(let d=j;d<u.length;d++){let p=u[d];p[Je]===p[$]&&Ta(p[m],p,l,r)}if(u[Nt]!==null){let d=u[Nt];for(let p=0;p<d.length;p++){let f=d[p];Ta(f[m],f,l,r)}}}}}return r}function dc(e,t){return e[Se].queries[t].queryList}function jf(e,t,n){let r=new Lo((n&4)===4);return Yl(e,t,r,r.destroy),(t[Se]??=new Da).queries.push(new Ea(r))-1}function Vf(e,t,n){let r=k();return r.firstCreatePass&&(Bf(r,new qo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),jf(r,g(),t)}function Hf(e,t,n,r){let o=k();if(o.firstCreatePass){let i=V();Bf(o,new qo(t,n,r),i.index),Xv(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return jf(o,g(),n)}function Jv(e){return e.split(",").map(t=>t.trim())}function Bf(e,t,n){e.queries===null&&(e.queries=new Ca),e.queries.track(new wa(t,n))}function Xv(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 fc(e,t){return e.queries.getByIndex(t)}function $f(e,t){let n=e[m],r=fc(n,t);return r.crossesNgTemplate?Ta(n,e,t,[]):Ff(n,e,r,t)}function Uf(e,t,n){let r,o=Tn(()=>{r._dirtyCounter();let i=eI(r,e);if(t&&i===void 0)throw new _(-951,!1);return i});return r=o[H],r._dirtyCounter=vo(0),r._flatValue=void 0,o}function pc(e){return Uf(!0,!1,e)}function hc(e){return Uf(!0,!0,e)}function Wf(e,t){let n=e[H];n._lView=g(),n._queryIndex=t,n._queryList=dc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function eI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:Q;let o=dc(n,r),i=$f(n,r);return o.reset(i,vd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var an=class{},qf=class{};var Go=class extends an{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Uo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=as(t);this._bootstrapComponents=Bd(i.bootstrap),this._r3Injector=Ps(t,n,[{provide:an,useValue:this},{provide:ir,useValue:this.componentFactoryResolver},...r],Fe(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)}},zo=class extends qf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Go(this.moduleType,t,[])}};var Kn=class extends an{injector;componentFactoryResolver=new Uo(this);instance=null;constructor(t){super();let n=new Dt([...t.providers,{provide:an,useValue:this},{provide:ir,useValue:this.componentFactoryResolver}],t.parent||Gt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Gf(e,t,n=null){return new Kn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var tI=(()=>{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=cs(!1,n.type),o=r.length>0?Gf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(be(se))})}return e})();function nI(e){return un(()=>{let t=zf(e),n=q(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ja.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(tI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&it("NgStandalone"),Qf(n);let r=e.dependencies;return n.directiveDefs=Gu(r,rI),n.pipeDefs=Gu(r,Fl),n.id=lI(n),n})}function rI(e){return Ne(e)||oo(e)}function oI(e){return un(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function iI(e,t){if(e==null)return he;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=ti.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function sI(e){if(e==null)return he;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function aI(e){return un(()=>{let t=zf(e);return Qf(t),t})}function cI(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 zf(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||he,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:iI(e.inputs,t),outputs:sI(e.outputs),debugInfo:null}}function Qf(e){e.features?.forEach(t=>t(e))}function Gu(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 lI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function uI(e){return Object.getPrototypeOf(e.prototype).constructor}function Zf(e){let t=uI(e.type),n=!0,r=[e];for(;t;){let o;if(ye(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=qs(e.inputs),s.declaredInputs=qs(e.declaredInputs),s.outputs=qs(e.outputs);let a=o.hostBindings;a&&gI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&pI(e,c),l&&hI(e,l),dI(e,o),Ml(e.outputs,o.outputs),ye(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Zf&&(n=!1)}}t=Object.getPrototypeOf(t)}fI(r)}function dI(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 fI(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=nn(o.hostAttrs,n=nn(n,o.hostAttrs))}}function qs(e){return e===he?{}:e===Q?[]:e}function pI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function hI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function gI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function mI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=yI,n.hostDirectives=r?e.map(ba):[e]):r?n.hostDirectives.unshift(...e.map(ba)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function yI(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,Yf(s,t,r),o.set(s,[a,t.length-1])}i===0&&ye(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Yf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)zu(ba(i),t,n)}else zu(r,t,n)}function zu(e,t,n){let r=oo(e.directive);vI(r.declaredInputs,e.inputs),Yf(r,t,n),n.set(r,e),t.push(r)}function ba(e){return typeof e=="function"?{directive:B(e),inputs:he,outputs:he}:{directive:B(e.directive),inputs:Qu(e.inputs),outputs:Qu(e.outputs)}}function Qu(e){if(e===void 0||e.length===0)return he;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function vI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Kf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=nn(e.mergedAttrs,e.attrs);let u=e.tView=Wa(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Kt(e,!1);let c=EI(n,t,e,r);yo()&&Xa(n,t,c,e),rn(c,t);let l=Df(c,t,c,e);t[r+P]=l,Ga(t,l),Gv(l,e,t)}function II(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;return t.firstCreatePass?(p=hn(t,d,4,s||null,a||null),uo()&&Nf(t,e,p,oe(t.consts,l),tc),id(t,p)):p=t.data[d],Kf(p,e,t,n,r,o,i,c),Zt(p)&&si(t,e,p),l!=null&&nr(e,p,u),p}function cn(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;if(t.firstCreatePass){if(p=hn(t,d,4,s||null,a||null),l!=null){let f=oe(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Kf(p,e,t,n,r,o,i,c),l!=null&&nr(e,p,u),p}function Jf(e,t,n,r,o,i,s,a){let c=g(),l=k(),u=oe(l.consts,i);return II(c,l,e,t,n,r,o,u,void 0,s,a),Jf}function Xf(e,t,n,r,o,i,s,a){let c=g(),l=k(),u=oe(l.consts,i);return cn(c,l,e,t,n,r,o,u,void 0,s,a),Xf}var EI=DI;function DI(e,t,n,r){return Vn(!0),t[A].createComment("")}var CI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var ep=new x("");function gc(e){return!!e&&typeof e.then=="function"}function tp(e){return!!e&&typeof e.subscribe=="function"}var mc=new x("");function wI(e){return qt([{provide:mc,multi:!0,useValue:e}])}var yc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=y(mc,{optional:!0})??[];injector=y(fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=io(this.injector,o);if(gc(i))n.push(i);else if(tp(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),np=new x("");function rp(){Pi(()=>{let e="";throw new _(600,e)})}function op(e){return e.isBoundToModule}var TI=10;var ar=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=y(Oe);afterRenderManager=y(ri);zonelessEnabled=y(Hn);rootEffectScheduler=y(Bn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ie;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=y(nt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(We(n=>!n))}constructor(){y(pn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=y(se);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=fe.NULL){return this._injector.get(X).run(()=>{R(10);let s=n instanceof li;if(!this._injector.get(yc).done){let h="";throw new _(405,h)}let c;s?c=n:c=this._injector.get(ir).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=op(c)?void 0:this._injector.get(an),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(ep,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Un(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),R(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ni.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<TI;)R(14),this.synchronizeOnce(),R(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Ln(o))continue;let i=r&&!this.zonelessEnabled?0:1;yf(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})=>Ln(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;Un(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(np,[]).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),()=>Un(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Un(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function ip(e,t){let n=g(),r=He();if(te(n,r,t)){let o=k(),i=Xt();if(ai(i,o,n,e,t))Ve(i)&&uf(n,i.index);else{let a=le(i,n);df(n[A],a,null,i.value,e,t,null)}}return ip}function sp(e,t,n,r){let o=g(),i=He();if(te(o,i,t)){let s=k(),a=Xt();Uy(a,o,e,t,n,r)}return sp}var pS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var _a=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,!0))}};function Gs(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function bI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Gs(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Gs(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let v=n(i,l),N=n(s,p),T=n(i,u);if(Object.is(T,N)){let De=n(c,f);Object.is(De,v)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Qo,o??=Yu(e,i,s,n),Ma(e,r,i,T))e.updateValue(i,u),i++,s++;else if(o.has(T))r.set(v,e.detach(i)),s--;else{let De=e.create(i,t[i]);e.attach(i,De),i++,s++}}for(;i<=c;)Zu(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Gs(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Qo,o??=Yu(e,i,s,n);let f=n(i,d);if(Ma(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Zu(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ma(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Zu(e,t,n,r,o){if(Ma(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Yu(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 Qo=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 _I(e,t,n,r,o,i,s,a){it("NgControlFlow");let c=g(),l=k(),u=oe(l.consts,i);return cn(c,l,e,t,n,r,o,u,256,s,a),vc}function vc(e,t,n,r,o,i,s,a){it("NgControlFlow");let c=g(),l=k(),u=oe(l.consts,i);return cn(c,l,e,t,n,r,o,u,512,s,a),vc}function MI(e,t){it("NgControlFlow");let n=g(),r=He(),o=n[r]!==G?n[r]:-1,i=o!==-1?Zo(n,P+o):void 0,s=0;if(te(n,r,e)){let a=I(null);try{if(i!==void 0&&wf(i,s),e!==-1){let c=P+e,l=Zo(n,c),u=Aa(n[m],c),d=bf(l,u,n),p=rr(n,u,t,{dehydratedView:d});or(l,p,s,sn(u,d))}}finally{I(a)}}else if(i!==void 0){let a=Cf(i,s);a!==void 0&&(a[L]=t)}}var Na=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-j}};function NI(e){return e}function xI(e,t){return t}var xa=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function SI(e,t,n,r,o,i,s,a,c,l,u,d,p){it("NgControlFlow");let f=g(),h=k(),v=c!==void 0,N=g(),T=a?s.bind(N[J][L]):s,De=new xa(v,T);N[P+e]=De,cn(f,h,e+1,t,n,r,o,oe(h.consts,i),256),v&&cn(f,h,e+2,c,l,u,d,oe(h.consts,p),512)}var Sa=class extends _a{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-j}at(t){return this.getLView(t)[L].$implicit}attach(t,n){let r=n[wt];this.needsIndexUpdate||=t!==this.length,or(this.lContainer,n,t,sn(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&RI(this.lContainer,t),OI(this.lContainer,t)}create(t,n){let r=Bo(this.lContainer,this.templateTNode.tView.ssrId),o=rr(this.hostLView,this.templateTNode,new Na(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){oi(t[m],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[L].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[L].$index=t}getLView(t){return kI(this.lContainer,t)}};function AI(e){let t=I(null),n=ve();try{let r=g(),o=r[m],i=r[n],s=n+1,a=Zo(r,s);if(i.liveCollection===void 0){let l=Aa(o,s);i.liveCollection=new Sa(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(bI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=He(),u=c.length===0;if(te(r,l,u)){let d=n+2,p=Zo(r,d);if(u){let f=Aa(o,d),h=bf(p,f,r),v=rr(r,f,void 0,{dehydratedView:h});or(p,v,0,sn(f,h))}else o.firstUpdatePass&&fv(p),wf(p,0)}}}finally{I(t)}}function Zo(e,t){return e[t]}function RI(e,t){if(e.length<=j)return;let n=j+t,r=e[n];r&&r[Mt]&&(r[Mt].skipLeaveAnimations=!0)}function OI(e,t){return Qn(e,t)}function kI(e,t){return Cf(e,t)}function Aa(e,t){return Pn(e,t)}function ap(e,t,n){let r=g(),o=He();if(te(r,o,t)){let i=k(),s=Xt();cf(s,r,e,t,r[A],n)}return ap}function Ra(e,t,n,r,o){ai(t,e,n,o?"class":"style",r)}function Ic(e,t,n,r){let o=g(),i=o[m],s=e+P,a=i.firstCreatePass?sc(s,o,2,t,tc,uo(),n,r):i.data[s];if(nc(a,o,e,t,up),Zt(a)){let c=o[m];si(c,o,a),Ha(c,a,o)}return r!=null&&nr(o,a),Ic}function Ec(){let e=k(),t=V(),n=rc(t);return e.firstCreatePass&&ac(e,n),_s(n)&&Ms(),Ts(),n.classesWithoutHost!=null&&Vg(n)&&Ra(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Hg(n)&&Ra(e,n,g(),n.stylesWithoutHost,!1),Ec}function cp(e,t,n,r){return Ic(e,t,n,r),Ec(),cp}function Dc(e,t,n,r){let o=g(),i=o[m],s=e+P,a=i.firstCreatePass?Nv(s,i,2,t,n,r):i.data[s];return nc(a,o,e,t,up),r!=null&&nr(o,a),Dc}function Cc(){let e=V(),t=rc(e);return _s(t)&&Ms(),Ts(),Cc}function lp(e,t,n,r){return Dc(e,t,n,r),Cc(),lp}var up=(e,t,n,r,o)=>(Vn(!0),Wd(t[A],r,hu()));function wc(e,t,n){let r=g(),o=r[m],i=e+P,s=o.firstCreatePass?sc(i,r,8,"ng-container",tc,uo(),t,n):o.data[i];if(nc(s,r,e,"ng-container",PI),Zt(s)){let a=r[m];si(a,r,s),Ha(a,s,r)}return n!=null&&nr(r,s),wc}function Tc(){let e=k(),t=V(),n=rc(t);return e.firstCreatePass&&ac(e,n),Tc}function dp(e,t,n){return wc(e,t,n),Tc(),dp}var PI=(e,t,n,r,o)=>(Vn(!0),iy(t[A],""));function LI(){return g()}function fp(e,t,n){let r=g(),o=He();if(te(r,o,t)){let i=k(),s=Xt();lf(s,r,e,t,r[A],n)}return fp}var To=void 0;function FI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var jI=["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"]],To,[["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"]],To,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",To,"{1} 'at' {0}",To],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",FI],zs={};function VI(e){let t=HI(e),n=Ku(t);if(n)return n;let r=t.split("-")[0];if(n=Ku(r),n)return n;if(r==="en")return jI;throw new _(701,!1)}function Ku(e){return e in zs||(zs[e]=Me.ng&&Me.ng.common&&Me.ng.common.locales&&Me.ng.common.locales[e]),zs[e]}var pp=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(pp||{});function HI(e){return e.toLowerCase().replace(/_/g,"-")}var cr="en-US";var BI=cr;function hp(e){typeof e=="string"&&(BI=e.toLowerCase().replace(/_/g,"-"))}function gp(e,t,n){let r=g(),o=k(),i=V();return yp(o,r,r[A],i,e,t,n),gp}function mp(e,t,n){let r=g(),o=k(),i=V();return(i.type&3||n)&&Rf(i,o,r,n,r[A],e,t,So(i,r,t)),mp}function yp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=So(r,t,i),Rf(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=So(r,t,i),Uu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=So(r,t,i),Uu(r,t,d,o,o,c)}}function $I(e=1){return du(e)}function UI(e,t){let n=null,r=Ym(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Ud(e,i,!0):Xm(r,i))return o}return n}function WI(e){let t=g()[J][K];if(!t.projection){let n=e?e.length:1,r=t.projection=Pl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?UI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function qI(e,t=0,n,r,o,i){let s=g(),a=k(),c=r?e+1:null;c!==null&&cn(s,a,c,r,o,i,null,n);let l=hn(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),Ss();let d=!s[wt]||bs();s[J][K].projection[l.projection]===null&&c!==null?GI(s,a,c):d&&!Jo(l)&&Oy(a,s,l)}function GI(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=Bo(i,o.tView.ssrId),a=rr(e,o,void 0,{dehydratedView:s});or(i,a,0,sn(o,s))}function zI(e,t,n,r){Hf(e,t,n,r)}function QI(e,t,n){Vf(e,t,n)}function ZI(e){let t=g(),n=k(),r=ho();jn(r+1);let o=fc(n,r);if(e.dirty&&Gl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=$f(t,r);e.reset(i,vd),e.notifyOnChanges()}return!0}return!1}function YI(){return dc(g(),ho())}function KI(e,t,n,r,o){Wf(t,Hf(e,n,r,o))}function JI(e,t,n,r){Wf(e,Vf(t,n,r))}function XI(e=1){jn(ho()+e)}function eE(e){let t=nu();return ao(t,P+e)}function bo(e,t){return e<<17|t<<2}function kt(e){return e>>17&32767}function tE(e){return(e&2)==2}function nE(e,t){return e&131071|t<<17}function Oa(e){return e|2}function ln(e){return(e&131068)>>2}function Qs(e,t){return e&-131069|t<<2}function rE(e){return(e&1)===1}function ka(e){return e|1}function oE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=kt(s),c=ln(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Wt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=kt(e[a+1]);e[r+1]=bo(p,a),p!==0&&(e[p+1]=Qs(e[p+1],r)),e[a+1]=nE(e[a+1],r)}else e[r+1]=bo(a,0),a!==0&&(e[a+1]=Qs(e[a+1],r)),a=r;else e[r+1]=bo(c,0),a===0?a=r:e[c+1]=Qs(e[c+1],r),c=r;l&&(e[r+1]=Oa(e[r+1])),Ju(e,u,r,!0),Ju(e,u,r,!1),iE(t,u,e,r,i),s=bo(a,c),i?t.classBindings=s:t.styleBindings=s}function iE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Wt(i,t)>=0&&(n[r+1]=ka(n[r+1]))}function Ju(e,t,n,r){let o=e[n+1],i=t===null,s=r?kt(o):ln(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];sE(c,t)&&(a=!0,e[s+1]=r?ka(l):Oa(l)),s=r?kt(l):ln(l)}a&&(e[n+1]=r?Oa(o):ka(o))}function sE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Wt(e,t)>=0:!1}var Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function aE(e){return e.substring(Ee.key,Ee.keyEnd)}function cE(e){return lE(e),vp(e,Ip(e,0,Ee.textEnd))}function vp(e,t){let n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=uE(e,Ee.key=t,n),Ip(e,t,n))}function lE(e){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=e.length}function Ip(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function uE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Ep(e,t,n){return Cp(e,t,n,!1),Ep}function Dp(e,t){return Cp(e,t,null,!0),Dp}function dE(e){pE(IE,fE,e,!0)}function fE(e,t){for(let n=cE(t);n>=0;n=vp(t,n))no(e,aE(t),!0)}function Cp(e,t,n,r){let o=g(),i=k(),s=Fn(2);if(i.firstUpdatePass&&Tp(i,e,s,r),t!==G&&te(o,s,t)){let a=i.data[ve()];bp(i,a,o,o[A],e,o[s+1]=DE(t,n),r,s)}}function pE(e,t,n,r){let o=k(),i=Fn(2);o.firstUpdatePass&&Tp(o,null,i,r);let s=g();if(n!==G&&te(s,i,n)){let a=o.data[ve()];if(_p(a,r)&&!wp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Kr(c,n||"")),Ra(o,a,s,n,r)}else EE(o,a,s,s[A],s[i+1],s[i+1]=vE(e,t,n),r,i)}}function wp(e,t){return t>=e.expandoStartIndex}function Tp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ve()],s=wp(e,n);_p(i,r)&&t===null&&!s&&(t=!1),t=hE(o,i,t,r),oE(o,i,t,n,s,r)}}function hE(e,t,n,r){let o=au(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Zs(null,e,t,n,r),n=Jn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Zs(o,e,t,n,r),i===null){let c=gE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Zs(null,e,t,c[1],r),c=Jn(c,t.attrs,r),mE(e,t,r,c))}else i=yE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ln(r)!==0)return e[kt(r)]}function mE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[kt(o)]=r}function yE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Jn(r,s,n)}return Jn(r,t.attrs,n)}function Zs(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=Jn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Jn(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]),no(e,s,n?!0:t[++i]))}return e===void 0?null:e}function vE(e,t,n){if(n==null||n==="")return Q;let r=[],o=fn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function IE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&no(e,r,n)}function EE(e,t,n,r,o,i,s,a){o===G&&(o=Q);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,v;u===d?(c+=2,l+=2,p!==f&&(h=d,v=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,v=f),h!==null&&bp(e,t,n,r,h,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function bp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=rE(l)?Xu(c,t,n,o,ln(l),s):void 0;if(!Yo(u)){Yo(i)||tE(l)&&(i=Xu(c,null,n,o,a,s));let d=ys(ve(),n);Py(r,s,d,o,i)}}function Xu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===G&&(p=d?Q:void 0);let f=d?ro(p,r):u===r?p:void 0;if(l&&!Yo(f)&&(f=ro(c,r)),Yo(f)&&(a=f,s))return a;let h=e[o+1];o=s?kt(h):ln(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ro(c,r))}return a}function Yo(e){return e!==void 0}function DE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Fe(fn(e)))),e}function _p(e,t){return(e.flags&(t?8:16))!==0}function CE(e,t=""){let n=g(),r=k(),o=e+P,i=r.firstCreatePass?hn(r,o,1,t,null):r.data[o],s=wE(r,n,i,t,e);n[o]=s,yo()&&Xa(r,n,s,i),Kt(i,!1)}var wE=(e,t,n,r,o)=>(Vn(!0),ry(t[A],r));function Mp(e,t,n,r=""){return te(e,He(),n)?t+pe(n)+r:G}function TE(e,t,n,r,o,i=""){let s=Rs(),a=uc(e,s,n,o);return Fn(2),a?t+pe(n)+r+pe(o)+i:G}function bE(e,t,n,r,o,i,s,a=""){let c=Rs(),l=Sv(e,c,n,o,s);return Fn(3),l?t+pe(n)+r+pe(o)+i+pe(s)+a:G}function Np(e){return bc("",e),Np}function bc(e,t,n){let r=g(),o=Mp(r,e,t,n);return o!==G&&_c(r,ve(),o),bc}function xp(e,t,n,r,o){let i=g(),s=TE(i,e,t,n,r,o);return s!==G&&_c(i,ve(),s),xp}function Sp(e,t,n,r,o,i,s){let a=g(),c=bE(a,e,t,n,r,o,i,s);return c!==G&&_c(a,ve(),c),Sp}function _c(e,t,n){let r=ys(t,e);oy(e[A],r,n)}function Ap(e,t,n){js(t)&&(t=t());let r=g(),o=He();if(te(r,o,t)){let i=k(),s=Xt();cf(s,r,e,t,r[A],n)}return Ap}function _E(e,t){let n=js(e);return n&&e.set(t),n}function Rp(e,t){let n=g(),r=k(),o=V();return yp(r,n,n[A],o,e,t),Rp}function ME(e,t,n=""){return Mp(g(),e,t,n)}function NE(e,t,n){let r=k();if(r.firstCreatePass){let o=ye(e);Pa(n,r.data,r.blueprint,o,!0),Pa(t,r.data,r.blueprint,o,!1)}}function Pa(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i<e.length;i++)Pa(e[i],t,n,r,o);else{let i=k(),s=g(),a=V(),c=Et(e)?e:B(e.provide),l=ds(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Et(e)||!e.multi){let f=new Ot(l,o,sr,null),h=Ks(c,t,o?u:u+p,d);h===-1?(Xs(Po(a,s),i,c),Ys(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=Ks(c,t,u+p,d),h=Ks(c,t,u,u+p),v=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!v){Xs(Po(a,s),i,c);let T=AE(o?SE:xE,n.length,o,r,l,e);!o&&N&&(n[h].providerFactory=T),Ys(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=Op(n[o?h:f],l,!o&&r);Ys(i,e,f>-1?f:h,T)}!o&&r&&N&&n[h].componentProviders++}}}function Ys(e,t,n,r){let o=Et(t),i=$l(t);if(o||i){let c=(i?B(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Op(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ks(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function xE(e,t,n,r,o){return La(this.multi,[])}function SE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Wn(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),La(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],La(i,s);return s}function La(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function AE(e,t,n,r,o,i){let s=new Ot(e,n,sr,null);return s.multi=[],s.index=t,s.componentProviders=0,Op(s,o,r&&!n),s}function RE(e,t=[]){return n=>{n.providersResolver=(r,o)=>NE(r,o?o(e):e,t)}}function OE(e,t,n){let r=fo()+e,o=g();return o[r]===G?lc(o,r,n?t.call(n):t()):xv(o,r)}function kp(e,t){let n=e[t];return n===G?void 0:n}function kE(e,t,n,r,o,i){let s=t+n;return te(e,s,o)?lc(e,s+1,i?r.call(i,o):r(o)):kp(e,s+1)}function PE(e,t,n,r,o,i,s){let a=t+n;return uc(e,a,o,i)?lc(e,a+2,s?r.call(s,o,i):r(o,i)):kp(e,a+2)}function LE(e,t){let n=k(),r,o=e+P;n.firstCreatePass?(r=FE(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=Qe(r.type,!0)),s,a=Y(sr);try{let c=ko(!1),l=i();return ko(c),vs(n,g(),o,l),l}finally{Y(a)}}function FE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function jE(e,t,n){let r=e+P,o=g(),i=ao(o,r);return Pp(o,r)?kE(o,fo(),t,i.transform,n,i):i.transform(n)}function VE(e,t,n,r){let o=e+P,i=g(),s=ao(i,o);return Pp(i,o)?PE(i,fo(),t,s.transform,n,r,s):s.transform(n,r)}function Pp(e,t){return e[m].data[t].pure}function HE(e,t){return ci(e,t)}var Ko=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},BE=(()=>{class e{compileModuleSync(n){return new zo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=as(n),i=Bd(o.declarations).reduce((s,a)=>{let c=Ne(a);return c&&s.push(new ot(c)),s},[]);return new Ko(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $E=(()=>{class e{zone=y(X);changeDetectionScheduler=y(ne);applicationRef=y(ar);applicationErrorHandler=y(Oe);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new X(q(W({},Fp()),{scheduleInRootZone:n})),[{provide:X,useFactory:e},{provide:Ye,multi:!0,useFactory:()=>{let r=y($E,{optional:!0});return()=>r.initialize()}},{provide:Ye,multi:!0,useFactory:()=>{let r=y(UE);return()=>{r.initialize()}}},t===!0?{provide:Vs,useValue:!0}:[],{provide:Io,useValue:n??Kd},{provide:Oe,useFactory:()=>{let r=y(X),o=y(se),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(_e),i.handleError(s))})}}}]}function Fp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var UE=(()=>{class e{subscription=new F;initialized=!1;zone=y(X);pendingTasks=y(nt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Mc=(()=>{class e{applicationErrorHandler=y(Oe);appRef=y(ar);taskService=y(nt);ngZone=y(X);zonelessEnabled=y(Hn);tracing=y(pn,{optional:!0});disableScheduling=y(Vs,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new F;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ho):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(y(Io,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof qn||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Ou:Jd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(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.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ou(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function WE(){return it("NgZoneless"),qt([{provide:ne,useExisting:Mc},{provide:X,useClass:qn},{provide:Hn,useValue:!0},{provide:Io,useValue:!1},[]])}function qE(){return typeof $localize<"u"&&$localize.locale||cr}var Nc=new x("",{providedIn:"root",factory:()=>y(Nc,{optional:!0,skipSelf:!0})||qE()});var di=class{destroyed=!1;listeners=null;errorHandler=y(_e,{optional:!0});destroyRef=y(Re);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new _(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Sn(953,!1));return}if(this.listeners===null)return;let n=I(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{I(n)}}};function GE(e){return Cl(e)}function zE(e,t){return Tn(e,t?.equal)}var xc=class{[H];constructor(t){this[H]=t}destroy(){this[H].destroy()}};function QE(e,t){let n=t?.injector??y(fe),r=t?.manualCleanup!==!0?n.get(Re):null,o,i=n.get(St,null,{optional:!0}),s=n.get(ne);return i!==null?(o=KE(i.view,s,e),r instanceof xn&&r._lView===i.view&&(r=null)):o=JE(e,n.get(Bn),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new xc(o)}var jp=q(W({},wl),{cleanupFns:void 0,zone:null,onDestroyFn:At,run(){let e=Jt(!1);try{Tl(this)}finally{Jt(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),ZE=q(W({},jp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ze(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),YE=q(W({},jp),{consumerMarkedDirty(){this.view[E]|=8192,et(this.view),this.notifier.notify(13)},destroy(){ze(this),this.onDestroyFn(),this.cleanup(),this.view[je]?.delete(this)}});function KE(e,t,n){let r=Object.create(YE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Vp(r,n),e[je]??=new Set,e[je].add(r),r.consumerMarkedDirty(r),r}function JE(e,t,n){let r=Object.create(ZE);return r.fn=Vp(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 Vp(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Gp=Symbol("InputSignalNode#UNSET"),eD=q(W({},bn),{transformFn:void 0,applyValueToInputSignal(e,t){$t(e,t)}});function zp(e,t){let n=Object.create(eD);n.value=e,n.transformFn=t?.transform;function r(){if(gt(n),n.value===Gp){let o=null;throw new _(-950,o)}return n.value}return r[H]=n,r}var Hp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>yd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},tD=new x("");tD.__NG_ELEMENT_ID__=e=>{let t=V();if(t===null)throw new _(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new _(204,!1)};function uL(e){return new di}function Bp(e,t){return zp(e,t)}function nD(e){return zp(Gp,e)}var dL=(Bp.required=nD,Bp);function $p(e,t){return pc(t)}function rD(e,t){return hc(t)}var fL=($p.required=rD,$p);function Up(e,t){return pc(t)}function oD(e,t){return hc(t)}var pL=(Up.required=oD,Up);var Ac=new x(""),iD=new x("");function lr(e){return!e.moduleRef}function sD(e){let t=lr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(X);return n.run(()=>{lr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Oe),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),lr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ac);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ac);s.add(i),e.moduleRef.onDestroy(()=>{Un(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return cD(r,n,()=>{let i=t.get(nt),s=i.add(),a=t.get(yc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Nc,cr);if(hp(c||cr),!t.get(iD,!0))return lr(e)?t.get(ar):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(lr(e)){let u=t.get(ar);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return aD?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var aD;function cD(e,t,n){try{let r=n();return gc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var fi=null;function lD(e=[],t){return fe.create({name:t,providers:[{provide:us,useValue:"platform"},{provide:Ac,useValue:new Set([()=>fi=null])},...e]})}function uD(e=[]){if(fi)return fi;let t=lD(e);return fi=t,rp(),dD(t),t}function dD(e){let t=e.get(Td,null);io(e,()=>{t?.forEach(n=>n())})}var hL=(()=>{class e{static __NG_ELEMENT_ID__=fD}return e})();function fD(e){return pD(V(),g(),(e&16)===16)}function pD(e,t,n){if(Ve(e)&&!n){let r=ue(e.index,t);return new rt(r,r)}else if(e.type&175){let r=t[J];return new rt(r,t)}return null}var Rc=class{constructor(){}supports(t){return cc(t)}create(t){return new Oc(t)}},hD=(e,t)=>t,Oc=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||hD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Wp(r,o,i)?n:r,a=Wp(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!cc(t))throw new _(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Sf(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new kc(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new pi),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new pi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},kc=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Pc=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},pi=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Pc,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Wp(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function qp(){return new gD([new Rc])}var gD=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:qp});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=y(e,{optional:!0,skipSelf:!0});return e.create(n,r||qp())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new _(901,!1)}}return e})();function gL(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(8);try{let i=o?.injector??uD(r),s=[Lp({}),{provide:ne,useExisting:Mc},yu,...n||[]],a=new Kn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return sD({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(9)}}function mL(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function yL(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Sc=Symbol("NOT_SET"),Qp=new Set,mD=q(W({},bn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Sc,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!==Sc&&!yt(this))return this.signal;try{for(let o of this.cleanup??Qp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Ge(this),r;try{r=this.userFn.apply(null,t)}finally{mt(this,n)}return(this.value===Sc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Lc=class extends Gn{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];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 Ya){let c=n[a];if(c===void 0)continue;let l=Object.create(mD);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(gt(l),l.value),l.signal[H]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Qp)n()}finally{ze(t)}}};function vL(e,t){let n=t?.injector??y(fe),r=n.get(ne),o=n.get(ri),i=n.get(pn,null,{optional:!0});o.impl??=n.get(Ka);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(St,null,{optional:!0}),c=new Lc(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function IL(e,t){let n=Ne(e),r=t.elementInjector||Gt();return new ot(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function EL(e){let t=Ne(e);if(!t)return null;let n=new ot(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}}}export{W as a,q as b,yD as c,F as d,th as e,M as f,Ci as g,wi as h,ie as i,In as j,En as k,dt as l,we as m,mh as n,yh as o,vh as p,ft as q,We as r,_h as s,pt as t,Dn as u,Lr as v,Nh as w,xh as x,vn as y,oh as z,Sh as A,qe as B,Ah as C,bi as D,Rh as E,ih as F,Cn as G,_i as H,sh as I,ch as J,kh as K,Mi as L,Ph as M,Lh as N,Fh as O,xi as P,jh as Q,Vh as R,Hh as S,Bh as T,el as U,$h as V,pl as W,_ as X,Sn as Y,Jr as Z,U as _,Nl as $,Jh as aa,x as ba,be as ca,y as da,qt as ea,us as fa,se as ga,io as ha,Xl as ia,eu as ja,fu as ka,pu as la,fe as ma,mu as na,Re as oa,_e as pa,Oe as qa,Dg as ra,Ls as sa,vo as ta,ne as ua,nt as va,Hs as wa,Sg as xa,Ag as ya,Og as za,Kg as Aa,yd as Ba,Xn as Ca,Lo as Da,om as Ea,im as Fa,Td as Ga,am as Ha,cm as Ia,lm as Ja,fm as Ka,on as La,fn as Ma,ei as Na,ym as Oa,vm as Pa,Im as Qa,Em as Ra,Dm as Sa,Ba as Ta,jd as Ua,tr as Va,jm as Wa,Vd as Xa,Hm as Ya,dy as Za,jo as _a,Vo as $a,pn as ab,it as bb,Be as cb,X as db,Iy as eb,Zn as fb,Yn as gb,mv as hb,sr as ib,vv as jb,ui as kb,an as lb,qf as mb,Gf as nb,nI as ob,oI as pb,aI as qb,cI as rb,Zf as sb,mI as tb,Jf as ub,Xf as vb,CI as wb,gc as xb,wI as yb,np as zb,ar as Ab,ip as Bb,sp as Cb,_I as Db,MI as Eb,NI as Fb,xI as Gb,SI as Hb,AI as Ib,ap as Jb,Ic as Kb,Ec as Lb,cp as Mb,Dc as Nb,Cc as Ob,lp as Pb,wc as Qb,Tc as Rb,dp as Sb,LI as Tb,fp as Ub,VI as Vb,pp as Wb,gp as Xb,mp as Yb,$I as Zb,WI as _b,qI as $b,zI as ac,QI as bc,ZI as cc,YI as dc,KI as ec,JI as fc,XI as gc,eE as hc,Ep as ic,Dp as jc,dE as kc,CE as lc,Np as mc,bc as nc,xp as oc,Sp as pc,Ap as qc,_E as rc,Rp as sc,ME as tc,RE as uc,OE as vc,LE as wc,jE as xc,VE as yc,HE as zc,BE as Ac,WE as Bc,Nc as Cc,GE as Dc,zE as Ec,QE as Fc,Hp as Gc,tD as Hc,uL as Ic,dL as Jc,fL as Kc,pL as Lc,hL as Mc,gD as Nc,gL as Oc,mL as Pc,yL as Qc,vL as Rc,IL as Sc,EL as Tc};