-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchunk-IN3Y2CJX.js
7 lines (7 loc) · 150 KB
/
chunk-IN3Y2CJX.js
1
2
3
4
5
6
7
var ed=Object.defineProperty,td=Object.defineProperties;var nd=Object.getOwnPropertyDescriptors;var fn=Object.getOwnPropertySymbols;var bs=Object.prototype.hasOwnProperty,_s=Object.prototype.propertyIsEnumerable;var Cs=(e,t,n)=>t in e?ed(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ve=(e,t)=>{for(var n in t||={})bs.call(t,n)&&Cs(e,n,t[n]);if(fn)for(var n of fn(t))_s.call(t,n)&&Cs(e,n,t[n]);return e},De=(e,t)=>td(e,nd(t));var mv=(e,t)=>{var n={};for(var r in e)bs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&fn)for(var r of fn(e))t.indexOf(r)<0&&_s.call(e,r)&&(n[r]=e[r]);return n};var Ms=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});function g(e){return typeof e=="function"}function ut(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 pn=ut(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 Be(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var P=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(g(r))try{r()}catch(i){t=i instanceof pn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ss(i)}catch(s){t=t??[],s instanceof pn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ss(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)&&Be(n,t)}remove(t){let{_finalizers:n}=this;n&&Be(n,t),t instanceof e&&t._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var Qr=P.EMPTY;function hn(e){return e instanceof P||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Ss(e){g(e)?e():e.unsubscribe()}var ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ct={setTimeout(e,t,...n){let{delegate:r}=ct;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ct;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gn(e){ct.setTimeout(()=>{let{onUnhandledError:t}=ie;if(t)t(e);else throw e})}function Bt(){}var Ts=Kr("C",void 0,void 0);function Ns(e){return Kr("E",void 0,e)}function xs(e){return Kr("N",e,void 0)}function Kr(e,t,n){return{kind:e,value:t,error:n}}var He=null;function lt(e){if(ie.useDeprecatedSynchronousErrorHandling){let t=!He;if(t&&(He={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=He;if(He=null,n)throw r}}else e()}function As(e){ie.useDeprecatedSynchronousErrorHandling&&He&&(He.errorThrown=!0,He.error=e)}var $e=class extends P{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hn(t)&&t.add(this)):this.destination=id}static create(t,n,r){return new Ee(t,n,r)}next(t){this.isStopped?Xr(xs(t),this):this._next(t)}error(t){this.isStopped?Xr(Ns(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Xr(Ts,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()}}},rd=Function.prototype.bind;function Jr(e,t){return rd.call(e,t)}var eo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mn(r)}else mn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mn(n)}}},Ee=class extends $e{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ie.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Jr(t.next,i),error:t.error&&Jr(t.error,i),complete:t.complete&&Jr(t.complete,i)}):o=t}this.destination=new eo(o)}};function mn(e){ie.useDeprecatedSynchronousErrorHandling?As(e):gn(e)}function od(e){throw e}function Xr(e,t){let{onStoppedNotification:n}=ie;n&&ct.setTimeout(()=>n(e,t))}var id={closed:!0,next:Bt,error:od,complete:Bt};var dt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $(e){return e}function sd(...e){return to(e)}function to(e){return e.length===0?$:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{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=ud(n)?n:new Ee(n,r,o);return lt(()=>{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=Os(r),new r((o,i)=>{let s=new Ee({next:a=>{try{n(a)}catch(u){i(u),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)}[dt](){return this}pipe(...n){return to(n)(this)}toPromise(n){return n=Os(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 Os(e){var t;return(t=e??ie.Promise)!==null&&t!==void 0?t:Promise}function ad(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function ud(e){return e&&e instanceof $e||ad(e)&&hn(e)}function cd(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function Fs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Rs(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 Ue(e){return this instanceof Ue?(this.v=e,this):new Ue(e)}function ks(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(y){return new Promise(function(R,T){i.push([f,y,R,T])>1||u(f,y)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(y){p(i[0][3],y)}}function c(f){f.value instanceof Ue?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Ps(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 Rs=="function"?Rs(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,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var ft=e=>e&&typeof e.length=="number"&&typeof e!="function";function yn(e){return g(e?.then)}function vn(e){return g(e[dt])}function Dn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function En(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 ld(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var In=ld();function wn(e){return g(e?.[In])}function Cn(e){return ks(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ue(n.read());if(o)return yield Ue(void 0);yield yield Ue(r)}}finally{n.releaseLock()}})}function bn(e){return g(e?.getReader)}function x(e){if(e instanceof _)return e;if(e!=null){if(vn(e))return dd(e);if(ft(e))return fd(e);if(yn(e))return pd(e);if(Dn(e))return Ls(e);if(wn(e))return hd(e);if(bn(e))return gd(e)}throw En(e)}function dd(e){return new _(t=>{let n=e[dt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function fd(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function pd(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gn)})}function hd(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ls(e){return new _(t=>{md(e,t).catch(n=>t.error(n))})}function gd(e){return Ls(Cn(e))}function md(e,t){var n,r,o,i;return Fs(this,void 0,void 0,function*(){try{for(n=Ps(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 v(e,t,n,r,o){return new no(e,t,n,r,o)}var no=class extends $e{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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 ro(e){return g(e?.lift)}function E(e){return t=>{if(ro(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 oo(e){return E((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=x(e(s,oo(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function io(){return E((e,t)=>{let n=null;e._refCount++;let r=v(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 so=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ro(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 P;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=P.EMPTY)}return t}refCount(){return io()(this)}};var js=ut(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new _n(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new js}next(n){lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){lt(()=>{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(){lt(()=>{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?Qr:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,Be(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new _n(t,n),e})(),_n=class extends ee{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:Qr}};var Ht=class extends ee{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 ao={now(){return(ao.delegate||Date).now()},delegate:void 0};var Mn=class extends P{constructor(t,n){super()}schedule(t,n=0){return this}};var $t={setInterval(e,t,...n){let{delegate:r}=$t;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=$t;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Sn=class extends Mn{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 $t.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&&$t.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,Be(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var pt=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)}};pt.now=ao.now;var Tn=class extends pt{constructor(t,n=pt.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 Ut=new Tn(Sn),Vs=Ut;var ze=new _(e=>e.complete());function Nn(e){return e&&g(e.schedule)}function uo(e){return e[e.length-1]}function xn(e){return g(uo(e))?e.pop():void 0}function ce(e){return Nn(uo(e))?e.pop():void 0}function Bs(e,t){return typeof uo(e)=="number"?e.pop():t}function z(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 An(e,t=0){return E((n,r)=>{n.subscribe(v(r,o=>z(r,e,()=>r.next(o),t),()=>z(r,e,()=>r.complete(),t),o=>z(r,e,()=>r.error(o),t)))})}function On(e,t=0){return E((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Hs(e,t){return x(e).pipe(On(t),An(t))}function $s(e,t){return x(e).pipe(On(t),An(t))}function Us(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function zs(e,t){return new _(n=>{let r;return z(n,t,()=>{r=e[In](),z(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)}),()=>g(r?.return)&&r.return()})}function Rn(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{z(n,t,()=>{let r=e[Symbol.asyncIterator]();z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Gs(e,t){return Rn(Cn(e),t)}function qs(e,t){if(e!=null){if(vn(e))return Hs(e,t);if(ft(e))return Us(e,t);if(yn(e))return $s(e,t);if(Dn(e))return Rn(e,t);if(wn(e))return zs(e,t);if(bn(e))return Gs(e,t)}throw En(e)}function le(e,t){return t?qs(e,t):x(e)}function yd(...e){let t=ce(e);return le(e,t)}function vd(e){return!!e&&(e instanceof _||g(e.lift)&&g(e.subscribe))}var Ge=ut(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ws(e){return e instanceof Date&&!isNaN(e)}function Ie(e,t){return E((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Dd}=Array;function Ed(e,t){return Dd(t)?e(...t):e(t)}function ht(e){return Ie(t=>Ed(e,t))}var{isArray:Id}=Array,{getPrototypeOf:wd,prototype:Cd,keys:bd}=Object;function Fn(e){if(e.length===1){let t=e[0];if(Id(t))return{args:t,keys:null};if(_d(t)){let n=bd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function _d(e){return e&&typeof e=="object"&&wd(e)===Cd}function kn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Md(...e){let t=ce(e),n=xn(e),{args:r,keys:o}=Fn(e);if(r.length===0)return le([],t);let i=new _(Sd(r,t,o?s=>kn(o,s):$));return n?i.pipe(ht(n)):i}function Sd(e,t,n=$){return r=>{Zs(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)Zs(t,()=>{let c=le(e[u],t),l=!1;c.subscribe(v(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Zs(e,t,n){e?z(n,e,t):t()}function Ys(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=y=>c<r?h(y):u.push(y),h=y=>{i&&t.next(y),c++;let R=!1;x(n(y,l++)).subscribe(v(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{R=!0},void 0,()=>{if(R)try{for(c--;u.length&&c<r;){let T=u.shift();s?z(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(v(t,f,()=>{d=!0,p()})),()=>{a?.()}}function de(e,t,n=1/0){return g(t)?de((r,o)=>Ie((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),E((r,o)=>Ys(r,o,e,n)))}function Pn(e=1/0){return de($,e)}function Qs(){return Pn(1)}function Ln(...e){return Qs()(le(e,ce(e)))}function Td(e){return new _(t=>{x(e()).subscribe(t)})}function Nd(...e){let t=xn(e),{args:n,keys:r}=Fn(e),o=new _(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;x(n[l]).subscribe(v(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?kn(r,a):a),i.complete())}))}});return t?o.pipe(ht(t)):o}var xd=["addListener","removeListener"],Ad=["addEventListener","removeEventListener"],Od=["on","off"];function co(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return co(e,t,n).pipe(ht(r));let[o,i]=kd(e)?Ad.map(s=>a=>e[s](t,a,n)):Rd(e)?xd.map(Ks(e,t)):Fd(e)?Od.map(Ks(e,t)):[];if(!o&&ft(e))return de(s=>co(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function Ks(e,t){return n=>r=>e[n](t,r)}function Rd(e){return g(e.addListener)&&g(e.removeListener)}function Fd(e){return g(e.on)&&g(e.off)}function kd(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Js(e=0,t,n=Vs){let r=-1;return t!=null&&(Nn(t)?n=t:r=t),new _(o=>{let i=Ws(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 Pd(...e){let t=ce(e),n=Bs(e,1/0),r=e;return r.length?r.length===1?x(r[0]):Pn(n)(le(r,t)):ze}function qe(e,t){return E((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Xs(e){return E((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(v(n,c=>{r=!0,o=c,i||x(e(c)).subscribe(i=v(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Ld(e,t=Ut){return Xs(()=>Js(e,t))}function ea(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(v(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function jd(e,t){return g(t)?de(e,t,1):de(e,1)}function Vd(e,t=Ut){return E((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l<c){o=this.schedule(void 0,c-l),r.add(o);return}a()}n.subscribe(v(r,c=>{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function zt(e){return E((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function lo(e){return e<=0?()=>ze:E((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Bd(e){return Ie(()=>e)}function Hd(e,t=$){return e=e??$d,E((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function $d(e,t){return e===t}function jn(e=Ud){return E((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ud(){return new Ge}function zd(e){return E((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Gd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?qe((o,i)=>e(o,i,r)):$,lo(1),n?zt(t):jn(()=>new Ge))}function fo(e){return e<=0?()=>ze:E((t,n)=>{let r=[];t.subscribe(v(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 qd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?qe((o,i)=>e(o,i,r)):$,fo(1),n?zt(t):jn(()=>new Ge))}function Wd(e,t){return E(ea(e,t,arguments.length>=2,!0))}function Zd(e={}){let{connector:t=()=>new ee,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return E((y,R)=>{c++,!d&&!l&&p();let T=u=u??t();R.add(()=>{c--,c===0&&!d&&!l&&(a=po(h,o))}),T.subscribe(R),!s&&c>0&&(s=new Ee({next:O=>T.next(O),error:O=>{d=!0,p(),a=po(f,n,O),T.error(O)},complete:()=>{l=!0,p(),a=po(f,r),T.complete()}}),x(y).subscribe(s))})(i)}}function po(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ee({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function Yd(e){return qe((t,n)=>e<=n)}function Qd(...e){let t=ce(e);return E((n,r)=>{(t?Ln(e,n,t):Ln(e,n)).subscribe(r)})}function Kd(e,t){return E((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,u=>{o?.unsubscribe();let c=0,l=i++;x(e(u,l)).subscribe(o=v(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Jd(e){return E((t,n)=>{x(e).subscribe(v(n,()=>n.complete(),Bt)),!n.closed&&t.subscribe(n)})}function Xd(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?E((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):$}function ta(e,t){return Object.is(e,t)}var L=null,Vn=!1,go=1,gt=Symbol("SIGNAL");function C(e){let t=L;return L=e,t}function na(){return L}var Bn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ra(e){if(Vn)throw new Error("");if(L===null)return;L.consumerOnSignalRead(e);let t=L.nextProducerIndex++;if($n(L),t<L.producerNode.length&&L.producerNode[t]!==e&&Gt(L)){let n=L.producerNode[t];Hn(n,L.producerIndexOfThis[t])}L.producerNode[t]!==e&&(L.producerNode[t]=e,L.producerIndexOfThis[t]=Gt(L)?aa(e,L,t):0),L.producerLastReadVersion[t]=e.version}function ef(){go++}function oa(e){if(!(Gt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===go)){if(!e.producerMustRecompute(e)&&!yo(e)){ho(e);return}e.producerRecomputeValue(e),ho(e)}}function ia(e){if(e.liveConsumerNode===void 0)return;let t=Vn;Vn=!0;try{for(let n of e.liveConsumerNode)n.dirty||nf(n)}finally{Vn=t}}function tf(){return L?.consumerAllowSignalWrites!==!1}function nf(e){e.dirty=!0,ia(e),e.consumerMarkedDirty?.(e)}function ho(e){e.dirty=!1,e.lastCleanEpoch=go}function mo(e){return e&&(e.nextProducerIndex=0),C(e)}function sa(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Gt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Hn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function yo(e){$n(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(oa(n),r!==n.version))return!0}return!1}function vo(e){if($n(e),Gt(e))for(let t=0;t<e.producerNode.length;t++)Hn(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function aa(e,t,n){if(ua(e),e.liveConsumerNode.length===0&&ca(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=aa(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Hn(e,t){if(ua(e),e.liveConsumerNode.length===1&&ca(e))for(let r=0;r<e.producerNode.length;r++)Hn(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];$n(o),o.producerIndexOfThis[r]=t}}function Gt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function $n(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ua(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ca(e){return e.producerNode!==void 0}function rf(){throw new Error}var la=rf;function of(){la()}function da(e){la=e}var sf=null;function fa(e,t){tf()||of(),e.equal(e.value,t)||(e.value=t,af(e))}var pa=De(ve({},Bn),{equal:ta,value:void 0});function af(e){e.version++,ef(),ia(e),sf?.()}var nu="https://g.co/ng/security#xss",S=class extends Error{code;constructor(t,n){super(ru(t,n)),this.code=t}};function ru(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var ou=Symbol("InputSignalNode#UNSET"),uf=De(ve({},pa),{transformFn:void 0,applyValueToInputSignal(e,t){fa(e,t)}});function iu(e,t){let n=Object.create(uf);n.value=e,n.transformFn=t?.transform;function r(){if(ra(n),n.value===ou)throw new S(-950,!1);return n.value}return r[gt]=n,r}function _r(e){return{toString:e}.toString()}var ha=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function cf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function xo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var lf=A({__forward_ref__:A});function su(e){return e.__forward_ref__=su,e.toString=function(){return q(this())},e}function ne(e){return au(e)?e():e}function au(e){return typeof e=="function"&&e.hasOwnProperty(lf)&&e.__forward_ref__===su}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function uu(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mr(e){return ga(e,cu)||ga(e,lu)}function I_(e){return Mr(e)!==null}function ga(e,t){return e.hasOwnProperty(t)?e[t]:null}function df(e){let t=e&&(e[cu]||e[lu]);return t||null}function ma(e){return e&&(e.hasOwnProperty(ya)||e.hasOwnProperty(ff))?e[ya]:null}var cu=A({\u0275prov:A}),ya=A({\u0275inj:A}),lu=A({ngInjectableDef:A}),ff=A({ngInjectorDef:A}),N=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=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function du(e){return e&&!!e.\u0275providers}var pf=A({\u0275cmp:A}),hf=A({\u0275dir:A}),gf=A({\u0275pipe:A}),mf=A({\u0275mod:A}),Xn=A({\u0275fac:A}),Yt=A({__NG_ELEMENT_ID__:A}),va=A({__NG_ENV_ID__:A});function Sr(e){return typeof e=="string"?e:e==null?"":String(e)}function yf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Sr(e)}function vf(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function Pi(e,t){throw new S(-201,!1)}var b=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(b||{}),Ao;function fu(){return Ao}function te(e){let t=Ao;return Ao=e,t}function pu(e,t,n){let r=Mr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&b.Optional)return null;if(t!==void 0)return t;Pi(e,"Injector")}var Df={},Qt=Df,Ef="__NG_DI_FLAG__",er="ngTempTokenPath",If="ngTokenPath",wf=/\n/gm,Cf="\u0275",Da="__source",Et;function bf(){return Et}function Se(e){let t=Et;return Et=e,t}function _f(e,t=b.Default){if(Et===void 0)throw new S(-203,!1);return Et===null?pu(e,void 0,t):Et.get(e,t&b.Optional?null:void 0,t)}function Z(e,t=b.Default){return(fu()||_f)(ne(e),t)}function w(e,t=b.Default){return Z(e,Tr(t))}function Tr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Oo(e){let t=[];for(let n=0;n<e.length;n++){let r=ne(e[n]);if(Array.isArray(r)){if(r.length===0)throw new S(900,!1);let o,i=b.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Mf(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(Z(o,i))}else t.push(Z(r))}return t}function Mf(e){return e[Ef]}function Sf(e,t,n,r){let o=e[er];throw t[Da]&&o.unshift(t[Da]),e.message=Tf(`
`+e.message,o,n,r),e[If]=o,e[er]=null,e}function Tf(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==Cf?e.slice(2):e;let o=q(t);if(Array.isArray(t))o=t.map(q).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(wf,`
`)}`}function wt(e,t){let n=e.hasOwnProperty(Xn);return n?e[Xn]:null}function Nf(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 xf(e){return e.flat(Number.POSITIVE_INFINITY)}function Li(e,t){e.forEach(n=>Array.isArray(n)?Li(n,t):t(n))}function hu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function tr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Af(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Of(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 ji(e,t,n){let r=an(e,t);return r>=0?e[r|1]=n:(r=~r,Of(e,r,t,n)),r}function Do(e,t){let n=an(e,t);if(n>=0)return e[n|1]}function an(e,t){return Rf(e,t,1)}function Rf(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 Ct={},G=[],nr=new N(""),gu=new N("",-1),mu=new N(""),rr=class{get(t,n=Qt){if(n===Qt){let r=new Error(`NullInjectorError: No provider for ${q(t)}!`);throw r.name="NullInjectorError",r}return n}};function yu(e,t){let n=e[mf]||null;if(!n&&t===!0)throw new Error(`Type ${q(e)} does not have '\u0275mod' property.`);return n}function xe(e){return e[pf]||null}function vu(e){return e[hf]||null}function Du(e){return e[gf]||null}function Ff(e){let t=xe(e)||vu(e)||Du(e);return t!==null?t.standalone:!1}function Eu(e){return{\u0275providers:e}}function kf(...e){return{\u0275providers:Iu(!0,e),\u0275fromNgModule:!0}}function Iu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Li(t,s=>{let a=s;Ro(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&wu(o,i),n}function wu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Vi(o,i=>{t(i,r)})}}function Ro(e,t,n,r){if(e=ne(e),!e)return!1;let o=null,i=ma(e),s=!i&&xe(e);if(!i&&!s){let u=e.ngModule;if(i=ma(u),i)o=u;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 u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Ro(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Li(i.imports,l=>{Ro(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&wu(c,t)}if(!a){let c=wt(o)||(()=>new o);t({provide:o,useFactory:c,deps:G},o),t({provide:mu,useValue:o,multi:!0},o),t({provide:nr,useValue:()=>Z(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Vi(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Vi(e,t){for(let n of e)du(n)&&(n=n.\u0275providers),Array.isArray(n)?Vi(n,t):t(n)}var Pf=A({provide:String,useValue:A});function Cu(e){return e!==null&&typeof e=="object"&&Pf in e}function Lf(e){return!!(e&&e.useExisting)}function jf(e){return!!(e&&e.useFactory)}function Fo(e){return typeof e=="function"}var bu=new N(""),Wn={},Vf={},Eo;function Nr(){return Eo===void 0&&(Eo=new rr),Eo}var Ae=class{},Kt=class extends Ae{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,Po(t,s=>this.processProvider(s)),this.records.set(gu,mt(void 0,this)),o.has("environment")&&this.records.set(Ae,mt(void 0,this));let i=this.records.get(bu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(mu,G,b.Self))}destroy(){Wt(this),this._destroyed=!0;let t=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return Wt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Wt(this);let n=Se(this),r=te(void 0),o;try{return t()}finally{Se(n),te(r)}}get(t,n=Qt,r=b.Default){if(Wt(this),t.hasOwnProperty(va))return t[va](this);r=Tr(r);let o,i=Se(this),s=te(void 0);try{if(!(r&b.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Gf(t)&&Mr(t);c&&this.injectableDefInScope(c)?u=mt(ko(t),Wn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&b.Self?Nr():this.parent;return n=r&b.Optional&&n===Qt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[er]=a[er]||[]).unshift(q(t)),i)throw a;return Sf(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Se(i)}}resolveInjectorInitializers(){let t=C(null),n=Se(this),r=te(void 0),o;try{let i=this.get(nr,G,b.Self);for(let s of i)s()}finally{Se(n),te(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(q(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ne(t);let n=Fo(t)?t:ne(t&&t.provide),r=Hf(t);if(!Fo(t)&&t.multi===!0){let o=this.records.get(n);o||(o=mt(void 0,Wn,!0),o.factory=()=>Oo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=C(null);try{return n.value===Wn&&(n.value=Vf,n.value=n.factory()),typeof n.value=="object"&&n.value&&zf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ne(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 ko(e){let t=Mr(e),n=t!==null?t.factory:wt(e);if(n!==null)return n;if(e instanceof N)throw new S(204,!1);if(e instanceof Function)return Bf(e);throw new S(204,!1)}function Bf(e){if(e.length>0)throw new S(204,!1);let n=df(e);return n!==null?()=>n.factory(e):()=>new e}function Hf(e){if(Cu(e))return mt(void 0,e.useValue);{let t=$f(e);return mt(t,Wn)}}function $f(e,t,n){let r;if(Fo(e)){let o=ne(e);return wt(o)||ko(o)}else if(Cu(e))r=()=>ne(e.useValue);else if(jf(e))r=()=>e.useFactory(...Oo(e.deps||[]));else if(Lf(e))r=()=>Z(ne(e.useExisting));else{let o=ne(e&&(e.useClass||e.provide));if(Uf(e))r=()=>new o(...Oo(e.deps));else return wt(o)||ko(o)}return r}function Wt(e){if(e.destroyed)throw new S(205,!1)}function mt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Uf(e){return!!e.deps}function zf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Gf(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function Po(e,t){for(let n of e)Array.isArray(n)?Po(n,t):n&&du(n)?Po(n.\u0275providers,t):t(n)}function _u(e,t){e instanceof Kt&&Wt(e);let n,r=Se(e),o=te(void 0);try{return t()}finally{Se(r),te(o)}}function Mu(){return fu()!==void 0||bf()!=null}function Su(e){if(!Mu())throw new S(-203,!1)}function qf(e){return typeof e=="function"}var ge=0,D=1,m=2,H=3,ue=4,Y=5,bt=6,or=7,V=8,_t=9,we=10,k=11,Jt=12,Ea=13,kt=14,X=15,Ye=16,yt=17,Ce=18,xr=19,Tu=20,Ne=21,Io=22,ir=23,J=24,U=25,Bi=1;var Qe=7,sr=8,Mt=9,B=10,ar=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ar||{});function We(e){return Array.isArray(e)&&typeof e[Bi]=="object"}function _e(e){return Array.isArray(e)&&e[Bi]===!0}function Hi(e){return(e.flags&4)!==0}function Ar(e){return e.componentOffset>-1}function Or(e){return(e.flags&1)===1}function Oe(e){return!!e.template}function Lo(e){return(e[m]&512)!==0}var jo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Nu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var xu=(()=>{let e=()=>Au;return e.ngInherit=!0,e})();function Au(e){return e.type.prototype.ngOnChanges&&(e.setInput=Zf),Wf}function Wf(){let e=Ru(this),t=e?.current;if(t){let n=e.previous;if(n===Ct)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Zf(e,t,n,r,o){let i=this.declaredInputs[r],s=Ru(e)||Yf(e,{previous:Ct,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new jo(c&&c.currentValue,n,u===Ct),Nu(e,t,o,n)}var Ou="__ngSimpleChanges__";function Ru(e){return e[Ou]||null}function Yf(e,t){return e[Ou]=t}var Ia=null;var fe=function(e,t,n){Ia?.(e,t,n)},Fu="svg",Qf="math";function he(e){for(;Array.isArray(e);)e=e[ge];return e}function Kf(e){for(;Array.isArray(e);){if(typeof e[Bi]=="object")return e;e=e[ge]}return null}function ku(e,t){return he(t[e])}function re(e,t){return he(t[e.index])}function $i(e,t){return e.data[t]}function Jf(e,t){return e[t]}function tt(e,t){let n=t[e];return We(n)?n:n[ge]}function Xf(e){return(e[m]&4)===4}function Ui(e){return(e[m]&128)===128}function ep(e){return _e(e[H])}function Re(e,t){return t==null?null:e[t]}function Pu(e){e[yt]=0}function zi(e){e[m]&1024||(e[m]|=1024,Ui(e)&&Fr(e))}function tp(e,t){for(;e>0;)t=t[kt],e--;return t}function Rr(e){return!!(e[m]&9216||e[J]?.dirty)}function Vo(e){e[we].changeDetectionScheduler?.notify(9),e[m]&64&&(e[m]|=1024),Rr(e)&&Fr(e)}function Fr(e){e[we].changeDetectionScheduler?.notify(0);let t=Ke(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Ui(t)));)t=Ke(t)}function Lu(e,t){if((e[m]&256)===256)throw new S(911,!1);e[Ne]===null&&(e[Ne]=[]),e[Ne].push(t)}function np(e,t){if(e[Ne]===null)return;let n=e[Ne].indexOf(t);n!==-1&&e[Ne].splice(n,1)}function Ke(e){let t=e[H];return _e(t)?t[H]:t}var I={lFrame:qu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Bo=!1;function rp(){return I.lFrame.elementDepthCount}function op(){I.lFrame.elementDepthCount++}function ip(){I.lFrame.elementDepthCount--}function ju(){return I.bindingsEnabled}function Vu(){return I.skipHydrationRootTNode!==null}function sp(e){return I.skipHydrationRootTNode===e}function ap(){I.skipHydrationRootTNode=null}function M(){return I.lFrame.lView}function j(){return I.lFrame.tView}function w_(e){return I.lFrame.contextLView=e,e[V]}function C_(e){return I.lFrame.contextLView=null,e}function Q(){let e=Bu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Bu(){return I.lFrame.currentTNode}function up(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nt(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function Gi(){return I.lFrame.isParent}function qi(){I.lFrame.isParent=!1}function cp(){return I.lFrame.contextLView}function Hu(){return Bo}function wa(e){let t=Bo;return Bo=e,t}function lp(e){return I.lFrame.bindingIndex=e}function Pt(){return I.lFrame.bindingIndex++}function $u(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function dp(){return I.lFrame.inI18n}function fp(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ho(t)}function pp(){return I.lFrame.currentDirectiveIndex}function Ho(e){I.lFrame.currentDirectiveIndex=e}function Wi(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Uu(){return I.lFrame.currentQueryIndex}function Zi(e){I.lFrame.currentQueryIndex=e}function hp(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[Y]:null}function zu(e,t,n){if(n&b.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&b.Host);)if(o=hp(i),o===null||(i=i[kt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=Gu();return r.currentTNode=t,r.lView=e,!0}function Yi(e){let t=Gu(),n=e[D];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gu(){let e=I.lFrame,t=e===null?null:e.child;return t===null?qu(e):t}function qu(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 Wu(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Zu=Wu;function Qi(){let e=Wu();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 gp(e){return(I.lFrame.contextLView=tp(e,I.lFrame.contextLView))[V]}function je(){return I.lFrame.selectedIndex}function Je(e){I.lFrame.selectedIndex=e}function kr(){let e=I.lFrame;return $i(e.tView,e.selectedIndex)}function b_(){I.lFrame.currentNamespace=Fu}function __(){mp()}function mp(){I.lFrame.currentNamespace=null}function yp(){return I.lFrame.currentNamespace}var Yu=!0;function Pr(){return Yu}function Lr(e){Yu=e}function vp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Au(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 jr(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:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Zn(e,t,n){Qu(e,t,3,n)}function Yn(e,t,n,r){(e[m]&3)===n&&Qu(e,t,n,r)}function wo(e,t){let n=e[m];(n&3)===t&&(n&=16383,n+=1,e[m]=n)}function Qu(e,t,n,r){let o=r!==void 0?e[yt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[yt]+=65536),(a<i||i==-1)&&(Dp(e,n,t,u),e[yt]=(e[yt]&4294901760)+u+2),u++}function Ca(e,t){fe(4,e,t);let n=C(null);try{t.call(e)}finally{C(n),fe(5,e,t)}}function Dp(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[m]>>14<e[yt]>>16&&(e[m]&3)===t&&(e[m]+=16384,Ca(a,i)):Ca(a,i)}var It=-1,Xt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Ep(e){return e instanceof Xt}function Ip(e){return(e.flags&8)!==0}function wp(e){return(e.flags&16)!==0}function $o(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];Cp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ku(e){return e===3||e===4||e===6}function Cp(e){return e.charCodeAt(0)===64}function en(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?ba(e,n,o,null,t[++r]):ba(e,n,o,null,null))}}return e}function ba(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Co={},Uo=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Tr(r);let o=this.injector.get(t,Co,r);return o!==Co||n===Co?o:this.parentInjector.get(t,n,r)}};function Ju(e){return e!==It}function ur(e){return e&32767}function bp(e){return e>>16}function cr(e,t){let n=bp(e),r=t;for(;n>0;)r=r[kt],n--;return r}var zo=!0;function _a(e){let t=zo;return zo=e,t}var _p=256,Xu=_p-1,ec=5,Mp=0,pe={};function Sp(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Yt)&&(r=n[Yt]),r==null&&(r=n[Yt]=Mp++);let o=r&Xu,i=1<<o;t.data[e+(o>>ec)]|=i}function tc(e,t){let n=nc(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,bo(r.data,e),bo(t,null),bo(r.blueprint,null));let o=Ki(e,t),i=e.injectorIndex;if(Ju(o)){let s=ur(o),a=cr(o,t),u=a[D].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function bo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ki(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=ac(o),r===null)return It;if(n++,o=o[kt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return It}function Tp(e,t,n){Sp(e,t,n)}function Np(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(Ku(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 rc(e,t,n){if(n&b.Optional||e!==void 0)return e;Pi(t,"NodeInjector")}function oc(e,t,n,r){if(n&b.Optional&&r===void 0&&(r=null),!(n&(b.Self|b.Host))){let o=e[_t],i=te(void 0);try{return o?o.get(t,r,n&b.Optional):pu(t,r,n&b.Optional)}finally{te(i)}}return rc(r,t,n)}function ic(e,t,n,r=b.Default,o){if(e!==null){if(t[m]&2048&&!(r&b.Self)){let s=Rp(e,t,n,r,pe);if(s!==pe)return s}let i=sc(e,t,n,r,pe);if(i!==pe)return i}return oc(t,n,r,o)}function sc(e,t,n,r,o){let i=Ap(n);if(typeof i=="function"){if(!zu(t,e,r))return r&b.Host?rc(o,n,r):oc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&b.Optional))Pi(n);else return s}finally{Zu()}}else if(typeof i=="number"){let s=null,a=nc(e,t),u=It,c=r&b.Host?t[X][Y]:null;for((a===-1||r&b.SkipSelf)&&(u=a===-1?Ki(e,t):t[a+8],u===It||!Sa(r,!1)?a=-1:(s=t[D],a=ur(u),t=cr(u,t)));a!==-1;){let l=t[D];if(Ma(i,a,l.data)){let d=xp(a,t,n,s,r,c);if(d!==pe)return d}u=t[a+8],u!==It&&Sa(r,t[D].data[a+8]===c)&&Ma(i,a,t)?(s=l,a=ur(u),t=cr(u,t)):a=-1}}return o}function xp(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],u=r==null?Ar(a)&&zo:r!=s&&(a.type&3)!==0,c=o&b.Host&&i===a,l=Qn(a,s,n,u,c);return l!==null?St(t,s,l,a):pe}function Qn(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Oe(f)&&f.type===n)return u}return null}function St(e,t,n,r){let o=e[n],i=t.data;if(Ep(o)){let s=o;s.resolving&&vf(yf(i[n]));let a=_a(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?te(s.injectImpl):null,l=zu(e,r,b.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&vp(n,i[n],t)}finally{c!==null&&te(c),_a(a),s.resolving=!1,Zu()}}return o}function Ap(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Yt)?e[Yt]:void 0;return typeof t=="number"?t>=0?t&Xu:Op:t}function Ma(e,t,n){let r=1<<e;return!!(n[t+(e>>ec)]&r)}function Sa(e,t){return!(e&b.Self)&&!(e&b.Host&&t)}var Ze=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ic(this._tNode,this._lView,t,Tr(r),n)}};function Op(){return new Ze(Q(),M())}function M_(e){return _r(()=>{let t=e.prototype.constructor,n=t[Xn]||Go(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xn]||Go(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Go(e){return au(e)?()=>{let t=Go(ne(e));return t&&t()}:wt(e)}function Rp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=sc(i,s,n,r|b.Self,pe);if(a!==pe)return a;let u=i.parent;if(!u){let c=s[Tu];if(c){let l=c.get(n,pe,r);if(l!==pe)return l}u=ac(s),s=s[kt]}i=u}return o}function ac(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[Y]:null}function uc(e){return Np(Q(),e)}function Ta(e,t=null,n=null,r){let o=cc(e,t,n,r);return o.resolveInjectorInitializers(),o}function cc(e,t=null,n=null,r,o=new Set){let i=[n||G,kf(e)];return r=r||(typeof e=="object"?void 0:q(e)),new Kt(i,t||Nr(),r||null,o)}var Fe=class e{static THROW_IF_NOT_FOUND=Qt;static NULL=new rr;static create(t,n){if(Array.isArray(t))return Ta({name:""},n,t,"");{let r=t.name??"";return Ta({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>Z(gu)});static __NG_ELEMENT_ID__=-1};var Na=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>uc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Fp=new N("");Fp.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new S(204,!1);if(t.type&2)return t.value;if(e&b.Optional)return null;throw new S(204,!1)};var lc=!1,Ji=(()=>{class e{static __NG_ELEMENT_ID__=kp;static __NG_ENV_ID__=n=>n}return e})(),qo=class extends Ji{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Lu(this._lView,t),()=>np(this._lView,t)}};function kp(){return new qo(M())}var Tt=class{},Xi=new N("",{providedIn:"root",factory:()=>!1});var dc=new N(""),fc=new N(""),Vr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Ht(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var Wo=class extends ee{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Mu()&&(this.destroyRef=w(Ji,{optional:!0})??void 0,this.pendingTasks=w(Vr,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}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 P&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Te=Wo;function lr(...e){}function pc(e){let t,n;function r(){e=lr;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 xa(e){return queueMicrotask(()=>e()),()=>{e=lr}}var es="isAngularZone",dr=es+"_ID",Pp=0,W=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Te(!1);onMicrotaskEmpty=new Te(!1);onStable=new Te(!1);onError=new Te(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=lc}=t;if(typeof Zone>"u")throw new S(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,Vp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(es)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(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,Lp,lr,lr);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)}},Lp={};function ts(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 jp(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){pc(()=>{e.callbackScheduled=!1,Zo(e),e.isCheckStableRunning=!0,ts(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Zo(e)}function Vp(e){let t=()=>{jp(e)},n=Pp++;e._inner=e._inner.fork({name:"angular",properties:{[es]:!0,[dr]:n,[dr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(Bp(u))return r.invokeTask(i,s,a,u);try{return Aa(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Oa(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Aa(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Hp(u)&&t(),Oa(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Zo(e),ts(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 Zo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Aa(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Oa(e){e._nesting--,ts(e)}var Yo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Te;onMicrotaskEmpty=new Te;onStable=new Te;onError=new Te;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 Bp(e){return hc(e,"__ignore_ng_zone__")}function Hp(e){return hc(e,"__scheduler_tick__")}function hc(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Nt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},$p=new N("",{providedIn:"root",factory:()=>{let e=w(W),t=w(Nt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Ra(e,t){return iu(e,t)}function Up(e){return iu(ou,e)}var S_=(Ra.required=Up,Ra);function zp(){return Lt(Q(),M())}function Lt(e,t){return new jt(re(e,t))}var jt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zp}return e})();function Gp(e){return e instanceof jt?e.nativeElement:e}function qp(){return this._results[Symbol.iterator]()}var Qo=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 ee}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=xf(t);(this._changesDetected=!Nf(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]=qp};function gc(e){return(e.flags&128)===128}var mc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(mc||{}),yc=new Map,Wp=0;function Zp(){return Wp++}function Yp(e){yc.set(e[xr],e)}function Ko(e){yc.delete(e[xr])}var Fa="__ngContext__";function ke(e,t){We(t)?(e[Fa]=t[xr],Yp(t)):e[Fa]=t}function vc(e){return Ec(e[Jt])}function Dc(e){return Ec(e[ue])}function Ec(e){for(;e!==null&&!_e(e);)e=e[ue];return e}var Jo;function T_(e){Jo=e}function Qp(){if(Jo!==void 0)return Jo;if(typeof document<"u")return document;throw new S(210,!1)}var N_=new N("",{providedIn:"root",factory:()=>Kp}),Kp="ng",Jp=new N(""),Xp=new N("",{providedIn:"platform",factory:()=>"unknown"});var x_=new N(""),A_=new N("",{providedIn:"root",factory:()=>Qp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var eh="h",th="b";var Ic=!1,nh=new N("",{providedIn:"root",factory:()=>Ic});var ns=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ns||{}),Br=new N(""),ka=new Set;function rt(e){ka.has(e)||(ka.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var vt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(vt||{}),wc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),rh=[vt.EarlyRead,vt.Write,vt.MixedReadWrite,vt.Read],oh=(()=>{class e{ngZone=w(W);scheduler=w(Tt);errorHandler=w(Nt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(Br,{optional:!0})}execute(){this.executing=!0;for(let n of rh)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[n](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(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(ns.AFTER_NEXT_RENDER,n):n()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Xo=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i=null){this.impl=t,this.hooks=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function ih(e,t){!t?.injector&&Su(ih);let n=t?.injector??w(Fe);return rt("NgAfterRender"),Cc(e,n,t,!1)}function sh(e,t){!t?.injector&&Su(sh);let n=t?.injector??w(Fe);return rt("NgAfterNextRender"),Cc(e,n,t,!0)}function ah(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Cc(e,t,n,r){let o=t.get(wc);o.impl??=t.get(oh);let i=t.get(Br,null,{optional:!0}),s=n?.phase??vt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Ji):null,u=new Xo(o.impl,ah(e,s),r,a,i?.snapshot(null));return o.impl.register(u),u}var uh=()=>null;function rs(e,t,n=!1){return uh(e,t,n)}var tn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(tn||{}),Un;function ch(){if(Un===void 0&&(Un=null,ha.trustedTypes))try{Un=ha.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Un}function Hr(e){return ch()?.createHTML(e)||e}var be=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nu})`}},ei=class extends be{getTypeName(){return"HTML"}},ti=class extends be{getTypeName(){return"Style"}},ni=class extends be{getTypeName(){return"Script"}},ri=class extends be{getTypeName(){return"URL"}},oi=class extends be{getTypeName(){return"ResourceURL"}};function $r(e){return e instanceof be?e.changingThisBreaksApplicationSecurity:e}function lh(e,t){let n=dh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${nu})`)}return n===t}function dh(e){return e instanceof be&&e.getTypeName()||null}function O_(e){return new ei(e)}function R_(e){return new ti(e)}function F_(e){return new ni(e)}function k_(e){return new ri(e)}function P_(e){return new oi(e)}function fh(e){let t=new si(e);return ph()?new ii(t):t}var ii=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Hr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},si=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=Hr(t),n}};function ph(){try{return!!new window.DOMParser().parseFromString(Hr(""),"text/html")}catch{return!1}}var hh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bc(e){return e=String(e),e.match(hh)?e:"unsafe:"+e}function Me(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function un(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var _c=Me("area,br,col,hr,img,wbr"),Mc=Me("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sc=Me("rp,rt"),gh=un(Sc,Mc),mh=un(Mc,Me("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")),yh=un(Sc,Me("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")),Pa=un(_c,mh,yh,gh),Tc=Me("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vh=Me("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"),Dh=Me("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"),Eh=un(Tc,vh,Dh),Ih=Me("script,style,template"),ai=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=bh(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Ch(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=La(t).toLowerCase();if(!Pa.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ih.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(!Eh.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Tc[a]&&(u=bc(u)),this.buf.push(" ",s,'="',ja(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=La(t).toLowerCase();Pa.hasOwnProperty(n)&&!_c.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ja(t))}};function wh(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Ch(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Nc(t);return t}function bh(e){let t=e.firstChild;if(t&&wh(e,t))throw Nc(t);return t}function La(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Nc(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var _h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mh=/([^\#-~ |!])/g;function ja(e){return e.replace(/&/g,"&").replace(_h,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Mh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var zn;function L_(e,t){let n=null;try{zn=zn||fh(e);let r=t?String(t):"";n=zn.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=zn.getInertBodyElement(r)}while(r!==i);let a=new ai().sanitizeChildren(Va(n)||n);return Hr(a)}finally{if(n){let r=Va(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Va(e){return"content"in e&&Sh(e)?e.content:null}function Sh(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var xc=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}(xc||{});function j_(e){let t=Th();return t?t.sanitize(xc.URL,e)||"":lh(e,"URL")?$r(e):bc(Sr(e))}function Th(){let e=M();return e&&e[we].sanitizer}var Nh=/^>|^->|<!--|-->|--!>|<!-$/g,xh=/(<|>)/g,Ah="\u200B$1\u200B";function Oh(e){return e.replace(Nh,t=>t.replace(xh,Ah))}function Ac(e){return e instanceof Function?e():e}var Pe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Pe||{}),fr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(fr||{}),Rh;function os(e,t){return Rh(e,t)}function Dt(e,t,n,r,o){if(r!=null){let i,s=!1;_e(r)?i=r:We(r)&&(s=!0,r=r[ge]);let a=he(r);e===0&&n!==null?o==null?Pc(t,n,a):pr(t,n,a,o||null,!0):e===1&&n!==null?pr(t,n,a,o||null,!0):e===2?Wh(t,a,s):e===3&&t.destroyNode(a),i!=null&&Yh(t,e,i,n,o)}}function Fh(e,t){return e.createText(t)}function kh(e,t,n){e.setValue(t,n)}function Ph(e,t){return e.createComment(Oh(t))}function Oc(e,t,n){return e.createElement(t,n)}function Lh(e,t){Rc(e,t),t[ge]=null,t[Y]=null}function jh(e,t,n,r,o,i){r[ge]=o,r[Y]=t,Gr(e,r,n,1,o,i)}function Rc(e,t){t[we].changeDetectionScheduler?.notify(10),Gr(e,t,t[k],2,null,null)}function Vh(e){let t=e[Jt];if(!t)return _o(e[D],e);for(;t;){let n=null;if(We(t))n=t[Jt];else{let r=t[B];r&&(n=r)}if(!n){for(;t&&!t[ue]&&t!==e;)We(t)&&_o(t[D],t),t=t[H];t===null&&(t=e),We(t)&&_o(t[D],t),n=t&&t[ue]}t=n}}function Bh(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][ue]=t),r<i-B?(t[ue]=n[o],hu(n,B+r,t)):(n.push(t),t[ue]=null),t[H]=n;let s=t[Ye];s!==null&&n!==s&&Fc(s,t);let a=t[Ce];a!==null&&a.insertView(e),Vo(t),t[m]|=128}function Fc(e,t){let n=e[Mt],r=t[H];if(We(r))e[m]|=ar.HasTransplantedViews;else{let o=r[H][X];t[X]!==o&&(e[m]|=ar.HasTransplantedViews)}n===null?e[Mt]=[t]:n.push(t)}function is(e,t){let n=e[Mt],r=n.indexOf(t);n.splice(r,1)}function nn(e,t){if(e.length<=B)return;let n=B+t,r=e[n];if(r){let o=r[Ye];o!==null&&o!==e&&is(o,r),t>0&&(e[n-1][ue]=r[ue]);let i=tr(e,B+t);Lh(r[D],r);let s=i[Ce];s!==null&&s.detachView(i[D]),r[H]=null,r[ue]=null,r[m]&=-129}return r}function Ur(e,t){if(!(t[m]&256)){let n=t[k];n.destroyNode&&Gr(e,t,n,3,null,null),Vh(t)}}function _o(e,t){if(t[m]&256)return;let n=C(null);try{t[m]&=-129,t[m]|=256,t[J]&&vo(t[J]),$h(e,t),Hh(e,t),t[D].type===1&&t[k].destroy();let r=t[Ye];if(r!==null&&_e(t[H])){r!==t[H]&&is(r,t);let o=t[Ce];o!==null&&o.detachView(e)}Ko(t)}finally{C(n)}}function Hh(e,t){let n=e.cleanup,r=t[or];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[or]=null);let o=t[Ne];if(o!==null){t[Ne]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ir];if(i!==null){t[ir]=null;for(let s of i)s.destroy()}}function $h(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 Xt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];fe(4,a,u);try{u.call(a)}finally{fe(5,a,u)}}else{fe(4,o,i);try{i.call(o)}finally{fe(5,o,i)}}}}}function kc(e,t,n){return Uh(e,t.parent,n)}function Uh(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ge];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===tn.None||i===tn.Emulated)return null}return re(r,n)}}function pr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Pc(e,t,n){e.appendChild(t,n)}function Ba(e,t,n,r,o){r!==null?pr(e,t,n,r,o):Pc(e,t,n)}function Lc(e,t){return e.parentNode(t)}function zh(e,t){return e.nextSibling(t)}function jc(e,t,n){return qh(e,t,n)}function Gh(e,t,n){return e.type&40?re(e,n):null}var qh=Gh,Ha;function zr(e,t,n,r){let o=kc(e,r,t),i=t[k],s=r.parent||t[Y],a=jc(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Ba(i,o,n[u],a,!1);else Ba(i,o,n,a,!1);Ha!==void 0&&Ha(i,r,t,n,o)}function Zt(e,t){if(t!==null){let n=t.type;if(n&3)return re(t,e);if(n&4)return ui(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Zt(e,r);{let o=e[t.index];return _e(o)?ui(-1,o):he(o)}}else{if(n&128)return Zt(e,t.next);if(n&32)return os(t,e)()||he(e[t.index]);{let r=Vc(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ke(e[X]);return Zt(o,r)}else return Zt(e,t.next)}}}return null}function Vc(e,t){if(t!==null){let r=e[X][Y],o=t.projection;return r.projection[o]}return null}function ui(e,t){let n=B+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return Zt(r,o)}return t[Qe]}function Wh(e,t,n){e.removeChild(null,t,n)}function ss(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&ke(he(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)ss(e,t,n.child,r,o,i,!1),Dt(t,e,o,a,i);else if(u&32){let c=os(n,r),l;for(;l=c();)Dt(t,e,o,l,i);Dt(t,e,o,a,i)}else u&16?Bc(e,t,r,n,o,i):Dt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Gr(e,t,n,r,o,i){ss(n,r,e.firstChild,t,o,i,!1)}function Zh(e,t,n){let r=t[k],o=kc(e,n,t),i=n.parent||t[Y],s=jc(i,n,t);Bc(r,0,t,n,o,s)}function Bc(e,t,n,r,o,i){let s=n[X],u=s[Y].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];Dt(t,e,o,l,i)}else{let c=u,l=s[H];gc(r)&&(c.flags|=128),ss(e,t,c,l,o,i,!0)}}function Yh(e,t,n,r,o){let i=n[Qe],s=he(n);i!==s&&Dt(t,e,r,i,o);for(let a=B;a<n.length;a++){let u=n[a];Gr(u[D],u,e,t,r,i)}}function Qh(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:fr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=fr.Important),e.setStyle(n,r,o,i))}}function Kh(e,t,n){e.setAttribute(t,"style",n)}function Hc(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function $c(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&$o(e,t,r),o!==null&&Hc(e,t,o),i!==null&&Kh(e,t,i)}function Jh(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 Uc="ng-template";function Xh(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Jh(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(as(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 as(e){return e.type===4&&e.value!==Uc}function eg(e,t,n){let r=e.type===4&&!n?Uc:e.value;return t===r}function tg(e,t,n){let r=4,o=e.attrs,i=o!==null?og(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!se(r)&&!se(u))return!1;if(s&&se(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!eg(e,u,n)||u===""&&t.length===1){if(se(r))return!1;s=!0}}else if(r&8){if(o===null||!Xh(e,o,u,n)){if(se(r))return!1;s=!0}}else{let c=t[++a],l=ng(u,o,as(e),n);if(l===-1){if(se(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(se(r))return!1;s=!0}}}}return se(r)||s}function se(e){return(e&1)===0}function ng(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 ig(t,e)}function zc(e,t,n=!1){for(let r=0;r<t.length;r++)if(tg(e,t[r],n))return!0;return!1}function rg(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function og(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ku(n))return t}return e.length}function ig(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 sg(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 $a(e,t){return e?":not("+t.trim()+")":t}function ag(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!==""&&!se(s)&&(t+=$a(i,o),o=""),r=s,i=i||!se(r);n++}return o!==""&&(t+=$a(i,o)),t}function ug(e){return e.map(ag).join(",")}function cg(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(!se(o))break;o=i}r++}return{attrs:t,classes:n}}var me={};function V_(e=1){Gc(j(),M(),je()+e,!1)}function Gc(e,t,n,r){if(!r)if((t[m]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Zn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Yn(t,i,0,n)}Je(n)}function us(e,t=b.Default){let n=M();if(n===null)return Z(e,t);let r=Q();return ic(r,n,ne(e),t)}function B_(){let e="invalid";throw new Error(e)}function qc(e,t,n,r,o,i){let s=C(null);try{let a=null;o&Pe.SignalBased&&(a=t[r][gt]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Pe.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Nu(t,a,r,i)}finally{C(s)}}function lg(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)Je(~o);else{let i=o,s=n[++r],a=n[++r];fp(s,i);let u=t[i];a(2,u)}}}finally{Je(-1)}}function qr(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[ge]=o,d[m]=r|4|128|8|64|1024,(c!==null||e&&e[m]&2048)&&(d[m]|=2048),Pu(d),d[H]=d[kt]=e,d[V]=n,d[we]=s||e&&e[we],d[k]=a||e&&e[k],d[_t]=u||e&&e[_t]||null,d[Y]=i,d[xr]=Zp(),d[bt]=l,d[Tu]=c,d[X]=t.type==2?e[X]:d,d}function Vt(e,t,n,r,o){let i=e.data[t];if(i===null)i=dg(e,t,n,r,o),dp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=up();i.injectorIndex=s===null?-1:s.injectorIndex}return nt(i,!0),i}function dg(e,t,n,r,o){let i=Bu(),s=Gi(),a=s?i:i&&i.parent,u=e.data[t]=yg(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function Wc(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 Zc(e,t,n,r,o){let i=je(),s=r&2;try{Je(-1),s&&t.length>U&&Gc(e,t,U,!1),fe(s?2:0,o),n(r,o)}finally{Je(i),fe(s?3:1,o)}}function cs(e,t,n){if(Hi(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{C(r)}}}function ls(e,t,n){ju()&&(Cg(e,t,n,re(n,t)),(n.flags&64)===64&&Kc(e,t,n))}function ds(e,t,n=re){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Yc(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=fs(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function fs(e,t,n,r,o,i,s,a,u,c,l){let d=U+r,p=d+o,f=fg(d,p),h=typeof c=="function"?c():c;return f[D]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function fg(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:me);return n}function pg(e,t,n,r){let i=r.get(nh,Ic)||n===tn.ShadowDom,s=e.selectRootElement(t,i);return hg(s),s}function hg(e){gg(e)}var gg=()=>null;function mg(e,t,n,r){let o=tl(t);o.push(n),e.firstCreatePass&&nl(e).push(r,o.length-1)}function yg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Vu()&&(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:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ua(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Pe.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?za(r,n,c,a,u):za(r,n,c,a)}return r}function za(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function vg(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=Ua(0,d.inputs,l,u,f),c=Ua(1,d.outputs,l,c,h);let y=u!==null&&s!==null&&!as(t)?Fg(u,l,s):null;a.push(y)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function Dg(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function ps(e,t,n,r,o,i,s,a){let u=re(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(gs(e,n,l,r,o),Ar(t)&&Eg(n,t.index)):t.type&3?(r=Dg(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Eg(e,t){let n=tt(t,e);n[m]&16||(n[m]|=64)}function hs(e,t,n,r){if(ju()){let o=r===null?null:{"":-1},i=_g(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Qc(e,t,n,s,o,a),o&&Mg(n,r,o)}n.mergedAttrs=en(n.mergedAttrs,n.attrs)}function Qc(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Tp(tc(n,t),e,r[c].type);Tg(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=Wc(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=en(n.mergedAttrs,l.hostAttrs),Ng(e,n,t,u,l),Sg(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}vg(e,n,i)}function Ig(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;wg(s)!=a&&s.push(a),s.push(n,r,i)}}function wg(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Cg(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Ar(n)&&xg(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||tc(n,t),ke(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=St(t,e,a,n);if(ke(c,t),s!==null&&Rg(t,a-o,c,u,n,s),Oe(u)){let l=tt(n.index,t);l[V]=St(t,e,a,n)}}}function Kc(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=pp();try{Je(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Ho(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&bg(u,c)}}finally{Je(-1),Ho(s)}}function bg(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function _g(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(zc(t,s.selectors,!1))if(r||(r=[]),Oe(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;ci(e,t,u)}else r.unshift(s),ci(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ci(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Mg(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new S(-301,!1);r.push(t[o],i)}}}function Sg(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Oe(t)&&(n[""]=e)}}function Tg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ng(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=wt(o.type,!0)),s=new Xt(i,Oe(o),us);e.blueprint[r]=s,n[r]=s,Ig(e,t,r,Wc(e,n,o.hostVars,me),o)}function Jc(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function xg(e,t,n){let r=re(t,e),o=Yc(n),i=e[we].rendererFactory,s=Wr(e,qr(e,o,null,Jc(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Ag(e,t,n,r,o,i){let s=re(e,t);Og(t[k],s,i,e.value,n,r,o)}function Og(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Sr(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Rg(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];qc(r,n,u,c,l,d)}}function Fg(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Xc(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function el(e,t){let n=e.contentQueries;if(n!==null){let r=C(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Zi(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function Wr(e,t){return e[Jt]?e[Ea][ue]=t:e[Jt]=t,e[Ea]=t,t}function li(e,t,n){Zi(0);let r=C(null);try{t(e,n)}finally{C(r)}}function tl(e){return e[or]??=[]}function nl(e){return e.cleanup??=[]}function rl(e,t,n){return(e===null||Oe(e))&&(n=Kf(n[t.index])),n[k]}function ol(e,t){let n=e[_t],r=n?n.get(Nt,null):null;r&&r.handleError(t)}function gs(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];qc(l,c,r,a,u,o)}}function kg(e,t,n){let r=ku(t,e);kh(e[k],r,n)}function Pg(e,t){let n=tt(t,e),r=n[D];Lg(r,n);let o=n[ge];o!==null&&n[bt]===null&&(n[bt]=rs(o,n[_t])),ms(r,n,n[V])}function Lg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ms(e,t,n){Yi(t);try{let r=e.viewQuery;r!==null&&li(1,r,n);let o=e.template;o!==null&&Zc(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ce]?.finishViewCreation(e),e.staticContentQueries&&el(e,t),e.staticViewQueries&&li(2,e.viewQuery,n);let i=e.components;i!==null&&jg(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[m]&=-5,Qi()}}function jg(e,t){for(let n=0;n<t.length;n++)Pg(e,t[n])}function cn(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[m]&4096?4096:16,u=qr(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[Ye]=c;let l=e[Ce];return l!==null&&(u[Ce]=l.createEmbeddedView(i)),ms(i,u,n),u}finally{C(o)}}function il(e,t){let n=B+t;if(n<e.length)return e[n]}function xt(e,t){return!t||t.firstChild===null||gc(e)}function ln(e,t,n,r=!0){let o=t[D];if(Bh(o,t,e,n),r){let s=ui(n,e),a=t[k],u=Lc(a,e[Qe]);u!==null&&jh(o,e[Y],a,t,u,s)}let i=t[bt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function sl(e,t){let n=nn(e,t);return n!==void 0&&Ur(n[D],n),n}function hr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(he(i)),_e(i)&&Vg(i,r);let s=n.type;if(s&8)hr(e,t,n.child,r);else if(s&32){let a=os(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Vc(t,n);if(Array.isArray(a))r.push(...a);else{let u=Ke(t[X]);hr(u[D],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Vg(e,t){for(let n=B;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&hr(r[D],r,o,t)}e[Qe]!==e[ge]&&t.push(e[Qe])}var al=[];function Bg(e){return e[J]??Hg(e)}function Hg(e){let t=al.pop()??Object.create(Ug);return t.lView=e,t}function $g(e){e.lView[J]!==e&&(e.lView=null,al.push(e))}var Ug=De(ve({},Bn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Fr(e.lView)},consumerOnSignalRead(){this.lView[J]=this}});function zg(e){let t=e[J]??Object.create(Gg);return t.lView=e,t}var Gg=De(ve({},Bn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Ke(e.lView);for(;t&&!ul(t[D]);)t=Ke(t);t&&zi(t)},consumerOnSignalRead(){this.lView[J]=this}});function ul(e){return e.type!==2}function cl(e){if(e[ir]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ir])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[m]&8192)}}var qg=100;function ll(e,t=!0,n=0){let o=e[we].rendererFactory,i=!1;i||o.begin?.();try{Wg(e,n)}catch(s){throw t&&ol(e,s),s}finally{i||o.end?.()}}function Wg(e,t){let n=Hu();try{wa(!0),di(e,t);let r=0;for(;Rr(e);){if(r===qg)throw new S(103,!1);r++,di(e,1)}}finally{wa(n)}}function Zg(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1,s=!1;Yi(t);let a=!0,u=null,c=null;i||(ul(e)?(c=Bg(t),u=mo(c)):na()===null?(a=!1,c=zg(t),u=mo(c)):t[J]&&(vo(t[J]),t[J]=null));try{Pu(t),lp(e.bindingStartIndex),n!==null&&Zc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Zn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Yn(t,f,0,null),wo(t,0)}if(s||Yg(t),cl(t),dl(t,0),e.contentQueries!==null&&el(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Zn(t,f)}else{let f=e.contentHooks;f!==null&&Yn(t,f,1),wo(t,1)}lg(e,t);let d=e.components;d!==null&&pl(t,d,0);let p=e.viewQuery;if(p!==null&&li(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Zn(t,f)}else{let f=e.viewHooks;f!==null&&Yn(t,f,2),wo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Io]){for(let f of t[Io])f();t[Io]=null}i||(t[m]&=-73)}catch(l){throw i||Fr(t),l}finally{c!==null&&(sa(c,u),a&&$g(c)),Qi()}}function dl(e,t){for(let n=vc(e);n!==null;n=Dc(n))for(let r=B;r<n.length;r++){let o=n[r];fl(o,t)}}function Yg(e){for(let t=vc(e);t!==null;t=Dc(t)){if(!(t[m]&ar.HasTransplantedViews))continue;let n=t[Mt];for(let r=0;r<n.length;r++){let o=n[r];zi(o)}}}function Qg(e,t,n){let r=tt(t,e);fl(r,n)}function fl(e,t){Ui(e)&&di(e,t)}function di(e,t){let r=e[D],o=e[m],i=e[J],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&yo(i)),s||=!1,i&&(i.dirty=!1),e[m]&=-9217,s)Zg(r,e,r.template,e[V]);else if(o&8192){cl(e),dl(e,1);let a=r.components;a!==null&&pl(e,a,1)}}function pl(e,t,n){for(let r=0;r<t.length;r++)Qg(e,t[r],n)}function ys(e,t){let n=Hu()?64:1088;for(e[we].changeDetectionScheduler?.notify(t);e;){e[m]|=n;let r=Ke(e);if(Lo(e)&&!r)return e;e=r}return null}var Xe=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[D];return hr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[V]}get dirty(){return!!(this._lView[m]&9280)||!!this._lView[J]?.dirty}set context(t){this._lView[V]=t}get destroyed(){return(this._lView[m]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[H];if(_e(t)){let n=t[sr],r=n?n.indexOf(this):-1;r>-1&&(nn(t,r),tr(n,r))}this._attachedToViewContainer=!1}Ur(this._lView[D],this._lView)}onDestroy(t){Lu(this._lView,t)}markForCheck(){ys(this._cdRefInjectingView||this._lView,4)}markForRefresh(){zi(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Vo(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,ll(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Lo(this._lView),n=this._lView[Ye];n!==null&&!t&&is(n,this._lView),Rc(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t;let n=Lo(this._lView),r=this._lView[Ye];r!==null&&!n&&Fc(r,this._lView),Vo(this._lView)}},rn=(()=>{class e{static __NG_ELEMENT_ID__=Xg}return e})(),Kg=rn,Jg=class extends Kg{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=cn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Xe(o)}};function Xg(){return Zr(Q(),M())}function Zr(e,t){return e.type&4?new Jg(t,e,Lt(e,t)):null}var $_=new RegExp(`^(\\d+)*(${th}|${eh})*(.*)`);var em=()=>null;function At(e,t){return em(e,t)}var fi=class{},gr=class{},pi=class{resolveComponentFactory(t){throw Error(`No component factory found for ${q(t)}.`)}},Ot=class{static NULL=new pi},mr=class{};var tm=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();function yr(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=xo(o,a);else if(i==2){let u=a,c=t[++s];r=xo(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var vr=class extends Ot{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=xe(t);return new Rt(n,this.ngModule)}};function Ga(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Pe.None;t?n.push({propName:s,templateName:r,isSignal:(a&Pe.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function nm(e){let t=e.toLowerCase();return t==="svg"?Fu:t==="math"?Qf:null}var Rt=class extends gr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Ga(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Ga(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ug(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=C(null);try{o=o||this.ngModule;let s=o instanceof Ae?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Uo(t,s):t,u=a.get(mr,null);if(u===null)throw new S(407,!1);let c=a.get(tm,null),l=a.get(Tt,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?pg(p,r,this.componentDef.encapsulation,a):Oc(p,f,nm(f)),y=512;this.componentDef.signals?y|=4096:this.componentDef.onPush||(y|=16);let R=null;h!==null&&(R=rs(h,a,!0));let T=fs(0,null,null,1,0,null,null,null,null,null,null),O=qr(null,T,null,y,null,null,d,p,a,null,R);Yi(O);let ye,oe,st=null;try{let K=this.componentDef,at,Yr=null;K.findHostDirectiveDefs?(at=[],Yr=new Map,K.findHostDirectiveDefs(K,at,Yr),at.push(K)):at=[K];let Xl=rm(O,h);st=om(Xl,h,K,at,O,d,p),oe=$i(T,U),h&&am(p,K,h,r),n!==void 0&&um(oe,this.ngContentSelectors,n),ye=sm(st,K,at,Yr,O,[cm]),ms(T,O,null)}catch(K){throw st!==null&&Ko(st),Ko(O),K}finally{Qi()}return new hi(this.componentType,ye,Lt(oe,O),O,oe)}finally{C(i)}}},hi=class extends fi{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Xe(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;gs(i[D],i,o,t,n),this.previousInputValues.set(t,n);let s=tt(this._tNode.index,i);ys(s,1)}}get injector(){return new Ze(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function rm(e,t){let n=e[D],r=U;return e[r]=t,Vt(n,r,2,"#host",null)}function om(e,t,n,r,o,i,s){let a=o[D];im(r,e,t,s);let u=null;t!==null&&(u=rs(t,o[_t]));let c=i.rendererFactory.createRenderer(t,n),l=qr(o,Yc(n),null,Jc(n),o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&ci(a,e,r.length-1),Wr(o,l),o[e.index]=l}function im(e,t,n,r){for(let o of e)t.mergedAttrs=en(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(yr(t,t.mergedAttrs,!0),n!==null&&$c(r,n,t))}function sm(e,t,n,r,o,i){let s=Q(),a=o[D],u=re(s,o);Qc(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=St(o,a,d,s);ke(p,o)}Kc(a,o,s),u&&ke(u,o);let c=St(o,a,s.directiveStart+s.componentOffset,s);if(e[V]=o[V]=c,i!==null)for(let l of i)l(c,t);return cs(a,s,o),c}function am(e,t,n,r){if(r)$o(e,n,["ng-version","19.0.5"]);else{let{attrs:o,classes:i}=cg(t.selectors[0]);o&&$o(e,n,o),i&&i.length>0&&Hc(e,n,i.join(" "))}}function um(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)}}function cm(){let e=Q();jr(M()[D],e)}var dn=(()=>{class e{static __NG_ELEMENT_ID__=lm}return e})();function lm(){let e=Q();return gl(e,M())}var dm=dn,hl=class extends dm{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Lt(this._hostTNode,this._hostLView)}get injector(){return new Ze(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ki(this._hostTNode,this._hostLView);if(Ju(t)){let n=cr(t,this._hostLView),r=ur(t),o=n[D].data[r+8];return new Ze(o,n)}else return new Ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=qa(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=At(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,xt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!qf(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Rt(xe(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let y=(s?c:this.parentInjector).get(Ae,null);y&&(i=y)}let l=xe(u.componentType??{}),d=At(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,xt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ep(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[H],c=new hl(u,u[Y],u[H]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ln(s,o,i,r),t.attachToViewContainerRef(),hu(Mo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=qa(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=nn(this._lContainer,n);r&&(tr(Mo(this._lContainer),n),Ur(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=nn(this._lContainer,n);return r&&tr(Mo(this._lContainer),n)!=null?new Xe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function qa(e){return e[sr]}function Mo(e){return e[sr]||(e[sr]=[])}function gl(e,t){let n,r=t[e.index];return _e(r)?n=r:(n=Xc(r,t,null,e),t[e.index]=n,Wr(t,n)),pm(n,t,e,r),new hl(n,e,t)}function fm(e,t){let n=e[k],r=n.createComment(""),o=re(t,e),i=Lc(n,o);return pr(n,i,r,zh(n,o),!1),r}var pm=mm,hm=()=>!1;function gm(e,t,n){return hm(e,t,n)}function mm(e,t,n,r){if(e[Qe])return;let o;n.type&8?o=he(r):o=fm(t,n),e[Qe]=o}var gi=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},mi=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++)vs(t,n).matches!==null&&this.queries[n].setDirty()}},yi=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=bm(t):this.predicate=t}},vi=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)}},Di=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,ym(n,i)),this.matchTNodeWithReadOption(t,n,Qn(n,t,i,!1,!1))}else r===rn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Qn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===jt||o===dn||o===rn&&n.type&4)this.addMatch(n.index,-2);else{let i=Qn(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 ym(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 vm(e,t){return e.type&11?Lt(e,t):e.type&4?Zr(e,t):null}function Dm(e,t,n,r){return n===-1?vm(t,e):n===-2?Em(e,t,r):St(e,e[D],n,t)}function Em(e,t,n){if(n===jt)return Lt(t,e);if(n===rn)return Zr(t,e);if(n===dn)return gl(t,e)}function ml(e,t,n,r){let o=t[Ce].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(Dm(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function Ei(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ml(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=B;d<l.length;d++){let p=l[d];p[Ye]===p[H]&&Ei(p[D],p,c,r)}if(l[Mt]!==null){let d=l[Mt];for(let p=0;p<d.length;p++){let f=d[p];Ei(f[D],f,c,r)}}}}}return r}function Im(e,t){return e[Ce].queries[t].queryList}function wm(e,t,n){let r=new Qo((n&4)===4);return mg(e,t,r,r.destroy),(t[Ce]??=new mi).queries.push(new gi(r))-1}function Cm(e,t,n){let r=j();return r.firstCreatePass&&(_m(r,new yi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),wm(r,M(),t)}function bm(e){return e.split(",").map(t=>t.trim())}function _m(e,t,n){e.queries===null&&(e.queries=new vi),e.queries.track(new Di(t,n))}function vs(e,t){return e.queries.getByIndex(t)}function Mm(e,t){let n=e[D],r=vs(n,t);return r.crossesNgTemplate?Ei(n,e,t,[]):ml(n,e,r,t)}var Le=class{},Ii=class{};var wi=class extends Le{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new vr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=yu(t);this._bootstrapComponents=Ac(i.bootstrap),this._r3Injector=cc(t,n,[{provide:Le,useValue:this},{provide:Ot,useValue:this.componentFactoryResolver},...r],q(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)}},Ci=class extends Ii{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new wi(this.moduleType,t,[])}};var Dr=class extends Le{injector;componentFactoryResolver=new vr(this);instance=null;constructor(t){super();let n=new Kt([...t.providers,{provide:Le,useValue:this},{provide:Ot,useValue:this.componentFactoryResolver}],t.parent||Nr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Sm(e,t,n=null){return new Dr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Tm=(()=>{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=Iu(!1,n.type),o=r.length>0?Sm([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=F({token:e,providedIn:"environment",factory:()=>new e(Z(Ae))})}return e})();function z_(e){return _r(()=>{let t=Dl(e),n=De(ve({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===mc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Tm).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tn.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&rt("NgStandalone"),El(n);let r=e.dependencies;return n.directiveDefs=Za(r,!1),n.pipeDefs=Za(r,!0),n.id=Am(n),n})}function Nm(e){return xe(e)||vu(e)}function xm(e){return e!==null}function yl(e){return _r(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Wa(e,t){if(e==null)return Ct;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Pe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Pe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function vl(e){return _r(()=>{let t=Dl(e);return El(t),t})}function Dl(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,inputTransforms:null,inputConfig:e.inputs||Ct,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Wa(e.inputs,t),outputs:Wa(e.outputs),debugInfo:null}}function El(e){e.features?.forEach(t=>t(e))}function Za(e,t){if(!e)return null;let n=t?Du:Nm;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(xm)}function Am(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 Om(e){return Object.getPrototypeOf(e.prototype).constructor}function Rm(e){let t=Om(e.type),n=!0,r=[e];for(;t;){let o;if(Oe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Gn(e.inputs),s.inputTransforms=Gn(e.inputTransforms),s.declaredInputs=Gn(e.declaredInputs),s.outputs=Gn(e.outputs);let a=o.hostBindings;a&&jm(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Pm(e,u),c&&Lm(e,c),Fm(e,o),cf(e.outputs,o.outputs),Oe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Rm&&(n=!1)}}t=Object.getPrototypeOf(t)}km(r)}function Fm(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function km(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=en(o.hostAttrs,n=en(n,o.hostAttrs))}}function Gn(e){return e===Ct?{}:e===G?[]:e}function Pm(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Lm(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function jm(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Vm(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Ve(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Bm(e){return(e.flags&32)===32}function Hm(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Vt(t,e,4,s||null,a||null);hs(t,n,l,Re(c,u)),jr(t,l);let d=l.tView=fs(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Er(e,t,n,r,o,i,s,a,u,c){let l=n+U,d=t.firstCreatePass?Hm(l,t,e,r,o,i,s,a,u):t.data[l];nt(d,!1);let p=Um(t,e,d,n);Pr()&&zr(t,e,p,d),ke(p,e);let f=Xc(p,e,p,d);return e[l]=f,Wr(e,f),gm(f,d,e),Or(d)&&ls(t,e,d),u!=null&&ds(e,d,c),d}function $m(e,t,n,r,o,i,s,a){let u=M(),c=j(),l=Re(c.consts,i);return Er(u,c,e,t,n,r,o,l,s,a),$m}var Um=zm;function zm(e,t,n,r){return Lr(!0),t[k].createComment("")}var G_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Gm=new N("");function Ds(e){return!!e&&typeof e.then=="function"}function Il(e){return!!e&&typeof e.subscribe=="function"}var wl=new N("");function q_(e){return Eu([{provide:wl,multi:!0,useValue:e}])}var Cl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(wl,{optional:!0})??[];injector=w(Fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=_u(this.injector,o);if(Ds(i))n.push(i);else if(Il(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qm=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new bi})}return e})(),bi=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Wm=new N("");function Zm(){da(()=>{throw new S(600,!1)})}function Ym(e){return e.isBoundToModule}var Qm=10;function Km(e,t,n){try{let r=n();return Ds(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var on=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w($p);afterRenderManager=w(wc);zonelessEnabled=w(Xi);rootEffectScheduler=w(qm);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ee;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=w(Vr).hasPendingTasks.pipe(Ie(n=>!n));constructor(){w(Br,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(Ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof gr;if(!this._injector.get(Cl).done){let p=!o&&Ff(n),f=!1;throw new S(405,f)}let s;o?s=n:s=this._injector.get(Ot).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Ym(s)?void 0:this._injector.get(Le),u=r||s.selector,c=s.create(Fe.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(Gm,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Kn(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(ns.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new S(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,C(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(mr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<Qm;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)Jm(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Rr(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;Kn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Wm,[]).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),()=>Kn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Kn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Jm(e,t,n,r){if(!n&&!Rr(e))return;ll(e,t,n&&!r?0:1)}function Xm(e,t,n,r){let o=M(),i=Pt();if(Ve(o,i,t)){let s=j(),a=kr();Ag(a,o,e,t,n,r)}return Xm}function bl(e,t,n,r){return Ve(e,Pt(),n)?t+Sr(n)+r:me}function qn(e,t){return e<<17|t<<2}function et(e){return e>>17&32767}function ey(e){return(e&2)==2}function ty(e,t){return e&131071|t<<17}function _i(e){return e|2}function Ft(e){return(e&131068)>>2}function So(e,t){return e&-131069|t<<2}function ny(e){return(e&1)===1}function Mi(e){return e|1}function ry(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=et(s),u=Ft(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||an(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=et(e[a+1]);e[r+1]=qn(p,a),p!==0&&(e[p+1]=So(e[p+1],r)),e[a+1]=ty(e[a+1],r)}else e[r+1]=qn(a,0),a!==0&&(e[a+1]=So(e[a+1],r)),a=r;else e[r+1]=qn(u,0),a===0?a=r:e[u+1]=So(e[u+1],r),u=r;c&&(e[r+1]=_i(e[r+1])),Ya(e,l,r,!0),Ya(e,l,r,!1),oy(t,l,e,r,i),s=qn(a,u),i?t.classBindings=s:t.styleBindings=s}function oy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&an(i,t)>=0&&(n[r+1]=Mi(n[r+1]))}function Ya(e,t,n,r){let o=e[n+1],i=t===null,s=r?et(o):Ft(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];iy(u,t)&&(a=!0,e[s+1]=r?Mi(c):_i(c)),s=r?et(c):Ft(c)}a&&(e[n+1]=r?_i(o):Mi(o))}function iy(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?an(e,t)>=0:!1}var ae={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sy(e){return e.substring(ae.key,ae.keyEnd)}function ay(e){return uy(e),_l(e,Ml(e,0,ae.textEnd))}function _l(e,t){let n=ae.textEnd;return n===t?-1:(t=ae.keyEnd=cy(e,ae.key=t,n),Ml(e,t,n))}function uy(e){ae.key=0,ae.keyEnd=0,ae.value=0,ae.valueEnd=0,ae.textEnd=e.length}function Ml(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function cy(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ly(e,t,n){let r=M(),o=Pt();if(Ve(r,o,t)){let i=j(),s=kr();ps(i,s,r,e,t,r[k],n,!1)}return ly}function Si(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";gs(e,n,i[s],s,r)}function Sl(e,t,n){return Tl(e,t,n,!1),Sl}function dy(e,t){return Tl(e,t,null,!0),dy}function W_(e){py(Dy,fy,e,!0)}function fy(e,t){for(let n=ay(t);n>=0;n=_l(t,n))ji(e,sy(t),!0)}function Tl(e,t,n,r){let o=M(),i=j(),s=$u(2);if(i.firstUpdatePass&&xl(i,e,s,r),t!==me&&Ve(o,s,t)){let a=i.data[je()];Al(i,a,o,o[k],e,o[s+1]=Iy(t,n),r,s)}}function py(e,t,n,r){let o=j(),i=$u(2);o.firstUpdatePass&&xl(o,null,i,r);let s=M();if(n!==me&&Ve(s,i,n)){let a=o.data[je()];if(Ol(a,r)&&!Nl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=xo(u,n||"")),Si(o,a,s,n,r)}else Ey(o,a,s,s[k],s[i+1],s[i+1]=vy(e,t,n),r,i)}}function Nl(e,t){return t>=e.expandoStartIndex}function xl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[je()],s=Nl(e,n);Ol(i,r)&&t===null&&!s&&(t=!1),t=hy(o,i,t,r),ry(o,i,t,n,s,r)}}function hy(e,t,n,r){let o=Wi(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=To(null,e,t,n,r),n=sn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=To(o,e,t,n,r),i===null){let u=gy(e,t,r);u!==void 0&&Array.isArray(u)&&(u=To(null,e,t,u[1],r),u=sn(u,t.attrs,r),my(e,t,r,u))}else i=yy(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gy(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ft(r)!==0)return e[et(r)]}function my(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[et(o)]=r}function yy(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=sn(r,s,n)}return sn(r,t.attrs,n)}function To(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=sn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function sn(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]),ji(e,s,n?!0:t[++i]))}return e===void 0?null:e}function vy(e,t,n){if(n==null||n==="")return G;let r=[],o=$r(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 Dy(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ji(e,r,n)}function Ey(e,t,n,r,o,i,s,a){o===me&&(o=G);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,y;l===d?(u+=2,c+=2,p!==f&&(h=d,y=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,y=f),h!==null&&Al(e,t,n,r,h,y,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function Al(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=ny(c)?Qa(u,t,n,o,Ft(c),s):void 0;if(!Ir(l)){Ir(i)||ey(c)&&(i=Qa(u,null,n,o,a,s));let d=ku(je(),n);Qh(r,s,d,o,i)}}function Qa(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===me&&(p=d?G:void 0);let f=d?Do(p,r):l===r?p:void 0;if(c&&!Ir(f)&&(f=Do(u,r)),Ir(f)&&(a=f,s))return a;let h=e[o+1];o=s?et(h):Ft(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Do(u,r))}return a}function Ir(e){return e!==void 0}function Iy(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=q($r(e)))),e}function Ol(e,t){return(e.flags&(t?8:16))!==0}var Ti=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function No(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function wy(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=No(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=No(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let y=n(i,c),R=n(s,p),T=n(i,l);if(Object.is(T,R)){let O=n(u,f);Object.is(O,y)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new wr,o??=Ja(e,i,s,n),Ni(e,r,i,T))e.updateValue(i,l),i++,s++;else if(o.has(T))r.set(y,e.detach(i)),s--;else{let O=e.create(i,t[i]);e.attach(i,O),i++,s++}}for(;i<=u;)Ka(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=No(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new wr,o??=Ja(e,i,s,n);let f=n(i,d);if(Ni(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)Ka(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function Ni(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ka(e,t,n,r,o){if(Ni(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ja(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 wr=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 Z_(e,t){rt("NgControlFlow");let n=M(),r=Pt(),o=n[r]!==me?n[r]:-1,i=o!==-1?Cr(n,U+o):void 0,s=0;if(Ve(n,r,e)){let a=C(null);try{if(i!==void 0&&sl(i,s),e!==-1){let u=U+e,c=Cr(n,u),l=Ri(n[D],u),d=At(c,l.tView.ssrId),p=cn(n,l,t,{dehydratedView:d});ln(c,p,s,xt(l,d))}}finally{C(a)}}else if(i!==void 0){let a=il(i,s);a!==void 0&&(a[V]=t)}}var xi=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};var Ai=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Y_(e,t,n,r,o,i,s,a,u,c,l,d,p){rt("NgControlFlow");let f=M(),h=j(),y=u!==void 0,R=M(),T=a?s.bind(R[X][V]):s,O=new Ai(y,T);R[U+e]=O,Er(f,h,e+1,t,n,r,o,Re(h.consts,i)),y&&Er(f,h,e+2,u,c,l,d,Re(h.consts,p))}var Oi=class extends Ti{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-B}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[bt];this.needsIndexUpdate||=t!==this.length,ln(this.lContainer,n,t,xt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Cy(this.lContainer,t)}create(t,n){let r=At(this.lContainer,this.templateTNode.tView.ssrId),o=cn(this.hostLView,this.templateTNode,new xi(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ur(t[D],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[V].$index=t}getLView(t){return by(this.lContainer,t)}};function Q_(e){let t=C(null),n=je();try{let r=M(),o=r[D],i=r[n],s=n+1,a=Cr(r,s);if(i.liveCollection===void 0){let c=Ri(o,s);i.liveCollection=new Oi(a,r,c)}else i.liveCollection.reset();let u=i.liveCollection;if(wy(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Pt(),l=u.length===0;if(Ve(r,c,l)){let d=n+2,p=Cr(r,d);if(l){let f=Ri(o,d),h=At(p,f.tView.ssrId),y=cn(r,f,void 0,{dehydratedView:h});ln(p,y,0,xt(f,h))}else sl(p,0)}}}finally{C(t)}}function Cr(e,t){return e[t]}function Cy(e,t){return nn(e,t)}function by(e,t){return il(e,t)}function Ri(e,t){return $i(e,t)}function _y(e,t,n,r,o,i){let s=t.consts,a=Re(s,o),u=Vt(t,e,2,r,a);return hs(t,n,u,Re(s,i)),u.attrs!==null&&yr(u,u.attrs,!1),u.mergedAttrs!==null&&yr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Rl(e,t,n,r){let o=M(),i=j(),s=U+e,a=o[k],u=i.firstCreatePass?_y(s,i,o,t,n,r):i.data[s],c=Sy(i,o,u,a,t,e);o[s]=c;let l=Or(u);return nt(u,!0),$c(a,c,u),!Bm(u)&&Pr()&&zr(i,o,c,u),rp()===0&&ke(c,o),op(),l&&(ls(i,o,u),cs(i,u,o)),r!==null&&ds(o,u),Rl}function Fl(){let e=Q();Gi()?qi():(e=e.parent,nt(e,!1));let t=e;sp(t)&&ap(),ip();let n=j();return n.firstCreatePass&&(jr(n,e),Hi(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Ip(t)&&Si(n,t,M(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&wp(t)&&Si(n,t,M(),t.stylesWithoutHost,!1),Fl}function My(e,t,n,r){return Rl(e,t,n,r),Fl(),My}var Sy=(e,t,n,r,o,i)=>(Lr(!0),Oc(r,o,yp()));function Ty(e,t,n,r,o){let i=t.consts,s=Re(i,r),a=Vt(t,e,8,"ng-container",s);s!==null&&yr(a,s,!0);let u=Re(i,o);return hs(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function kl(e,t,n){let r=M(),o=j(),i=e+U,s=o.firstCreatePass?Ty(i,o,r,t,n):o.data[i];nt(s,!0);let a=xy(o,r,s,e);return r[i]=a,Pr()&&zr(o,r,a,s),ke(a,r),Or(s)&&(ls(o,r,s),cs(o,s,r)),n!=null&&ds(r,s),kl}function Pl(){let e=Q(),t=j();return Gi()?qi():(e=e.parent,nt(e,!1)),t.firstCreatePass&&(jr(t,e),Hi(e)&&t.queries.elementEnd(e)),Pl}function Ny(e,t,n){return kl(e,t,n),Pl(),Ny}var xy=(e,t,n,r)=>(Lr(!0),Ph(t[k],""));function K_(){return M()}function Ay(e,t,n){let r=M(),o=Pt();if(Ve(r,o,t)){let i=j(),s=kr(),a=Wi(i.data),u=rl(a,s,r);ps(i,s,r,e,t,u,n,!0)}return Ay}var br="en-US";var Oy=br;function Ry(e){typeof e=="string"&&(Oy=e.toLowerCase().replace(/_/g,"-"))}var Fy=(e,t,n)=>{};function ky(e,t,n,r){let o=M(),i=j(),s=Q();return Ll(i,o,o[k],s,e,t,r),ky}function Py(e,t){let n=Q(),r=M(),o=j(),i=Wi(o.data),s=rl(i,n,r);return Ll(o,r,s,n,e,t),Py}function Ly(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[or],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Ll(e,t,n,r,o,i,s){let a=Or(r),c=e.firstCreatePass&&nl(e),l=t[V],d=tl(t),p=!0;if(r.type&3||s){let y=re(r,t),R=s?s(y):y,T=d.length,O=s?oe=>s(he(oe[r.index])):r.index,ye=null;if(!s&&a&&(ye=Ly(e,t,o,r.index)),ye!==null){let oe=ye.__ngLastListenerFn__||ye;oe.__ngNextListenerFn__=i,ye.__ngLastListenerFn__=i,p=!1}else{i=eu(r,t,l,i),Fy(y,o,i);let oe=n.listen(R,o,i);d.push(i,oe),c&&c.push(o,O,T,T+1)}}else i=eu(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let y=h.length;if(y)for(let R=0;R<y;R+=2){let T=h[R],O=h[R+1],st=t[T][O].subscribe(i),K=d.length;d.push(i,st),c&&c.push(o,r.index,K,-(K+1))}}}function Xa(e,t,n,r){let o=C(null);try{return fe(6,t,n),n(r)!==!1}catch(i){return ol(e,i),!1}finally{fe(7,t,n),C(o)}}function eu(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?tt(e.index,t):t;ys(s,5);let a=Xa(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Xa(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function J_(e=1){return gp(e)}function jy(e,t){let n=null,r=rg(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?zc(e,i,!0):sg(r,i))return o}return n}function X_(e){let t=M()[X][Y];if(!t.projection){let n=e?e.length:1,r=t.projection=Af(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?jy(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function eM(e,t=0,n,r,o,i){let s=M(),a=j(),u=r?e+1:null;u!==null&&Er(s,a,u,r,o,i,null,n);let c=Vt(a,U+e,16,null,n||null);c.projection===null&&(c.projection=t),qi();let d=!s[bt]||Vu();s[X][Y].projection[c.projection]===null&&u!==null?Vy(s,a,u):d&&(c.flags&32)!==32&&Zh(a,s,c)}function Vy(e,t,n){let r=U+n,o=t.data[r],i=e[r],s=At(i,o.tView.ssrId),a=cn(e,o,void 0,{dehydratedView:s});ln(i,a,0,xt(o,s))}function By(e,t,n){return jl(e,"",t,"",n),By}function jl(e,t,n,r,o){let i=M(),s=bl(i,t,n,r);if(s!==me){let a=j(),u=kr();ps(a,u,i,e,s,i[k],o,!1)}return jl}function tM(e,t,n){Cm(e,t,n)}function nM(e){let t=M(),n=j(),r=Uu();Zi(r+1);let o=vs(n,r);if(e.dirty&&Xf(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Mm(t,r);e.reset(i,Gp),e.notifyOnChanges()}return!0}return!1}function rM(){return Im(M(),Uu())}function oM(e){let t=cp();return Jf(t,U+e)}function iM(e,t=""){let n=M(),r=j(),o=e+U,i=r.firstCreatePass?Vt(r,o,1,t,null):r.data[o],s=Hy(r,n,i,t,e);n[o]=s,Pr()&&zr(r,n,s,i),nt(i,!1)}var Hy=(e,t,n,r,o)=>(Lr(!0),Fh(t[k],r));function $y(e){return Vl("",e,""),$y}function Vl(e,t,n){let r=M(),o=bl(r,e,t,n);return o!==me&&kg(r,je(),o),Vl}function sM(e,t){return Zr(e,t)}var Fi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},aM=(()=>{class e{compileModuleSync(n){return new Ci(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=yu(n),i=Ac(o.declarations).reduce((s,a)=>{let u=xe(a);return u&&s.push(new Rt(u)),s},[]);return new Fi(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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Uy=(()=>{class e{zone=w(W);changeDetectionScheduler=w(Tt);applicationRef=w(on);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zy=new N("",{factory:()=>!1});function Bl({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new W(De(ve({},Hl()),{scheduleInRootZone:n})),[{provide:W,useFactory:e},{provide:nr,multi:!0,useFactory:()=>{let r=w(Uy,{optional:!0});return()=>r.initialize()}},{provide:nr,multi:!0,useFactory:()=>{let r=w(Gy);return()=>{r.initialize()}}},t===!0?{provide:dc,useValue:!0}:[],{provide:fc,useValue:n??lc}]}function uM(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Bl({ngZoneFactory:()=>{let o=Hl(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&rt("NgZone_CoalesceEvent"),new W(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Eu([{provide:zy,useValue:!0},{provide:Xi,useValue:!1},r])}function Hl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Gy=(()=>{class e{subscription=new P;initialized=!1;zone=w(W);pendingTasks=w(Vr);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qy=(()=>{class e{appRef=w(on);taskService=w(Vr);ngZone=w(W);zonelessEnabled=w(Xi);tracing=w(Br,{optional:!0});disableScheduling=w(dc,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new P;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(dr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(fc,{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 Yo||!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 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?xa:pc;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(dr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,xa(()=>{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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wy(){return typeof $localize<"u"&&$localize.locale||br}var Es=new N("",{providedIn:"root",factory:()=>w(Es,b.Optional|b.SkipSelf)||Wy()});var ki=new N(""),Zy=new N("");function qt(e){return!e.moduleRef}function Yy(e){let t=qt(e)?e.r3Injector:e.moduleRef.injector,n=t.get(W);return n.run(()=>{qt(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Nt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),qt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ki);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ki);s.add(i),e.moduleRef.onDestroy(()=>{Kn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Km(r,n,()=>{let i=t.get(Cl);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Es,br);if(Ry(s||br),!t.get(Zy,!0))return qt(e)?t.get(on):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(qt(e)){let u=t.get(on);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Qy(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Qy(e,t){let n=e.injector.get(on);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new S(-403,!1);t.push(e)}var Jn=null;function Ky(e=[],t){return Fe.create({name:t,providers:[{provide:bu,useValue:"platform"},{provide:ki,useValue:new Set([()=>Jn=null])},...e]})}function Jy(e=[]){if(Jn)return Jn;let t=Ky(e);return Jn=t,Zm(),Xy(t),t}function Xy(e){let t=e.get(Jp,null);_u(e,()=>{t?.forEach(n=>n())})}var $l=(()=>{class e{static __NG_ELEMENT_ID__=ev}return e})();function ev(e){return tv(Q(),M(),(e&16)===16)}function tv(e,t,n){if(Ar(e)&&!n){let r=tt(e.index,t);return new Xe(r,r)}else if(e.type&175){let r=t[X];return new Xe(r,t)}return null}function cM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Jy(r),i=[Bl({}),{provide:Tt,useExisting:qy},...n||[]],s=new Dr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Yy({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function nv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function rv(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ov(e){let t=C(null);try{return e()}finally{C(t)}}var tu=class{[gt];constructor(t){this[gt]=t}destroy(){this[gt].destroy()}};function lM(e,t){let n=xe(e),r=t.elementInjector||Nr();return new Rt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var Wl=null;function Is(){return Wl}function LM(e){Wl??=e}var Ul=class{};var Zl=new N(""),Yl=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>w(av),providedIn:"platform"})}return e})();var av=(()=>{class e extends Yl{_location;_history;_doc=w(Zl);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Is().getBaseHref(this._doc)}onPopState(n){let r=Is().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Is().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ql(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function zl(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function ot(e){return e&&e[0]!=="?"?"?"+e:e}var ws=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>w(cv),providedIn:"root"})}return e})(),uv=new N(""),cv=(()=>{class e extends ws{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??w(Zl).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ql(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ot(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ot(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ot(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(Z(Yl),Z(uv,8))};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var lv=(()=>{class e{_subject=new ee;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=pv(zl(Gl(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ot(r))}normalize(n){return e.stripTrailingSlash(fv(this._basePath,Gl(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ot(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ot(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=ot;static joinWithSlash=Ql;static stripTrailingSlash=zl;static \u0275fac=function(r){return new(r||e)(Z(ws))};static \u0275prov=F({token:e,factory:()=>dv(),providedIn:"root"})}return e})();function dv(){return new lv(Z(ws))}function fv(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Gl(e){return e.replace(/\/index.html$/,"")}function pv(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function jM(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var VM=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(us(dn))};static \u0275dir=vl({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[xu]})}return e})();var BM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=yl({type:e});static \u0275inj=uu({})}return e})(),hv="browser",gv="server";function HM(e){return e===hv}function $M(e){return e===gv}var ql=class{};var it=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(it||{}),GM="*";function qM(e,t){return{type:it.Trigger,name:e,definitions:t,options:{}}}function WM(e,t=null){return{type:it.Animate,styles:t,timings:e}}function ZM(e,t=null){return{type:it.Sequence,steps:e,options:t}}function YM(e){return{type:it.Style,styles:e,offset:null}}function QM(e,t,n){return{type:it.State,name:e,styles:t,options:n}}function KM(e,t,n=null){return{type:it.Transition,expr:e,animation:t,options:n}}var Kl=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Jl=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},JM="!";export{ve as a,De as b,mv as c,Ms as d,P as e,sd as f,_ as g,io as h,so as i,ee as j,Ht as k,ze as l,le as m,yd as n,cd as o,vd as p,Ge as q,Ie as r,Md as s,de as t,Ln as u,Td as v,Nd as w,co as x,Pd as y,qe as z,Ld as A,oo as B,jd as C,Vd as D,zt as E,lo as F,Bd as G,Hd as H,zd as I,Gd as J,fo as K,qd as L,Wd as M,Zd as N,Yd as O,Qd as P,Kd as Q,Jd as R,Xd as S,S as T,F as U,uu as V,I_ as W,N as X,b as Y,Z,w as _,Eu as $,bu as aa,Ae as ba,_u as ca,xu as da,w_ as ea,C_ as fa,b_ as ga,__ as ha,M_ as ia,Fe as ja,Na as ka,Tt as la,Vr as ma,Te as na,W as oa,Nt as pa,S_ as qa,jt as ra,T_ as sa,N_ as ta,Jp as ua,Xp as va,x_ as wa,A_ as xa,rt as ya,ih as za,sh as Aa,tn as Ba,$r as Ca,lh as Da,O_ as Ea,R_ as Fa,F_ as Ga,k_ as Ha,P_ as Ia,bc as Ja,L_ as Ka,xc as La,j_ as Ma,fr as Na,V_ as Oa,us as Pa,B_ as Qa,rn as Ra,mr as Sa,dn as Ta,Le as Ua,Ii as Va,Sm as Wa,z_ as Xa,yl as Ya,vl as Za,Rm as _a,Vm as $a,$m as ab,G_ as bb,Ds as cb,q_ as db,Wm as eb,on as fb,Xm as gb,ly as hb,Sl as ib,dy as jb,W_ as kb,Z_ as lb,Y_ as mb,Q_ as nb,Rl as ob,Fl as pb,My as qb,Ny as rb,K_ as sb,Ay as tb,ky as ub,Py as vb,J_ as wb,X_ as xb,eM as yb,By as zb,tM as Ab,nM as Bb,rM as Cb,oM as Db,iM as Eb,$y as Fb,Vl as Gb,sM as Hb,aM as Ib,uM as Jb,$l as Kb,cM as Lb,nv as Mb,rv as Nb,ov as Ob,lM as Pb,Is as Qb,LM as Rb,Ul as Sb,Zl as Tb,lv as Ub,jM as Vb,VM as Wb,BM as Xb,hv as Yb,HM as Zb,$M as _b,ql as $b,it as ac,GM as bc,qM as cc,WM as dc,ZM as ec,YM as fc,QM as gc,KM as hc,Kl as ic,Jl as jc,JM as kc};