8 lines
183 KiB
JavaScript
8 lines
183 KiB
JavaScript
var $f=Object.defineProperty,Hf=Object.defineProperties;var Uf=Object.getOwnPropertyDescriptors;var jn=Object.getOwnPropertySymbols;var Va=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable;var Ro=(e,t,n)=>t in e?$f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,en=(e,t)=>{for(var n in t||={})Va.call(t,n)&&Ro(e,n,t[n]);if(jn)for(var n of jn(t))Ba.call(t,n)&&Ro(e,n,t[n]);return e},tn=(e,t)=>Hf(e,Uf(t));var mI=(e,t)=>{var n={};for(var r in e)Va.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&jn)for(var r of jn(e))t.indexOf(r)<0&&Ba.call(e,r)&&(n[r]=e[r]);return n};var yI=(e,t,n)=>(Ro(e,typeof t!="symbol"?t+"":t,n),n);var Gf=(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())});var $a=null;var Po=1,Ha=Symbol("SIGNAL");function b(e){let t=$a;return $a=e,t}var Ua={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 zf(e){if(!(jo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Po)){if(!e.producerMustRecompute(e)&&!ko(e)){e.dirty=!1,e.lastCleanEpoch=Po;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Po}}function Ga(e){return e&&(e.nextProducerIndex=0),b(e)}function za(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(jo(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Lo(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ko(e){Vn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(zf(n),r!==n.version))return!0}return!1}function Wa(e){if(Vn(e),jo(e))for(let t=0;t<e.producerNode.length;t++)Lo(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 Lo(e,t){if(Wf(e),Vn(e),e.liveConsumerNode.length===1)for(let r=0;r<e.producerNode.length;r++)Lo(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];Vn(o),o.producerIndexOfThis[r]=t}}function jo(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Vn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wf(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function qf(){throw new Error}var Yf=qf;function qa(e){Yf=e}function m(e){return typeof e=="function"}function xt(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 Bn=xt(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 ot(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var G=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(m(r))try{r()}catch(i){t=i instanceof Bn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ya(i)}catch(s){t=t??[],s instanceof Bn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Bn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ya(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ot(n,t)}remove(t){let{_finalizers:n}=this;n&&ot(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var Vo=G.EMPTY;function $n(e){return e instanceof G||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function Ya(e){m(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var St={setTimeout(e,t,...n){let{delegate:r}=St;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=St;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Hn(e){St.setTimeout(()=>{let{onUnhandledError:t}=De;if(t)t(e);else throw e})}function nn(){}var Qa=Bo("C",void 0,void 0);function Za(e){return Bo("E",void 0,e)}function Ka(e){return Bo("N",e,void 0)}function Bo(e,t,n){return{kind:e,value:t,error:n}}var it=null;function Tt(e){if(De.useDeprecatedSynchronousErrorHandling){let t=!it;if(t&&(it={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=it;if(it=null,n)throw r}}else e()}function Ja(e){De.useDeprecatedSynchronousErrorHandling&&it&&(it.errorThrown=!0,it.error=e)}var st=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,$n(t)&&t.add(this)):this.destination=Kf}static create(t,n,r){return new Re(t,n,r)}next(t){this.isStopped?Ho(Ka(t),this):this._next(t)}error(t){this.isStopped?Ho(Za(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ho(Qa,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()}}},Qf=Function.prototype.bind;function $o(e,t){return Qf.call(e,t)}var Uo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Un(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Un(r)}else Un(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Un(n)}}},Re=class extends st{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&De.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&$o(t.next,i),error:t.error&&$o(t.error,i),complete:t.complete&&$o(t.complete,i)}):o=t}this.destination=new Uo(o)}};function Un(e){De.useDeprecatedSynchronousErrorHandling?Ja(e):Hn(e)}function Zf(e){throw e}function Ho(e,t){let{onStoppedNotification:n}=De;n&&St.setTimeout(()=>n(e,t))}var Kf={closed:!0,next:nn,error:Zf,complete:nn};var Nt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Q(e){return e}function Jf(...e){return Go(e)}function Go(e){return e.length===0?Q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var C=(()=>{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=ep(n)?n:new Re(n,r,o);return Tt(()=>{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=Xa(r),new r((o,i)=>{let s=new Re({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)}[Nt](){return this}pipe(...n){return Go(n)(this)}toPromise(n){return n=Xa(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 Xa(e){var t;return(t=e??De.Promise)!==null&&t!==void 0?t:Promise}function Xf(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function ep(e){return e&&e instanceof st||Xf(e)&&$n(e)}function zo(e){return m(e?.lift)}function I(e){return t=>{if(zo(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 v(e,t,n,r,o){return new Wo(e,t,n,r,o)}var Wo=class extends st{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(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 qo(){return I((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 Yo=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,zo(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 G;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=G.EMPTY)}return t}refCount(){return qo()(this)}};var eu=xt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var fe=(()=>{class e extends C{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Gn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new eu}next(n){Tt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Tt(()=>{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(){Tt(()=>{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?Vo:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,ot(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new C;return n.source=this,n}}return e.create=(t,n)=>new Gn(t,n),e})(),Gn=class extends fe{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:Vo}};var rn=class extends fe{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 on={now(){return(on.delegate||Date).now()},delegate:void 0};var sn=class extends fe{constructor(t=1/0,n=1/0,r=on){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var zn=class extends G{constructor(t,n){super()}schedule(t,n=0){return this}};var an={setInterval(e,t,...n){let{delegate:r}=an;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=an;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Wn=class extends zn{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 an.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&&an.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ot(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var At=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)}};At.now=on.now;var qn=class extends At{constructor(t,n=At.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 un=new qn(Wn),tu=un;var Pe=new C(e=>e.complete());function Yn(e){return e&&m(e.schedule)}function Qo(e){return e[e.length-1]}function Ot(e){return m(Qo(e))?e.pop():void 0}function xe(e){return Yn(Qo(e))?e.pop():void 0}function nu(e,t){return typeof Qo(e)=="number"?e.pop():t}function eC(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function ou(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 ru(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function at(e){return this instanceof at?(this.v=e,this):new at(e)}function iu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},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(g){return new Promise(function(S,x){i.push([f,g,S,x])>1||u(f,g)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof at?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 su(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 ru=="function"?ru(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 Qn(e){return m(e?.then)}function Zn(e){return m(e[Nt])}function Kn(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function Jn(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 tp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xn=tp();function er(e){return m(e?.[Xn])}function tr(e){return iu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield at(n.read());if(o)return yield at(void 0);yield yield at(r)}}finally{n.releaseLock()}})}function nr(e){return m(e?.getReader)}function T(e){if(e instanceof C)return e;if(e!=null){if(Zn(e))return np(e);if(Ft(e))return rp(e);if(Qn(e))return op(e);if(Kn(e))return au(e);if(er(e))return ip(e);if(nr(e))return sp(e)}throw Jn(e)}function np(e){return new C(t=>{let n=e[Nt]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function rp(e){return new C(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function op(e){return new C(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Hn)})}function ip(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function au(e){return new C(t=>{ap(e,t).catch(n=>t.error(n))})}function sp(e){return au(tr(e))}function ap(e,t){var n,r,o,i;return ou(this,void 0,void 0,function*(){try{for(n=su(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 ne(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 rr(e,t=0){return I((n,r)=>{n.subscribe(v(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function or(e,t=0){return I((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function uu(e,t){return T(e).pipe(or(t),rr(t))}function cu(e,t){return T(e).pipe(or(t),rr(t))}function lu(e,t){return new C(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function du(e,t){return new C(n=>{let r;return ne(n,t,()=>{r=e[Xn](),ne(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)}),()=>m(r?.return)&&r.return()})}function ir(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function fu(e,t){return ir(tr(e),t)}function pu(e,t){if(e!=null){if(Zn(e))return uu(e,t);if(Ft(e))return lu(e,t);if(Qn(e))return cu(e,t);if(Kn(e))return ir(e,t);if(er(e))return du(e,t);if(nr(e))return fu(e,t)}throw Jn(e)}function Se(e,t){return t?pu(e,t):T(e)}function up(...e){let t=xe(e);return Se(e,t)}function cp(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function lp(e){return!!e&&(e instanceof C||m(e.lift)&&m(e.subscribe))}var ut=xt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function hu(e){return e instanceof Date&&!isNaN(e)}function ke(e,t){return I((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:dp}=Array;function fp(e,t){return dp(t)?e(...t):e(t)}function Rt(e){return ke(t=>fp(e,t))}var{isArray:pp}=Array,{getPrototypeOf:hp,prototype:gp,keys:mp}=Object;function sr(e){if(e.length===1){let t=e[0];if(pp(t))return{args:t,keys:null};if(yp(t)){let n=mp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yp(e){return e&&typeof e=="object"&&hp(e)===gp}function ar(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Dp(...e){let t=xe(e),n=Ot(e),{args:r,keys:o}=sr(e);if(r.length===0)return Se([],t);let i=new C(vp(r,t,o?s=>ar(o,s):Q));return n?i.pipe(Rt(n)):i}function vp(e,t,n=Q){return r=>{gu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)gu(t,()=>{let c=Se(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 gu(e,t,n){e?ne(n,e,t):t()}function mu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=g=>c<r?h(g):u.push(g),h=g=>{i&&t.next(g),c++;let S=!1;T(n(g,l++)).subscribe(v(t,x=>{o?.(x),i?f(x):t.next(x)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;u.length&&c<r;){let x=u.shift();s?ne(t,s,()=>h(x)):h(x)}p()}catch(x){t.error(x)}}))};return e.subscribe(v(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ve(e,t,n=1/0){return m(t)?ve((r,o)=>ke((i,s)=>t(r,i,o,s))(T(e(r,o))),n):(typeof t=="number"&&(n=t),I((r,o)=>mu(r,o,e,n)))}function ur(e=1/0){return ve(Q,e)}function yu(){return ur(1)}function cr(...e){return yu()(Se(e,xe(e)))}function wp(e){return new C(t=>{T(e()).subscribe(t)})}function Ip(...e){let t=Ot(e),{args:n,keys:r}=sr(e),o=new C(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;T(n[l]).subscribe(v(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?ar(r,a):a),i.complete())}))}});return t?o.pipe(Rt(t)):o}var Ep=["addListener","removeListener"],Cp=["addEventListener","removeEventListener"],bp=["on","off"];function Zo(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return Zo(e,t,n).pipe(Rt(r));let[o,i]=xp(e)?Cp.map(s=>a=>e[s](t,a,n)):_p(e)?Ep.map(Du(e,t)):Mp(e)?bp.map(Du(e,t)):[];if(!o&&Ft(e))return ve(s=>Zo(s,t,n))(T(e));if(!o)throw new TypeError("Invalid event target");return new C(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function Du(e,t){return n=>r=>e[n](t,r)}function _p(e){return m(e.addListener)&&m(e.removeListener)}function Mp(e){return m(e.on)&&m(e.off)}function xp(e){return m(e.addEventListener)&&m(e.removeEventListener)}function Ko(e=0,t,n=tu){let r=-1;return t!=null&&(Yn(t)?n=t:r=t),new C(o=>{let i=hu(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 Sp(...e){let t=xe(e),n=nu(e,1/0),r=e;return r.length?r.length===1?T(r[0]):ur(n)(Se(r,t)):Pe}var{isArray:Tp}=Array;function vu(e){return e.length===1&&Tp(e[0])?e[0]:e}function ct(e,t){return I((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Np(...e){let t=Ot(e),n=vu(e);return n.length?new C(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)T(n[s]).subscribe(v(r,a=>{if(o[s].push(a),o.every(u=>u.length)){let u=o.map(c=>c.shift());r.next(t?t(...u):u),o.some((c,l)=>!c.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Pe}function wu(e){return I((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=T(e(s,wu(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Iu(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 Ap(e,t){return m(t)?ve(e,t,1):ve(e,1)}function Op(e,t=un){return I((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 cn(e){return I((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Jo(e){return e<=0?()=>Pe:I((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Fp(e){return ke(()=>e)}function Rp(e,t=Q){return e=e??Pp,I((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 Pp(e,t){return e===t}function lr(e=kp){return I((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function kp(){return new ut}function Lp(e){return I((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Xo(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ct((o,i)=>e(o,i,r)):Q,Jo(1),n?cn(t):lr(()=>new ut))}function ei(e){return e<=0?()=>Pe:I((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 jp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ct((o,i)=>e(o,i,r)):Q,ei(1),n?cn(t):lr(()=>new ut))}var Vp=ve;function Bp(e,t){return I(Iu(e,t,arguments.length>=2,!0))}function ni(e={}){let{connector:t=()=>new fe,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 g=s;f(),g?.unsubscribe()};return I((g,S)=>{c++,!d&&!l&&p();let x=u=u??t();S.add(()=>{c--,c===0&&!d&&!l&&(a=ti(h,o))}),x.subscribe(S),!s&&c>0&&(s=new Re({next:de=>x.next(de),error:de=>{d=!0,p(),a=ti(f,n,de),x.error(de)},complete:()=>{l=!0,p(),a=ti(f,r),x.complete()}}),T(g).subscribe(s))})(i)}}function ti(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Re({next:()=>{r.unsubscribe(),e()}});return T(t(...n)).subscribe(r)}function $p(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ni({connector:()=>new sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Hp(e){return ct((t,n)=>e<=n)}function Up(...e){let t=xe(e);return I((n,r)=>{(t?cr(e,n,t):cr(e,n)).subscribe(r)})}function Gp(e,t){return I((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++;T(e(u,l)).subscribe(o=v(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function zp(e){return I((t,n)=>{T(e).subscribe(v(n,()=>n.complete(),nn)),!n.closed&&t.subscribe(n)})}function Wp(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?I((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)}))}):Q}function Eu(e,t){return I((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,u=null,c=!1,l=()=>{u?.unsubscribe(),u=null,i&&(f(),c&&r.complete())},d=()=>{u=null,c&&r.complete()},p=h=>u=T(e(h)).subscribe(v(r,l,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!c&&p(h)}};n.subscribe(v(r,h=>{s=!0,a=h,!(u&&!u.closed)&&(o?f():p(h))},()=>{c=!0,!(i&&s&&u&&!u.closed)&&r.complete()}))})}function qp(e,t=un,n){let r=Ko(e,t);return Eu(()=>r,n)}var pc="https://g.co/ng/security#xss",M=class extends Error{constructor(t,n){super(hc(t,n)),this.code=t}};function hc(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function xn(e){return{toString:e}.toString()}var dr="__parameters__";function Yp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function gc(e,t,n){return xn(()=>{let r=Yp(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(dr)?u[dr]:Object.defineProperty(u,dr,{value:[]})[dr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var pe=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("Could not find renamed property on target object.")}function Qp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function J(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(J).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 Ei(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Zp=F({__forward_ref__:F});function mc(e){return e.__forward_ref__=mc,e.toString=function(){return J(this())},e}function Z(e){return yc(e)?e():e}function yc(e){return typeof e=="function"&&e.hasOwnProperty(Zp)&&e.__forward_ref__===mc}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dc(e){return{providers:e.providers||[],imports:e.imports||[]}}function Zr(e){return Cu(e,vc)||Cu(e,wc)}function zx(e){return Zr(e)!==null}function Cu(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kp(e){let t=e&&(e[vc]||e[wc]);return t||null}function bu(e){return e&&(e.hasOwnProperty(_u)||e.hasOwnProperty(Jp))?e[_u]:null}var vc=F({\u0275prov:F}),_u=F({\u0275inj:F}),wc=F({ngInjectableDef:F}),Jp=F({ngInjectorDef:F}),R=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ic(e){return e&&!!e.\u0275providers}var Xp=F({\u0275cmp:F}),eh=F({\u0275dir:F}),th=F({\u0275pipe:F}),nh=F({\u0275mod:F}),Mr=F({\u0275fac:F}),ln=F({__NG_ELEMENT_ID__:F}),Mu=F({__NG_ENV_ID__:F});function Sn(e){return typeof e=="string"?e:e==null?"":String(e)}function rh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Sn(e)}function oh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Ls(e,t){throw new M(-201,!1)}var _=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}(_||{}),Ci;function Ec(){return Ci}function re(e){let t=Ci;return Ci=e,t}function Cc(e,t,n){let r=Zr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;Ls(e,"Injector")}var ih={},dn=ih,bi="__NG_DI_FLAG__",xr="ngTempTokenPath",sh="ngTokenPath",ah=/\n/gm,uh="\u0275",xu="__source",jt;function ch(){return jt}function Ge(e){let t=jt;return jt=e,t}function lh(e,t=_.Default){if(jt===void 0)throw new M(-203,!1);return jt===null?Cc(e,void 0,t):jt.get(e,t&_.Optional?null:void 0,t)}function oe(e,t=_.Default){return(Ec()||lh)(Z(e),t)}function N(e,t=_.Default){return oe(e,Kr(t))}function Kr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _i(e){let t=[];for(let n=0;n<e.length;n++){let r=Z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=_.Default;for(let s=0;s<r.length;s++){let a=r[s],u=dh(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(oe(o,i))}else t.push(oe(r))}return t}function bc(e,t){return e[bi]=t,e.prototype[bi]=t,e}function dh(e){return e[bi]}function fh(e,t,n,r){let o=e[xr];throw t[xu]&&o.unshift(t[xu]),e.message=ph(`
|
|
`+e.message,o,n,r),e[sh]=o,e[xr]=null,e}function ph(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
`&&e.charAt(1)==uh?e.slice(2):e;let o=J(t);if(Array.isArray(t))o=t.map(J).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):J(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ah,`
|
|
`)}`}var _c=bc(gc("Optional"),8);var Mc=bc(gc("SkipSelf"),4);function pt(e,t){let n=e.hasOwnProperty(Mr);return n?e[Mr]:null}function hh(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 gh(e){return e.flat(Number.POSITIVE_INFINITY)}function js(e,t){e.forEach(n=>Array.isArray(n)?js(n,t):t(n))}function xc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Sr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function mh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function yh(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 Jr(e,t,n){let r=Tn(e,t);return r>=0?e[r|1]=n:(r=~r,yh(e,r,t,n)),r}function ri(e,t){let n=Tn(e,t);if(n>=0)return e[n|1]}function Tn(e,t){return Dh(e,t,1)}function Dh(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 Bt={},K=[],fn=new R(""),Sc=new R("",-1),Tc=new R(""),Tr=class{get(t,n=dn){if(n===dn){let r=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw r.name="NullInjectorError",r}return n}},Nc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Nc||{}),pn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(pn||{}),We=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(We||{});function vh(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}}function Mi(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];wh(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ac(e){return e===3||e===4||e===6}function wh(e){return e.charCodeAt(0)===64}function hn(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?Su(e,n,o,null,t[++r]):Su(e,n,o,null,null))}}return e}function Su(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 Oc="ng-template";function Ih(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&vh(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Vs(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 Vs(e){return e.type===4&&e.value!==Oc}function Eh(e,t,n){let r=e.type===4&&!n?Oc:e.value;return t===r}function Ch(e,t,n){let r=4,o=e.attrs,i=o!==null?Mh(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!we(r)&&!we(u))return!1;if(s&&we(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Eh(e,u,n)||u===""&&t.length===1){if(we(r))return!1;s=!0}}else if(r&8){if(o===null||!Ih(e,o,u,n)){if(we(r))return!1;s=!0}}else{let c=t[++a],l=bh(u,o,Vs(e),n);if(l===-1){if(we(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(we(r))return!1;s=!0}}}}return we(r)||s}function we(e){return(e&1)===0}function bh(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 xh(t,e)}function Fc(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ch(e,t[r],n))return!0;return!1}function _h(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Mh(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ac(n))return t}return e.length}function xh(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 Sh(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 Tu(e,t){return e?":not("+t.trim()+")":t}function Th(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!==""&&!we(s)&&(t+=Tu(i,o),o=""),r=s,i=i||!we(r);n++}return o!==""&&(t+=Tu(i,o)),t}function Nh(e){return e.map(Th).join(",")}function Ah(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(!we(o))break;o=i}r++}return{attrs:t,classes:n}}function Wx(e){return xn(()=>{let t=Vc(e),n=tn(en({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Nc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pn.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});Bc(n);let r=e.dependencies;return n.directiveDefs=Au(r,!1),n.pipeDefs=Au(r,!0),n.id=Ph(n),n})}function Oh(e){return ht(e)||kc(e)}function Fh(e){return e!==null}function Rc(e){return xn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Nu(e,t){if(e==null)return Bt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=We.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==We.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Je(e){return xn(()=>{let t=Vc(e);return Bc(t),t})}function Pc(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function ht(e){return e[Xp]||null}function kc(e){return e[eh]||null}function Lc(e){return e[th]||null}function Rh(e){let t=ht(e)||kc(e)||Lc(e);return t!==null?t.standalone:!1}function jc(e,t){let n=e[nh]||null;if(!n&&t===!0)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function Vc(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||Bt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Nu(e.inputs,t),outputs:Nu(e.outputs),debugInfo:null}}function Bc(e){e.features?.forEach(t=>t(e))}function Au(e,t){if(!e)return null;let n=t?Lc:Oh;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Fh)}function Ph(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function $c(e){return{\u0275providers:e}}function kh(...e){return{\u0275providers:Hc(!0,e),\u0275fromNgModule:!0}}function Hc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return js(t,s=>{let a=s;xi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Uc(o,i),n}function Uc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Bs(o,i=>{t(i,r)})}}function xi(e,t,n,r){if(e=Z(e),!e)return!1;let o=null,i=bu(e),s=!i&&ht(e);if(!i&&!s){let u=e.ngModule;if(i=bu(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)xi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{js(i.imports,l=>{xi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Uc(c,t)}if(!a){let c=pt(o)||(()=>new o);t({provide:o,useFactory:c,deps:K},o),t({provide:Tc,useValue:o,multi:!0},o),t({provide:fn,useValue:()=>oe(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Bs(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Bs(e,t){for(let n of e)Ic(n)&&(n=n.\u0275providers),Array.isArray(n)?Bs(n,t):t(n)}var Lh=F({provide:String,useValue:F});function Gc(e){return e!==null&&typeof e=="object"&&Lh in e}function jh(e){return!!(e&&e.useExisting)}function Vh(e){return!!(e&&e.useFactory)}function $t(e){return typeof e=="function"}function Bh(e){return!!e.useClass}var zc=new R(""),wr={},$h={},oi;function $s(){return oi===void 0&&(oi=new Tr),oi}var qe=class{},gn=class extends qe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ti(t,s=>this.processProvider(s)),this.records.set(Sc,Pt(void 0,this)),o.has("environment")&&this.records.set(qe,Pt(void 0,this));let i=this.records.get(zc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Tc,K,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ge(this),r=re(void 0),o;try{return t()}finally{Ge(n),re(r)}}get(t,n=dn,r=_.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Mu))return t[Mu](this);r=Kr(r);let o,i=Ge(this),s=re(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Wh(t)&&Zr(t);c&&this.injectableDefInScope(c)?u=Pt(Si(t),wr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?$s():this.parent;return n=r&_.Optional&&n===dn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[xr]=a[xr]||[]).unshift(J(t)),i)throw a;return fh(a,t,"R3InjectorError",this.source)}else throw a}finally{re(s),Ge(i)}}resolveInjectorInitializers(){let t=b(null),n=Ge(this),r=re(void 0),o;try{let i=this.get(fn,K,_.Self);for(let s of i)s()}finally{Ge(n),re(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(J(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){t=Z(t);let n=$t(t)?t:Z(t&&t.provide),r=Uh(t);if(!$t(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Pt(void 0,wr,!0),o.factory=()=>_i(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===wr&&(n.value=$h,n.value=n.factory()),typeof n.value=="object"&&n.value&&zh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Z(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 Si(e){let t=Zr(e),n=t!==null?t.factory:pt(e);if(n!==null)return n;if(e instanceof R)throw new M(204,!1);if(e instanceof Function)return Hh(e);throw new M(204,!1)}function Hh(e){if(e.length>0)throw new M(204,!1);let n=Kp(e);return n!==null?()=>n.factory(e):()=>new e}function Uh(e){if(Gc(e))return Pt(void 0,e.useValue);{let t=Wc(e);return Pt(t,wr)}}function Wc(e,t,n){let r;if($t(e)){let o=Z(e);return pt(o)||Si(o)}else if(Gc(e))r=()=>Z(e.useValue);else if(Vh(e))r=()=>e.useFactory(..._i(e.deps||[]));else if(jh(e))r=()=>oe(Z(e.useExisting));else{let o=Z(e&&(e.useClass||e.provide));if(Gh(e))r=()=>new o(..._i(e.deps));else return pt(o)||Si(o)}return r}function Pt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Gh(e){return!!e.deps}function zh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Wh(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function Ti(e,t){for(let n of e)Array.isArray(n)?Ti(n,t):n&&Ic(n)?Ti(n.\u0275providers,t):t(n)}function qx(e,t){e instanceof gn&&e.assertNotDestroyed();let n,r=Ge(e),o=re(void 0);try{return t()}finally{Ge(r),re(o)}}function qh(){return Ec()!==void 0||ch()!=null}function Yh(e){return typeof e=="function"}var se=0,D=1,y=2,W=3,Ie=4,ue=5,ae=6,mn=7,Y=8,Ht=9,Ce=10,P=11,yn=12,Ou=13,Yt=14,ie=15,Nn=16,kt=17,je=18,Xr=19,qc=20,ze=21,ii=22,gt=23,j=25,Yc=1,Dn=6,Ve=7,Nr=8,Ut=9,q=10,Hs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Hs||{});function Le(e){return Array.isArray(e)&&typeof e[Yc]=="object"}function Ae(e){return Array.isArray(e)&&e[Yc]===!0}function Us(e){return(e.flags&4)!==0}function An(e){return e.componentOffset>-1}function eo(e){return(e.flags&1)===1}function Ye(e){return!!e.template}function Qc(e){return(e[y]&512)!==0}var Ni=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Zc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Gs(){return Kc}function Kc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Zh),Qh}Gs.ngInherit=!0;function Qh(){let e=Xc(this),t=e?.current;if(t){let n=e.previous;if(n===Bt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Zh(e,t,n,r,o){let i=this.declaredInputs[r],s=Xc(e)||Kh(e,{previous:Bt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Ni(c&&c.currentValue,n,u===Bt),Zc(e,t,o,n)}var Jc="__ngSimpleChanges__";function Xc(e){return e[Jc]||null}function Kh(e,t){return e[Jc]=t}var Fu=null;var Te=function(e,t,n){Fu?.(e,t,n)},el="svg",Jh="math",Xh=!1;function eg(){return Xh}function be(e){for(;Array.isArray(e);)e=e[se];return e}function tl(e,t){return be(t[e])}function ce(e,t){return be(t[e.index])}function zs(e,t){return e.data[t]}function Ws(e,t){return e[t]}function Xe(e,t){let n=t[e];return Le(n)?n:n[se]}function tg(e){return(e[y]&4)===4}function qs(e){return(e[y]&128)===128}function ng(e){return Ae(e[W])}function Gt(e,t){return t==null?null:e[t]}function nl(e){e[kt]=0}function rg(e){e[y]&1024||(e[y]|=1024,qs(e)&&vn(e))}function og(e,t){for(;e>0;)t=t[Yt],e--;return t}function Ys(e){return!!(e[y]&9216||e[gt]?.dirty)}function Ai(e){e[Ce].changeDetectionScheduler?.notify(1),Ys(e)?vn(e):e[y]&64&&(eg()?(e[y]|=1024,vn(e)):e[Ce].changeDetectionScheduler?.notify())}function vn(e){e[Ce].changeDetectionScheduler?.notify();let t=wn(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!qs(t)));)t=wn(t)}function rl(e,t){if((e[y]&256)===256)throw new M(911,!1);e[ze]===null&&(e[ze]=[]),e[ze].push(t)}function ig(e,t){if(e[ze]===null)return;let n=e[ze].indexOf(t);n!==-1&&e[ze].splice(n,1)}function wn(e){let t=e[W];return Ae(t)?t[W]:t}var E={lFrame:ll(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function sg(){return E.lFrame.elementDepthCount}function ag(){E.lFrame.elementDepthCount++}function ug(){E.lFrame.elementDepthCount--}function ol(){return E.bindingsEnabled}function Qt(){return E.skipHydrationRootTNode!==null}function cg(e){return E.skipHydrationRootTNode===e}function lg(e){E.skipHydrationRootTNode=e}function dg(){E.skipHydrationRootTNode=null}function w(){return E.lFrame.lView}function $(){return E.lFrame.tView}function Yx(e){return E.lFrame.contextLView=e,e[Y]}function Qx(e){return E.lFrame.contextLView=null,e}function X(){let e=il();for(;e!==null&&e.type===64;)e=e.parent;return e}function il(){return E.lFrame.currentTNode}function fg(){let e=E.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function It(e,t){let n=E.lFrame;n.currentTNode=e,n.isParent=t}function Qs(){return E.lFrame.isParent}function Zs(){E.lFrame.isParent=!1}function pg(){return E.lFrame.contextLView}function Et(){let e=E.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function hg(e){return E.lFrame.bindingIndex=e}function Zt(){return E.lFrame.bindingIndex++}function sl(e){let t=E.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function gg(){return E.lFrame.inI18n}function mg(e,t){let n=E.lFrame;n.bindingIndex=n.bindingRootIndex=e,Oi(t)}function yg(){return E.lFrame.currentDirectiveIndex}function Oi(e){E.lFrame.currentDirectiveIndex=e}function Dg(e){let t=E.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function al(){return E.lFrame.currentQueryIndex}function Ks(e){E.lFrame.currentQueryIndex=e}function vg(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[ue]:null}function ul(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=vg(i),o===null||(i=i[Yt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=E.lFrame=cl();return r.currentTNode=t,r.lView=e,!0}function Js(e){let t=cl(),n=e[D];E.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function cl(){let e=E.lFrame,t=e===null?null:e.child;return t===null?ll(e):t}function ll(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 dl(){let e=E.lFrame;return E.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var fl=dl;function Xs(){let e=dl();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 wg(e){return(E.lFrame.contextLView=og(e,E.lFrame.contextLView))[Y]}function et(){return E.lFrame.selectedIndex}function mt(e){E.lFrame.selectedIndex=e}function to(){let e=E.lFrame;return zs(e.tView,e.selectedIndex)}function Zx(){E.lFrame.currentNamespace=el}function Kx(){Ig()}function Ig(){E.lFrame.currentNamespace=null}function pl(){return E.lFrame.currentNamespace}var hl=!0;function no(){return hl}function Oe(e){hl=e}function Eg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Kc(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 ro(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 Ir(e,t,n){gl(e,t,3,n)}function Er(e,t,n,r){(e[y]&3)===n&&gl(e,t,n,r)}function si(e,t){let n=e[y];(n&3)===t&&(n&=16383,n+=1,e[y]=n)}function gl(e,t,n,r){let o=r!==void 0?e[kt]&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[kt]+=65536),(a<i||i==-1)&&(Cg(e,n,t,u),e[kt]=(e[kt]&4294901760)+u+2),u++}function Ru(e,t){Te(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),Te(5,e,t)}}function Cg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[y]>>14<e[kt]>>16&&(e[y]&3)===t&&(e[y]+=16384,Ru(a,i)):Ru(a,i)}var Vt=-1,yt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function bg(e){return e instanceof yt}function _g(e){return(e.flags&8)!==0}function Mg(e){return(e.flags&16)!==0}function ml(e){return e!==Vt}function Ar(e){return e&32767}function xg(e){return e>>16}function Or(e,t){let n=xg(e),r=t;for(;n>0;)r=r[Yt],n--;return r}var Fi=!0;function Fr(e){let t=Fi;return Fi=e,t}var Sg=256,yl=Sg-1,Dl=5,Tg=0,Ne={};function Ng(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(ln)&&(r=n[ln]),r==null&&(r=n[ln]=Tg++);let o=r&yl,i=1<<o;t.data[e+(o>>Dl)]|=i}function Rr(e,t){let n=vl(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,ai(r.data,e),ai(t,null),ai(r.blueprint,null));let o=ea(e,t),i=e.injectorIndex;if(ml(o)){let s=Ar(o),a=Or(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 ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function vl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ea(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=bl(o),r===null)return Vt;if(n++,o=o[Yt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Vt}function Ri(e,t,n){Ng(e,t,n)}function Ag(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(Ac(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 wl(e,t,n){if(n&_.Optional||e!==void 0)return e;Ls(t,"NodeInjector")}function Il(e,t,n,r){if(n&_.Optional&&r===void 0&&(r=null),!(n&(_.Self|_.Host))){let o=e[Ht],i=re(void 0);try{return o?o.get(t,r,n&_.Optional):Cc(t,r,n&_.Optional)}finally{re(i)}}return wl(r,t,n)}function El(e,t,n,r=_.Default,o){if(e!==null){if(t[y]&2048&&!(r&_.Self)){let s=Pg(e,t,n,r,Ne);if(s!==Ne)return s}let i=Cl(e,t,n,r,Ne);if(i!==Ne)return i}return Il(t,n,r,o)}function Cl(e,t,n,r,o){let i=Fg(n);if(typeof i=="function"){if(!ul(t,e,r))return r&_.Host?wl(o,n,r):Il(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&_.Optional))Ls(n);else return s}finally{fl()}}else if(typeof i=="number"){let s=null,a=vl(e,t),u=Vt,c=r&_.Host?t[ie][ue]:null;for((a===-1||r&_.SkipSelf)&&(u=a===-1?ea(e,t):t[a+8],u===Vt||!ku(r,!1)?a=-1:(s=t[D],a=Ar(u),t=Or(u,t)));a!==-1;){let l=t[D];if(Pu(i,a,l.data)){let d=Og(a,t,n,s,r,c);if(d!==Ne)return d}u=t[a+8],u!==Vt&&ku(r,t[D].data[a+8]===c)&&Pu(i,a,t)?(s=l,a=Ar(u),t=Or(u,t)):a=-1}}return o}function Og(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],u=r==null?An(a)&&Fi:r!=s&&(a.type&3)!==0,c=o&_.Host&&i===a,l=Cr(a,s,n,u,c);return l!==null?Dt(t,s,l,a):Ne}function Cr(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&&Ye(f)&&f.type===n)return u}return null}function Dt(e,t,n,r){let o=e[n],i=t.data;if(bg(o)){let s=o;s.resolving&&oh(rh(i[n]));let a=Fr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?re(s.injectImpl):null,l=ul(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Eg(n,i[n],t)}finally{c!==null&&re(c),Fr(a),s.resolving=!1,fl()}}return o}function Fg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ln)?e[ln]:void 0;return typeof t=="number"?t>=0?t&yl:Rg:t}function Pu(e,t,n){let r=1<<e;return!!(n[t+(e>>Dl)]&r)}function ku(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var ft=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return El(this._tNode,this._lView,t,Kr(r),n)}};function Rg(){return new ft(X(),w())}function Jx(e){return xn(()=>{let t=e.prototype.constructor,n=t[Mr]||Pi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Mr]||Pi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Pi(e){return yc(e)?()=>{let t=Pi(Z(e));return t&&t()}:pt(e)}function Pg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Cl(i,s,n,r|_.Self,Ne);if(a!==Ne)return a;let u=i.parent;if(!u){let c=s[qc];if(c){let l=c.get(n,Ne,r);if(l!==Ne)return l}u=bl(s),s=s[Yt]}i=u}return o}function bl(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ue]:null}function kg(e){return Ag(X(),e)}function Lu(e,t=null,n=null,r){let o=_l(e,t,n,r);return o.resolveInjectorInitializers(),o}function _l(e,t=null,n=null,r,o=new Set){let i=[n||K,kh(e)];return r=r||(typeof e=="object"?void 0:J(e)),new gn(i,t||$s(),r||null,o)}var On=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Lu({name:""},o,r,"");{let i=r.name??"";return Lu({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=dn,t.NULL=new Tr,t.\u0275prov=V({token:t,providedIn:"any",factory:()=>oe(Sc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Lg="ngOriginalError";function ui(e){return e[Lg]}var zt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ui(t);for(;n&&ui(n);)n=ui(n);return n||null}},Ml=new R("",{providedIn:"root",factory:()=>N(zt).handleError.bind(void 0)}),xl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=jg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),ki=class extends xl{constructor(t){super(),this._lView=t}onDestroy(t){return rl(this._lView,t),()=>ig(this._lView,t)}};function jg(){return new ki(w())}function Vg(){return Kt(X(),w())}function Kt(e,t){return new tt(ce(e,t))}var tt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Vg;let e=t;return e})();function Bg(e){return e instanceof tt?e.nativeElement:e}var Li=class extends fe{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,qh()&&(this.destroyRef=N(xl,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(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=ci(i),o&&(o=ci(o)),s&&(s=ci(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&t.add(a),a}};function ci(e){return t=>{setTimeout(e,void 0,t)}}var dt=Li;function $g(){return this._results[Symbol.iterator]()}var ji=class e{get changes(){return this._changes??=new dt}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=$g)}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=gh(t);(this._changesDetected=!hh(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.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Hg="ngSkipHydration",Ug="ngskiphydration";function Sl(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===Ug)return!0}return!1}function Tl(e){return e.hasAttribute(Hg)}function Pr(e){return(e.flags&128)===128}function Gg(e){if(Pr(e))return!0;let t=e.parent;for(;t;){if(Pr(e)||Sl(t))return!0;t=t.parent}return!1}var Nl=new Map,zg=0;function Wg(){return zg++}function qg(e){Nl.set(e[Xr],e)}function Yg(e){Nl.delete(e[Xr])}var ju="__ngContext__";function Qe(e,t){Le(t)?(e[ju]=t[Xr],qg(t)):e[ju]=t}function Al(e){return Fl(e[yn])}function Ol(e){return Fl(e[Ie])}function Fl(e){for(;e!==null&&!Ae(e);)e=e[Ie];return e}var Vi;function Xx(e){Vi=e}function Fn(){if(Vi!==void 0)return Vi;if(typeof document<"u")return document;throw new M(210,!1)}var Qg=new R("",{providedIn:"root",factory:()=>Zg}),Zg="ng",Kg=new R(""),ta=new R("",{providedIn:"platform",factory:()=>"unknown"});var eS=new R(""),tS=new R("",{providedIn:"root",factory:()=>Fn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Jg(){let e=new na;return N(ta)==="browser"&&(e.store=Xg(Fn(),N(Qg))),e}var na=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};t.\u0275prov=V({token:t,providedIn:"root",factory:Jg});let e=t;return e})();function Xg(e,t){let n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var Rl="h",Pl="b",Bi=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Bi||{}),em="e",tm="t",ra="c",kl="x",kr="r",nm="i",rm="n",om="d",im="__nghData__",Ll=im,li="ngh",sm="nghm",jl=()=>null;function am(e,t,n=!1){let r=e.getAttribute(li);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,u={};if(r!==""){let l=t.get(na,null,{optional:!0});l!==null&&(u=l.get(Ll,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,oo(c,0,e.nextSibling)),a?e.setAttribute(li,a):e.removeAttribute(li),c}function um(){jl=am}function oa(e,t,n=!1){return jl(e,t,n)}function cm(e){let t=e._lView;return t[D].type===2?null:(Qc(t)&&(t=t[j]),t)}function lm(e){return e.textContent?.replace(/\s/gm,"")}function dm(e){let t=Fn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=lm(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function oo(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function $i(e,t){return e.segmentHeads?.[t]??null}function fm(e,t){let n=e.data,r=n[em]?.[t]??null;return r===null&&n[ra]?.[t]&&(r=ia(e,t)),r}function Vl(e,t){return e.data[ra]?.[t]??null}function ia(e,t){let n=Vl(e,t)??[],r=0;for(let o of n)r+=o[kr]*(o[kl]??1);return r}function io(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[om];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var fr=new R(""),Bl=!1,$l=new R("",{providedIn:"root",factory:()=>Bl}),pm=new R(""),pr;function hm(){if(pr===void 0&&(pr=null,pe.trustedTypes))try{pr=pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pr}function so(e){return hm()?.createHTML(e)||e}var hr;function gm(){if(hr===void 0&&(hr=null,pe.trustedTypes))try{hr=pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hr}function Vu(e){return gm()?.createHTML(e)||e}var Be=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${pc})`}},Hi=class extends Be{getTypeName(){return"HTML"}},Ui=class extends Be{getTypeName(){return"Style"}},Gi=class extends Be{getTypeName(){return"Script"}},zi=class extends Be{getTypeName(){return"URL"}},Wi=class extends Be{getTypeName(){return"ResourceURL"}};function Jt(e){return e instanceof Be?e.changingThisBreaksApplicationSecurity:e}function Hl(e,t){let n=mm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${pc})`)}return n===t}function mm(e){return e instanceof Be&&e.getTypeName()||null}function nS(e){return new Hi(e)}function rS(e){return new Ui(e)}function oS(e){return new Gi(e)}function iS(e){return new zi(e)}function sS(e){return new Wi(e)}function ym(e){let t=new Yi(e);return Dm()?new qi(t):t}var qi=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(so(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Yi=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=so(t),n}};function Dm(){try{return!!new window.DOMParser().parseFromString(so(""),"text/html")}catch{return!1}}var vm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ul(e){return e=String(e),e.match(vm)?e:"unsafe:"+e}function $e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Rn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Gl=$e("area,br,col,hr,img,wbr"),zl=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wl=$e("rp,rt"),wm=Rn(Wl,zl),Im=Rn(zl,$e("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Em=Rn(Wl,$e("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Bu=Rn(Gl,Im,Em,wm),ql=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cm=$e("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),bm=$e("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),_m=Rn(ql,Cm,bm),Mm=$e("script,style,template"),Qi=class{constructor(){this.sanitizedSomething=!1,this.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=Tm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Sm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=$u(t).toLowerCase();if(!Bu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Mm.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(!_m.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;ql[a]&&(u=Ul(u)),this.buf.push(" ",s,'="',Hu(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=$u(t).toLowerCase();Bu.hasOwnProperty(n)&&!Gl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Hu(t))}};function xm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Sm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Yl(t);return t}function Tm(e){let t=e.firstChild;if(t&&xm(e,t))throw Yl(t);return t}function $u(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Yl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Nm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Am=/([^\#-~ |!])/g;function Hu(e){return e.replace(/&/g,"&").replace(Nm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Am,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var gr;function Om(e,t){let n=null;try{gr=gr||ym(e);let r=t?String(t):"";n=gr.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=gr.getInertBodyElement(r)}while(r!==i);let a=new Qi().sanitizeChildren(Uu(n)||n);return so(a)}finally{if(n){let r=Uu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Uu(e){return"content"in e&&Fm(e)?e.content:null}function Fm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var sa=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}(sa||{});function aS(e){let t=Ql();return t?Vu(t.sanitize(sa.HTML,e)||""):Hl(e,"HTML")?Vu(Jt(e)):Om(Fn(),Sn(e))}function uS(e){let t=Ql();return t?t.sanitize(sa.URL,e)||"":Hl(e,"URL")?Jt(e):Ul(Sn(e))}function Ql(){let e=w();return e&&e[Ce].sanitizer}var Rm=/^>|^->|<!--|-->|--!>|<!-$/g,Pm=/(<|>)/g,km="\u200B$1\u200B";function Lm(e){return e.replace(Rm,t=>t.replace(Pm,km))}function cS(e){return e.ownerDocument.defaultView}function lS(e){return e.ownerDocument}function jm(e){return e.ownerDocument.body}function Zl(e){return e instanceof Function?e():e}function mr(e){return(e??N(On)).get(ta)==="browser"}var In=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(In||{}),Vm;function aa(e,t){return Vm(e,t)}function Lt(e,t,n,r,o){if(r!=null){let i,s=!1;Ae(r)?i=r:Le(r)&&(s=!0,r=r[se]);let a=be(r);e===0&&n!==null?o==null?ed(t,n,a):Lr(t,n,a,o||null,!0):e===1&&n!==null?Lr(t,n,a,o||null,!0):e===2?da(t,a,s):e===3&&t.destroyNode(a),i!=null&&ey(t,e,i,n,o)}}function ua(e,t){return e.createText(t)}function Bm(e,t,n){e.setValue(t,n)}function ca(e,t){return e.createComment(Lm(t))}function ao(e,t,n){return e.createElement(t,n)}function $m(e,t){Kl(e,t),t[se]=null,t[ue]=null}function Hm(e,t,n,r,o,i){r[se]=o,r[ue]=t,lo(e,r,n,1,o,i)}function Kl(e,t){t[Ce].changeDetectionScheduler?.notify(1),lo(e,t,t[P],2,null,null)}function Um(e){let t=e[yn];if(!t)return di(e[D],e);for(;t;){let n=null;if(Le(t))n=t[yn];else{let r=t[q];r&&(n=r)}if(!n){for(;t&&!t[Ie]&&t!==e;)Le(t)&&di(t[D],t),t=t[W];t===null&&(t=e),Le(t)&&di(t[D],t),n=t&&t[Ie]}t=n}}function Gm(e,t,n,r){let o=q+r,i=n.length;r>0&&(n[o-1][Ie]=t),r<i-q?(t[Ie]=n[o],xc(n,q+r,t)):(n.push(t),t[Ie]=null),t[W]=n;let s=t[Nn];s!==null&&n!==s&&zm(s,t);let a=t[je];a!==null&&a.insertView(e),Ai(t),t[y]|=128}function zm(e,t){let n=e[Ut],o=t[W][W][ie];t[ie]!==o&&(e[y]|=Hs.HasTransplantedViews),n===null?e[Ut]=[t]:n.push(t)}function Jl(e,t){let n=e[Ut],r=n.indexOf(t);n.splice(r,1)}function En(e,t){if(e.length<=q)return;let n=q+t,r=e[n];if(r){let o=r[Nn];o!==null&&o!==e&&Jl(o,r),t>0&&(e[n-1][Ie]=r[Ie]);let i=Sr(e,q+t);$m(r[D],r);let s=i[je];s!==null&&s.detachView(i[D]),r[W]=null,r[Ie]=null,r[y]&=-129}return r}function uo(e,t){if(!(t[y]&256)){let n=t[P];n.destroyNode&&lo(e,t,n,3,null,null),Um(t)}}function di(e,t){if(t[y]&256)return;let n=b(null);try{t[y]&=-129,t[y]|=256,t[gt]&&Wa(t[gt]),qm(e,t),Wm(e,t),t[D].type===1&&t[P].destroy();let r=t[Nn];if(r!==null&&Ae(t[W])){r!==t[W]&&Jl(r,t);let o=t[je];o!==null&&o.detachView(e)}Yg(t)}finally{b(n)}}function Wm(e,t){let n=e.cleanup,r=t[mn];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[mn]=null);let o=t[ze];if(o!==null){t[ze]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function qm(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 yt)){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];Te(4,a,u);try{u.call(a)}finally{Te(5,a,u)}}else{Te(4,o,i);try{i.call(o)}finally{Te(5,o,i)}}}}}function Xl(e,t,n){return Ym(e,t.parent,n)}function Ym(e,t,n){let r=t;for(;r!==null&&r.type&40;)t=r,r=t.parent;if(r===null)return n[se];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===pn.None||i===pn.Emulated)return null}return ce(r,n)}}function Lr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ed(e,t,n){e.appendChild(t,n)}function Gu(e,t,n,r,o){r!==null?Lr(e,t,n,r,o):ed(e,t,n)}function Qm(e,t,n,r){e.removeChild(t,n,r)}function la(e,t){return e.parentNode(t)}function Zm(e,t){return e.nextSibling(t)}function td(e,t,n){return Jm(e,t,n)}function Km(e,t,n){return e.type&40?ce(e,n):null}var Jm=Km,zu;function co(e,t,n,r){let o=Xl(e,r,t),i=t[P],s=r.parent||t[ue],a=td(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Gu(i,o,n[u],a,!1);else Gu(i,o,n,a,!1);zu!==void 0&&zu(i,r,t,n,o)}function br(e,t){if(t!==null){let n=t.type;if(n&3)return ce(t,e);if(n&4)return Zi(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return br(e,r);{let o=e[t.index];return Ae(o)?Zi(-1,o):be(o)}}else{if(n&32)return aa(t,e)()||be(e[t.index]);{let r=nd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=wn(e[ie]);return br(o,r)}else return br(e,t.next)}}}return null}function nd(e,t){if(t!==null){let r=e[ie][ue],o=t.projection;return r.projection[o]}return null}function Zi(e,t){let n=q+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return br(r,o)}return t[Ve]}function da(e,t,n){let r=la(e,t);r&&Qm(e,r,t,n)}function rd(e){e.textContent=""}function fa(e,t,n,r,o,i,s){for(;n!=null;){let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Qe(be(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)fa(e,t,n.child,r,o,i,!1),Lt(t,e,o,a,i);else if(u&32){let c=aa(n,r),l;for(;l=c();)Lt(t,e,o,l,i);Lt(t,e,o,a,i)}else u&16?od(e,t,r,n,o,i):Lt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function lo(e,t,n,r,o,i){fa(n,r,e.firstChild,t,o,i,!1)}function Xm(e,t,n){let r=t[P],o=Xl(e,n,t),i=n.parent||t[ue],s=td(i,n,t);od(r,0,t,n,o,s)}function od(e,t,n,r,o,i){let s=n[ie],u=s[ue].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];Lt(t,e,o,l,i)}else{let c=u,l=s[W];Pr(r)&&(c.flags|=128),fa(e,t,c,l,o,i,!0)}}function ey(e,t,n,r,o){let i=n[Ve],s=be(n);i!==s&&Lt(t,e,r,i,o);for(let a=q;a<n.length;a++){let u=n[a];lo(u[D],u,e,t,r,i)}}function ty(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:In.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=In.Important),e.setStyle(n,r,o,i))}}function ny(e,t,n){e.setAttribute(t,"style",n)}function id(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function sd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Mi(e,t,r),o!==null&&id(e,t,o),i!==null&&ny(e,t,i)}var _e={};function dS(e=1){ad($(),w(),et()+e,!1)}function ad(e,t,n,r){if(!r)if((t[y]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ir(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Er(t,i,0,n)}mt(n)}function B(e,t=_.Default){let n=w();if(n===null)return oe(e,t);let r=X();return El(r,n,Z(e),t)}function fS(){let e="invalid";throw new Error(e)}function ud(e,t,n,r,o,i){let s=b(null);try{let a=null;o&We.SignalBased&&(a=t[r][Ha]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&We.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Zc(t,a,r,i)}finally{b(s)}}function ry(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)mt(~o);else{let i=o,s=n[++r],a=n[++r];mg(s,i);let u=t[i];a(2,u)}}}finally{mt(-1)}}function fo(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[se]=o,d[y]=r|4|128|8|64,(c!==null||e&&e[y]&2048)&&(d[y]|=2048),nl(d),d[W]=d[Yt]=e,d[Y]=n,d[Ce]=s||e&&e[Ce],d[P]=a||e&&e[P],d[Ht]=u||e&&e[Ht]||null,d[ue]=i,d[Xr]=Wg(),d[ae]=l,d[qc]=c,d[ie]=t.type==2?e[ie]:d,d}function Xt(e,t,n,r,o){let i=e.data[t];if(i===null)i=oy(e,t,n,r,o),gg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=fg();i.injectorIndex=s===null?-1:s.injectorIndex}return It(i,!0),i}function oy(e,t,n,r,o){let i=il(),s=Qs(),a=s?i:i&&i.parent,u=e.data[t]=dy(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 cd(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 ld(e,t,n,r,o){let i=et(),s=r&2;try{mt(-1),s&&t.length>j&&ad(e,t,j,!1),Te(s?2:0,o),n(r,o)}finally{mt(i),Te(s?3:1,o)}}function pa(e,t,n){if(Us(t)){let r=b(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{b(r)}}}function ha(e,t,n){ol()&&(yy(e,t,n,ce(n,t)),(n.flags&64)===64&&hd(e,t,n))}function ga(e,t,n=ce){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 dd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ma(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ma(e,t,n,r,o,i,s,a,u,c,l){let d=j+r,p=d+o,f=iy(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 iy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:_e);return n}function sy(e,t,n,r){let i=r.get($l,Bl)||n===pn.ShadowDom,s=e.selectRootElement(t,i);return ay(s),s}function ay(e){fd(e)}var fd=()=>null;function uy(e){Tl(e)?rd(e):dm(e)}function cy(){fd=uy}function ly(e,t,n,r){let o=yd(t);o.push(n),e.firstCreatePass&&Dd(e).push(r,o.length-1)}function dy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qt()&&(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 Wu(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=We.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?qu(r,n,c,a,u):qu(r,n,c,a)}return r}function qu(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 fy(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=Wu(0,d.inputs,l,u,f),c=Wu(1,d.outputs,l,c,h);let g=u!==null&&s!==null&&!Vs(t)?Sy(u,l,s):null;a.push(g)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function py(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function ya(e,t,n,r,o,i,s,a){let u=ce(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(va(e,n,l,r,o),An(t)&&hy(n,t.index)):t.type&3?(r=py(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function hy(e,t){let n=Xe(t,e);n[y]&16||(n[y]|=64)}function Da(e,t,n,r){if(ol()){let o=r===null?null:{"":-1},i=vy(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&pd(e,t,n,s,o,a),o&&wy(n,r,o)}n.mergedAttrs=hn(n.mergedAttrs,n.attrs)}function pd(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Ri(Rr(n,t),e,r[c].type);Ey(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=cd(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=hn(n.mergedAttrs,l.hostAttrs),Cy(e,n,t,u,l),Iy(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++}fy(e,n,i)}function gy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;my(s)!=a&&s.push(a),s.push(n,r,i)}}function my(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function yy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;An(n)&&by(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Rr(n,t),Qe(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=Dt(t,e,a,n);if(Qe(c,t),s!==null&&xy(t,a-o,c,u,n,s),Ye(u)){let l=Xe(n.index,t);l[Y]=Dt(t,e,a,n)}}}function hd(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=yg();try{mt(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Oi(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Dy(u,c)}}finally{mt(-1),Oi(s)}}function Dy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function vy(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(Fc(t,s.selectors,!1))if(r||(r=[]),Ye(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;Ki(e,t,u)}else r.unshift(s),Ki(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Ki(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function wy(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 M(-301,!1);r.push(t[o],i)}}}function Iy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ye(t)&&(n[""]=e)}}function Ey(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Cy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=pt(o.type,!0)),s=new yt(i,Ye(o),B);e.blueprint[r]=s,n[r]=s,gy(e,t,r,cd(e,n,o.hostVars,_e),o)}function by(e,t,n){let r=ce(t,e),o=dd(n),i=e[Ce].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=po(e,fo(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function _y(e,t,n,r,o,i){let s=ce(e,t);My(t[P],s,i,e.value,n,r,o)}function My(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Sn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function xy(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++];ud(r,n,u,c,l,d)}}function Sy(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 gd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function md(e,t){let n=e.contentQueries;if(n!==null){let r=b(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];Ks(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function po(e,t){return e[yn]?e[Ou][Ie]=t:e[yn]=t,e[Ou]=t,t}function Ji(e,t,n){Ks(0);let r=b(null);try{t(e,n)}finally{b(r)}}function yd(e){return e[mn]||(e[mn]=[])}function Dd(e){return e.cleanup||(e.cleanup=[])}function vd(e,t){let n=e[Ht],r=n?n.get(zt,null):null;r&&r.handleError(t)}function va(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];ud(l,c,r,a,u,o)}}function Ty(e,t,n){let r=tl(t,e);Bm(e[P],r,n)}function Ny(e,t){let n=Xe(t,e),r=n[D];Ay(r,n);let o=n[se];o!==null&&n[ae]===null&&(n[ae]=oa(o,n[Ht])),wa(r,n,n[Y])}function Ay(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function wa(e,t,n){Js(t);try{let r=e.viewQuery;r!==null&&Ji(1,r,n);let o=e.template;o!==null&&ld(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[je]?.finishViewCreation(e),e.staticContentQueries&&md(e,t),e.staticViewQueries&&Ji(2,e.viewQuery,n);let i=e.components;i!==null&&Oy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[y]&=-5,Xs()}}function Oy(e,t){for(let n=0;n<t.length;n++)Ny(e,t[n])}function ho(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[y]&4096?4096:16,u=fo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[Nn]=c;let l=e[je];return l!==null&&(u[je]=l.createEmbeddedView(i)),wa(i,u,n),u}finally{b(o)}}function wd(e,t){let n=q+t;if(n<e.length)return e[n]}function Cn(e,t){return!t||t.firstChild===null||Pr(e)}function go(e,t,n,r=!0){let o=t[D];if(Gm(o,t,e,n),r){let s=Zi(n,e),a=t[P],u=la(a,e[Ve]);u!==null&&Hm(o,e[ue],a,t,u,s)}let i=t[ae];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Id(e,t){let n=En(e,t);return n!==void 0&&uo(n[D],n),n}function jr(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(be(i)),Ae(i)&&Fy(i,r);let s=n.type;if(s&8)jr(e,t,n.child,r);else if(s&32){let a=aa(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=nd(t,n);if(Array.isArray(a))r.push(...a);else{let u=wn(t[ie]);jr(u[D],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Fy(e,t){for(let n=q;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&jr(r[D],r,o,t)}e[Ve]!==e[se]&&t.push(e[Ve])}var Ed=[];function Ry(e){return e[gt]??Py(e)}function Py(e){let t=Ed.pop()??Object.create(Ly);return t.lView=e,t}function ky(e){e.lView[gt]!==e&&(e.lView=null,Ed.push(e))}var Ly=tn(en({},Ua),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{vn(e.lView)},consumerOnSignalRead(){this.lView[gt]=this}}),Cd=100;function bd(e,t=!0,n=0){let r=e[Ce],o=r.rendererFactory,i=!1;i||o.begin?.();try{jy(e,n)}catch(s){throw t&&vd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function jy(e,t){Xi(e,t);let n=0;for(;Ys(e);){if(n===Cd)throw new M(103,!1);n++,Xi(e,1)}}function Vy(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[Ce].inlineEffectRunner?.flush(),Js(t);let s=null,a=null;!i&&By(e)&&(a=Ry(t),s=Ga(a));try{nl(t),hg(e.bindingStartIndex),n!==null&&ld(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&Ir(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Er(t,d,0,null),si(t,0)}if($y(t),_d(t,0),e.contentQueries!==null&&md(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&Ir(t,d)}else{let d=e.contentHooks;d!==null&&Er(t,d,1),si(t,1)}ry(e,t);let c=e.components;c!==null&&xd(t,c,0);let l=e.viewQuery;if(l!==null&&Ji(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&Ir(t,d)}else{let d=e.viewHooks;d!==null&&Er(t,d,2),si(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ii]){for(let d of t[ii])d();t[ii]=null}i||(t[y]&=-73)}catch(u){throw vn(t),u}finally{a!==null&&(za(a,s),ky(a)),Xs()}}function By(e){return e.type!==2}function _d(e,t){for(let n=Al(e);n!==null;n=Ol(n))for(let r=q;r<n.length;r++){let o=n[r];Md(o,t)}}function $y(e){for(let t=Al(e);t!==null;t=Ol(t)){if(!(t[y]&Hs.HasTransplantedViews))continue;let n=t[Ut];for(let r=0;r<n.length;r++){let o=n[r],i=o[W];rg(o)}}}function Hy(e,t,n){let r=Xe(t,e);Md(r,n)}function Md(e,t){qs(e)&&Xi(e,t)}function Xi(e,t){let r=e[D],o=e[y],i=e[gt],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ko(i)),i&&(i.dirty=!1),e[y]&=-9217,s)Vy(r,e,r.template,e[Y]);else if(o&8192){_d(e,1);let a=r.components;a!==null&&xd(e,a,1)}}function xd(e,t,n){for(let r=0;r<t.length;r++)Hy(e,t[r],n)}function Ia(e){for(e[Ce].changeDetectionScheduler?.notify();e;){e[y]|=64;let t=wn(e);if(Qc(e)&&!t)return e;e=t}return null}var vt=class{get rootNodes(){let t=this._lView,n=t[D];return jr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Y]}set context(t){this._lView[Y]=t}get destroyed(){return(this._lView[y]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[W];if(Ae(t)){let n=t[Nr],r=n?n.indexOf(this):-1;r>-1&&(En(t,r),Sr(n,r))}this._attachedToViewContainer=!1}uo(this._lView[D],this._lView)}onDestroy(t){rl(this._lView,t)}markForCheck(){Ia(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){Ai(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,bd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Kl(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t,Ai(this._lView)}},Ze=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=zy;let e=t;return e})(),Uy=Ze,Gy=class extends Uy{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=ho(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new vt(o)}};function zy(){return mo(X(),w())}function mo(e,t){return e.type&4?new Gy(t,e,Kt(e,t)):null}function Sd(e){let t=e[Dn]??[],r=e[W][P];for(let o of t)Wy(o,r);e[Dn]=K}function Wy(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[kr];for(;n<o;){let i=r.nextSibling;da(t,r,!1),r=i,n++}}}function Td(e){Sd(e);for(let t=q;t<e.length;t++)Vr(e[t])}function qy(e){let t=e[ae]?.i18nNodes;if(t){let n=e[P];for(let r of t.values())da(n,r,!1);e[ae].i18nNodes=void 0}}function Vr(e){qy(e);let t=e[D];for(let n=j;n<t.bindingStartIndex;n++)if(Ae(e[n])){let r=e[n];Td(r)}else Le(e[n])&&Vr(e[n])}function Yy(e){let t=e._views;for(let n of t){let r=cm(n);if(r!==null&&r[se]!==null)if(Le(r))Vr(r);else{let o=r[se];Vr(o),Td(r)}}}var Qy=new RegExp(`^(\\d+)*(${Pl}|${Rl})*(.*)`);function Zy(e){let t=e.match(Qy),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[u,c,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(c,d)}return[s,...a]}function Ky(e){return!e.prev&&e.parent?.type===8}function fi(e){return e.index-j}function Jy(e,t){let n=e.i18nNodes;if(n){let r=n.get(t);return r&&n.delete(t),r}return null}function yo(e,t,n,r){let o=fi(r),i=Jy(e,o);if(!i){let s=e.data[rm];if(s?.[o])i=eD(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,u=r.prev??r.parent;if(Ky(r)){let c=fi(r.parent);i=$i(e,c)}else{let c=ce(u,n);if(a)i=c.firstChild;else{let l=fi(u),d=$i(e,l);if(u.type===2&&d){let f=ia(e,l)+1;i=Do(f,d)}else i=c.nextSibling}}}}return i}function Do(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function Xy(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case Bi.FirstChild:n=n.firstChild;break;case Bi.NextSibling:n=n.nextSibling;break}}return n}function eD(e,t){let[n,...r]=Zy(e),o;if(n===Rl)o=t[ie][se];else if(n===Pl)o=jm(t[ie][se]);else{let i=Number(n);o=be(t[i+j])}return Xy(o,r)}function tD(e,t){let n=[];for(let r of t)for(let o=0;o<(r[kl]??1);o++){let i={data:r,firstChild:null};r[kr]>0&&(i.firstChild=e,e=Do(r[kr],e)),n.push(i)}return[e,n]}var Nd=()=>null;function nD(e,t){let n=e[Dn];return!t||n===null||n.length===0?null:n[0].data[nm]===t?n.shift():(Sd(e),null)}function rD(){Nd=nD}function bn(e,t){return Nd(e,t)}var es=class{},ts=class{},Br=class{};function oD(e){let t=Error(`No component factory found for ${J(e)}.`);return t[iD]=e,t}var iD="ngComponent";var ns=class{resolveComponentFactory(t){throw oD(t)}},vo=(()=>{let t=class t{};t.NULL=new ns;let e=t;return e})(),rs=class{},wo=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>sD();let e=t;return e})();function sD(){let e=w(),t=X(),n=Xe(t.index,e);return(Le(n)?n:e)[P]}var aD=(()=>{let t=class t{};t.\u0275prov=V({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),pi={};var Yu=new Set;function Pn(e){Yu.has(e)||(Yu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Qu(...e){}function uD(){let e=typeof pe.requestAnimationFrame=="function",t=pe[e?"requestAnimationFrame":"setTimeout"],n=pe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var Ee=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new dt(!1),this.onMicrotaskEmpty=new dt(!1),this.onStable=new dt(!1),this.onError=new dt(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=uD().nativeRequestAnimationFrame,dD(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(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,cD,Qu,Qu);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)}},cD={};function Ea(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function lD(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,os(e),e.isCheckStableRunning=!0,Ea(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),os(e))}function dD(e){let t=()=>{lD(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(fD(a))return n.invokeTask(o,i,s,a);try{return Zu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ku(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Zu(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ku(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,os(e),Ea(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function os(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Zu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ku(e){e._nesting--,Ea(e)}function fD(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Ad=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=V({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function $r(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=Ei(o,a);else if(i==2){let u=a,c=t[++s];r=Ei(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Hr=class extends vo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ht(t);return new _n(n,this.ngModule)}};function Ju(e){let t=[];for(let n in e){if(!e.hasOwnProperty(n))continue;let r=e[n];r!==void 0&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}function pD(e){let t=e.toLowerCase();return t==="svg"?el:t==="math"?Jh:null}var is=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Kr(r);let o=this.injector.get(t,pi,r);return o!==pi||n===pi?o:this.parentInjector.get(t,n,r)}},_n=class extends Br{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Ju(t.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Ju(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Nh(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=b(null);try{o=o||this.ngModule;let s=o instanceof qe?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new is(t,s):t,u=a.get(rs,null);if(u===null)throw new M(407,!1);let c=a.get(aD,null),l=a.get(Ad,null),d=a.get(es,null),p={rendererFactory:u,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},f=u.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",g=r?sy(f,r,this.componentDef.encapsulation,a):ao(f,h,pD(h)),S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=16);let x=null;g!==null&&(x=oa(g,a,!0));let de=ma(0,null,null,1,0,null,null,null,null,null,null),te=fo(null,de,null,S,null,null,p,f,a,null,x);Js(te);let Fe,_t;try{let ye=this.componentDef,Mt,Fo=null;ye.findHostDirectiveDefs?(Mt=[],Fo=new Map,ye.findHostDirectiveDefs(ye,Mt,Fo),Mt.push(ye)):Mt=[ye];let Vf=hD(te,g),Bf=gD(Vf,g,ye,Mt,te,p,f);_t=zs(de,j),g&&DD(f,ye,g,r),n!==void 0&&vD(_t,this.ngContentSelectors,n),Fe=yD(Bf,ye,Mt,Fo,te,[wD]),wa(de,te,null)}finally{Xs()}return new ss(this.componentType,Fe,Kt(_t,te),te,_t)}finally{b(i)}}},ss=class extends ts{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new vt(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;va(i[D],i,o,t,n),this.previousInputValues.set(t,n);let s=Xe(this._tNode.index,i);Ia(s)}}get injector(){return new ft(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function hD(e,t){let n=e[D],r=j;return e[r]=t,Xt(n,r,2,"#host",null)}function gD(e,t,n,r,o,i,s){let a=o[D];mD(r,e,t,s);let u=null;t!==null&&(u=oa(t,o[Ht]));let c=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=fo(o,dd(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Ki(a,e,r.length-1),po(o,d),o[e.index]=d}function mD(e,t,n,r){for(let o of e)t.mergedAttrs=hn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&($r(t,t.mergedAttrs,!0),n!==null&&sd(r,n,t))}function yD(e,t,n,r,o,i){let s=X(),a=o[D],u=ce(s,o);pd(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=Dt(o,a,d,s);Qe(p,o)}hd(a,o,s),u&&Qe(u,o);let c=Dt(o,a,s.directiveStart+s.componentOffset,s);if(e[Y]=o[Y]=c,i!==null)for(let l of i)l(c,t);return pa(a,s,o),c}function DD(e,t,n,r){if(r)Mi(e,n,["ng-version","17.3.11"]);else{let{attrs:o,classes:i}=Ah(t.selectors[0]);o&&Mi(e,n,o),i&&i.length>0&&id(e,n,i.join(" "))}}function vD(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function wD(){let e=X();ro(w()[D],e)}var nt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ID;let e=t;return e})();function ID(){let e=X();return Fd(e,w())}var ED=nt,Od=class extends ED{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Kt(this._hostTNode,this._hostLView)}get injector(){return new ft(this._hostTNode,this._hostLView)}get parentInjector(){let t=ea(this._hostTNode,this._hostLView);if(ml(t)){let n=Or(t,this._hostLView),r=Ar(t),o=n[D].data[r+8];return new ft(o,n)}else return new ft(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Xu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=bn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Cn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Yh(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 _n(ht(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(qe,null);g&&(i=g)}let l=ht(u.componentType??{}),d=bn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,Cn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ng(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[W],c=new Od(u,u[ue],u[W]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return go(s,o,i,r),t.attachToViewContainerRef(),xc(hi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Xu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=En(this._lContainer,n);r&&(Sr(hi(this._lContainer),n),uo(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=En(this._lContainer,n);return r&&Sr(hi(this._lContainer),n)!=null?new vt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Xu(e){return e[Nr]}function hi(e){return e[Nr]||(e[Nr]=[])}function Fd(e,t){let n,r=t[e.index];return Ae(r)?n=r:(n=gd(r,t,null,e),t[e.index]=n,po(t,n)),Rd(n,t,e,r),new Od(n,e,t)}function CD(e,t){let n=e[P],r=n.createComment(""),o=ce(t,e),i=la(n,o);return Lr(n,i,r,Zm(n,o),!1),r}var Rd=Pd,Ca=()=>!1;function bD(e,t,n){return Ca(e,t,n)}function Pd(e,t,n,r){if(e[Ve])return;let o;n.type&8?o=be(r):o=CD(t,n),e[Ve]=o}function _D(e,t,n){if(e[Ve]&&e[Dn])return!0;let r=n[ae],o=t.index-j;if(!r||Gg(t)||io(r,o))return!1;let s=$i(r,o),a=r.data[ra]?.[o],[u,c]=tD(s,a);return e[Ve]=u,e[Dn]=c,!0}function MD(e,t,n,r){Ca(e,n,t)||Pd(e,t,n,r)}function xD(){Rd=MD,Ca=_D}var as=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},us=class e{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++)ba(t,n).matches!==null&&this.queries[n].setDirty()}},Ur=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=PD(t):this.predicate=t}},cs=class e{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)}},ls=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,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,SD(n,i)),this.matchTNodeWithReadOption(t,n,Cr(n,t,i,!1,!1))}else r===Ze?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Cr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===tt||o===nt||o===Ze&&n.type&4)this.addMatch(n.index,-2);else{let i=Cr(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 SD(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 TD(e,t){return e.type&11?Kt(e,t):e.type&4?mo(e,t):null}function ND(e,t,n,r){return n===-1?TD(t,e):n===-2?AD(e,t,r):Dt(e,e[D],n,t)}function AD(e,t,n){if(n===tt)return Kt(t,e);if(n===Ze)return mo(t,e);if(n===nt)return Fd(t,e)}function kd(e,t,n,r){let o=t[je].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(ND(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function ds(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=kd(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=q;d<l.length;d++){let p=l[d];p[Nn]===p[W]&&ds(p[D],p,c,r)}if(l[Ut]!==null){let d=l[Ut];for(let p=0;p<d.length;p++){let f=d[p];ds(f[D],f,c,r)}}}}}return r}function OD(e,t){return e[je].queries[t].queryList}function Ld(e,t,n){let r=new ji((n&4)===4);return ly(e,t,r,r.destroy),(t[je]??=new us).queries.push(new as(r))-1}function FD(e,t,n){let r=$();return r.firstCreatePass&&(jd(r,new Ur(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ld(r,w(),t)}function RD(e,t,n,r){let o=$();if(o.firstCreatePass){let i=X();jd(o,new Ur(t,n,r),i.index),kD(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ld(o,w(),n)}function PD(e){return e.split(",").map(t=>t.trim())}function jd(e,t,n){e.queries===null&&(e.queries=new cs),e.queries.track(new ls(t,n))}function kD(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function ba(e,t){return e.queries.getByIndex(t)}function LD(e,t){let n=e[D],r=ba(n,t);return r.crossesNgTemplate?ds(n,e,t,[]):kd(n,e,r,t)}function jD(e){return Object.getPrototypeOf(e.prototype).constructor}function VD(e){let t=jD(e.type),n=!0,r=[e];for(;t;){let o;if(Ye(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=yr(e.inputs),s.inputTransforms=yr(e.inputTransforms),s.declaredInputs=yr(e.declaredInputs),s.outputs=yr(e.outputs);let a=o.hostBindings;a&&GD(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&HD(e,u),c&&UD(e,c),BD(e,o),Qp(e.outputs,o.outputs),Ye(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===VD&&(n=!1)}}t=Object.getPrototypeOf(t)}$D(r)}function BD(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 $D(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=hn(o.hostAttrs,n=hn(n,o.hostAttrs))}}function yr(e){return e===Bt?{}:e===K?[]:e}function HD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function UD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function GD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function zD(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}var Ke=class{},fs=class{};var ps=class extends Ke{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hr(this);let o=jc(t);this._bootstrapComponents=Zl(o.bootstrap),this._r3Injector=_l(t,n,[{provide:Ke,useValue:this},{provide:vo,useValue:this.componentFactoryResolver},...r],J(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},hs=class extends fs{constructor(t){super(),this.moduleType=t}create(t){return new ps(this.moduleType,t,[])}};var Gr=class extends Ke{constructor(t){super(),this.componentFactoryResolver=new Hr(this),this.instance=null;let n=new gn([...t.providers,{provide:Ke,useValue:this},{provide:vo,useValue:this.componentFactoryResolver}],t.parent||$s(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function WD(e,t,n=null){return new Gr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Vd=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new rn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bd(e){return _a(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function qD(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function _a(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function kn(e,t,n){return e[t]=n}function YD(e,t){return e[t]}function he(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function zr(e,t,n,r){let o=he(e,t,n);return he(e,t+1,r)||o}function QD(e,t,n,r,o){let i=zr(e,t,n,r);return he(e,t+2,o)||i}function ZD(e,t,n,r,o,i){let s=zr(e,t,n,r);return zr(e,t+2,o,i)||s}function Ln(e){return(e.flags&32)===32}function KD(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Xt(t,e,4,s||null,Gt(c,a));Da(t,n,l,Gt(c,u)),ro(t,l);let d=l.tView=ma(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 gs(e,t,n,r,o,i,s,a){let u=w(),c=$(),l=e+j,d=c.firstCreatePass?KD(l,c,u,t,n,r,o,i,s):c.data[l];It(d,!1);let p=$d(c,u,d,e);no()&&co(c,u,p,d),Qe(p,u);let f=gd(p,u,p,d);return u[l]=f,po(u,f),bD(f,d,u),eo(d)&&ha(c,u,d),s!=null&&ga(u,d,a),gs}var $d=Hd;function Hd(e,t,n,r){return Oe(!0),t[P].createComment("")}function JD(e,t,n,r){let o=t[ae],i=!o||Qt()||Ln(n)||io(o,r);if(Oe(i),i)return Hd(e,t,n,r);let s=o.data[tm]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=yo(o,e,t,n);oo(o,r,a);let u=ia(o,r);return Do(u,a)}function XD(){$d=JD}function ev(e,t,n,r){let o=w(),i=Zt();if(he(o,i,t)){let s=$(),a=to();_y(a,o,e,t,n,r)}return ev}function Ud(e,t,n,r){return he(e,Zt(),n)?t+Sn(n)+r:_e}function Dr(e,t){return e<<17|t<<2}function wt(e){return e>>17&32767}function tv(e){return(e&2)==2}function nv(e,t){return e&131071|t<<17}function ms(e){return e|2}function Wt(e){return(e&131068)>>2}function gi(e,t){return e&-131069|t<<2}function rv(e){return(e&1)===1}function ys(e){return e|1}function ov(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=wt(s),u=Wt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Tn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=wt(e[a+1]);e[r+1]=Dr(p,a),p!==0&&(e[p+1]=gi(e[p+1],r)),e[a+1]=nv(e[a+1],r)}else e[r+1]=Dr(a,0),a!==0&&(e[a+1]=gi(e[a+1],r)),a=r;else e[r+1]=Dr(u,0),a===0?a=r:e[u+1]=gi(e[u+1],r),u=r;c&&(e[r+1]=ms(e[r+1])),ec(e,l,r,!0),ec(e,l,r,!1),iv(t,l,e,r,i),s=Dr(a,u),i?t.classBindings=s:t.styleBindings=s}function iv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Tn(i,t)>=0&&(n[r+1]=ys(n[r+1]))}function ec(e,t,n,r){let o=e[n+1],i=t===null,s=r?wt(o):Wt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];sv(u,t)&&(a=!0,e[s+1]=r?ys(c):ms(c)),s=r?wt(c):Wt(c)}a&&(e[n+1]=r?ms(o):ys(o))}function sv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Tn(e,t)>=0:!1}var z={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gd(e){return e.substring(z.key,z.keyEnd)}function av(e){return e.substring(z.value,z.valueEnd)}function uv(e){return qd(e),zd(e,qt(e,0,z.textEnd))}function zd(e,t){let n=z.textEnd;return n===t?-1:(t=z.keyEnd=lv(e,z.key=t,n),qt(e,t,n))}function cv(e){return qd(e),Wd(e,qt(e,0,z.textEnd))}function Wd(e,t){let n=z.textEnd,r=z.key=qt(e,t,n);return n===r?-1:(r=z.keyEnd=dv(e,r,n),r=tc(e,r,n,58),r=z.value=qt(e,r,n),r=z.valueEnd=fv(e,r,n),tc(e,r,n,59))}function qd(e){z.key=0,z.keyEnd=0,z.value=0,z.valueEnd=0,z.textEnd=e.length}function qt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function lv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function dv(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function tc(e,t,n,r){return t=qt(e,t,n),t<n&&t++,t}function fv(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let u=e.charCodeAt(s++);if(u===59)return a;u===34||u===39?a=s=nc(e,u,s,n):t===s-4&&i===85&&o===82&&r===76&&u===40?a=s=nc(e,41,s,n):u>32&&(a=s),i=o,o=r,r=u&-33}return a}function nc(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function pv(e,t,n){let r=w(),o=Zt();if(he(r,o,t)){let i=$(),s=to();ya(i,s,r,e,t,r[P],n,!1)}return pv}function Ds(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";va(e,n,i[s],s,r)}function Yd(e,t,n){return Qd(e,t,n,!1),Yd}function hv(e,t){return Qd(e,t,null,!0),hv}function gS(e){Zd(Xd,gv,e,!1)}function gv(e,t){for(let n=cv(t);n>=0;n=Wd(t,n))Xd(e,Gd(t),av(t))}function mS(e){Zd(Ev,mv,e,!0)}function mv(e,t){for(let n=uv(t);n>=0;n=zd(t,n))Jr(e,Gd(t),!0)}function Qd(e,t,n,r){let o=w(),i=$(),s=sl(2);if(i.firstUpdatePass&&Jd(i,e,s,r),t!==_e&&he(o,s,t)){let a=i.data[et()];ef(i,a,o,o[P],e,o[s+1]=bv(t,n),r,s)}}function Zd(e,t,n,r){let o=$(),i=sl(2);o.firstUpdatePass&&Jd(o,null,i,r);let s=w();if(n!==_e&&he(s,i,n)){let a=o.data[et()];if(tf(a,r)&&!Kd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Ei(u,n||"")),Ds(o,a,s,n,r)}else Cv(o,a,s,s[P],s[i+1],s[i+1]=Iv(e,t,n),r,i)}}function Kd(e,t){return t>=e.expandoStartIndex}function Jd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[et()],s=Kd(e,n);tf(i,r)&&t===null&&!s&&(t=!1),t=yv(o,i,t,r),ov(o,i,t,n,s,r)}}function yv(e,t,n,r){let o=Dg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=mi(null,e,t,n,r),n=Mn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=mi(o,e,t,n,r),i===null){let u=Dv(e,t,r);u!==void 0&&Array.isArray(u)&&(u=mi(null,e,t,u[1],r),u=Mn(u,t.attrs,r),vv(e,t,r,u))}else i=wv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Dv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Wt(r)!==0)return e[wt(r)]}function vv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[wt(o)]=r}function wv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Mn(r,s,n)}return Mn(r,t.attrs,n)}function mi(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=Mn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Mn(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]),Jr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Iv(e,t,n){if(n==null||n==="")return K;let r=[],o=Jt(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 Xd(e,t,n){Jr(e,t,Jt(n))}function Ev(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Jr(e,r,n)}function Cv(e,t,n,r,o,i,s,a){o===_e&&(o=K);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,g;l===d?(u+=2,c+=2,p!==f&&(h=d,g=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,g=f),h!==null&&ef(e,t,n,r,h,g,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function ef(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=rv(c)?rc(u,t,n,o,Wt(c),s):void 0;if(!Wr(l)){Wr(i)||tv(c)&&(i=rc(u,null,n,o,a,s));let d=tl(et(),n);ty(r,s,d,o,i)}}function rc(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===_e&&(p=d?K:void 0);let f=d?ri(p,r):l===r?p:void 0;if(c&&!Wr(f)&&(f=ri(u,r)),Wr(f)&&(a=f,s))return a;let h=e[o+1];o=s?wt(h):Wt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=ri(u,r))}return a}function Wr(e){return e!==void 0}function bv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=J(Jt(e)))),e}function tf(e,t){return(e.flags&(t?8:16))!==0}var vs=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 yi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function _v(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=yi(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),p=t[a],f=yi(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let h=n(i,u),g=n(s,d),S=n(i,c);if(Object.is(S,g)){let x=n(a,p);Object.is(x,h)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new qr,o??=ic(e,i,s,n),ws(e,r,i,S))e.updateValue(i,c),i++,s++;else if(o.has(S))r.set(h,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=a;)oc(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=yi(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new qr,o??=ic(e,i,s,n);let p=n(i,l);if(ws(e,r,i,p))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(p))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let f=n(i,c);r.set(f,e.detach(i)),s--}}}for(;!u.done;)oc(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function ws(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function oc(e,t,n,r,o){if(ws(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ic(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 qr=class{constructor(){this.kvMap=new Map,this._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 yS(e,t,n){Pn("NgControlFlow");let r=w(),o=Zt(),i=bs(r,j+e),s=0;if(he(r,o,t)){let a=b(null);try{if(Id(i,s),t!==-1){let u=_s(r[D],j+t),c=bn(i,u.tView.ssrId),l=ho(r,u,n,{dehydratedView:c});go(i,l,s,Cn(u,c))}}finally{b(a)}}else{let a=wd(i,s);a!==void 0&&(a[Y]=n)}}var Is=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-q}};var Es=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function DS(e,t,n,r,o,i,s,a,u,c,l,d,p){Pn("NgControlFlow");let f=u!==void 0,h=w(),g=a?s.bind(h[ie][Y]):s,S=new Es(f,g);h[j+e]=S,gs(e+1,t,n,r,o,i),f&&gs(e+2,u,c,l,d,p)}var Cs=class extends vs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-q}at(t){return this.getLView(t)[Y].$implicit}attach(t,n){let r=n[ae];this.needsIndexUpdate||=t!==this.length,go(this.lContainer,n,t,Cn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Mv(this.lContainer,t)}create(t,n){let r=bn(this.lContainer,this.templateTNode.tView.ssrId);return ho(this.hostLView,this.templateTNode,new Is(this.lContainer,n,t),{dehydratedView:r})}destroy(t){uo(t[D],t)}updateValue(t,n){this.getLView(t)[Y].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Y].$index=t}getLView(t){return xv(this.lContainer,t)}};function vS(e){let t=b(null),n=et();try{let r=w(),o=r[D],i=r[n];if(i.liveCollection===void 0){let a=n+1,u=bs(r,a),c=_s(o,a);i.liveCollection=new Cs(u,r,c)}else i.liveCollection.reset();let s=i.liveCollection;if(_v(s,e,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=Zt(),u=s.length===0;if(he(r,a,u)){let c=n+2,l=bs(r,c);if(u){let d=_s(o,c),p=bn(l,d.tView.ssrId),f=ho(r,d,void 0,{dehydratedView:p});go(l,f,0,Cn(d,p))}else Id(l,0)}}}finally{b(t)}}function bs(e,t){return e[t]}function Mv(e,t){return En(e,t)}function xv(e,t){return wd(e,t)}function _s(e,t){return zs(e,t)}function Sv(e,t,n,r,o,i){let s=t.consts,a=Gt(s,o),u=Xt(t,e,2,r,a);return Da(t,n,u,Gt(s,i)),u.attrs!==null&&$r(u,u.attrs,!1),u.mergedAttrs!==null&&$r(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function nf(e,t,n,r){let o=w(),i=$(),s=j+e,a=o[P],u=i.firstCreatePass?Sv(s,i,o,t,n,r):i.data[s],c=of(i,o,u,a,t,e);o[s]=c;let l=eo(u);return It(u,!0),sd(a,c,u),!Ln(u)&&no()&&co(i,o,c,u),sg()===0&&Qe(c,o),ag(),l&&(ha(i,o,u),pa(i,u,o)),r!==null&&ga(o,u),nf}function rf(){let e=X();Qs()?Zs():(e=e.parent,It(e,!1));let t=e;cg(t)&&dg(),ug();let n=$();return n.firstCreatePass&&(ro(n,e),Us(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&_g(t)&&Ds(n,t,w(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Mg(t)&&Ds(n,t,w(),t.stylesWithoutHost,!1),rf}function Tv(e,t,n,r){return nf(e,t,n,r),rf(),Tv}var of=(e,t,n,r,o,i)=>(Oe(!0),ao(r,o,pl()));function Nv(e,t,n,r,o,i){let s=t[ae],a=!s||Qt()||Ln(n)||io(s,i);if(Oe(a),a)return ao(r,o,pl());let u=yo(s,e,t,n);return Vl(s,i)&&oo(s,i,u.nextSibling),s&&(Sl(n)||Tl(u))&&An(n)&&(lg(n),rd(u)),u}function Av(){of=Nv}function Ov(e,t,n,r,o){let i=t.consts,s=Gt(i,r),a=Xt(t,e,8,"ng-container",s);s!==null&&$r(a,s,!0);let u=Gt(i,o);return Da(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function sf(e,t,n){let r=w(),o=$(),i=e+j,s=o.firstCreatePass?Ov(i,o,r,t,n):o.data[i];It(s,!0);let a=uf(o,r,s,e);return r[i]=a,no()&&co(o,r,a,s),Qe(a,r),eo(s)&&(ha(o,r,s),pa(o,s,r)),n!=null&&ga(r,s),sf}function af(){let e=X(),t=$();return Qs()?Zs():(e=e.parent,It(e,!1)),t.firstCreatePass&&(ro(t,e),Us(e)&&t.queries.elementEnd(e)),af}function Fv(e,t,n){return sf(e,t,n),af(),Fv}var uf=(e,t,n,r)=>(Oe(!0),ca(t[P],""));function Rv(e,t,n,r){let o,i=t[ae],s=!i||Qt()||Ln(n);if(Oe(s),s)return ca(t[P],"");let a=yo(i,e,t,n),u=fm(i,r);return oo(i,r,a),o=Do(u,a),o}function Pv(){uf=Rv}function wS(){return w()}function kv(e,t,n){let r=w(),o=Zt();if(he(r,o,t)){let i=$(),s=to();ya(i,s,r,e,t,r[P],n,!0)}return kv}var lt=void 0;function Lv(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var jv=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Lv],Di={};function ge(e){let t=Vv(e),n=sc(t);if(n)return n;let r=t.split("-")[0];if(n=sc(r),n)return n;if(r==="en")return jv;throw new M(701,!1)}function sc(e){return e in Di||(Di[e]=pe.ng&&pe.ng.common&&pe.ng.common.locales&&pe.ng.common.locales[e]),Di[e]}var H=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(H||{});function Vv(e){return e.toLowerCase().replace(/_/g,"-")}var Yr="en-US";var Bv=Yr;function $v(e){typeof e=="string"&&(Bv=e.toLowerCase().replace(/_/g,"-"))}function cf(e,t,n){let r=e[P];switch(n){case Node.COMMENT_NODE:return ca(r,t);case Node.TEXT_NODE:return ua(r,t);case Node.ELEMENT_NODE:return ao(r,t,null)}}var Hv=(e,t,n,r)=>(Oe(!0),cf(e,n,r));function Uv(e,t,n,r){return Oe(!0),cf(e,n,r)}function Gv(){Hv=Uv}function zv(e,t,n,r){let o=w(),i=$(),s=X();return qv(i,o,o[P],s,e,t,r),zv}function Wv(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[mn],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function qv(e,t,n,r,o,i,s){let a=eo(r),c=e.firstCreatePass&&Dd(e),l=t[Y],d=yd(t),p=!0;if(r.type&3||s){let g=ce(r,t),S=s?s(g):g,x=d.length,de=s?Fe=>s(be(Fe[r.index])):r.index,te=null;if(!s&&a&&(te=Wv(e,t,o,r.index)),te!==null){let Fe=te.__ngLastListenerFn__||te;Fe.__ngNextListenerFn__=i,te.__ngLastListenerFn__=i,p=!1}else{i=uc(r,t,l,i,!1);let Fe=n.listen(S,o,i);d.push(i,Fe),c&&c.push(o,de,x,x+1)}}else i=uc(r,t,l,i,!1);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let S=0;S<g;S+=2){let x=h[S],de=h[S+1],_t=t[x][de].subscribe(i),ye=d.length;d.push(i,_t),c&&c.push(o,r.index,ye,-(ye+1))}}}function ac(e,t,n,r){let o=b(null);try{return Te(6,t,n),n(r)!==!1}catch(i){return vd(e,i),!1}finally{Te(7,t,n),b(o)}}function uc(e,t,n,r,o){return function i(s){if(s===Function)return r;let a=e.componentOffset>-1?Xe(e.index,t):t;Ia(a);let u=ac(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=ac(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function IS(e=1){return wg(e)}function Yv(e,t){let n=null,r=_h(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Fc(e,i,!0):Sh(r,i))return o}return n}function ES(e){let t=w()[ie][ue];if(!t.projection){let n=e?e.length:1,r=t.projection=mh(n,null),o=r.slice(),i=t.child;for(;i!==null;){let s=e?Yv(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}function CS(e,t=0,n){let r=w(),o=$(),i=Xt(o,j+e,16,null,n||null);i.projection===null&&(i.projection=t),Zs(),(!r[ae]||Qt())&&(i.flags&32)!==32&&Xm(o,r,i)}function Qv(e,t,n){return lf(e,"",t,"",n),Qv}function lf(e,t,n,r,o){let i=w(),s=Ud(i,t,n,r);if(s!==_e){let a=$(),u=to();ya(a,u,i,e,s,i[P],o,!1)}return lf}function bS(e,t,n,r){RD(e,t,n,r)}function _S(e,t,n){FD(e,t,n)}function MS(e){let t=w(),n=$(),r=al();Ks(r+1);let o=ba(n,r);if(e.dirty&&tg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=LD(t,r);e.reset(i,Bg),e.notifyOnChanges()}return!0}return!1}function xS(){return OD(w(),al())}function Zv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function SS(e){let t=pg();return Ws(t,j+e)}function TS(e,t=""){let n=w(),r=$(),o=e+j,i=r.firstCreatePass?Xt(r,o,1,t,null):r.data[o],s=df(r,n,i,t,e);n[o]=s,no()&&co(r,n,s,i),It(i,!1)}var df=(e,t,n,r,o)=>(Oe(!0),ua(t[P],r));function Kv(e,t,n,r,o){let i=t[ae],s=!i||Qt()||Ln(n)||io(i,o);return Oe(s),s?ua(t[P],r):yo(i,e,t,n)}function Jv(){df=Kv}function Xv(e){return ff("",e,""),Xv}function ff(e,t,n){let r=w(),o=Ud(r,e,t,n);return o!==_e&&Ty(r,et(),o),ff}function ew(e,t,n){let r=$();if(r.firstCreatePass){let o=Ye(e);Ms(n,r.data,r.blueprint,o,!0),Ms(t,r.data,r.blueprint,o,!1)}}function Ms(e,t,n,r,o){if(e=Z(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ms(e[i],t,n,r,o);else{let i=$(),s=w(),a=X(),u=$t(e)?e:Z(e.provide),c=Wc(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if($t(e)||!e.multi){let f=new yt(c,o,B),h=wi(u,t,o?l:l+p,d);h===-1?(Ri(Rr(a,s),i,u),vi(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=wi(u,t,l+p,d),h=wi(u,t,l,l+p),g=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!g){Ri(Rr(a,s),i,u);let x=rw(o?nw:tw,n.length,o,r,c);!o&&S&&(n[h].providerFactory=x),vi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=pf(n[o?h:f],c,!o&&r);vi(i,e,f>-1?f:h,x)}!o&&r&&S&&n[h].componentProviders++}}}function vi(e,t,n,r){let o=$t(t),i=Bh(t);if(o||i){let u=(i?Z(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function pf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function wi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function tw(e,t,n,r){return xs(this.multi,[])}function nw(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Dt(n,n[D],this.providerFactory.index,r);i=a.slice(0,s),xs(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],xs(o,i);return i}function xs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function rw(e,t,n,r,o){let i=new yt(e,n,B);return i.multi=[],i.index=t,i.componentProviders=0,pf(i,o,r&&!n),i}function NS(e,t=[]){return n=>{n.providersResolver=(r,o)=>ew(r,o?o(e):e,t)}}var ow=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Hc(!1,r.type),i=o.length>0?WD([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=V({token:t,providedIn:"environment",factory:()=>new t(oe(qe))});let e=t;return e})();function AS(e){Pn("NgStandalone"),e.getStandaloneInjector=t=>t.get(ow).getOrCreateStandaloneInjector(e)}function OS(e,t,n){let r=Et()+e,o=w();return o[r]===_e?kn(o,r,n?t.call(n):t()):YD(o,r)}function FS(e,t,n,r){return hf(w(),Et(),e,t,n,r)}function RS(e,t,n,r,o){return gf(w(),Et(),e,t,n,r,o)}function PS(e,t,n,r,o,i){return iw(w(),Et(),e,t,n,r,o,i)}function kS(e,t,n,r,o,i,s){return sw(w(),Et(),e,t,n,r,o,i,s)}function Io(e,t){let n=e[t];return n===_e?void 0:n}function hf(e,t,n,r,o,i){let s=t+n;return he(e,s,o)?kn(e,s+1,i?r.call(i,o):r(o)):Io(e,s+1)}function gf(e,t,n,r,o,i,s){let a=t+n;return zr(e,a,o,i)?kn(e,a+2,s?r.call(s,o,i):r(o,i)):Io(e,a+2)}function iw(e,t,n,r,o,i,s,a){let u=t+n;return QD(e,u,o,i,s)?kn(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):Io(e,u+3)}function sw(e,t,n,r,o,i,s,a,u){let c=t+n;return ZD(e,c,o,i,s,a)?kn(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):Io(e,c+4)}function LS(e,t){let n=$(),r,o=e+j;n.firstCreatePass?(r=aw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=pt(r.type,!0)),s,a=re(B);try{let u=Fr(!1),c=i();return Fr(u),Zv(n,w(),o,c),c}finally{re(a)}}function aw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function jS(e,t,n){let r=e+j,o=w(),i=Ws(o,r);return mf(o,r)?hf(o,Et(),t,i.transform,n,i):i.transform(n)}function VS(e,t,n,r){let o=e+j,i=w(),s=Ws(i,o);return mf(i,o)?gf(i,Et(),t,s.transform,n,r,s):s.transform(n,r)}function mf(e,t){return e[D].data[t].pure}function BS(e,t){return mo(e,t)}var $S=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var uw=new R("");function Ma(e){return!!e&&typeof e.then=="function"}function yf(e){return!!e&&typeof e.subscribe=="function"}var cw=new R(""),Df=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=N(cw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ma(s))r.push(s);else if(yf(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),vf=new R("");function lw(){qa(()=>{throw new M(600,!1)})}function dw(e){return e.isBoundToModule}function fw(e,t,n){try{let r=n();return Ma(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var xa=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=N(Ml),this.afterRenderEffectManager=N(Ad),this.externalTestViews=new Set,this.beforeRender=new fe,this.afterTick=new fe,this.componentTypes=[],this.components=[],this.isStable=N(Vd).hasPendingTasks.pipe(ke(r=>!r)),this._injector=N(qe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Br;if(!this._injector.get(Df).done){let f=!i&&Rh(r),h=!1;throw new M(405,h)}let a;i?a=r:a=this._injector.get(vo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=dw(a)?void 0:this._injector.get(Ke),c=o||a.selector,l=a.create(On.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(uw,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ii(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new M(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,b(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Cd)throw new M(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)hw(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ss(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ss(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Ii(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(vf,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Ii(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new M(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ii(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var vr;function pw(e){vr??=new WeakMap;let t=vr.get(e);if(t)return t;let n=e.isStable.pipe(Xo(r=>r)).toPromise().then(()=>{});return vr.set(e,n),e.onDestroy(()=>vr?.delete(e)),n}function hw(e,t,n){!t&&!Ss(e)||gw(e,n,t)}function Ss(e){return Ys(e)}function gw(e,t,n){let r;n?(r=0,e[y]|=1024):e[y]&64?r=0:r=1,bd(e,t,r)}var Ts=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},HS=(()=>{let t=class t{compileModuleSync(r){return new hs(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=jc(r),s=Zl(i.declarations).reduce((a,u)=>{let c=ht(u);return c&&a.push(new _n(c)),a},[]);return new Ts(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var mw=(()=>{let t=class t{constructor(){this.zone=N(Ee),this.applicationRef=N(xa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function yw(e){return[{provide:Ee,useFactory:e},{provide:fn,multi:!0,useFactory:()=>{let t=N(mw,{optional:!0});return()=>t.initialize()}},{provide:fn,multi:!0,useFactory:()=>{let t=N(Iw);return()=>{t.initialize()}}},{provide:Ml,useFactory:Dw}]}function Dw(){let e=N(Ee),t=N(zt);return n=>e.runOutsideAngular(()=>t.handleError(n))}function vw(e){let t=yw(()=>new Ee(ww(e)));return $c([[],t])}function ww(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Iw=(()=>{let t=class t{constructor(){this.subscription=new G,this.initialized=!1,this.zone=N(Ee),this.pendingTasks=N(Vd)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ee.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ee.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ew(){return typeof $localize<"u"&&$localize.locale||Yr}var Eo=new R("",{providedIn:"root",factory:()=>N(Eo,_.Optional|_.SkipSelf)||Ew()});var wf=new R("");var _r=null;function Cw(e=[],t){return On.create({name:t,providers:[{provide:zc,useValue:"platform"},{provide:wf,useValue:new Set([()=>_r=null])},...e]})}function bw(e=[]){if(_r)return _r;let t=Cw(e);return _r=t,lw(),_w(t),t}function _w(e){e.get(Kg,null)?.forEach(n=>n())}var If=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Mw;let e=t;return e})();function Mw(e){return xw(X(),w(),(e&16)===16)}function xw(e,t,n){if(An(e)&&!n){let r=Xe(e.index,t);return new vt(r,r)}else if(e.type&47){let r=t[ie];return new vt(r,t)}return null}var Ns=class{constructor(){}supports(t){return Bd(t)}create(t){return new As(t)}},Sw=(e,t)=>t,As=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Sw}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<cc(r,o,i)?n:r,a=cc(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,l=u-o;if(c!=l){for(let p=0;p<c;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<c&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-c}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Bd(t))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,qD(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Os(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Qr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Qr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Os=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Fs=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Qr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Fs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function cc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Rs=class{constructor(){}supports(t){return t instanceof Map||_a(t)}create(){return new Ps}},Ps=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||_a(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ks(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},ks=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function lc(){return new Sa([new Ns])}var Sa=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||lc()),deps:[[t,new Mc,new _c]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new M(901,!1)}};t.\u0275prov=V({token:t,providedIn:"root",factory:lc});let e=t;return e})();function dc(){return new Ta([new Rs])}var Ta=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||dc()),deps:[[t,new Mc,new _c]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new M(901,!1)}};t.\u0275prov=V({token:t,providedIn:"root",factory:dc});let e=t;return e})();function US(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=bw(r),i=[vw(),...n||[]],a=new Gr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(Ee);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(zt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(wf);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),fw(c,u,()=>{let f=a.get(Df);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(Eo,Yr);$v(h||Yr);let g=a.get(xa);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}var fc=!1,Tw=!1;function Nw(){fc||(fc=!0,um(),Av(),Jv(),Pv(),XD(),xD(),rD(),cy(),Gv())}function Aw(e,t){return pw(e)}function GS(){return $c([{provide:fr,useFactory:()=>{let e=!0;return mr()&&(e=!!N(na,{optional:!0})?.get(Ll,null)),e&&Pn("NgHydration"),e}},{provide:fn,useValue:()=>{Tw=!!N(pm,{optional:!0}),mr()&&N(fr)&&(Ow(),Nw())},multi:!0},{provide:$l,useFactory:()=>mr()&&N(fr)},{provide:vf,useFactory:()=>{if(mr()&&N(fr)){let e=N(xa),t=N(On);return()=>{Aw(e,t).then(()=>{Yy(e)})}}return()=>{}},multi:!0}])}function Ow(){let e=Fn(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===sm){t=n;break}if(!t)throw new M(-507,!1)}function Fw(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Nf=null;function Na(){return Nf}function fT(e){Nf??=e}var Ef=class{};var Af=new R(""),Of=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:()=>N(Pw),providedIn:"platform"});let e=t;return e})();var Pw=(()=>{let t=class t extends Of{constructor(){super(),this._doc=N(Af),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Na().getBaseHref(this._doc)}onPopState(r){let o=Na().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Na().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ff(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 Cf(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 Ct(e){return e&&e[0]!=="?"?"?"+e:e}var ja=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:()=>N(Lw),providedIn:"root"});let e=t;return e})(),kw=new R(""),Lw=(()=>{let t=class t extends ja{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??N(Af).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Ff(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Ct(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ct(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ct(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(oe(Of),oe(kw,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var jw=(()=>{let t=class t{constructor(r){this._subject=new dt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=$w(Cf(bf(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Ct(o))}normalize(r){return t.stripTrailingSlash(Bw(this._basePath,bf(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ct(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ct(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Ct,t.joinWithSlash=Ff,t.stripTrailingSlash=Cf,t.\u0275fac=function(o){return new(o||t)(oe(ja))},t.\u0275prov=V({token:t,factory:()=>Vw(),providedIn:"root"});let e=t;return e})();function Vw(){return new jw(oe(ja))}function Bw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function bf(e){return e.replace(/\/index.html$/,"")}function $w(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ee=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ee||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),le=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(le||{}),rt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Hw(e){return ge(e)[H.LocaleId]}function Uw(e,t,n){let r=ge(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=me(o,t);return me(i,n)}function Gw(e,t,n){let r=ge(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=me(o,t);return me(i,n)}function zw(e,t,n){let r=ge(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=me(o,t);return me(i,n)}function Ww(e,t){let r=ge(e)[H.Eras];return me(r,t)}function Co(e,t){let n=ge(e);return me(n[H.DateFormat],t)}function bo(e,t){let n=ge(e);return me(n[H.TimeFormat],t)}function _o(e,t){let r=ge(e)[H.DateTimeFormat];return me(r,t)}function Oo(e,t){let n=ge(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===rt.CurrencyDecimal)return n[H.NumberSymbols][rt.Decimal];if(t===rt.CurrencyGroup)return n[H.NumberSymbols][rt.Group]}return r}function Rf(e){if(!e[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qw(e){let t=ge(e);return Rf(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?Aa(r):[Aa(r[0]),Aa(r[1])])}function Yw(e,t,n){let r=ge(e);Rf(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=me(o,t)||[];return me(i,n)||[]}function me(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Aa(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var Qw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Mo={},Zw=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Ue=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Ue||{}),O=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(O||{}),A=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(A||{});function Kw(e,t,n,r){let o=sI(e);t=He(n,t)||t;let s=[],a;for(;t;)if(a=Zw.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=kf(r,u),o=iI(o,r,!0));let c="";return s.forEach(l=>{let d=rI(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Ao(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function He(e,t){let n=Hw(e);if(Mo[n]??={},Mo[n][t])return Mo[n][t];let r="";switch(t){case"shortDate":r=Co(e,le.Short);break;case"mediumDate":r=Co(e,le.Medium);break;case"longDate":r=Co(e,le.Long);break;case"fullDate":r=Co(e,le.Full);break;case"shortTime":r=bo(e,le.Short);break;case"mediumTime":r=bo(e,le.Medium);break;case"longTime":r=bo(e,le.Long);break;case"fullTime":r=bo(e,le.Full);break;case"short":let o=He(e,"shortTime"),i=He(e,"shortDate");r=xo(_o(e,le.Short),[o,i]);break;case"medium":let s=He(e,"mediumTime"),a=He(e,"mediumDate");r=xo(_o(e,le.Medium),[s,a]);break;case"long":let u=He(e,"longTime"),c=He(e,"longDate");r=xo(_o(e,le.Long),[u,c]);break;case"full":let l=He(e,"fullTime"),d=He(e,"fullDate");r=xo(_o(e,le.Full),[l,d]);break}return r&&(Mo[n][t]=r),r}function xo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Me(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function Jw(e,t){return Me(e,3).substring(0,t)}function U(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Xw(e,i);if((n>0||a>-n)&&(a+=n),e===O.Hours)a===0&&n===-12&&(a=12);else if(e===O.FractionalSeconds)return Jw(a,t);let u=Oo(s,rt.MinusSign);return Me(a,t,u,r,o)}}function Xw(e,t){switch(e){case O.FullYear:return t.getFullYear();case O.Month:return t.getMonth();case O.Date:return t.getDate();case O.Hours:return t.getHours();case O.Minutes:return t.getMinutes();case O.Seconds:return t.getSeconds();case O.FractionalSeconds:return t.getMilliseconds();case O.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function L(e,t,n=ee.Format,r=!1){return function(o,i){return eI(o,i,e,t,n,r)}}function eI(e,t,n,r,o,i){switch(n){case A.Months:return zw(t,o,r)[e.getMonth()];case A.Days:return Gw(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=qw(t),l=Yw(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,S=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(g&&S)return!0}else if(g||S)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Uw(t,o,r)[s<12?0:1];case A.Eras:return Ww(t,r)[e.getFullYear()<=0?0:1];default:let u=n;throw new Error(`unexpected translation type ${u}`)}}function So(e){return function(t,n,r){let o=-1*r,i=Oo(n,rt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Ue.Short:return(o>=0?"+":"")+Me(s,2,i)+Me(Math.abs(o%60),2,i);case Ue.ShortGMT:return"GMT"+(o>=0?"+":"")+Me(s,1,i);case Ue.Long:return"GMT"+(o>=0?"+":"")+Me(s,2,i)+":"+Me(Math.abs(o%60),2,i);case Ue.Extended:return r===0?"Z":(o>=0?"+":"")+Me(s,2,i)+":"+Me(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var tI=0,No=4;function nI(e){let t=Ao(e,tI,1).getDay();return Ao(e,0,1+(t<=No?No:No+7)-t)}function Pf(e){let t=e.getDay(),n=t===0?-3:No-t;return Ao(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Oa(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Pf(n),s=nI(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Me(o,e,Oo(r,rt.MinusSign))}}function To(e,t=!1){return function(n,r){let i=Pf(n).getFullYear();return Me(i,e,Oo(r,rt.MinusSign),t)}}var Fa={};function rI(e){if(Fa[e])return Fa[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(A.Eras,k.Abbreviated);break;case"GGGG":t=L(A.Eras,k.Wide);break;case"GGGGG":t=L(A.Eras,k.Narrow);break;case"y":t=U(O.FullYear,1,0,!1,!0);break;case"yy":t=U(O.FullYear,2,0,!0,!0);break;case"yyy":t=U(O.FullYear,3,0,!1,!0);break;case"yyyy":t=U(O.FullYear,4,0,!1,!0);break;case"Y":t=To(1);break;case"YY":t=To(2,!0);break;case"YYY":t=To(3);break;case"YYYY":t=To(4);break;case"M":case"L":t=U(O.Month,1,1);break;case"MM":case"LL":t=U(O.Month,2,1);break;case"MMM":t=L(A.Months,k.Abbreviated);break;case"MMMM":t=L(A.Months,k.Wide);break;case"MMMMM":t=L(A.Months,k.Narrow);break;case"LLL":t=L(A.Months,k.Abbreviated,ee.Standalone);break;case"LLLL":t=L(A.Months,k.Wide,ee.Standalone);break;case"LLLLL":t=L(A.Months,k.Narrow,ee.Standalone);break;case"w":t=Oa(1);break;case"ww":t=Oa(2);break;case"W":t=Oa(1,!0);break;case"d":t=U(O.Date,1);break;case"dd":t=U(O.Date,2);break;case"c":case"cc":t=U(O.Day,1);break;case"ccc":t=L(A.Days,k.Abbreviated,ee.Standalone);break;case"cccc":t=L(A.Days,k.Wide,ee.Standalone);break;case"ccccc":t=L(A.Days,k.Narrow,ee.Standalone);break;case"cccccc":t=L(A.Days,k.Short,ee.Standalone);break;case"E":case"EE":case"EEE":t=L(A.Days,k.Abbreviated);break;case"EEEE":t=L(A.Days,k.Wide);break;case"EEEEE":t=L(A.Days,k.Narrow);break;case"EEEEEE":t=L(A.Days,k.Short);break;case"a":case"aa":case"aaa":t=L(A.DayPeriods,k.Abbreviated);break;case"aaaa":t=L(A.DayPeriods,k.Wide);break;case"aaaaa":t=L(A.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=L(A.DayPeriods,k.Abbreviated,ee.Standalone,!0);break;case"bbbb":t=L(A.DayPeriods,k.Wide,ee.Standalone,!0);break;case"bbbbb":t=L(A.DayPeriods,k.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(A.DayPeriods,k.Abbreviated,ee.Format,!0);break;case"BBBB":t=L(A.DayPeriods,k.Wide,ee.Format,!0);break;case"BBBBB":t=L(A.DayPeriods,k.Narrow,ee.Format,!0);break;case"h":t=U(O.Hours,1,-12);break;case"hh":t=U(O.Hours,2,-12);break;case"H":t=U(O.Hours,1);break;case"HH":t=U(O.Hours,2);break;case"m":t=U(O.Minutes,1);break;case"mm":t=U(O.Minutes,2);break;case"s":t=U(O.Seconds,1);break;case"ss":t=U(O.Seconds,2);break;case"S":t=U(O.FractionalSeconds,1);break;case"SS":t=U(O.FractionalSeconds,2);break;case"SSS":t=U(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=So(Ue.Short);break;case"ZZZZZ":t=So(Ue.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=So(Ue.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=So(Ue.Long);break;default:return null}return Fa[e]=t,t}function kf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function oI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function iI(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=kf(t,o);return oI(e,r*(i-o))}function sI(e){if(_f(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Ao(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(Qw))return aI(r)}let t=new Date(e);if(!_f(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function aI(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function _f(e){return e instanceof Date&&!isNaN(e.valueOf())}function pT(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 Ra=/\s+/,Mf=[],hT=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=Mf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Ra):Mf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Ra):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(Ra).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(B(tt),B(wo))},t.\u0275dir=Je({type:t,selectors:[["","ngClass",""]],inputs:{klass:[We.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var Pa=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},gT=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Pa(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),xf(u,i)}});for(let i=0,s=o.length;i<s;i++){let u=o.get(i).context;u.index=i,u.count=s,u.ngForOf=this._ngForOf}r.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);xf(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(B(nt),B(Ze),B(Sa))},t.\u0275dir=Je({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function xf(e,t){e.context.$implicit=t.item}var mT=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new ka,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Sf("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Sf("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(B(nt),B(Ze))},t.\u0275dir=Je({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),ka=class{constructor(){this.$implicit=null,this.ngIf=null}};function Sf(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${J(t)}'.`)}var uI=!0,La=class{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},cI=(()=>{let t=class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(r){this._ngSwitch=r,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(r){this._defaultViews.push(r)}_matchCase(r){let o=uI?r===this._ngSwitch:r==this._ngSwitch;return this._lastCasesMatched||=o,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(r){if(this._defaultViews.length>0&&r!==this._defaultUsed){this._defaultUsed=r;for(let o of this._defaultViews)o.enforceState(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Je({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let e=t;return e})(),yT=(()=>{let t=class t{constructor(r,o,i){this.ngSwitch=i,i._addCase(),this._view=new La(r,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};t.\u0275fac=function(o){return new(o||t)(B(nt),B(Ze),B(cI,9))},t.\u0275dir=Je({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let e=t;return e})();var DT=(()=>{let t=class t{constructor(r,o,i){this._ngEl=r,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){let r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){let[i,s]=r.split("."),a=i.indexOf("-")===-1?void 0:In.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};t.\u0275fac=function(o){return new(o||t)(B(tt),B(Ta),B(wo))},t.\u0275dir=Je({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),vT=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(B(nt))},t.\u0275dir=Je({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Gs]});let e=t;return e})();function lI(e,t){return new M(2100,!1)}var dI="mediumDate",fI=new R(""),pI=new R(""),wT=(()=>{let t=class t{constructor(r,o,i){this.locale=r,this.defaultTimezone=o,this.defaultOptions=i}transform(r,o,i,s){if(r==null||r===""||r!==r)return null;try{let a=o??this.defaultOptions?.dateFormat??dI,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Kw(r,a,s||this.locale,u)}catch(a){throw lI(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(B(Eo,16),B(fI,24),B(pI,24))},t.\u0275pipe=Pc({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var IT=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Rc({type:t}),t.\u0275inj=Dc({});let e=t;return e})(),hI="browser",gI="server";function ET(e){return e===hI}function CT(e){return e===gI}var Tf=class{};var bt=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}(bt||{}),MT="*";function xT(e,t){return{type:bt.Trigger,name:e,definitions:t,options:{}}}function ST(e,t=null){return{type:bt.Animate,styles:t,timings:e}}function TT(e,t=null){return{type:bt.Sequence,steps:e,options:t}}function NT(e){return{type:bt.Style,styles:e,offset:null}}function AT(e,t,n){return{type:bt.State,name:e,styles:t,options:n}}function OT(e,t,n=null){return{type:bt.Transition,expr:e,animation:t,options:n}}var Lf=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,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}},jf=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,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}},FT="!";export{en as a,tn as b,mI as c,yI as d,Gf as e,G as f,Jf as g,C as h,qo as i,Yo as j,fe as k,rn as l,sn as m,Pe as n,eC as o,Se as p,up as q,cp as r,lp as s,ut as t,ke as u,Dp as v,ve as w,cr as x,wp as y,Ip as z,Zo as A,Ko as B,Sp as C,ct as D,Np as E,wu as F,Ap as G,Op as H,cn as I,Jo as J,Fp as K,Rp as L,Lp as M,Xo as N,ei as O,jp as P,Vp as Q,Bp as R,ni as S,$p as T,Hp as U,Up as V,Gp as W,zp as X,Wp as Y,qp as Z,M as _,mc as $,V as aa,Dc as ba,zx as ca,R as da,_ as ea,oe as fa,N as ga,pn as ha,We as ia,Wx as ja,Rc as ka,Je as la,Pc as ma,$c as na,zc as oa,qe as pa,qx as qa,Gs as ra,Yx as sa,Qx as ta,Zx as ua,Kx as va,Jx as wa,kg as xa,On as ya,zt as za,tt as Aa,dt as Ba,Xx as Ca,Qg as Da,Kg as Ea,ta as Fa,eS as Ga,tS as Ha,na as Ia,Jt as Ja,Hl as Ka,nS as La,rS as Ma,oS as Na,iS as Oa,sS as Pa,Ul as Qa,Om as Ra,sa as Sa,aS as Ta,uS as Ua,cS as Va,lS as Wa,In as Xa,dS as Ya,B as Za,fS as _a,Ze as $a,es as ab,vo as bb,rs as cb,wo as db,Pn as eb,Ee as fb,nt as gb,VD as hb,zD as ib,fs as jb,WD as kb,Vd as lb,gs as mb,ev as nb,pv as ob,Yd as pb,hv as qb,gS as rb,mS as sb,yS as tb,DS as ub,vS as vb,nf as wb,rf as xb,Tv as yb,sf as zb,af as Ab,Fv as Bb,wS as Cb,kv as Db,zv as Eb,IS as Fb,ES as Gb,CS as Hb,Qv as Ib,bS as Jb,_S as Kb,MS as Lb,xS as Mb,SS as Nb,TS as Ob,Xv as Pb,ff as Qb,NS as Rb,AS as Sb,OS as Tb,FS as Ub,RS as Vb,PS as Wb,kS as Xb,LS as Yb,jS as Zb,VS as _b,BS as $b,$S as ac,Ma as bc,vf as cc,xa as dc,pw as ec,HS as fc,If as gc,US as hc,GS as ic,Fw as jc,Na as kc,fT as lc,Ef as mc,Af as nc,kw as oc,jw as pc,pT as qc,hT as rc,gT as sc,mT as tc,cI as uc,yT as vc,DT as wc,vT as xc,wT as yc,IT as zc,hI as Ac,ET as Bc,CT as Cc,Tf as Dc,bt as Ec,MT as Fc,xT as Gc,ST as Hc,TT as Ic,NT as Jc,AT as Kc,OT as Lc,Lf as Mc,jf as Nc,FT as Oc};
|