File: /var/dev/nowruzgan/vazhgar/dist/vazhgar/browser/chunk-XBLP2OES.js
var Ld=Object.defineProperty,jd=Object.defineProperties;var Vd=Object.getOwnPropertyDescriptors;var wn=Object.getOwnPropertySymbols;var Ys=Object.prototype.hasOwnProperty,Zs=Object.prototype.propertyIsEnumerable;var Qs=(e,t,n)=>t in e?Ld(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wt=(e,t)=>{for(var n in t||={})Ys.call(t,n)&&Qs(e,n,t[n]);if(wn)for(var n of wn(t))Zs.call(t,n)&&Qs(e,n,t[n]);return e},qt=(e,t)=>jd(e,Vd(t));var Hv=(e,t)=>{var n={};for(var r in e)Ys.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&wn)for(var r of wn(e))t.indexOf(r)<0&&Zs.call(e,r)&&(n[r]=e[r]);return n};var Bd=(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 Ks=null;var Xr=1,eo=Symbol("SIGNAL");function U(e){let t=Ks;return Ks=e,t}var Js={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 $d(e){if(!(ro(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Xr)){if(!e.producerMustRecompute(e)&&!to(e)){e.dirty=!1,e.lastCleanEpoch=Xr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Xr}}function Xs(e){return e&&(e.nextProducerIndex=0),U(e)}function ea(e,t){if(U(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(ro(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)no(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function to(e){In(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||($d(n),r!==n.version))return!0}return!1}function ta(e){if(In(e),ro(e))for(let t=0;t<e.producerNode.length;t++)no(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 no(e,t){if(Hd(e),In(e),e.liveConsumerNode.length===1)for(let r=0;r<e.producerNode.length;r++)no(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];In(o),o.producerIndexOfThis[r]=t}}function ro(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function In(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Hd(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ud(){throw new Error}var Gd=Ud;function na(e){Gd=e}function g(e){return typeof e=="function"}function ht(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 En=ht(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 Ge(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var k=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof En?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ra(i)}catch(s){t=t??[],s instanceof En?t=[...t,...s.errors]:t.push(s)}}if(t)throw new En(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ra(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)&&Ge(n,t)}remove(t){let{_finalizers:n}=this;n&&Ge(n,t),t instanceof e&&t._removeParent(this)}};k.EMPTY=(()=>{let e=new k;return e.closed=!0,e})();var oo=k.EMPTY;function Cn(e){return e instanceof k||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function ra(e){g(e)?e():e.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var gt={setTimeout(e,t,...n){let{delegate:r}=gt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=gt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function bn(e){gt.setTimeout(()=>{let{onUnhandledError:t}=ae;if(t)t(e);else throw e})}function ze(){}var oa=io("C",void 0,void 0);function ia(e){return io("E",void 0,e)}function sa(e){return io("N",e,void 0)}function io(e,t,n){return{kind:e,value:t,error:n}}var We=null;function mt(e){if(ae.useDeprecatedSynchronousErrorHandling){let t=!We;if(t&&(We={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=We;if(We=null,n)throw r}}else e()}function aa(e){ae.useDeprecatedSynchronousErrorHandling&&We&&(We.errorThrown=!0,We.error=e)}var qe=class extends k{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cn(t)&&t.add(this)):this.destination=qd}static create(t,n,r){return new Ie(t,n,r)}next(t){this.isStopped?ao(sa(t),this):this._next(t)}error(t){this.isStopped?ao(ia(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ao(oa,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()}}},zd=Function.prototype.bind;function so(e,t){return zd.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){_n(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){_n(r)}else _n(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){_n(n)}}},Ie=class extends qe{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&so(t.next,i),error:t.error&&so(t.error,i),complete:t.complete&&so(t.complete,i)}):o=t}this.destination=new uo(o)}};function _n(e){ae.useDeprecatedSynchronousErrorHandling?aa(e):bn(e)}function Wd(e){throw e}function ao(e,t){let{onStoppedNotification:n}=ae;n&>.setTimeout(()=>n(e,t))}var qd={closed:!0,next:ze,error:Wd,complete:ze};var yt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function G(e){return e}function Qd(...e){return co(e)}function co(e){return e.length===0?G: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=Zd(n)?n:new Ie(n,r,o);return mt(()=>{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=ua(r),new r((o,i)=>{let s=new Ie({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)}[yt](){return this}pipe(...n){return co(n)(this)}toPromise(n){return n=ua(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 ua(e){var t;return(t=e??ae.Promise)!==null&&t!==void 0?t:Promise}function Yd(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function Zd(e){return e&&e instanceof qe||Yd(e)&&Cn(e)}function lo(e){return g(e?.lift)}function D(e){return t=>{if(lo(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 y(e,t,n,r,o){return new fo(e,t,n,r,o)}var fo=class extends qe{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 po(){return D((e,t)=>{let n=null;e._refCount++;let r=y(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 ho=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,lo(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 k;let n=this.getSubject();t.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=k.EMPTY)}return t}refCount(){return po()(this)}};var ca=ht(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{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 Mn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ca}next(n){mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){mt(()=>{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(){mt(()=>{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?oo:(this.currentObservers=null,i.push(n),new k(()=>{this.currentObservers=null,Ge(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 Mn(t,n),e})(),Mn=class extends pe{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:oo}};var Qt=class extends pe{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 Yt={now(){return(Yt.delegate||Date).now()},delegate:void 0};var xn=class extends pe{constructor(t=1/0,n=1/0,r=Yt){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 Sn=class extends k{constructor(t,n){super()}schedule(t,n=0){return this}};var Zt={setInterval(e,t,...n){let{delegate:r}=Zt;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Zt;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Tn=class extends Sn{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 Zt.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&&Zt.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,Ge(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dt=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)}};Dt.now=Yt.now;var An=class extends Dt{constructor(t,n=Dt.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 Qe=new An(Tn),la=Qe;var Ye=new C(e=>e.complete());function Nn(e){return e&&g(e.schedule)}function go(e){return e[e.length-1]}function Fn(e){return g(go(e))?e.pop():void 0}function he(e){return Nn(go(e))?e.pop():void 0}function da(e,t){return typeof go(e)=="number"?e.pop():t}function pa(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 fa(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 Ze(e){return this instanceof Ze?(this.v=e,this):new Ze(e)}function ha(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,E){i.push([f,p,h,E])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof Ze?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ga(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 fa=="function"?fa(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 vt=e=>e&&typeof e.length=="number"&&typeof e!="function";function On(e){return g(e?.then)}function Rn(e){return g(e[yt])}function Pn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function kn(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 Kd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ln=Kd();function jn(e){return g(e?.[Ln])}function Vn(e){return ha(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ze(n.read());if(o)return yield Ze(void 0);yield yield Ze(r)}}finally{n.releaseLock()}})}function Bn(e){return g(e?.getReader)}function x(e){if(e instanceof C)return e;if(e!=null){if(Rn(e))return Jd(e);if(vt(e))return Xd(e);if(On(e))return ef(e);if(Pn(e))return ma(e);if(jn(e))return tf(e);if(Bn(e))return nf(e)}throw kn(e)}function Jd(e){return new C(t=>{let n=e[yt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Xd(e){return new C(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ef(e){return new C(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,bn)})}function tf(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ma(e){return new C(t=>{rf(e,t).catch(n=>t.error(n))})}function nf(e){return ma(Vn(e))}function rf(e,t){var n,r,o,i;return pa(this,void 0,void 0,function*(){try{for(n=ga(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 Y(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 $n(e,t=0){return D((n,r)=>{n.subscribe(y(r,o=>Y(r,e,()=>r.next(o),t),()=>Y(r,e,()=>r.complete(),t),o=>Y(r,e,()=>r.error(o),t)))})}function Hn(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ya(e,t){return x(e).pipe(Hn(t),$n(t))}function Da(e,t){return x(e).pipe(Hn(t),$n(t))}function va(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 wa(e,t){return new C(n=>{let r;return Y(n,t,()=>{r=e[Ln](),Y(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Un(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{Y(n,t,()=>{let r=e[Symbol.asyncIterator]();Y(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ia(e,t){return Un(Vn(e),t)}function Ea(e,t){if(e!=null){if(Rn(e))return ya(e,t);if(vt(e))return va(e,t);if(On(e))return Da(e,t);if(Pn(e))return Un(e,t);if(jn(e))return wa(e,t);if(Bn(e))return Ia(e,t)}throw kn(e)}function ge(e,t){return t?Ea(e,t):x(e)}function of(...e){let t=he(e);return ge(e,t)}function sf(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function af(e){return!!e&&(e instanceof C||g(e.lift)&&g(e.subscribe))}var Ke=ht(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ca(e){return e instanceof Date&&!isNaN(e)}function Ee(e,t){return D((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:uf}=Array;function cf(e,t){return uf(t)?e(...t):e(t)}function wt(e){return Ee(t=>cf(e,t))}var{isArray:lf}=Array,{getPrototypeOf:df,prototype:ff,keys:pf}=Object;function Gn(e){if(e.length===1){let t=e[0];if(lf(t))return{args:t,keys:null};if(hf(t)){let n=pf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function hf(e){return e&&typeof e=="object"&&df(e)===ff}function zn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function gf(...e){let t=he(e),n=Fn(e),{args:r,keys:o}=Gn(e);if(r.length===0)return ge([],t);let i=new C(mf(r,t,o?s=>zn(o,s):G));return n?i.pipe(wt(n)):i}function mf(e,t,n=G){return r=>{ba(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)ba(t,()=>{let c=ge(e[u],t),l=!1;c.subscribe(y(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ba(e,t,n){e?Y(n,e,t):t()}function _a(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=E=>c<r?h(E):u.push(E),h=E=>{i&&t.next(E),c++;let R=!1;x(n(E,l++)).subscribe(y(t,S=>{o?.(S),i?p(S):t.next(S)},()=>{R=!0},void 0,()=>{if(R)try{for(c--;u.length&&c<r;){let S=u.shift();s?Y(t,s,()=>h(S)):h(S)}f()}catch(S){t.error(S)}}))};return e.subscribe(y(t,p,()=>{d=!0,f()})),()=>{a?.()}}function ue(e,t,n=1/0){return g(t)?ue((r,o)=>Ee((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),D((r,o)=>_a(r,o,e,n)))}function Kt(e=1/0){return ue(G,e)}function Ma(){return Kt(1)}function It(...e){return Ma()(ge(e,he(e)))}function yf(e){return new C(t=>{x(e()).subscribe(t)})}function Df(...e){let t=Fn(e),{args:n,keys:r}=Gn(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;x(n[l]).subscribe(y(i,f=>{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?zn(r,a):a),i.complete())}))}});return t?o.pipe(wt(t)):o}var vf=["addListener","removeListener"],wf=["addEventListener","removeEventListener"],If=["on","off"];function mo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return mo(e,t,n).pipe(wt(r));let[o,i]=bf(e)?wf.map(s=>a=>e[s](t,a,n)):Ef(e)?vf.map(xa(e,t)):Cf(e)?If.map(xa(e,t)):[];if(!o&&vt(e))return ue(s=>mo(s,t,n))(x(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 xa(e,t){return n=>r=>e[n](t,r)}function Ef(e){return g(e.addListener)&&g(e.removeListener)}function Cf(e){return g(e.on)&&g(e.off)}function bf(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Wn(e=0,t,n=la){let r=-1;return t!=null&&(Nn(t)?n=t:r=t),new C(o=>{let i=Ca(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 _f(...e){let t=he(e),n=da(e,1/0),r=e;return r.length?r.length===1?x(r[0]):Kt(n)(ge(r,t)):Ye}function Je(e,t){return D((n,r)=>{let o=0;n.subscribe(y(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Sa(e){return D((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(y(n,c=>{r=!0,o=c,i||x(e(c)).subscribe(i=y(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Mf(e,t=Qe){return Sa(()=>Wn(e,t))}function Ta(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(y(n,void 0,void 0,s=>{i=x(e(s,Ta(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Aa(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(y(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 xf(e,t){return g(t)?ue(e,t,1):ue(e,1)}function Sf(e,t=Qe){return D((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(y(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 Jt(e){return D((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Et(e){return e<=0?()=>Ye:D((t,n)=>{let r=0;t.subscribe(y(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Na(){return D((e,t)=>{e.subscribe(y(t,ze))})}function yo(e){return Ee(()=>e)}function Do(e,t){return t?n=>It(t.pipe(Et(1),Na()),n.pipe(Do(e))):ue((n,r)=>x(e(n,r)).pipe(Et(1),yo(n)))}function Tf(e,t=Qe){let n=Wn(e,t);return Do(()=>n)}function Af(e,t=G){return e=e??Nf,D((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Nf(e,t){return e===t}function qn(e=Ff){return D((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ff(){return new Ke}function Of(e){return D((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function vo(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Je((o,i)=>e(o,i,r)):G,Et(1),n?Jt(t):qn(()=>new Ke))}function wo(e){return e<=0?()=>Ye:D((t,n)=>{let r=[];t.subscribe(y(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 Rf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Je((o,i)=>e(o,i,r)):G,wo(1),n?Jt(t):qn(()=>new Ke))}function Pf(e,t){return D(Aa(e,t,arguments.length>=2,!0))}function Eo(e={}){let{connector:t=()=>new pe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let E=s;p(),E?.unsubscribe()};return D((E,R)=>{c++,!d&&!l&&f();let S=u=u??t();R.add(()=>{c--,c===0&&!d&&!l&&(a=Io(h,o))}),S.subscribe(R),!s&&c>0&&(s=new Ie({next:V=>S.next(V),error:V=>{d=!0,f(),a=Io(p,n,V),S.error(V)},complete:()=>{l=!0,f(),a=Io(p,r),S.complete()}}),x(E).subscribe(s))})(i)}}function Io(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ie({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function kf(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,Eo({connector:()=>new xn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Lf(e){return Je((t,n)=>e<=n)}function jf(...e){let t=he(e);return D((n,r)=>{(t?It(e,n,t):It(e,n)).subscribe(r)})}function Vf(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,u=>{o?.unsubscribe();let c=0,l=i++;x(e(u,l)).subscribe(o=y(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Bf(e){return D((t,n)=>{x(e).subscribe(y(n,()=>n.complete(),ze)),!n.closed&&t.subscribe(n)})}function $f(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?D((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(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)}))}):G}var Du="https://g.co/ng/security#xss",M=class extends Error{constructor(t,n){super(vu(t,n)),this.code=t}};function vu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Bo=class extends pe{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}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=Co(i),o&&(o=Co(o)),s&&(s=Co(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof k&&t.add(a),a}};function Co(e){return t=>{setTimeout(e,void 0,t)}}var Xe=Bo;var b=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(b||{});function q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function $o(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var wu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(wu||{}),tn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(tn||{});function pn(e){return{toString:e}.toString()}var Ne=globalThis;var Tt={},z=[];function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function Hf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}var Uf=A({\u0275cmp:A}),Gf=A({\u0275dir:A}),zf=A({\u0275pipe:A}),Wf=A({\u0275mod:A}),ur=A({\u0275fac:A}),en=A({__NG_ELEMENT_ID__:A}),Fa=A({__NG_ENV_ID__:A}),Oe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Oe||{});function Iu(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 Ho(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];qf(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Eu(e){return e===3||e===4||e===6}function qf(e){return e.charCodeAt(0)===64}function nn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Oa(e,n,o,null,t[++r]):Oa(e,n,o,null,null))}}return e}function Oa(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 Cu="ng-template";function Qf(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if(typeof i=="string"&&o){let s=e[r++];if(n&&i==="class"&&Iu(s.toLowerCase(),t,0)!==-1)return!0}else if(i===1){for(;r<e.length&&typeof(i=e[r++])=="string";)if(i.toLowerCase()===t)return!0;return!1}else typeof i=="number"&&(o=!1)}return!1}function bu(e){return e.type===4&&e.value!==Cu}function Yf(e,t,n){let r=e.type===4&&!n?Cu:e.value;return t===r}function Zf(e,t,n){let r=4,o=e.attrs||[],i=Xf(o),s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!ce(r)&&!ce(u))return!1;if(s&&ce(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Yf(e,u,n)||u===""&&t.length===1){if(ce(r))return!1;s=!0}}else{let c=r&8?u:t[++a];if(r&8&&e.attrs!==null){if(!Qf(e.attrs,c,n)){if(ce(r))return!1;s=!0}continue}let l=r&8?"class":u,d=Kf(l,o,bu(e),n);if(d===-1){if(ce(r))return!1;s=!0;continue}if(c!==""){let f;d>i?f="":f=o[d+1].toLowerCase();let p=r&8?f:null;if(p&&Iu(p,c,0)!==-1||r&2&&c!==f){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(e){return(e&1)===0}function Kf(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 ep(t,e)}function _u(e,t,n=!1){for(let r=0;r<t.length;r++)if(Zf(e,t[r],n))return!0;return!1}function Jf(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Xf(e){for(let t=0;t<e.length;t++){let n=e[t];if(Eu(n))return t}return e.length}function ep(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 tp(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 Ra(e,t){return e?":not("+t.trim()+")":t}function np(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!==""&&!ce(s)&&(t+=Ra(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=Ra(i,o)),t}function rp(e){return e.map(np).join(",")}function op(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(!ce(o))break;o=i}r++}return{attrs:t,classes:n}}function DM(e){return pn(()=>{let t=Au(e),n=qt(Wt({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tn.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});Nu(n);let r=e.dependencies;return n.directiveDefs=ka(r,!1),n.pipeDefs=ka(r,!0),n.id=cp(n),n})}function ip(e){return Re(e)||xu(e)}function sp(e){return e!==null}function Mu(e){return pn(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Pa(e,t){if(e==null)return Tt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Oe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Oe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function lt(e){return pn(()=>{let t=Au(e);return Nu(t),t})}function ap(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 Re(e){return e[Uf]||null}function xu(e){return e[Gf]||null}function Su(e){return e[zf]||null}function up(e){let t=Re(e)||xu(e)||Su(e);return t!==null?t.standalone:!1}function Tu(e,t){let n=e[Wf]||null;if(!n&&t===!0)throw new Error(`Type ${q(e)} does not have '\u0275mod' property.`);return n}function Au(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||Tt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Pa(e.inputs,t),outputs:Pa(e.outputs),debugInfo:null}}function Nu(e){e.features?.forEach(t=>t(e))}function ka(e,t){if(!e)return null;let n=t?Su:ip;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(sp)}function cp(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}var J=0,v=1,m=2,j=3,le=4,ee=5,De=6,rn=7,ne=8,At=9,be=10,T=11,on=12,La=13,Lt=14,X=15,hn=16,Ct=17,_e=18,Fr=19,Fu=20,Fe=21,bo=22,nt=23,P=25,Ou=1,sn=6,Me=7,cr=8,Nt=9,Q=10,qi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(qi||{});function Ce(e){return Array.isArray(e)&&typeof e[Ou]=="object"}function ve(e){return Array.isArray(e)&&e[Ou]===!0}function Qi(e){return(e.flags&4)!==0}function gn(e){return e.componentOffset>-1}function Or(e){return(e.flags&1)===1}function Pe(e){return!!e.template}function Ru(e){return(e[m]&512)!==0}var lp="svg",dp="math",fp=!1;function pp(){return fp}function de(e){for(;Array.isArray(e);)e=e[J];return e}function Pu(e,t){return de(t[e])}function te(e,t){return de(t[e.index])}function Yi(e,t){return e.data[t]}function ku(e,t){return e[t]}function Be(e,t){let n=t[e];return Ce(n)?n:n[J]}function hp(e){return(e[m]&4)===4}function Zi(e){return(e[m]&128)===128}function gp(e){return ve(e[j])}function Ft(e,t){return t==null?null:e[t]}function Lu(e){e[Ct]=0}function mp(e){e[m]&1024||(e[m]|=1024,Zi(e)&&an(e))}function yp(e,t){for(;e>0;)t=t[Lt],e--;return t}function Ki(e){return!!(e[m]&9216||e[nt]?.dirty)}function Uo(e){Ki(e)?an(e):e[m]&64&&(pp()?(e[m]|=1024,an(e)):e[be].changeDetectionScheduler?.notify())}function an(e){e[be].changeDetectionScheduler?.notify();let t=un(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Zi(t)));)t=un(t)}function ju(e,t){if((e[m]&256)===256)throw new M(911,!1);e[Fe]===null&&(e[Fe]=[]),e[Fe].push(t)}function Dp(e,t){if(e[Fe]===null)return;let n=e[Fe].indexOf(t);n!==-1&&e[Fe].splice(n,1)}function un(e){let t=e[j];return ve(t)?t[j]:t}var w={lFrame:zu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vp(){return w.lFrame.elementDepthCount}function wp(){w.lFrame.elementDepthCount++}function Ip(){w.lFrame.elementDepthCount--}function Vu(){return w.bindingsEnabled}function jt(){return w.skipHydrationRootTNode!==null}function Ep(e){return w.skipHydrationRootTNode===e}function Cp(e){w.skipHydrationRootTNode=e}function bp(){w.skipHydrationRootTNode=null}function I(){return w.lFrame.lView}function F(){return w.lFrame.tView}function vM(e){return w.lFrame.contextLView=e,e[ne]}function wM(e){return w.lFrame.contextLView=null,e}function $(){let e=Bu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Bu(){return w.lFrame.currentTNode}function _p(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function dt(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function Ji(){return w.lFrame.isParent}function Xi(){w.lFrame.isParent=!1}function Mp(){return w.lFrame.contextLView}function $u(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xp(){return w.lFrame.bindingIndex}function Sp(e){return w.lFrame.bindingIndex=e}function Vt(){return w.lFrame.bindingIndex++}function es(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Tp(){return w.lFrame.inI18n}function Ap(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Go(t)}function Np(){return w.lFrame.currentDirectiveIndex}function Go(e){w.lFrame.currentDirectiveIndex=e}function Fp(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Hu(){return w.lFrame.currentQueryIndex}function ts(e){w.lFrame.currentQueryIndex=e}function Op(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function Uu(e,t,n){if(n&b.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&b.Host);)if(o=Op(i),o===null||(i=i[Lt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=Gu();return r.currentTNode=t,r.lView=e,!0}function ns(e){let t=Gu(),n=e[v];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gu(){let e=w.lFrame,t=e===null?null:e.child;return t===null?zu(e):t}function zu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Wu(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var qu=Wu;function rs(){let e=Wu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Rp(e){return(w.lFrame.contextLView=yp(e,w.lFrame.contextLView))[ne]}function ft(){return w.lFrame.selectedIndex}function rt(e){w.lFrame.selectedIndex=e}function Bt(){let e=w.lFrame;return Yi(e.tView,e.selectedIndex)}function Qu(){return w.lFrame.currentNamespace}var Yu=!0;function Rr(){return Yu}function $e(e){Yu=e}function Pp(){return $t($(),I())}function $t(e,t){return new pt(te(e,t))}var pt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Pp;let e=t;return e})();function kp(e){return e instanceof pt?e.nativeElement:e}function Lp(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 jp(e){return e.flat(Number.POSITIVE_INFINITY)}function os(e,t){e.forEach(n=>Array.isArray(n)?os(n,t):t(n))}function Zu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function lr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Vp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Bp(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 Pr(e,t,n){let r=mn(e,t);return r>=0?e[r|1]=n:(r=~r,Bp(e,r,t,n)),r}function _o(e,t){let n=mn(e,t);if(n>=0)return e[n|1]}function mn(e,t){return $p(e,t,1)}function $p(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)}function Hp(){return this._results[Symbol.iterator]()}var zo=class e{get changes(){return this._changes??=new Xe}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]=Hp)}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=jp(t);(this._changesDetected=!Lp(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())}},Up="ngSkipHydration",Gp="ngskiphydration";function Ku(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()===Gp)return!0}return!1}function Ju(e){return e.hasAttribute(Up)}function dr(e){return(e.flags&128)===128}function zp(e){if(dr(e))return!0;let t=e.parent;for(;t;){if(dr(e)||Ku(t))return!0;t=t.parent}return!1}var Wo;function IM(e){Wo=e}function kr(){if(Wo!==void 0)return Wo;if(typeof document<"u")return document;throw new M(210,!1)}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Xu(e){return{providers:e.providers||[],imports:e.imports||[]}}function Lr(e){return ja(e,ec)||ja(e,tc)}function EM(e){return Lr(e)!==null}function ja(e,t){return e.hasOwnProperty(t)?e[t]:null}function Wp(e){let t=e&&(e[ec]||e[tc]);return t||null}function Va(e){return e&&(e.hasOwnProperty(Ba)||e.hasOwnProperty(qp))?e[Ba]:null}var ec=A({\u0275prov:A}),Ba=A({\u0275inj:A}),tc=A({ngInjectableDef:A}),qp=A({ngInjectorDef:A}),N=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=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}},Qp=new N("",{providedIn:"root",factory:()=>Yp}),Yp="ng",Zp=new N(""),jr=new N("",{providedIn:"platform",factory:()=>"unknown"});var CM=new N(""),bM=new N("",{providedIn:"root",factory:()=>kr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Kp=A({__forward_ref__:A});function nc(e){return e.__forward_ref__=nc,e.toString=function(){return q(this())},e}function W(e){return rc(e)?e():e}function rc(e){return typeof e=="function"&&e.hasOwnProperty(Kp)&&e.__forward_ref__===nc}function oc(e){return e&&!!e.\u0275providers}function et(e){return typeof e=="string"?e:e==null?"":String(e)}function Jp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():et(e)}function Xp(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function is(e,t){throw new M(-201,!1)}var qo;function ic(){return qo}function Z(e){let t=qo;return qo=e,t}function sc(e,t,n){let r=Lr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&b.Optional)return null;if(t!==void 0)return t;is(e,"Injector")}var eh={},cn=eh,Qo="__NG_DI_FLAG__",fr="ngTempTokenPath",th="ngTokenPath",nh=/\n/gm,rh="\u0275",$a="__source",xt;function oh(){return xt}function Ae(e){let t=xt;return xt=e,t}function ih(e,t=b.Default){if(xt===void 0)throw new M(-203,!1);return xt===null?sc(e,void 0,t):xt.get(e,t&b.Optional?null:void 0,t)}function B(e,t=b.Default){return(ic()||ih)(W(e),t)}function _(e,t=b.Default){return B(e,Vr(t))}function Vr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Yo(e){let t=[];for(let n=0;n<e.length;n++){let r=W(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=b.Default;for(let s=0;s<r.length;s++){let a=r[s],u=sh(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(B(o,i))}else t.push(B(r))}return t}function ac(e,t){return e[Qo]=t,e.prototype[Qo]=t,e}function sh(e){return e[Qo]}function ah(e,t,n,r){let o=e[fr];throw t[$a]&&o.unshift(t[$a]),e.message=uh(`
`+e.message,o,n,r),e[th]=o,e[fr]=null,e}function uh(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==rh?e.slice(2):e;let o=q(t);if(Array.isArray(t))o=t.map(q).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(nh,`
`)}`}function ch(){let e=new ss;return _(jr)==="browser"&&(e.store=lh(kr(),_(Qp))),e}var ss=(()=>{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=O({token:t,providedIn:"root",factory:ch});let e=t;return e})();function lh(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 uc="h",cc="b",Zo=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Zo||{}),dh="e",fh="t",as="c",lc="x",pr="r",ph="i",hh="n",gh="d",mh="__nghData__",dc=mh,Mo="ngh",yh="nghm",fc=()=>null;function Dh(e,t,n=!1){let r=e.getAttribute(Mo);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(ss,null,{optional:!0});l!==null&&(u=l.get(dc,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,Br(c,0,e.nextSibling)),a?e.setAttribute(Mo,a):e.removeAttribute(Mo),c}function vh(){fc=Dh}function us(e,t,n=!1){return fc(e,t,n)}function wh(e){let t=e._lView;return t[v].type===2?null:(Ru(t)&&(t=t[P]),t)}function Ih(e){return e.textContent?.replace(/\s/gm,"")}function Eh(e){let t=kr(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Ih(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 Br(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Ko(e,t){return e.segmentHeads?.[t]??null}function Ch(e,t){let n=e.data,r=n[dh]?.[t]??null;return r===null&&n[as]?.[t]&&(r=cs(e,t)),r}function pc(e,t){return e.data[as]?.[t]??null}function cs(e,t){let n=pc(e,t)??[],r=0;for(let o of n)r+=o[pr]*(o[lc]??1);return r}function $r(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[gh];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var Qn="__parameters__";function bh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function hc(e,t,n){return pn(()=>{let r=bh(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(Qn)?u[Qn]:Object.defineProperty(u,Qn,{value:[]})[Qn];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 _h=ac(hc("Optional"),8);var Mh=ac(hc("SkipSelf"),4);function ot(e,t){let n=e.hasOwnProperty(ur);return n?e[ur]:null}var ln=new N(""),gc=new N("",-1),mc=new N(""),hr=class{get(t,n=cn){if(n===cn){let r=new Error(`NullInjectorError: No provider for ${q(t)}!`);throw r.name="NullInjectorError",r}return n}};function yc(e){return{\u0275providers:e}}function xh(...e){return{\u0275providers:Dc(!0,e),\u0275fromNgModule:!0}}function Dc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return os(t,s=>{let a=s;Jo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&vc(o,i),n}function vc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ls(o,i=>{t(i,r)})}}function Jo(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=Va(e),s=!i&&Re(e);if(!i&&!s){let u=e.ngModule;if(i=Va(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)Jo(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{os(i.imports,l=>{Jo(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&vc(c,t)}if(!a){let c=ot(o)||(()=>new o);t({provide:o,useFactory:c,deps:z},o),t({provide:mc,useValue:o,multi:!0},o),t({provide:ln,useValue:()=>B(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;ls(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function ls(e,t){for(let n of e)oc(n)&&(n=n.\u0275providers),Array.isArray(n)?ls(n,t):t(n)}var Sh=A({provide:String,useValue:A});function wc(e){return e!==null&&typeof e=="object"&&Sh in e}function Th(e){return!!(e&&e.useExisting)}function Ah(e){return!!(e&&e.useFactory)}function Ot(e){return typeof e=="function"}function Nh(e){return!!e.useClass}var Ic=new N(""),nr={},Fh={},xo;function ds(){return xo===void 0&&(xo=new hr),xo}var ke=class{},dn=class extends ke{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,ei(t,s=>this.processProvider(s)),this.records.set(gc,bt(void 0,this)),o.has("environment")&&this.records.set(ke,bt(void 0,this));let i=this.records.get(Ic);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(mc,z,b.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ae(this),r=Z(void 0),o;try{return t()}finally{Ae(n),Z(r)}}get(t,n=cn,r=b.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Fa))return t[Fa](this);r=Vr(r);let o,i=Ae(this),s=Z(void 0);try{if(!(r&b.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Lh(t)&&Lr(t);c&&this.injectableDefInScope(c)?u=bt(Xo(t),nr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&b.Self?ds():this.parent;return n=r&b.Optional&&n===cn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[fr]=a[fr]||[]).unshift(q(t)),i)throw a;return ah(a,t,"R3InjectorError",this.source)}else throw a}finally{Z(s),Ae(i)}}resolveInjectorInitializers(){let t=Ae(this),n=Z(void 0),r;try{let o=this.get(ln,z,b.Self);for(let i of o)i()}finally{Ae(t),Z(n)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){t=W(t);let n=Ot(t)?t:W(t&&t.provide),r=Rh(t);if(!Ot(t)&&t.multi===!0){let o=this.records.get(n);o||(o=bt(void 0,nr,!0),o.factory=()=>Yo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===nr&&(n.value=Fh,n.value=n.factory()),typeof n.value=="object"&&n.value&&kh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(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 Xo(e){let t=Lr(e),n=t!==null?t.factory:ot(e);if(n!==null)return n;if(e instanceof N)throw new M(204,!1);if(e instanceof Function)return Oh(e);throw new M(204,!1)}function Oh(e){if(e.length>0)throw new M(204,!1);let n=Wp(e);return n!==null?()=>n.factory(e):()=>new e}function Rh(e){if(wc(e))return bt(void 0,e.useValue);{let t=Ec(e);return bt(t,nr)}}function Ec(e,t,n){let r;if(Ot(e)){let o=W(e);return ot(o)||Xo(o)}else if(wc(e))r=()=>W(e.useValue);else if(Ah(e))r=()=>e.useFactory(...Yo(e.deps||[]));else if(Th(e))r=()=>B(W(e.useExisting));else{let o=W(e&&(e.useClass||e.provide));if(Ph(e))r=()=>new o(...Yo(e.deps));else return ot(o)||Xo(o)}return r}function bt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ph(e){return!!e.deps}function kh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Lh(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function ei(e,t){for(let n of e)Array.isArray(n)?ei(n,t):n&&oc(n)?ei(n.\u0275providers,t):t(n)}function _M(e,t){e instanceof dn&&e.assertNotDestroyed();let n,r=Ae(e),o=Z(void 0);try{return t()}finally{Ae(r),Z(o)}}function jh(e){if(!ic()&&!oh())throw new M(-203,!1)}function Vh(e){return typeof e=="function"}var ti=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Cc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function fs(){return bc}function bc(e){return e.type.prototype.ngOnChanges&&(e.setInput=$h),Bh}fs.ngInherit=!0;function Bh(){let e=Mc(this),t=e?.current;if(t){let n=e.previous;if(n===Tt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $h(e,t,n,r,o){let i=this.declaredInputs[r],s=Mc(e)||Hh(e,{previous:Tt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new ti(c&&c.currentValue,n,u===Tt),Cc(e,t,o,n)}var _c="__ngSimpleChanges__";function Mc(e){return e[_c]||null}function Hh(e,t){return e[_c]=t}var Ha=null;var me=function(e,t,n){Ha?.(e,t,n)};function Uh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=bc(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 Hr(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 rr(e,t,n){xc(e,t,3,n)}function or(e,t,n,r){(e[m]&3)===n&&xc(e,t,n,r)}function So(e,t){let n=e[m];(n&3)===t&&(n&=16383,n+=1,e[m]=n)}function xc(e,t,n,r){let o=r!==void 0?e[Ct]&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[Ct]+=65536),(a<i||i==-1)&&(Gh(e,n,t,u),e[Ct]=(e[Ct]&4294901760)+u+2),u++}function Ua(e,t){me(4,e,t);let n=U(null);try{t.call(e)}finally{U(n),me(5,e,t)}}function Gh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[m]>>14<e[Ct]>>16&&(e[m]&3)===t&&(e[m]+=16384,Ua(a,i)):Ua(a,i)}var St=-1,it=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function zh(e){return e instanceof it}function Wh(e){return(e.flags&8)!==0}function qh(e){return(e.flags&16)!==0}function Sc(e){return e!==St}function gr(e){return e&32767}function Qh(e){return e>>16}function mr(e,t){let n=Qh(e),r=t;for(;n>0;)r=r[Lt],n--;return r}var ni=!0;function yr(e){let t=ni;return ni=e,t}var Yh=256,Tc=Yh-1,Ac=5,Zh=0,ye={};function Kh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(en)&&(r=n[en]),r==null&&(r=n[en]=Zh++);let o=r&Tc,i=1<<o;t.data[e+(o>>Ac)]|=i}function Dr(e,t){let n=Nc(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,To(r.data,e),To(t,null),To(r.blueprint,null));let o=ps(e,t),i=e.injectorIndex;if(Sc(o)){let s=gr(o),a=mr(o,t),u=a[v].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function To(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Nc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ps(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=kc(o),r===null)return St;if(n++,o=o[Lt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return St}function ri(e,t,n){Kh(e,t,n)}function Jh(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(Eu(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 Fc(e,t,n){if(n&b.Optional||e!==void 0)return e;is(t,"NodeInjector")}function Oc(e,t,n,r){if(n&b.Optional&&r===void 0&&(r=null),!(n&(b.Self|b.Host))){let o=e[At],i=Z(void 0);try{return o?o.get(t,r,n&b.Optional):sc(t,r,n&b.Optional)}finally{Z(i)}}return Fc(r,t,n)}function Rc(e,t,n,r=b.Default,o){if(e!==null){if(t[m]&2048&&!(r&b.Self)){let s=ng(e,t,n,r,ye);if(s!==ye)return s}let i=Pc(e,t,n,r,ye);if(i!==ye)return i}return Oc(t,n,r,o)}function Pc(e,t,n,r,o){let i=eg(n);if(typeof i=="function"){if(!Uu(t,e,r))return r&b.Host?Fc(o,n,r):Oc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&b.Optional))is(n);else return s}finally{qu()}}else if(typeof i=="number"){let s=null,a=Nc(e,t),u=St,c=r&b.Host?t[X][ee]:null;for((a===-1||r&b.SkipSelf)&&(u=a===-1?ps(e,t):t[a+8],u===St||!za(r,!1)?a=-1:(s=t[v],a=gr(u),t=mr(u,t)));a!==-1;){let l=t[v];if(Ga(i,a,l.data)){let d=Xh(a,t,n,s,r,c);if(d!==ye)return d}u=t[a+8],u!==St&&za(r,t[v].data[a+8]===c)&&Ga(i,a,t)?(s=l,a=gr(u),t=mr(u,t)):a=-1}}return o}function Xh(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],u=r==null?gn(a)&&ni:r!=s&&(a.type&3)!==0,c=o&b.Host&&i===a,l=ir(a,s,n,u,c);return l!==null?st(t,s,l,a):ye}function ir(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,f=o?a+l:c;for(let p=d;p<f;p++){let h=s[p];if(p<u&&n===h||p>=u&&h.type===n)return p}if(o){let p=s[u];if(p&&Pe(p)&&p.type===n)return u}return null}function st(e,t,n,r){let o=e[n],i=t.data;if(zh(o)){let s=o;s.resolving&&Xp(Jp(i[n]));let a=yr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Z(s.injectImpl):null,l=Uu(e,r,b.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Uh(n,i[n],t)}finally{c!==null&&Z(c),yr(a),s.resolving=!1,qu()}}return o}function eg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(en)?e[en]:void 0;return typeof t=="number"?t>=0?t&Tc:tg:t}function Ga(e,t,n){let r=1<<e;return!!(n[t+(e>>Ac)]&r)}function za(e,t){return!(e&b.Self)&&!(e&b.Host&&t)}var tt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Rc(this._tNode,this._lView,t,Vr(r),n)}};function tg(){return new tt($(),I())}function MM(e){return pn(()=>{let t=e.prototype.constructor,n=t[ur]||oi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[ur]||oi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function oi(e){return rc(e)?()=>{let t=oi(W(e));return t&&t()}:ot(e)}function ng(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=Pc(i,s,n,r|b.Self,ye);if(a!==ye)return a;let u=i.parent;if(!u){let c=s[Fu];if(c){let l=c.get(n,ye,r);if(l!==ye)return l}u=kc(s),s=s[Lt]}i=u}return o}function kc(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function rg(e){return Jh($(),e)}function Wa(e,t=null,n=null,r){let o=Lc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Lc(e,t=null,n=null,r,o=new Set){let i=[n||z,xh(e)];return r=r||(typeof e=="object"?void 0:q(e)),new dn(i,t||ds(),r||null,o)}var Ht=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Wa({name:""},o,r,"");{let i=r.name??"";return Wa({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=cn,t.NULL=new hr,t.\u0275prov=O({token:t,providedIn:"any",factory:()=>B(gc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})(),og="ngOriginalError";function Ao(e){return e[og]}var at=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&&Ao(t);for(;n&&Ao(n);)n=Ao(n);return n||null}},jc=new N("",{providedIn:"root",factory:()=>_(at).handleError.bind(void 0)}),Yn=new N(""),Vc=!1,Bc=new N("",{providedIn:"root",factory:()=>Vc}),Zn;function ig(){if(Zn===void 0&&(Zn=null,Ne.trustedTypes))try{Zn=Ne.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zn}function Ur(e){return ig()?.createHTML(e)||e}var Kn;function sg(){if(Kn===void 0&&(Kn=null,Ne.trustedTypes))try{Kn=Ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Kn}function qa(e){return sg()?.createScriptURL(e)||e}var xe=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Du})`}},ii=class extends xe{getTypeName(){return"HTML"}},si=class extends xe{getTypeName(){return"Style"}},ai=class extends xe{getTypeName(){return"Script"}},ui=class extends xe{getTypeName(){return"URL"}},ci=class extends xe{getTypeName(){return"ResourceURL"}};function Ut(e){return e instanceof xe?e.changingThisBreaksApplicationSecurity:e}function $c(e,t){let n=ag(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Du})`)}return n===t}function ag(e){return e instanceof xe&&e.getTypeName()||null}function xM(e){return new ii(e)}function SM(e){return new si(e)}function TM(e){return new ai(e)}function AM(e){return new ui(e)}function NM(e){return new ci(e)}function ug(e){let t=new di(e);return cg()?new li(t):t}var li=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ur(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},di=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=Ur(t),n}};function cg(){try{return!!new window.DOMParser().parseFromString(Ur(""),"text/html")}catch{return!1}}var lg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hc(e){return e=String(e),e.match(lg)?e:"unsafe:"+e}function Se(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function yn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Uc=Se("area,br,col,hr,img,wbr"),Gc=Se("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),zc=Se("rp,rt"),dg=yn(zc,Gc),fg=yn(Gc,Se("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")),pg=yn(zc,Se("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")),Qa=yn(Uc,fg,pg,dg),Wc=Se("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hg=Se("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"),gg=Se("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"),mg=yn(Wc,hg,gg),yg=Se("script,style,template"),fi=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;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){n=n.firstChild;continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}}return this.buf.join("")}startElement(t){let n=t.nodeName.toLowerCase();if(!Qa.hasOwnProperty(n))return this.sanitizedSomething=!0,!yg.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(!mg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Wc[a]&&(u=Hc(u)),this.buf.push(" ",s,'="',Ya(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=t.nodeName.toLowerCase();Qa.hasOwnProperty(n)&&!Uc.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ya(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}},Dg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vg=/([^\#-~ |!])/g;function Ya(e){return e.replace(/&/g,"&").replace(Dg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(vg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Jn;function FM(e,t){let n=null;try{Jn=Jn||ug(e);let r=t?String(t):"";n=Jn.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=Jn.getInertBodyElement(r)}while(r!==i);let a=new fi().sanitizeChildren(Za(n)||n);return Ur(a)}finally{if(n){let r=Za(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Za(e){return"content"in e&&wg(e)?e.content:null}function wg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var hs=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}(hs||{});function Ig(e){let t=qc();return t?t.sanitize(hs.URL,e)||"":$c(e,"URL")?Ut(e):Hc(et(e))}function Eg(e){let t=qc();if(t)return qa(t.sanitize(hs.RESOURCE_URL,e)||"");if($c(e,"ResourceURL"))return qa(Ut(e));throw new M(904,!1)}function Cg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Eg:Ig}function OM(e,t,n){return Cg(t,n)(e)}function qc(){let e=I();return e&&e[be].sanitizer}var bg=/^>|^->|<!--|-->|--!>|<!-$/g,_g=/(<|>)/g,Mg="\u200B$1\u200B";function xg(e){return e.replace(bg,t=>t.replace(_g,Mg))}var Qc=new Map,Sg=0;function Tg(){return Sg++}function Ag(e){Qc.set(e[Fr],e)}function Ng(e){Qc.delete(e[Fr])}var Ka="__ngContext__";function Le(e,t){Ce(t)?(e[Ka]=t[Fr],Ag(t)):e[Ka]=t}function RM(e){return e.ownerDocument.defaultView}function Fg(e){return e.ownerDocument.body}function Yc(e){return e instanceof Function?e():e}function Xt(e){return(e??_(Ht)).get(jr)==="browser"}var vr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(vr||{}),Og;function gs(e,t){return Og(e,t)}function _t(e,t,n,r,o){if(r!=null){let i,s=!1;ve(r)?i=r:Ce(r)&&(s=!0,r=r[J]);let a=de(r);e===0&&n!==null?o==null?tl(t,n,a):Ir(t,n,a,o||null,!0):e===1&&n!==null?Ir(t,n,a,o||null,!0):e===2?ol(t,a,s):e===3&&t.destroyNode(a),i!=null&&Qg(t,e,i,n,o)}}function Zc(e,t){return e.createText(t)}function Rg(e,t,n){e.setValue(t,n)}function Kc(e,t){return e.createComment(xg(t))}function ms(e,t,n){return e.createElement(t,n)}function Pg(e,t){Jc(e,t),t[J]=null,t[ee]=null}function kg(e,t,n,r,o,i){r[J]=o,r[ee]=t,zr(e,r,n,1,o,i)}function Jc(e,t){zr(e,t,t[T],2,null,null)}function Lg(e){let t=e[on];if(!t)return No(e[v],e);for(;t;){let n=null;if(Ce(t))n=t[on];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[le]&&t!==e;)Ce(t)&&No(t[v],t),t=t[j];t===null&&(t=e),Ce(t)&&No(t[v],t),n=t&&t[le]}t=n}}function jg(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][le]=t),r<i-Q?(t[le]=n[o],Zu(n,Q+r,t)):(n.push(t),t[le]=null),t[j]=n;let s=t[hn];s!==null&&n!==s&&Vg(s,t);let a=t[_e];a!==null&&a.insertView(e),Uo(t),t[m]|=128}function Vg(e,t){let n=e[Nt],o=t[j][j][X];t[X]!==o&&(e[m]|=qi.HasTransplantedViews),n===null?e[Nt]=[t]:n.push(t)}function Xc(e,t){let n=e[Nt],r=n.indexOf(t);n.splice(r,1)}function wr(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[hn];o!==null&&o!==e&&Xc(o,r),t>0&&(e[n-1][le]=r[le]);let i=lr(e,Q+t);Pg(r[v],r);let s=i[_e];s!==null&&s.detachView(i[v]),r[j]=null,r[le]=null,r[m]&=-129}return r}function ys(e,t){if(!(t[m]&256)){let n=t[T];n.destroyNode&&zr(e,t,n,3,null,null),Lg(t)}}function No(e,t){if(!(t[m]&256)){t[m]&=-129,t[m]|=256,t[nt]&&ta(t[nt]),$g(e,t),Bg(e,t),t[v].type===1&&t[T].destroy();let n=t[hn];if(n!==null&&ve(t[j])){n!==t[j]&&Xc(n,t);let r=t[_e];r!==null&&r.detachView(e)}Ng(t)}}function Bg(e,t){let n=e.cleanup,r=t[rn];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[rn]=null);let o=t[Fe];if(o!==null){t[Fe]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function $g(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 it)){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];me(4,a,u);try{u.call(a)}finally{me(5,a,u)}}else{me(4,o,i);try{i.call(o)}finally{me(5,o,i)}}}}}function el(e,t,n){return Hg(e,t.parent,n)}function Hg(e,t,n){let r=t;for(;r!==null&&r.type&40;)t=r,r=t.parent;if(r===null)return n[J];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===tn.None||i===tn.Emulated)return null}return te(r,n)}}function Ir(e,t,n,r,o){e.insertBefore(t,n,r,o)}function tl(e,t,n){e.appendChild(t,n)}function Ja(e,t,n,r,o){r!==null?Ir(e,t,n,r,o):tl(e,t,n)}function Ug(e,t,n,r){e.removeChild(t,n,r)}function Ds(e,t){return e.parentNode(t)}function Gg(e,t){return e.nextSibling(t)}function nl(e,t,n){return Wg(e,t,n)}function zg(e,t,n){return e.type&40?te(e,n):null}var Wg=zg,Xa;function Gr(e,t,n,r){let o=el(e,r,t),i=t[T],s=r.parent||t[ee],a=nl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Ja(i,o,n[u],a,!1);else Ja(i,o,n,a,!1);Xa!==void 0&&Xa(i,r,t,n,o)}function sr(e,t){if(t!==null){let n=t.type;if(n&3)return te(t,e);if(n&4)return pi(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return sr(e,r);{let o=e[t.index];return ve(o)?pi(-1,o):de(o)}}else{if(n&32)return gs(t,e)()||de(e[t.index]);{let r=rl(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=un(e[X]);return sr(o,r)}else return sr(e,t.next)}}}return null}function rl(e,t){if(t!==null){let r=e[X][ee],o=t.projection;return r.projection[o]}return null}function pi(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return sr(r,o)}return t[Me]}function ol(e,t,n){let r=Ds(e,t);r&&Ug(e,r,t,n)}function il(e){e.textContent=""}function vs(e,t,n,r,o,i,s){for(;n!=null;){let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Le(de(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)vs(e,t,n.child,r,o,i,!1),_t(t,e,o,a,i);else if(u&32){let c=gs(n,r),l;for(;l=c();)_t(t,e,o,l,i);_t(t,e,o,a,i)}else u&16?sl(e,t,r,n,o,i):_t(t,e,o,a,i);n=s?n.projectionNext:n.next}}function zr(e,t,n,r,o,i){vs(n,r,e.firstChild,t,o,i,!1)}function qg(e,t,n){let r=t[T],o=el(e,n,t),i=n.parent||t[ee],s=nl(i,n,t);sl(r,0,t,n,o,s)}function sl(e,t,n,r,o,i){let s=n[X],u=s[ee].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];_t(t,e,o,l,i)}else{let c=u,l=s[j];dr(r)&&(c.flags|=128),vs(e,t,c,l,o,i,!0)}}function Qg(e,t,n,r,o){let i=n[Me],s=de(n);i!==s&&_t(t,e,r,i,o);for(let a=Q;a<n.length;a++){let u=n[a];zr(u[v],u,e,t,r,i)}}function Yg(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:vr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=vr.Important),e.setStyle(n,r,o,i))}}function Zg(e,t,n){e.setAttribute(t,"style",n)}function al(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ul(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ho(e,t,r),o!==null&&al(e,t,o),i!==null&&Zg(e,t,i)}var oe={};function PM(e=1){cl(F(),I(),ft()+e,!1)}function cl(e,t,n,r){if(!r)if((t[m]&3)===3){let i=e.preOrderCheckHooks;i!==null&&rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&or(t,i,0,n)}rt(n)}function H(e,t=b.Default){let n=I();if(n===null)return B(e,t);let r=$();return Rc(r,n,W(e),t)}function kM(){let e="invalid";throw new Error(e)}function ll(e,t,n,r,o,i){let s=U(null);try{let a=null;o&Oe.SignalBased&&(a=t[r][eo]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Oe.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Cc(t,a,r,i)}finally{U(s)}}function Kg(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)rt(~o);else{let i=o,s=n[++r],a=n[++r];Ap(s,i);let u=t[i];a(2,u)}}}finally{rt(-1)}}function Wr(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[J]=o,d[m]=r|4|128|8|64,(c!==null||e&&e[m]&2048)&&(d[m]|=2048),Lu(d),d[j]=d[Lt]=e,d[ne]=n,d[be]=s||e&&e[be],d[T]=a||e&&e[T],d[At]=u||e&&e[At]||null,d[ee]=i,d[Fr]=Tg(),d[De]=l,d[Fu]=c,d[X]=t.type==2?e[X]:d,d}function Gt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Jg(e,t,n,r,o),Tp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=_p();i.injectorIndex=s===null?-1:s.injectorIndex}return dt(i,!0),i}function Jg(e,t,n,r,o){let i=Bu(),s=Ji(),a=s?i:i&&i.parent,u=e.data[t]=im(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 dl(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 fl(e,t,n,r,o){let i=ft(),s=r&2;try{rt(-1),s&&t.length>P&&cl(e,t,P,!1),me(s?2:0,o),n(r,o)}finally{rt(i),me(s?3:1,o)}}function ws(e,t,n){if(Qi(t)){let r=U(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{U(r)}}}function Is(e,t,n){Vu()&&(dm(e,t,n,te(n,t)),(n.flags&64)===64&&ml(e,t,n))}function Es(e,t,n=te){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 pl(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Cs(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Cs(e,t,n,r,o,i,s,a,u,c,l){let d=P+r,f=d+o,p=Xg(d,f),h=typeof c=="function"?c():c;return p[v]={type:e,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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 Xg(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:oe);return n}function em(e,t,n,r){let i=r.get(Bc,Vc)||n===tn.ShadowDom,s=e.selectRootElement(t,i);return tm(s),s}function tm(e){hl(e)}var hl=()=>null;function nm(e){Ju(e)?il(e):Eh(e)}function rm(){hl=nm}function om(e,t,n,r){let o=vl(t);o.push(n),e.firstCreatePass&&wl(e).push(r,o.length-1)}function im(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return jt()&&(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 eu(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=Oe.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?tu(r,n,c,a,u):tu(r,n,c,a)}return r}function tu(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 sm(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],f=n?n.get(d):null,p=f?f.inputs:null,h=f?f.outputs:null;u=eu(0,d.inputs,l,u,p),c=eu(1,d.outputs,l,c,h);let E=u!==null&&s!==null&&!bu(t)?Em(u,l,s):null;a.push(E)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function am(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Dn(e,t,n,r,o,i,s,a){let u=te(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(_s(e,n,l,r,o),gn(t)&&um(n,t.index)):t.type&3?(r=am(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function um(e,t){let n=Be(t,e);n[m]&16||(n[m]|=64)}function bs(e,t,n,r){if(Vu()){let o=r===null?null:{"":-1},i=pm(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&gl(e,t,n,s,o,a),o&&hm(n,r,o)}n.mergedAttrs=nn(n.mergedAttrs,n.attrs)}function gl(e,t,n,r,o,i){for(let c=0;c<r.length;c++)ri(Dr(n,t),e,r[c].type);mm(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=dl(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=nn(n.mergedAttrs,l.hostAttrs),ym(e,n,t,u,l),gm(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++}sm(e,n,i)}function cm(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;lm(s)!=a&&s.push(a),s.push(n,r,i)}}function lm(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function dm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;gn(n)&&Dm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Dr(n,t),Le(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=st(t,e,a,n);if(Le(c,t),s!==null&&Im(t,a-o,c,u,n,s),Pe(u)){let l=Be(n.index,t);l[ne]=st(t,e,a,n)}}}function ml(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Np();try{rt(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Go(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&fm(u,c)}}finally{rt(-1),Go(s)}}function fm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function pm(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(_u(t,s.selectors,!1))if(r||(r=[]),Pe(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;hi(e,t,u)}else r.unshift(s),hi(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function hi(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function hm(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 gm(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Pe(t)&&(n[""]=e)}}function mm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ym(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ot(o.type,!0)),s=new it(i,Pe(o),H);e.blueprint[r]=s,n[r]=s,cm(e,t,r,dl(e,n,o.hostVars,oe),o)}function Dm(e,t,n){let r=te(t,e),o=pl(n),i=e[be].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=qr(e,Wr(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function vm(e,t,n,r,o,i){let s=te(e,t);wm(t[T],s,i,e.value,n,r,o)}function wm(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?et(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Im(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++];ll(r,n,u,c,l,d)}}function Em(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 yl(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Dl(e,t){let n=e.contentQueries;if(n!==null){let r=U(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];ts(i),a.contentQueries(2,t[s],s)}}}finally{U(r)}}}function qr(e,t){return e[on]?e[La][le]=t:e[on]=t,e[La]=t,t}function gi(e,t,n){ts(0);let r=U(null);try{t(e,n)}finally{U(r)}}function vl(e){return e[rn]||(e[rn]=[])}function wl(e){return e.cleanup||(e.cleanup=[])}function Il(e,t){let n=e[At],r=n?n.get(at,null):null;r&&r.handleError(t)}function _s(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];ll(l,c,r,a,u,o)}}function Cm(e,t,n){let r=Pu(t,e);Rg(e[T],r,n)}function bm(e,t){let n=Be(t,e),r=n[v];_m(r,n);let o=n[J];o!==null&&n[De]===null&&(n[De]=us(o,n[At])),Ms(r,n,n[ne])}function _m(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ms(e,t,n){ns(t);try{let r=e.viewQuery;r!==null&&gi(1,r,n);let o=e.template;o!==null&&fl(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[_e]?.finishViewCreation(e),e.staticContentQueries&&Dl(e,t),e.staticViewQueries&&gi(2,e.viewQuery,n);let i=e.components;i!==null&&Mm(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[m]&=-5,rs()}}function Mm(e,t){for(let n=0;n<t.length;n++)bm(e,t[n])}function El(e,t,n,r){let o=t.tView,s=e[m]&4096?4096:16,a=Wr(e,o,n,s,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null),u=e[t.index];a[hn]=u;let c=e[_e];return c!==null&&(a[_e]=c.createEmbeddedView(o)),Ms(o,a,n),a}function xm(e,t){let n=Q+t;if(n<e.length)return e[n]}function mi(e,t){return!t||t.firstChild===null||dr(e)}function Cl(e,t,n,r=!0){let o=t[v];if(jg(o,t,e,n),r){let s=pi(n,e),a=t[T],u=Ds(a,e[Me]);u!==null&&kg(o,e[ee],a,t,u,s)}let i=t[De];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Sm(e,t){let n=wr(e,t);return n!==void 0&&ys(n[v],n),n}function Er(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(de(i)),ve(i)&&Tm(i,r);let s=n.type;if(s&8)Er(e,t,n.child,r);else if(s&32){let a=gs(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=rl(t,n);if(Array.isArray(a))r.push(...a);else{let u=un(t[X]);Er(u[v],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Tm(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&Er(r[v],r,o,t)}e[Me]!==e[J]&&t.push(e[Me])}var bl=[];function Am(e){return e[nt]??Nm(e)}function Nm(e){let t=bl.pop()??Object.create(Om);return t.lView=e,t}function Fm(e){e.lView[nt]!==e&&(e.lView=null,bl.push(e))}var Om=qt(Wt({},Js),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{an(e.lView)},consumerOnSignalRead(){this.lView[nt]=this}});function _l(e){return xl(e[on])}function Ml(e){return xl(e[le])}function xl(e){for(;e!==null&&!ve(e);)e=e[le];return e}var Sl=100;function Tl(e,t=!0,n=0){let r=e[be],o=r.rendererFactory,i=!1;i||o.begin?.();try{Rm(e,n)}catch(s){throw t&&Il(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Rm(e,t){yi(e,t);let n=0;for(;Ki(e);){if(n===Sl)throw new M(103,!1);n++,yi(e,1)}}function Pm(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[be].inlineEffectRunner?.flush(),ns(t);let s=null,a=null;!i&&km(e)&&(a=Am(t),s=Xs(a));try{Lu(t),Sp(e.bindingStartIndex),n!==null&&fl(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&rr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&or(t,d,0,null),So(t,0)}if(Lm(t),Al(t,0),e.contentQueries!==null&&Dl(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&rr(t,d)}else{let d=e.contentHooks;d!==null&&or(t,d,1),So(t,1)}Kg(e,t);let c=e.components;c!==null&&Fl(t,c,0);let l=e.viewQuery;if(l!==null&&gi(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&rr(t,d)}else{let d=e.viewHooks;d!==null&&or(t,d,2),So(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[bo]){for(let d of t[bo])d();t[bo]=null}i||(t[m]&=-73)}catch(u){throw an(t),u}finally{a!==null&&(ea(a,s),Fm(a)),rs()}}function km(e){return e.type!==2}function Al(e,t){for(let n=_l(e);n!==null;n=Ml(n))for(let r=Q;r<n.length;r++){let o=n[r];Nl(o,t)}}function Lm(e){for(let t=_l(e);t!==null;t=Ml(t)){if(!(t[m]&qi.HasTransplantedViews))continue;let n=t[Nt];for(let r=0;r<n.length;r++){let o=n[r],i=o[j];mp(o)}}}function jm(e,t,n){let r=Be(t,e);Nl(r,n)}function Nl(e,t){Zi(e)&&yi(e,t)}function yi(e,t){let r=e[v],o=e[m],i=e[nt],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&to(i)),i&&(i.dirty=!1),e[m]&=-9217,s)Pm(r,e,r.template,e[ne]);else if(o&8192){Al(e,1);let a=r.components;a!==null&&Fl(e,a,1)}}function Fl(e,t,n){for(let r=0;r<t.length;r++)jm(e,t[r],n)}function xs(e){for(e[be].changeDetectionScheduler?.notify();e;){e[m]|=64;let t=un(e);if(Ru(e)&&!t)return e;e=t}return null}var ut=class{get rootNodes(){let t=this._lView,n=t[v];return Er(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[ne]}set context(t){this._lView[ne]=t}get destroyed(){return(this._lView[m]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[j];if(ve(t)){let n=t[cr],r=n?n.indexOf(this):-1;r>-1&&(wr(t,r),lr(n,r))}this._attachedToViewContainer=!1}ys(this._lView[v],this._lView)}onDestroy(t){ju(this._lView,t)}markForCheck(){xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Uo(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Tl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Jc(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t,Uo(this._lView)}},je=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=$m;let e=t;return e})(),Vm=je,Bm=class extends Vm{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=El(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new ut(o)}};function $m(){return Qr($(),I())}function Qr(e,t){return e.type&4?new Bm(t,e,$t(e,t)):null}function Ol(e){let t=e[sn]??[],r=e[j][T];for(let o of t)Hm(o,r);e[sn]=z}function Hm(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[pr];for(;n<o;){let i=r.nextSibling;ol(t,r,!1),r=i,n++}}}function Rl(e){Ol(e);for(let t=Q;t<e.length;t++)Cr(e[t])}function Cr(e){let t=e[v];for(let n=P;n<t.bindingStartIndex;n++)if(ve(e[n])){let r=e[n];Rl(r)}else Ce(e[n])&&Cr(e[n])}function Um(e){let t=e._views;for(let n of t){let r=wh(n);if(r!==null&&r[J]!==null)if(Ce(r))Cr(r);else{let o=r[J];Cr(o),Rl(r)}}}var Gm=new RegExp(`^(\\d+)*(${cc}|${uc})*(.*)`);function zm(e){let t=e.match(Gm),[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 Wm(e){return!e.prev&&e.parent?.type===8}function Fo(e){return e.index-P}function Yr(e,t,n,r){let o=null,i=Fo(r),s=e.data[hh];if(s?.[i])o=Qm(s[i],n);else if(t.firstChild===r)o=e.firstChild;else{let a=r.prev===null,u=r.prev??r.parent;if(Wm(r)){let c=Fo(r.parent);o=Ko(e,c)}else{let c=te(u,n);if(a)o=c.firstChild;else{let l=Fo(u),d=Ko(e,l);if(u.type===2&&d){let p=cs(e,l)+1;o=Zr(p,d)}else o=c.nextSibling}}}return o}function Zr(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function qm(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 Zo.FirstChild:n=n.firstChild;break;case Zo.NextSibling:n=n.nextSibling;break}}return n}function Qm(e,t){let[n,...r]=zm(e),o;if(n===uc)o=t[X][J];else if(n===cc)o=Fg(t[X][J]);else{let i=Number(n);o=de(t[i+P])}return qm(o,r)}function Ym(e,t){let n=[];for(let r of t)for(let o=0;o<(r[lc]??1);o++){let i={data:r,firstChild:null};r[pr]>0&&(i.firstChild=e,e=Zr(r[pr],e)),n.push(i)}return[e,n]}var Pl=()=>null;function Zm(e,t){let n=e[sn];return!t||n===null||n.length===0?null:n[0].data[ph]===t?n.shift():(Ol(e),null)}function Km(){Pl=Zm}function Di(e,t){return Pl(e,t)}var vi=class{},wi=class{},br=class{};function Jm(e){let t=Error(`No component factory found for ${q(e)}.`);return t[Xm]=e,t}var Xm="ngComponent";var Ii=class{resolveComponentFactory(t){throw Jm(t)}},Kr=(()=>{let t=class t{};t.NULL=new Ii;let e=t;return e})(),Ei=class{},Ss=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>ey();let e=t;return e})();function ey(){let e=I(),t=$(),n=Be(t.index,e);return(Ce(n)?n:e)[T]}var ty=(()=>{let t=class t{};t.\u0275prov=O({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Oo={};function ny(e){return typeof e=="function"&&e[eo]!==void 0}function kl(e){return ny(e)&&typeof e.set=="function"}function Ll(e){return oy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function ry(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 oy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}var Ci=class{constructor(){}supports(t){return Ll(t)}create(t){return new bi(t)}},iy=(e,t)=>t,bi=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||iy}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<nu(r,o,i)?n:r,a=nu(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 f=0;f<c;f++){let p=f<i.length?i[f]:i[f]=0,h=p+f;l<=h&&h<c&&(i[f]=p+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=[]),!Ll(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,ry(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 _i(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 _r),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 _r),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}},_i=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}},Mi=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}},_r=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Mi,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 nu(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function ru(){return new Ts([new Ci])}var Ts=(()=>{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||ru()),deps:[[t,new Mh,new _h]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new M(901,!1)}};t.\u0275prov=O({token:t,providedIn:"root",factory:ru});let e=t;return e})();var sy=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ay;let e=t;return e})();function ay(e){return uy($(),I(),(e&16)===16)}function uy(e,t,n){if(gn(e)&&!n){let r=Be(e.index,t);return new ut(r,r)}else if(e.type&47){let r=t[X];return new ut(r,t)}return null}var jl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=cy,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),xi=class extends jl{constructor(t){super(),this._lView=t}onDestroy(t){return ju(this._lView,t),()=>Dp(this._lView,t)}};function cy(){return new xi(I())}var ou=new Set;function vn(e){ou.has(e)||(ou.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function iu(...e){}function ly(){let e=typeof Ne.requestAnimationFrame=="function",t=Ne[e?"requestAnimationFrame":"setTimeout"],n=Ne[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 K=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 Xe(!1),this.onMicrotaskEmpty=new Xe(!1),this.onStable=new Xe(!1),this.onError=new Xe(!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=ly().nativeRequestAnimationFrame,py(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,dy,iu,iu);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)}},dy={};function As(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 fy(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Si(e),e.isCheckStableRunning=!0,As(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Si(e))}function py(e){let t=()=>{fy(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(hy(a))return n.invokeTask(o,i,s,a);try{return su(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),au(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return su(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),au(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Si(e),As(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 Si(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function su(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function au(e){e._nesting--,As(e)}function hy(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Mt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Mt||{}),gy={destroy(){}};function my(e,t){!t&&jh(my);let n=t?.injector??_(Ht);if(!Xt(n))return gy;vn("NgAfterNextRender");let r=n.get(Ns),o=r.handler??=new Ai,i=t?.phase??Mt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(jl).onDestroy(s),u=new Ti(n,i,()=>{s(),e()});return o.register(u),{destroy:s}}var Ti=class{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(K),this.errorHandler=t.get(at,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Ai=class{constructor(){this.executingCallbacks=!1,this.buckets={[Mt.EarlyRead]:new Set,[Mt.Write]:new Set,[Mt.MixedReadWrite]:new Set,[Mt.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},Ns=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o();this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=O({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Mr(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=$o(o,a);else if(i==2){let u=a,c=t[++s];r=$o(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var xr=class extends Kr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Re(t);return new Rt(n,this.ngModule)}};function uu(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 yy(e){let t=e.toLowerCase();return t==="svg"?lp:t==="math"?dp:null}var Ni=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Vr(r);let o=this.injector.get(t,Oo,r);return o!==Oo||n===Oo?o:this.parentInjector.get(t,n,r)}},Rt=class extends br{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=uu(t.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return uu(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=rp(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){o=o||this.ngModule;let i=o instanceof ke?o:o?.injector;i&&this.componentDef.getStandaloneInjector!==null&&(i=this.componentDef.getStandaloneInjector(i)||i);let s=i?new Ni(t,i):t,a=s.get(Ei,null);if(a===null)throw new M(407,!1);let u=s.get(ty,null),c=s.get(Ns,null),l=s.get(vi,null),d={rendererFactory:a,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:c,changeDetectionScheduler:l},f=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",h=r?em(f,r,this.componentDef.encapsulation,s):ms(f,p,yy(p)),E=512;this.componentDef.signals?E|=4096:this.componentDef.onPush||(E|=16);let R=null;h!==null&&(R=us(h,s,!0));let S=Cs(0,null,null,1,0,null,null,null,null,null,null),V=Wr(null,S,null,E,null,null,d,f,s,null,R);ns(V);let we,ie;try{let se=this.componentDef,fe,zt=null;se.findHostDirectiveDefs?(fe=[],zt=new Map,se.findHostDirectiveDefs(se,fe,zt),fe.push(se)):fe=[se];let Pd=Dy(V,h),kd=vy(Pd,h,se,fe,V,d,f);ie=Yi(S,P),h&&Ey(f,se,h,r),n!==void 0&&Cy(ie,this.ngContentSelectors,n),we=Iy(kd,se,fe,zt,V,[by]),Ms(S,V,null)}finally{rs()}return new Fi(this.componentType,we,$t(ie,V),V,ie)}},Fi=class extends wi{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 ut(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;_s(i[v],i,o,t,n),this.previousInputValues.set(t,n);let s=Be(this._tNode.index,i);xs(s)}}get injector(){return new tt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Dy(e,t){let n=e[v],r=P;return e[r]=t,Gt(n,r,2,"#host",null)}function vy(e,t,n,r,o,i,s){let a=o[v];wy(r,e,t,s);let u=null;t!==null&&(u=us(t,o[At]));let c=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Wr(o,pl(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&hi(a,e,r.length-1),qr(o,d),o[e.index]=d}function wy(e,t,n,r){for(let o of e)t.mergedAttrs=nn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Mr(t,t.mergedAttrs,!0),n!==null&&ul(r,n,t))}function Iy(e,t,n,r,o,i){let s=$(),a=o[v],u=te(s,o);gl(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,f=st(o,a,d,s);Le(f,o)}ml(a,o,s),u&&Le(u,o);let c=st(o,a,s.directiveStart+s.componentOffset,s);if(e[ne]=o[ne]=c,i!==null)for(let l of i)l(c,t);return ws(a,s,e),c}function Ey(e,t,n,r){if(r)Ho(e,n,["ng-version","17.2.1"]);else{let{attrs:o,classes:i}=op(t.selectors[0]);o&&Ho(e,n,o),i&&i.length>0&&al(e,n,i.join(" "))}}function Cy(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 by(){let e=$();Hr(I()[v],e)}var He=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=_y;let e=t;return e})();function _y(){let e=$();return Bl(e,I())}var My=He,Vl=class extends My{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return $t(this._hostTNode,this._hostLView)}get injector(){return new tt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ps(this._hostTNode,this._hostLView);if(Sc(t)){let n=mr(t,this._hostLView),r=gr(t),o=n[v].data[r+8];return new tt(o,n)}else return new tt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=cu(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=Di(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,mi(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Vh(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Rt(Re(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let E=(s?c:this.parentInjector).get(ke,null);E&&(i=E)}let l=Re(u.componentType??{}),d=Di(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,mi(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(gp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[j],c=new Vl(u,u[ee],u[j]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Cl(s,o,i,r),t.attachToViewContainerRef(),Zu(Ro(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=cu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=wr(this._lContainer,n);r&&(lr(Ro(this._lContainer),n),ys(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=wr(this._lContainer,n);return r&&lr(Ro(this._lContainer),n)!=null?new ut(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function cu(e){return e[cr]}function Ro(e){return e[cr]||(e[cr]=[])}function Bl(e,t){let n,r=t[e.index];return ve(r)?n=r:(n=yl(r,t,null,e),t[e.index]=n,qr(t,n)),$l(n,t,e,r),new Vl(n,e,t)}function xy(e,t){let n=e[T],r=n.createComment(""),o=te(t,e),i=Ds(n,o);return Ir(n,i,r,Gg(n,o),!1),r}var $l=Hl,Fs=()=>!1;function Sy(e,t,n){return Fs(e,t,n)}function Hl(e,t,n,r){if(e[Me])return;let o;n.type&8?o=de(r):o=xy(t,n),e[Me]=o}function Ty(e,t,n){if(e[Me]&&e[sn])return!0;let r=n[De],o=t.index-P;if(!r||zp(t)||$r(r,o))return!1;let s=Ko(r,o),a=r.data[as]?.[o],[u,c]=Ym(s,a);return e[Me]=u,e[sn]=c,!0}function Ay(e,t,n,r){Fs(e,n,t)||Hl(e,t,n,r)}function Ny(){$l=Ay,Fs=Ty}var Oi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ri=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++)Os(t,n).matches!==null&&this.queries[n].setDirty()}},Sr=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Vy(t):this.predicate=t}},Pi=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)}},ki=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,Fy(n,i)),this.matchTNodeWithReadOption(t,n,ir(n,t,i,!1,!1))}else r===je?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ir(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===pt||o===He||o===je&&n.type&4)this.addMatch(n.index,-2);else{let i=ir(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 Fy(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 Oy(e,t){return e.type&11?$t(e,t):e.type&4?Qr(e,t):null}function Ry(e,t,n,r){return n===-1?Oy(t,e):n===-2?Py(e,t,r):st(e,e[v],n,t)}function Py(e,t,n){if(n===pt)return $t(t,e);if(n===je)return Qr(t,e);if(n===He)return Bl(t,e)}function Ul(e,t,n,r){let o=t[_e].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(Ry(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function Li(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Ul(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 f=l[d];f[hn]===f[j]&&Li(f[v],f,c,r)}if(l[Nt]!==null){let d=l[Nt];for(let f=0;f<d.length;f++){let p=d[f];Li(p[v],p,c,r)}}}}}return r}function ky(e,t){return e[_e].queries[t].queryList}function Gl(e,t,n){let r=new zo((n&4)===4);return om(e,t,r,r.destroy),(t[_e]??=new Ri).queries.push(new Oi(r))-1}function Ly(e,t,n){let r=F();return r.firstCreatePass&&(zl(r,new Sr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Gl(r,I(),t)}function jy(e,t,n,r){let o=F();if(o.firstCreatePass){let i=$();zl(o,new Sr(t,n,r),i.index),By(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Gl(o,I(),n)}function Vy(e){return e.split(",").map(t=>t.trim())}function zl(e,t,n){e.queries===null&&(e.queries=new Pi),e.queries.track(new ki(t,n))}function By(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 Os(e,t){return e.queries.getByIndex(t)}function $y(e,t){let n=e[v],r=Os(n,t);return r.crossesNgTemplate?Li(n,e,t,[]):Ul(n,e,r,t)}function Hy(e){return Object.getPrototypeOf(e.prototype).constructor}function Uy(e){let t=Hy(e.type),n=!0,r=[e];for(;t;){let o;if(Pe(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=Xn(e.inputs),s.inputTransforms=Xn(e.inputTransforms),s.declaredInputs=Xn(e.declaredInputs),s.outputs=Xn(e.outputs);let a=o.hostBindings;a&&Qy(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Wy(e,u),c&&qy(e,c),Gy(e,o),Hf(e.outputs,o.outputs),Pe(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===Uy&&(n=!1)}}t=Object.getPrototypeOf(t)}zy(r)}function Gy(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 zy(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=nn(o.hostAttrs,n=nn(n,o.hostAttrs))}}function Xn(e){return e===Tt?{}:e===z?[]:e}function Wy(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function qy(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Qy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Yy(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 Ve=class{},ji=class{};var Vi=class extends Ve{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xr(this);let o=Tu(t);this._bootstrapComponents=Yc(o.bootstrap),this._r3Injector=Lc(t,n,[{provide:Ve,useValue:this},{provide:Kr,useValue:this.componentFactoryResolver},...r],q(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)}},Bi=class extends ji{constructor(t){super(),this.moduleType=t}create(t){return new Vi(this.moduleType,t,[])}};var Tr=class extends Ve{constructor(t){super(),this.componentFactoryResolver=new xr(this),this.instance=null;let n=new dn([...t.providers,{provide:Ve,useValue:this},{provide:Kr,useValue:this.componentFactoryResolver}],t.parent||ds(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Zy(e,t,n=null){return new Tr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Wl=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Qt(!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=O({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ql(e,t,n){return e[t]=n}function re(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ql(e,t,n,r){let o=re(e,t,n);return re(e,t+1,r)||o}function Ky(e,t,n,r,o){let i=Ql(e,t,n,r);return re(e,t+2,o)||i}function Jy(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Gt(t,e,4,s||null,Ft(c,a));bs(t,n,l,Ft(c,u)),Hr(t,l);let d=l.tView=Cs(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 Xy(e,t,n,r,o,i,s,a){let u=I(),c=F(),l=e+P,d=c.firstCreatePass?Jy(l,c,u,t,n,r,o,i,s):c.data[l];dt(d,!1);let f=Yl(c,u,d,e);Rr()&&Gr(c,u,f,d),Le(f,u);let p=yl(f,u,f,d);return u[l]=p,qr(u,p),Sy(p,d,u),Or(d)&&Is(c,u,d),s!=null&&Es(u,d,a),Xy}var Yl=Zl;function Zl(e,t,n,r){return $e(!0),t[T].createComment("")}function eD(e,t,n,r){let o=t[De],i=!o||jt()||$r(o,r);if($e(i),i)return Zl(e,t,n,r);let s=o.data[fh]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Yr(o,e,t,n);Br(o,r,a);let u=cs(o,r);return Zr(u,a)}function tD(){Yl=eD}function nD(e,t,n,r){let o=I(),i=Vt();if(re(o,i,t)){let s=F(),a=Bt();vm(a,o,e,t,n,r)}return nD}function Rs(e,t,n,r){return re(e,Vt(),n)?t+et(n)+r:oe}function rD(e,t,n,r,o,i,s,a){let u=xp(),c=Ky(e,u,n,o,s);return es(3),c?t+et(n)+r+et(o)+i+et(s)+a:oe}function er(e,t){return e<<17|t<<2}function ct(e){return e>>17&32767}function oD(e){return(e&2)==2}function iD(e,t){return e&131071|t<<17}function $i(e){return e|2}function Pt(e){return(e&131068)>>2}function Po(e,t){return e&-131069|t<<2}function sD(e){return(e&1)===1}function Hi(e){return e|1}function aD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ct(s),u=Pt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||mn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=ct(e[a+1]);e[r+1]=er(f,a),f!==0&&(e[f+1]=Po(e[f+1],r)),e[a+1]=iD(e[a+1],r)}else e[r+1]=er(a,0),a!==0&&(e[a+1]=Po(e[a+1],r)),a=r;else e[r+1]=er(u,0),a===0?a=r:e[u+1]=Po(e[u+1],r),u=r;c&&(e[r+1]=$i(e[r+1])),lu(e,l,r,!0),lu(e,l,r,!1),uD(t,l,e,r,i),s=er(a,u),i?t.classBindings=s:t.styleBindings=s}function uD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mn(i,t)>=0&&(n[r+1]=Hi(n[r+1]))}function lu(e,t,n,r){let o=e[n+1],i=t===null,s=r?ct(o):Pt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];cD(u,t)&&(a=!0,e[s+1]=r?Hi(c):$i(c)),s=r?ct(c):Pt(c)}a&&(e[n+1]=r?$i(o):Hi(o))}function cD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mn(e,t)>=0:!1}var L={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Kl(e){return e.substring(L.key,L.keyEnd)}function lD(e){return e.substring(L.value,L.valueEnd)}function dD(e){return ed(e),Jl(e,kt(e,0,L.textEnd))}function Jl(e,t){let n=L.textEnd;return n===t?-1:(t=L.keyEnd=pD(e,L.key=t,n),kt(e,t,n))}function fD(e){return ed(e),Xl(e,kt(e,0,L.textEnd))}function Xl(e,t){let n=L.textEnd,r=L.key=kt(e,t,n);return n===r?-1:(r=L.keyEnd=hD(e,r,n),r=du(e,r,n,58),r=L.value=kt(e,r,n),r=L.valueEnd=gD(e,r,n),du(e,r,n,59))}function ed(e){L.key=0,L.keyEnd=0,L.value=0,L.valueEnd=0,L.textEnd=e.length}function kt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function pD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function hD(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 du(e,t,n,r){return t=kt(e,t,n),t<n&&t++,t}function gD(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=fu(e,u,s,n):t===s-4&&i===85&&o===82&&r===76&&u===40?a=s=fu(e,41,s,n):u>32&&(a=s),i=o,o=r,r=u&-33}return a}function fu(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 mD(e,t,n){let r=I(),o=Vt();if(re(r,o,t)){let i=F(),s=Bt();Dn(i,s,r,e,t,r[T],n,!1)}return mD}function Ui(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";_s(e,n,i[s],s,r)}function td(e,t,n){return nd(e,t,n,!1),td}function yD(e,t){return nd(e,t,null,!0),yD}function DD(e){rd(sd,vD,e,!1)}function vD(e,t){for(let n=fD(t);n>=0;n=Xl(t,n))sd(e,Kl(t),lD(t))}function VM(e){rd(MD,wD,e,!0)}function wD(e,t){for(let n=dD(t);n>=0;n=Jl(t,n))Pr(e,Kl(t),!0)}function nd(e,t,n,r){let o=I(),i=F(),s=es(2);if(i.firstUpdatePass&&id(i,e,s,r),t!==oe&&re(o,s,t)){let a=i.data[ft()];ad(i,a,o,o[T],e,o[s+1]=SD(t,n),r,s)}}function rd(e,t,n,r){let o=F(),i=es(2);o.firstUpdatePass&&id(o,null,i,r);let s=I();if(n!==oe&&re(s,i,n)){let a=o.data[ft()];if(ud(a,r)&&!od(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=$o(u,n||"")),Ui(o,a,s,n,r)}else xD(o,a,s,s[T],s[i+1],s[i+1]=_D(e,t,n),r,i)}}function od(e,t){return t>=e.expandoStartIndex}function id(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ft()],s=od(e,n);ud(i,r)&&t===null&&!s&&(t=!1),t=ID(o,i,t,r),aD(o,i,t,n,s,r)}}function ID(e,t,n,r){let o=Fp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ko(null,e,t,n,r),n=fn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ko(o,e,t,n,r),i===null){let u=ED(e,t,r);u!==void 0&&Array.isArray(u)&&(u=ko(null,e,t,u[1],r),u=fn(u,t.attrs,r),CD(e,t,r,u))}else i=bD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function ED(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Pt(r)!==0)return e[ct(r)]}function CD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ct(o)]=r}function bD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=fn(r,s,n)}return fn(r,t.attrs,n)}function ko(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=fn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function fn(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]),Pr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function _D(e,t,n){if(n==null||n==="")return z;let r=[],o=Ut(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 sd(e,t,n){Pr(e,t,Ut(n))}function MD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Pr(e,r,n)}function xD(e,t,n,r,o,i,s,a){o===oe&&(o=z);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 f=u<o.length?o[u+1]:void 0,p=c<i.length?i[c+1]:void 0,h=null,E;l===d?(u+=2,c+=2,f!==p&&(h=d,E=p)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,E=p),h!==null&&ad(e,t,n,r,h,E,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function ad(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=sD(c)?pu(u,t,n,o,Pt(c),s):void 0;if(!Ar(l)){Ar(i)||oD(c)&&(i=pu(u,null,n,o,a,s));let d=Pu(ft(),n);Yg(r,s,d,o,i)}}function pu(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,f=n[o+1];f===oe&&(f=d?z:void 0);let p=d?_o(f,r):l===r?f:void 0;if(c&&!Ar(p)&&(p=_o(u,r)),Ar(p)&&(a=p,s))return a;let h=e[o+1];o=s?ct(h):Pt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=_o(u,r))}return a}function Ar(e){return e!==void 0}function SD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=q(Ut(e)))),e}function ud(e,t){return(e.flags&(t?8:16))!==0}function BM(e,t,n){vn("NgControlFlow");let r=I(),o=Vt(),i=TD(r,P+e),s=0;if(re(r,o,t)){let a=U(null);try{if(Sm(i,s),t!==-1){let u=AD(r[v],P+t),c=Di(i,u.tView.ssrId),l=El(r,u,n,{dehydratedView:c});Cl(i,l,s,mi(u,c))}}finally{U(a)}}else{let a=xm(i,s);a!==void 0&&(a[ne]=n)}}function TD(e,t){return e[t]}function AD(e,t){return Yi(e,t)}function ND(e,t,n,r,o,i){let s=t.consts,a=Ft(s,o),u=Gt(t,e,2,r,a);return bs(t,n,u,Ft(s,i)),u.attrs!==null&&Mr(u,u.attrs,!1),u.mergedAttrs!==null&&Mr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function cd(e,t,n,r){let o=I(),i=F(),s=P+e,a=o[T],u=i.firstCreatePass?ND(s,i,o,t,n,r):i.data[s],c=dd(i,o,u,a,t,e);o[s]=c;let l=Or(u);return dt(u,!0),ul(a,c,u),(u.flags&32)!==32&&Rr()&&Gr(i,o,c,u),vp()===0&&Le(c,o),wp(),l&&(Is(i,o,u),ws(i,u,o)),r!==null&&Es(o,u),cd}function ld(){let e=$();Ji()?Xi():(e=e.parent,dt(e,!1));let t=e;Ep(t)&&bp(),Ip();let n=F();return n.firstCreatePass&&(Hr(n,e),Qi(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Wh(t)&&Ui(n,t,I(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&qh(t)&&Ui(n,t,I(),t.stylesWithoutHost,!1),ld}function FD(e,t,n,r){return cd(e,t,n,r),ld(),FD}var dd=(e,t,n,r,o,i)=>($e(!0),ms(r,o,Qu()));function OD(e,t,n,r,o,i){let s=t[De],a=!s||jt()||$r(s,i);if($e(a),a)return ms(r,o,Qu());let u=Yr(s,e,t,n);return pc(s,i)&&Br(s,i,u.nextSibling),s&&(Ku(n)||Ju(u))&&gn(n)&&(Cp(n),il(u)),u}function RD(){dd=OD}function PD(e,t,n,r,o){let i=t.consts,s=Ft(i,r),a=Gt(t,e,8,"ng-container",s);s!==null&&Mr(a,s,!0);let u=Ft(i,o);return bs(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function fd(e,t,n){let r=I(),o=F(),i=e+P,s=o.firstCreatePass?PD(i,o,r,t,n):o.data[i];dt(s,!0);let a=hd(o,r,s,e);return r[i]=a,Rr()&&Gr(o,r,a,s),Le(a,r),Or(s)&&(Is(o,r,s),ws(o,s,r)),n!=null&&Es(r,s),fd}function pd(){let e=$(),t=F();return Ji()?Xi():(e=e.parent,dt(e,!1)),t.firstCreatePass&&(Hr(t,e),Qi(e)&&t.queries.elementEnd(e)),pd}function kD(e,t,n){return fd(e,t,n),pd(),kD}var hd=(e,t,n,r)=>($e(!0),Kc(t[T],""));function LD(e,t,n,r){let o,i=t[De],s=!i||jt();if($e(s),s)return Kc(t[T],"");let a=Yr(i,e,t,n),u=Ch(i,r);return Br(i,r,a),o=Zr(u,a),o}function jD(){hd=LD}function $M(){return I()}function VD(e,t,n){let r=I(),o=Vt();if(re(r,o,t)){let i=F(),s=Bt();Dn(i,s,r,e,t,r[T],n,!0)}return VD}var Nr="en-US";var BD=Nr;function $D(e){typeof e=="string"&&(BD=e.toLowerCase().replace(/_/g,"-"))}function HD(e,t,n,r){let o=I(),i=F(),s=$();return gd(i,o,o[T],s,e,t,r),HD}function UD(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[rn],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function gd(e,t,n,r,o,i,s){let a=Or(r),c=e.firstCreatePass&&wl(e),l=t[ne],d=vl(t),f=!0;if(r.type&3||s){let E=te(r,t),R=s?s(E):E,S=d.length,V=s?ie=>s(de(ie[r.index])):r.index,we=null;if(!s&&a&&(we=UD(e,t,o,r.index)),we!==null){let ie=we.__ngLastListenerFn__||we;ie.__ngNextListenerFn__=i,we.__ngLastListenerFn__=i,f=!1}else{i=gu(r,t,l,i,!1);let ie=n.listen(R,o,i);d.push(i,ie),c&&c.push(o,V,S,S+1)}}else i=gu(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let E=h.length;if(E)for(let R=0;R<E;R+=2){let S=h[R],V=h[R+1],se=t[S][V].subscribe(i),fe=d.length;if(d.push(i,se),c){let zt=typeof se=="function"?fe+1:-(fe+1);c.push(o,r.index,fe,zt)}}}}function hu(e,t,n,r){try{return me(6,t,n),n(r)!==!1}catch(o){return Il(e,o),!1}finally{me(7,t,n)}}function gu(e,t,n,r,o){return function i(s){if(s===Function)return r;let a=e.componentOffset>-1?Be(e.index,t):t;xs(a);let u=hu(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=hu(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function HM(e=1){return Rp(e)}function GD(e,t){let n=null,r=Jf(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?_u(e,i,!0):tp(r,i))return o}return n}function UM(e){let t=I()[X][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=Vp(n,null),o=r.slice(),i=t.child;for(;i!==null;){let s=e?GD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}function GM(e,t=0,n){let r=I(),o=F(),i=Gt(o,P+e,16,null,n||null);i.projection===null&&(i.projection=t),Xi(),(!r[De]||jt())&&(i.flags&32)!==32&&qg(o,r,i)}function zD(e,t,n,r,o){let i=I(),s=Rs(i,t,n,r);if(s!==oe){let a=F(),u=Bt();Dn(a,u,i,e,s,i[T],o,!1)}return zD}function WD(e,t,n,r,o,i,s,a,u){let c=I(),l=rD(c,t,n,r,o,i,s,a);if(l!==oe){let d=F(),f=Bt();Dn(d,f,c,e,l,c[T],u,!1)}return WD}function zM(e,t,n,r){jy(e,t,n,r)}function WM(e,t,n){Ly(e,t,n)}function qM(e){let t=I(),n=F(),r=Hu();ts(r+1);let o=Os(n,r);if(e.dirty&&hp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=$y(t,r);e.reset(i,kp),e.notifyOnChanges()}return!0}return!1}function QM(){return ky(I(),Hu())}function qD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function YM(e){let t=Mp();return ku(t,P+e)}function ZM(e,t,n){let r=I(),o=Rs(r,e,t,n);DD(o)}function KM(e,t=""){let n=I(),r=F(),o=e+P,i=r.firstCreatePass?Gt(r,o,1,t,null):r.data[o],s=md(r,n,i,t,e);n[o]=s,Rr()&&Gr(r,n,s,i),dt(i,!1)}var md=(e,t,n,r,o)=>($e(!0),Zc(t[T],r));function QD(e,t,n,r,o){let i=t[De],s=!i||jt()||$r(i,o);return $e(s),s?Zc(t[T],r):Yr(i,e,t,n)}function YD(){md=QD}function ZD(e){return yd("",e,""),ZD}function yd(e,t,n){let r=I(),o=Rs(r,e,t,n);return o!==oe&&Cm(r,ft(),o),yd}function KD(e,t,n){kl(t)&&(t=t());let r=I(),o=Vt();if(re(r,o,t)){let i=F(),s=Bt();Dn(i,s,r,e,t,r[T],n,!1)}return KD}function JM(e,t){let n=kl(e);return n&&e.set(t),n}function JD(e,t){let n=I(),r=F(),o=$();return gd(r,n,n[T],o,e,t),JD}function XD(e,t,n){let r=F();if(r.firstCreatePass){let o=Pe(e);Gi(n,r.data,r.blueprint,o,!0),Gi(t,r.data,r.blueprint,o,!1)}}function Gi(e,t,n,r,o){if(e=W(e),Array.isArray(e))for(let i=0;i<e.length;i++)Gi(e[i],t,n,r,o);else{let i=F(),s=I(),a=$(),u=Ot(e)?e:W(e.provide),c=Ec(e),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Ot(e)||!e.multi){let p=new it(c,o,H),h=jo(u,t,o?l:l+f,d);h===-1?(ri(Dr(a,s),i,u),Lo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=jo(u,t,l+f,d),h=jo(u,t,l,l+f),E=p>=0&&n[p],R=h>=0&&n[h];if(o&&!R||!o&&!E){ri(Dr(a,s),i,u);let S=nv(o?tv:ev,n.length,o,r,c);!o&&R&&(n[h].providerFactory=S),Lo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=Dd(n[o?h:p],c,!o&&r);Lo(i,e,p>-1?p:h,S)}!o&&r&&R&&n[h].componentProviders++}}}function Lo(e,t,n,r){let o=Ot(t),i=Nh(t);if(o||i){let u=(i?W(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 Dd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function jo(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ev(e,t,n,r){return zi(this.multi,[])}function tv(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=st(n,n[v],this.providerFactory.index,r);i=a.slice(0,s),zi(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],zi(o,i);return i}function zi(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function nv(e,t,n,r,o){let i=new it(e,n,H);return i.multi=[],i.index=t,i.componentProviders=0,Dd(i,o,r&&!n),i}function XM(e,t=[]){return n=>{n.providersResolver=(r,o)=>XD(r,o?o(e):e,t)}}var rv=(()=>{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=Dc(!1,r.type),i=o.length>0?Zy([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=O({token:t,providedIn:"environment",factory:()=>new t(B(ke))});let e=t;return e})();function ex(e){vn("NgStandalone"),e.getStandaloneInjector=t=>t.get(rv).getOrCreateStandaloneInjector(e)}function tx(e,t,n,r){return ov(I(),$u(),e,t,n,r)}function vd(e,t){let n=e[t];return n===oe?void 0:n}function ov(e,t,n,r,o,i){let s=t+n;return re(e,s,o)?ql(e,s+1,i?r.call(i,o):r(o)):vd(e,s+1)}function iv(e,t,n,r,o,i,s){let a=t+n;return Ql(e,a,o,i)?ql(e,a+2,s?r.call(s,o,i):r(o,i)):vd(e,a+2)}function nx(e,t){let n=F(),r,o=e+P;n.firstCreatePass?(r=sv(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=ot(r.type,!0)),s,a=Z(H);try{let u=yr(!1),c=i();return yr(u),qD(n,I(),o,c),c}finally{Z(a)}}function sv(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function rx(e,t,n,r){let o=e+P,i=I(),s=ku(i,o);return av(i,o)?iv(i,$u(),t,s.transform,n,r,s):s.transform(n,r)}function av(e,t){return e[v].data[t].pure}function ox(e,t){return Qr(e,t)}var ix=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var uv=new N("");function Ps(e){return!!e&&typeof e.then=="function"}function wd(e){return!!e&&typeof e.subscribe=="function"}var cv=new N(""),Id=(()=>{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=_(cv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ps(s))r.push(s);else if(wd(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=O({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ed=new N("");function lv(){na(()=>{throw new M(600,!1)})}function dv(e){return e.isBoundToModule}function fv(e,t,n){try{let r=n();return Ps(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ks=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_(jc),this.afterRenderEffectManager=_(Ns),this.componentTypes=[],this.components=[],this.isStable=_(Wl).hasPendingTasks.pipe(Ee(r=>!r)),this._injector=_(ke)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof br;if(!this._injector.get(Id).done){let p=!i&&up(r),h=!1;throw new M(405,h)}let a;i?a=r:a=this._injector.get(Kr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=dv(a)?void 0:this._injector.get(Ve),c=o||a.selector,l=a.create(Ht.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(uv,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Vo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new M(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let r=0;do{if(r===Sl)throw new M(103,!1);let o=r===0;for(let{_lView:i,notifyErrorHandler:s}of this._views)!o&&!mu(i)||this.detectChangesInView(i,s,o);this.afterRenderEffectManager.execute(),r++}while(this._views.some(({_lView:o})=>mu(o)))}detectChangesInView(r,o,i){let s;i?(s=0,r[m]|=1024):r[m]&64?s=0:s=1,Tl(r,o,s)}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Vo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Ed,[]);[...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),()=>Vo(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=O({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Vo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var tr;function pv(e){tr??=new WeakMap;let t=tr.get(e);if(t)return t;let n=e.isStable.pipe(vo(r=>r)).toPromise().then(()=>{});return tr.set(e,n),e.onDestroy(()=>tr?.delete(e)),n}function mu(e){return Ki(e)}var Wi=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},sx=(()=>{let t=class t{compileModuleSync(r){return new Bi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Tu(r),s=Yc(i.declarations).reduce((a,u)=>{let c=Re(u);return c&&a.push(new Rt(c)),a},[]);return new Wi(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=O({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var hv=(()=>{let t=class t{constructor(){this.zone=_(K),this.applicationRef=_(ks)}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=O({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function gv(e){return[{provide:K,useFactory:e},{provide:ln,multi:!0,useFactory:()=>{let t=_(hv,{optional:!0});return()=>t.initialize()}},{provide:ln,multi:!0,useFactory:()=>{let t=_(vv);return()=>{t.initialize()}}},{provide:jc,useFactory:mv}]}function mv(){let e=_(K),t=_(at);return n=>e.runOutsideAngular(()=>t.handleError(n))}function yv(e){let t=gv(()=>new K(Dv(e)));return yc([[],t])}function Dv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var vv=(()=>{let t=class t{constructor(){this.subscription=new k,this.initialized=!1,this.zone=_(K),this.pendingTasks=_(Wl)}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(()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{K.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function wv(){return typeof $localize<"u"&&$localize.locale||Nr}var Ls=new N("",{providedIn:"root",factory:()=>_(Ls,b.Optional|b.SkipSelf)||wv()});var Cd=new N("");var ar=null;function Iv(e=[],t){return Ht.create({name:t,providers:[{provide:Ic,useValue:"platform"},{provide:Cd,useValue:new Set([()=>ar=null])},...e]})}function Ev(e=[]){if(ar)return ar;let t=Iv(e);return ar=t,lv(),Cv(t),t}function Cv(e){e.get(Zp,null)?.forEach(n=>n())}function ax(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Ev(r),i=[yv(),...n||[]],a=new Tr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(K);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(at,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Cd);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),fv(c,u,()=>{let p=a.get(Id);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Ls,Nr);$D(h||Nr);let E=a.get(ks);return t!==void 0&&E.bootstrap(t),E})})})}catch(t){return Promise.reject(t)}}var yu=!1;function bv(){yu||(yu=!0,vh(),RD(),YD(),jD(),tD(),Ny(),Km(),rm())}function _v(e,t){return pv(e)}function ux(){return yc([{provide:Yn,useFactory:()=>{let e=!0;return Xt()&&(e=!!_(ss,{optional:!0})?.get(dc,null)),e&&vn("NgHydration"),e}},{provide:ln,useValue:()=>{Xt()&&_(Yn)&&(Mv(),bv())},multi:!0},{provide:Bc,useFactory:()=>Xt()&&_(Yn)},{provide:Ed,useFactory:()=>{if(Xt()&&_(Yn)){let e=_(ks),t=_(Ht);return()=>{_v(e,t).then(()=>{K.assertInAngularZone(),Um(e)})}}return()=>{}},multi:!0}])}function Mv(){let e=kr(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===yh){t=n;break}if(!t)throw new M(-507,!1)}function xv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Sv(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function cx(e){let t=Re(e);if(!t)return null;let n=new Rt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Nd=null;function js(){return Nd}function Ox(e){Nd??=e}var bd=class{};var zs=new N(""),Ws=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=O({token:t,factory:()=>_(Av),providedIn:"platform"});let e=t;return e})(),Rx=new N(""),Av=(()=>{let t=class t extends Ws{constructor(){super(),this._doc=_(zs),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return js().getBaseHref(this._doc)}onPopState(r){let o=js().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=js().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=O({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function qs(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 _d(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 Te(e){return e&&e[0]!=="?"?"?"+e:e}var Jr=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=O({token:t,factory:()=>_(Nv),providedIn:"root"});let e=t;return e})(),Fd=new N(""),Nv=(()=>{let t=class t extends Jr{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??_(zs).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 qs(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Te(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Te(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Te(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)(B(Ws),B(Fd,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Px=(()=>{let t=class t extends Jr{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}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}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=qs(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Te(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Te(s));a.length==0&&(a=this._platformLocation.pathname),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)(B(Ws),B(Fd,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac});let e=t;return e})(),Fv=(()=>{let t=class t{constructor(r){this._subject=new Xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Pv(_d(Md(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+Te(o))}normalize(r){return t.stripTrailingSlash(Rv(this._basePath,Md(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+Te(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Te(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=Te,t.joinWithSlash=qs,t.stripTrailingSlash=_d,t.\u0275fac=function(o){return new(o||t)(B(Jr))},t.\u0275prov=O({token:t,factory:()=>Ov(),providedIn:"root"});let e=t;return e})();function Ov(){return new Fv(B(Jr))}function Rv(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Md(e){return e.replace(/\/index.html$/,"")}function Pv(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function kx(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 Vs=/\s+/,xd=[],Lx=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=xd,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Vs):xd}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Vs):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(Vs).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)(H(pt),H(Ss))},t.\u0275dir=lt({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var Bs=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}},jx=(()=>{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 Bs(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),Sd(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);Sd(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(H(He),H(je),H(Ts))},t.\u0275dir=lt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function Sd(e,t){e.context.$implicit=t.item}var Vx=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new $s,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){Td("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Td("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)(H(He),H(je))},t.\u0275dir=lt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),$s=class{constructor(){this.$implicit=null,this.ngIf=null}};function Td(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${q(t)}'.`)}var kv=!0,Hs=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()}},Lv=(()=>{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=kv?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=lt({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let e=t;return e})(),Bx=(()=>{let t=class t{constructor(r,o,i){this.ngSwitch=i,i._addCase(),this._view=new Hs(r,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};t.\u0275fac=function(o){return new(o||t)(H(He),H(je),H(Lv,9))},t.\u0275dir=lt({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let e=t;return e})();var $x=(()=>{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)(H(He))},t.\u0275dir=lt({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[fs]});let e=t;return e})();var Hx=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Mu({type:t}),t.\u0275inj=Xu({});let e=t;return e})(),jv="browser",Vv="server";function Bv(e){return e===jv}function Ux(e){return e===Vv}var Gx=(()=>{let t=class t{};t.\u0275prov=O({token:t,providedIn:"root",factory:()=>Bv(_(jr))?new Us(_(zs),window):new Gs});let e=t;return e})(),Us=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=$v(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function $v(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Gs=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Ad=class{};var Ue=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}(Ue||{}),qx="*";function Qx(e,t){return{type:Ue.Trigger,name:e,definitions:t,options:{}}}function Yx(e,t=null){return{type:Ue.Animate,styles:t,timings:e}}function Zx(e,t=null){return{type:Ue.Group,steps:e,options:t}}function Kx(e,t=null){return{type:Ue.Sequence,steps:e,options:t}}function Jx(e){return{type:Ue.Style,styles:e,offset:null}}function Xx(e,t,n){return{type:Ue.State,name:e,styles:t,options:n}}function eS(e,t,n=null){return{type:Ue.Transition,expr:e,animation:t,options:n}}var Od=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}},Rd=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}},tS="!";export{Wt as a,qt as b,Hv as c,Bd as d,k as e,Qd as f,C as g,po as h,ho as i,pe as j,Qt as k,Ye as l,ge as m,of as n,sf as o,af as p,Ke as q,Ee as r,gf as s,ue as t,Kt as u,It as v,yf as w,Df as x,mo as y,_f as z,Je as A,Mf as B,Ta as C,xf as D,Sf as E,Jt as F,Et as G,yo as H,Tf as I,Af as J,Of as K,vo as L,wo as M,Rf as N,Pf as O,Eo as P,kf as Q,Lf as R,jf as S,Vf as T,Bf as U,$f as V,M as W,Xe as X,b as Y,tn as Z,Oe as _,DM as $,Mu as aa,lt as ba,ap as ca,vM as da,wM as ea,pt as fa,zo as ga,IM as ha,O as ia,Xu as ja,EM as ka,N as la,Qp as ma,Zp as na,jr as oa,CM as pa,bM as qa,nc as ra,B as sa,_ as ta,ss as ua,_h as va,Mh as wa,yc as xa,Ic as ya,ke as za,_M as Aa,fs as Ba,MM as Ca,rg as Da,Ht as Ea,at as Fa,Ut as Ga,$c as Ha,xM as Ia,SM as Ja,TM as Ka,AM as La,NM as Ma,Hc as Na,FM as Oa,hs as Pa,Ig as Qa,OM as Ra,RM as Sa,vr as Ta,PM as Ua,H as Va,kM as Wa,je as Xa,vi as Ya,Kr as Za,Ei as _a,Ss as $a,sy as ab,vn as bb,K as cb,my as db,He as eb,Uy as fb,Yy as gb,ji as hb,Zy as ib,Wl as jb,Xy as kb,nD as lb,mD as mb,td as nb,yD as ob,VM as pb,BM as qb,cd as rb,ld as sb,FD as tb,fd as ub,pd as vb,kD as wb,$M as xb,VD as yb,HD as zb,HM as Ab,UM as Bb,GM as Cb,zD as Db,WD as Eb,zM as Fb,WM as Gb,qM as Hb,QM as Ib,YM as Jb,ZM as Kb,KM as Lb,ZD as Mb,yd as Nb,KD as Ob,JM as Pb,JD as Qb,XM as Rb,ex as Sb,tx as Tb,nx as Ub,rx as Vb,ox as Wb,ix as Xb,Ps as Yb,cv as Zb,Ed as _b,ks as $b,pv as ac,sx as bc,ax as cc,ux as dc,xv as ec,Sv as fc,cx as gc,js as hc,Ox as ic,bd as jc,zs as kc,Rx as lc,Jr as mc,Nv as nc,Px as oc,Fv as pc,kx as qc,Lx as rc,jx as sc,Vx as tc,Lv as uc,Bx as vc,$x as wc,Hx as xc,jv as yc,Bv as zc,Ux as Ac,Gx as Bc,Ad as Cc,Ue as Dc,qx as Ec,Qx as Fc,Yx as Gc,Zx as Hc,Kx as Ic,Jx as Jc,Xx as Kc,eS as Lc,Od as Mc,Rd as Nc,tS as Oc};