Repository navigation
Expand file tree
/
Copy pathmain-RGOHSAYN.js
More file actions
5 lines (5 loc) · 290 KB
/
Copy pathmain-RGOHSAYN.js
File metadata and controls
5 lines (5 loc) · 290 KB
1
2
3
4
5
var Ly=Object.defineProperty;var jy=Object.defineProperties;var By=Object.getOwnPropertyDescriptors;var Il=Object.getOwnPropertySymbols;var Vy=Object.prototype.hasOwnProperty;var Hy=Object.prototype.propertyIsEnumerable;var wl=(e,t,n)=>t in e?Ly(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var U=(e,t)=>{for(var n in t||={})Vy.call(t,n)&&wl(e,n,t[n]);if(Il)for(var n of Il(t))Hy.call(t,n)&&wl(e,n,t[n]);return e};var te$1=(e,t)=>jy(e,By(t));var ie$1=null;var co$1=!1;var Pt=1;var Uy=null;var ne$1=Symbol(`SIGNAL`);function C(e){let t=ie$1;return ie$1=e,t}function uo$1(){return ie$1}var Bt$1={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:`unknown`,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Vt$1(e){if(co$1)throw new Error(``);if(ie$1===null)return;ie$1.consumerOnSignalRead(e);let t=ie$1.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ie$1.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ie$1.producers,n!==void 0&&n.producer===e)){ie$1.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=Pt;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ie$1&&(!r||o.knownValidAtEpoch===Pt))return;let i=Dn$1(ie$1),s={producer:e,consumer:ie$1,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:Pt,lastReadVersion:e.version,nextConsumer:void 0};ie$1.producersTail=s,t!==void 0?t.nextProducer=s:ie$1.producers=s,i&&Sl(e,s)}function Cl(){Pt++}function Ht$1(e){if(!(Dn$1(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Pt)){if(!e.producerMustRecompute(e)&&!lo$1(e)){yn$1(e);return}e.producerRecomputeValue(e),yn$1(e)}}function Ms(e){if(e.consumers===void 0)return;let t=co$1;co$1=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||$y(r)}}finally{co$1=t}}function Ns(){return ie$1?.consumerAllowSignalWrites!==!1}function $y(e){e.dirty=!0,Ms(e),e.consumerMarkedDirty?.(e)}function yn$1(e){e.dirty=!1,e.lastCleanEpoch=Pt}function Ut(e){return e&&Tl(e),C(e)}function Tl(e){if(e.producersTail?.knownValidAtEpoch===Pt){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function vn$1(e,t){C(t),e&&bl(e)}function bl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Dn$1(e))do n=As(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function lo$1(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Ht$1(n),r!==n.version))return!0}return!1}function Xn$1(e){if(Dn$1(e)){let t=e.producers;for(;t!==void 0;)t=As(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Sl(e,t){let n=e.consumersTail,r=Dn$1(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Sl(o.producer,o)}function As(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Dn$1(t)){let i=t.producers;for(;i!==void 0;)i=As(i)}return n}function Dn$1(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Jn$1(e){Uy?.(e)}function er$1(e,t){return Object.is(e,t)}function fo$1(e,t){let n=Object.create(Gy);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Ht$1(n),Vt$1(n),n.value===Ge)throw n.error;return n.value};return r[ne$1]=n,Jn$1(n),r}var Lt=Symbol(`UNSET`);var jt=Symbol(`COMPUTING`);var Ge=Symbol(`ERRORED`);var Gy=te$1(U({},Bt$1),{value:Lt,dirty:!0,error:null,equal:er$1,kind:`computed`,producerMustRecompute(e){return e.value===Lt||e.value===jt},producerRecomputeValue(e){if(e.value===jt)throw new Error(``);let t=e.value;e.value=jt;let n=Ut(e),r,o=!1;try{r=e.computation(),C(null),o=t!==Lt&&t!==Ge&&r!==Ge&&e.equal(t,r)}catch(i){r=Ge,e.error=i}finally{vn$1(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function zy(){throw new Error}var _l=zy;function Ml(e){_l(e)}function xs(e){_l=e}var Wy=null;function Rs(e,t){let n=Object.create(tr$1);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Nl(n);return r[ne$1]=n,Jn$1(n),[r,s=>mt$1(n,s),s=>po$1(n,s)]}function Nl(e){return Vt$1(e),e.value}function mt$1(e,t){Ns()||Ml(e),e.equal(e.value,t)||(e.value=t,qy(e))}function po$1(e,t){Ns()||Ml(e),mt$1(e,t(e.value))}var tr$1=te$1(U({},Bt$1),{equal:er$1,value:void 0,kind:`signal`});function qy(e){e.version++,Cl(),Ms(e),Wy?.(e)}var Os;function ho$1(){return Os}function ze$1(e){let t=Os;return Os=e,t}var Al=Symbol(`NotFound`);function En$1(e){return e===Al||e?.name===`ɵNotFound`}function ks(e,t,n){let r=Object.create(Yy);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Ht$1(r),Vt$1(r),r.value===Ge)throw r.error;return r.value};return i[ne$1]=r,Jn$1(r),i}function Fs(e,t){Ht$1(e),mt$1(e,t),yn$1(e)}function xl(e,t){if(Ht$1(e),e.value===Ge)throw e.error;po$1(e,t),yn$1(e)}var Yy=te$1(U({},Bt$1),{value:Lt,dirty:!0,error:null,equal:er$1,kind:`linkedSignal`,producerMustRecompute(e){return e.value===Lt||e.value===jt},producerRecomputeValue(e){if(e.value===jt)throw new Error(``);let t=e.value;e.value=jt;let n=Ut(e),r,o=!1;try{let i=e.source(),s=t!==Lt&&t!==Ge,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,C(null),o=s&&r!==Ge&&e.equal(t,r)}catch(i){r=Ge,e.error=i}finally{vn$1(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Rl(e){let t=C(null);try{return e()}finally{C(t)}}function S(e){return typeof e==`function`}function In$1(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 go$1=In$1(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 nr$1(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var se$2=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(S(r))try{r()}catch(i){t=i instanceof go$1?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ol(i)}catch(s){t=t??[],s instanceof go$1?t=[...t,...s.errors]:t.push(s)}}if(t)throw new go$1(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ol(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)&&nr$1(n,t)}remove(t){let{_finalizers:n}=this;n&&nr$1(n,t),t instanceof e&&t._removeParent(this)}};se$2.EMPTY=(()=>{let e=new se$2;return e.closed=!0,e})();var Ps=se$2.EMPTY;function mo$1(e){return e instanceof se$2||e&&`closed`in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Ol(e){S(e)?e():e.unsubscribe()}var xe$1={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var wn$1={setTimeout(e,t,...n){let{delegate:r}=wn$1;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=wn$1;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function yo$1(e){wn$1.setTimeout(()=>{let{onUnhandledError:t}=xe$1;if(t)t(e);else throw e})}function rr$1(){}var kl=Ls(`C`,void 0,void 0);function Fl(e){return Ls(`E`,void 0,e)}function Pl(e){return Ls(`N`,e,void 0)}function Ls(e,t,n){return{kind:e,value:t,error:n}}var $t$1=null;function Cn$1(e){if(xe$1.useDeprecatedSynchronousErrorHandling){let t=!$t$1;if(t&&($t$1={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=$t$1;if($t$1=null,n)throw r}}else e()}function Ll(e){xe$1.useDeprecatedSynchronousErrorHandling&&$t$1&&($t$1.errorThrown=!0,$t$1.error=e)}var Gt$1=class extends se$2{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,mo$1(t)&&t.add(this)):this.destination=Jy}static create(t,n,r){return new Tn$1(t,n,r)}next(t){this.isStopped?Bs(Pl(t),this):this._next(t)}error(t){this.isStopped?Bs(Fl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Bs(kl,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()}}};var Qy=Function.prototype.bind;function js(e,t){return Qy.call(e,t)}var Vs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){vo$1(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){vo$1(r)}else vo$1(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){vo$1(n)}}};var Tn$1=class extends Gt$1{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&xe$1.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&js(t.next,i),error:t.error&&js(t.error,i),complete:t.complete&&js(t.complete,i)}):o=t}this.destination=new Vs(o)}};function vo$1(e){xe$1.useDeprecatedSynchronousErrorHandling?Ll(e):yo$1(e)}function Xy(e){throw e}function Bs(e,t){let{onStoppedNotification:n}=xe$1;n&&wn$1.setTimeout(()=>n(e,t))}var Jy={closed:!0,next:rr$1,error:Xy,complete:rr$1};var bn$1=typeof Symbol==`function`&&Symbol.observable||`@@observable`;function Re$1(e){return e}function ev(...e){return Hs(e)}function Hs(e){return e.length===0?Re$1:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k$1=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=nv(t)?t:new Tn$1(t,n,r);return Cn$1(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=jl(n),new n((r,o)=>{let i=new Tn$1({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[bn$1](){return this}pipe(...t){return Hs(t)(this)}toPromise(t){return t=jl(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};k$1.create=e=>new k$1(e);function jl(e){var t;return(t=e??xe$1.Promise)!==null&&t!==void 0?t:Promise}function tv(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function nv(e){return e&&e instanceof Gt$1||tv(e)&&mo$1(e)}function rv(e){return S(e?.lift)}function P(e){return t=>{if(rv(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 B$1(e,t,n,r,o){return new Us(e,t,n,r,o)}var Us=class extends Gt$1{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Bl=In$1(e=>function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`});var ve$1=class extends k$1{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new Do$1(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new Bl}next(t){Cn$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){Cn$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){Cn$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?Ps:(this.currentObservers=null,o.push(t),new se$2(()=>{this.currentObservers=null,nr$1(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new k$1;return t.source=this,t}};ve$1.create=(e,t)=>new Do$1(e,t);var Do$1=class extends ve$1{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:Ps}};var or$1=class extends ve$1{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 ir$1=new k$1(e=>e.complete());function Vl(e){return e&&S(e.schedule)}function Hl(e){return e[e.length-1]}function Ul(e){return S(Hl(e))?e.pop():void 0}function yt$1(e){return Vl(Hl(e))?e.pop():void 0}function Gl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function $l(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 zt$1(e){return this instanceof zt$1?(this.v=e,this):new zt$1(e)}function zl(e,t,n){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),a(`next`),a(`throw`),a(`return`,s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(D,v){i.push([f,g,D,v])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(g){p(i[0][3],g)}}function u(f){f.value instanceof zt$1?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c(`next`,f)}function d(f){c(`throw`,f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Wl(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 $l==`function`?$l(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Eo$1=(e=>e&&typeof e.length==`number`&&typeof e!=`function`);function Io$1(e){return S(e?.then)}function wo$1(e){return S(e[bn$1])}function Co(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function To$1(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 ov(){return typeof Symbol!=`function`||!Symbol.iterator?`@@iterator`:Symbol.iterator}var bo$1=ov();function So$1(e){return S(e?.[bo$1])}function _o$1(e){return zl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield zt$1(n.read());if(o)return yield zt$1(void 0);yield yield zt$1(r)}}finally{n.releaseLock()}})}function Mo$1(e){return S(e?.getReader)}function Q$1(e){if(e instanceof k$1)return e;if(e!=null){if(wo$1(e))return iv(e);if(Eo$1(e))return sv(e);if(Io$1(e))return av(e);if(Co(e))return ql(e);if(So$1(e))return cv(e);if(Mo$1(e))return uv(e)}throw To$1(e)}function iv(e){return new k$1(t=>{let n=e[bn$1]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError(`Provided object does not correctly implement Symbol.observable`)})}function sv(e){return new k$1(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function av(e){return new k$1(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,yo$1)})}function cv(e){return new k$1(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ql(e){return new k$1(t=>{lv(e,t).catch(n=>t.error(n))})}function uv(e){return ql(_o$1(e))}function lv(e,t){var n,r,o,i;return Gl(this,void 0,void 0,function*(){try{for(n=Wl(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 fe$1(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 No$1(e,t=0){return P((n,r)=>{n.subscribe(B$1(r,o=>fe$1(r,e,()=>r.next(o),t),()=>fe$1(r,e,()=>r.complete(),t),o=>fe$1(r,e,()=>r.error(o),t)))})}function Ao$1(e,t=0){return P((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Yl(e,t){return Q$1(e).pipe(Ao$1(t),No$1(t))}function Zl(e,t){return Q$1(e).pipe(Ao$1(t),No$1(t))}function Kl(e,t){return new k$1(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ql(e,t){return new k$1(n=>{let r;return fe$1(n,t,()=>{r=e[bo$1](),fe$1(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)}),()=>S(r?.return)&&r.return()})}function xo(e,t){if(!e)throw new Error(`Iterable cannot be null`);return new k$1(n=>{fe$1(n,t,()=>{let r=e[Symbol.asyncIterator]();fe$1(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Xl(e,t){return xo(_o$1(e),t)}function Jl(e,t){if(e!=null){if(wo$1(e))return Yl(e,t);if(Eo$1(e))return Kl(e,t);if(Io$1(e))return Zl(e,t);if(Co(e))return xo(e,t);if(So$1(e))return Ql(e,t);if(Mo$1(e))return Xl(e,t)}throw To$1(e)}function vt$1(e,t){return t?Jl(e,t):Q$1(e)}function $s(...e){return vt$1(e,yt$1(e))}function dv(e,t){let n=S(e)?e:()=>e,r=o=>o.error(n());return new k$1(t?o=>t.schedule(r,0,o):r)}function fv(e){return!!e&&(e instanceof k$1||S(e.lift)&&S(e.subscribe))}var sr$1=In$1(e=>function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`});function Wt$1(e,t){return P((n,r)=>{let o=0;n.subscribe(B$1(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:pv}=Array;function hv(e,t){return pv(t)?e(...t):e(t)}function ed(e){return Wt$1(t=>hv(e,t))}var{isArray:gv}=Array,{getPrototypeOf:mv,prototype:yv,keys:vv}=Object;function td(e){if(e.length===1){let t=e[0];if(gv(t))return{args:t,keys:null};if(Dv(t)){let n=vv(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Dv(e){return e&&typeof e==`object`&&mv(e)===yv}function nd(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ev(...e){let t=yt$1(e),n=Ul(e),{args:r,keys:o}=td(e);if(r.length===0)return vt$1([],t);let i=new k$1(Iv(r,t,o?s=>nd(o,s):Re$1));return n?i.pipe(ed(n)):i}function Iv(e,t,n=Re$1){return r=>{rd(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)rd(t,()=>{let u=vt$1(e[c],t),l=!1;u.subscribe(B$1(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function rd(e,t,n){e?fe$1(n,e,t):t()}function od(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u<r?h(g):c.push(g),h=g=>{i&&t.next(g),u++;let D=!1;Q$1(n(g,l++)).subscribe(B$1(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let v=c.shift();s?fe$1(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(B$1(t,f,()=>{d=!0,p()})),()=>{a?.()}}function qt$1(e,t,n=Infinity){return S(t)?qt$1((r,o)=>Wt$1((i,s)=>t(r,i,o,s))(Q$1(e(r,o))),n):(typeof t==`number`&&(n=t),P((r,o)=>od(r,o,e,n)))}function id(e=Infinity){return qt$1(Re$1,e)}function sd(){return id(1)}function Ro$1(...e){return sd()(vt$1(e,yt$1(e)))}function wv(e){return new k$1(t=>{Q$1(e()).subscribe(t)})}function Gs(e,t){return P((n,r)=>{let o=0;n.subscribe(B$1(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ad(e){return P((t,n)=>{let r=null,o=!1,i;r=t.subscribe(B$1(n,void 0,void 0,s=>{i=Q$1(e(s,ad(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Cv(e,t){return S(t)?qt$1(e,t,1):qt$1(e,1)}function cd(e){return P((t,n)=>{let r=!1;t.subscribe(B$1(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function zs(e){return e<=0?()=>ir$1:P((t,n)=>{let r=0;t.subscribe(B$1(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ud(e=Tv){return P((t,n)=>{let r=!1;t.subscribe(B$1(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Tv(){return new sr$1}function bv(e){return P((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Sv(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Gs((o,i)=>e(o,i,r)):Re$1,zs(1),n?cd(t):ud(()=>new sr$1))}function _v(e){return e<=0?()=>ir$1:P((t,n)=>{let r=[];t.subscribe(B$1(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 Mv(...e){let t=yt$1(e);return P((n,r)=>{(t?Ro$1(e,n,t):Ro$1(e,n)).subscribe(r)})}function Nv(e,t){return P((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(B$1(r,c=>{o?.unsubscribe();let u=0,l=i++;Q$1(e(c,l)).subscribe(o=B$1(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Av(e){return P((t,n)=>{Q$1(e).subscribe(B$1(n,()=>n.complete(),rr$1)),!n.closed&&t.subscribe(n)})}function xv(e,t,n){let r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?P((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(B$1(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Re$1}var Bo=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`;var E=class extends Error{code;constructor(t,n){super(We(t,n)),this.code=t}};function Rv(e){return`NG0${Math.abs(e)}`}function We(e,t){return`${Rv(e)}${t?`: `+t:``}`}function L$2(e){for(let t in e)if(e[t]===L$2)return t;throw Error(``)}function dr$1(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(dr$1).join(`, `)}]`;if(e==null)return``+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return``+n;let r=n.indexOf(`
`);return r>=0?n.slice(0,r):n}function Vo(e,t){return e?t?`${e} ${t}`:e:t||``}var Ov=L$2({__forward_ref__:L$2});function Ho(e){return e.__forward_ref__=Ho,e}function Ee(e){return gd(e)?e():e}function gd(e){return typeof e==`function`&&Object.hasOwn(e,Ov)&&e.__forward_ref__===Ho}function md(e,t,n){e!=t&&yd(n,e,t,`==`)}function yd(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?``:` [Expected=> ${n} ${r} ${t} <=Actual]`))}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fr(e){return{providers:e.providers||[],imports:e.imports||[]}}function pr(e){return Fv(e,Uo)}function kv(e){return pr(e)!==null}function Fv(e,t){return Object.hasOwn(e,t)&&e[t]||null}function Pv(e){return(e?.[Uo]??null)||null}function qs(e){return e&&Object.hasOwn(e,ko)?e[ko]:null}var Uo=L$2({ɵprov:L$2});var ko=L$2({ɵinj:L$2});var I=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;constructor(t,n){this._desc=t,this.ɵprov=void 0,typeof n==`number`?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.ɵprov=x({token:this,providedIn:n.providedIn||`root`,factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ua(e){return e&&!!e.ɵproviders}var la=L$2({ɵcmp:L$2});var da=L$2({ɵdir:L$2});var fa=L$2({ɵpipe:L$2});var pa=L$2({ɵmod:L$2});var Ys=L$2({ɵfac:L$2});var Qt$1=L$2({__NG_ELEMENT_ID__:L$2});var ld=L$2({__NG_ENV_ID__:L$2});function vd(e){return Go(e,`@NgModule`),e[pa]||null}function It(e){return Go(e,`@Component`),e[la]||null}function $o(e){return Go(e,`@Directive`),e[da]||null}function ha(e){return Go(e,`@Pipe`),e[fa]||null}function Go(e,t){if(e==null)throw new E(-919,!1)}function Nn$1(e){return typeof e==`string`?e:e==null?``:String(e)}var Dd=L$2({ngErrorCode:L$2});var Lv=L$2({ngErrorMessage:L$2});var jv=L$2({ngTokenPath:L$2});function ga(e,t){return Ed(``,-200,t)}function zo(e,t){throw new E(-201,!1)}function Ed(e,t,n){let r=new E(t,e);return r[Dd]=t,r[Lv]=e,n&&(r[jv]=n),r}function Bv(e){return e[Dd]}var Zs;function Id(){return Zs}function De$1(e){let t=Zs;return Zs=e,t}function ma(e,t,n){let r=pr(e);if(r&&r.providedIn==`root`)return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;zo(e,``)}var wt$1=globalThis;var Yt$1={};var Hv=`__NG_DI_FLAG__`;var Ks=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Zt$1(n)||0;try{return this.injector.get(t,r&8?null:Yt$1,r)}catch(o){if(En$1(o))return o;throw o}}};function Uv(e,t=0){let n=ho$1();if(n===void 0)throw new E(-203,!1);if(n===null)return ma(e,void 0,t);{let r=$v(t),o=n.retrieve(e,r);if(En$1(o)){if(r.optional)return null;throw o}return o}}function M(e,t=0){return(Id()||Uv)(Ee(e),t)}function m$1(e,t){return M(e,Zt$1(t))}function Zt$1(e){return typeof e>`u`||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $v(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Qs(e){let t=[];for(let n=0;n<e.length;n++){let r=Ee(e[n]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Gv(a);typeof c==`number`?c===-1?o=a.token:i|=c:o=a}t.push(M(o,i))}else t.push(M(r))}return t}function Gv(e){return e[Hv]}function _n$1(e,t){return Object.hasOwn(e,Ys)?e[Ys]:null}function Wo(e,t){e.forEach(n=>Array.isArray(n)?Wo(n,t):t(n))}function ya(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function hr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wd(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Cd(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;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}function qo(e,t,n){let r=An$1(e,t);return r>=0?e[r|1]=n:(r=~r,Cd(e,r,t,n)),r}function Yo(e,t){let n=An$1(e,t);if(n>=0)return e[n|1]}function An$1(e,t){return zv(e,t,1)}function zv(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Xt$1={};var ae=[];var it$1=new I(``);var gr=new I(``,-1);var va=new I(``);var Mn$1=class{get(t,n=Yt$1){if(n===Yt$1){let o=Ed(``,-201);throw o.name=`ɵNotFound`,o}return n}};function st$1(e){return{ɵproviders:e}}function Td(e){return st$1([{provide:it$1,multi:!0,useValue:e}])}function bd(...e){return{ɵproviders:Zo(!0,e),ɵfromNgModule:!0}}function Zo(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Wo(t,s=>{let a=s;Fo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Sd(o,i),n}function Sd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Da(o,i=>{t(i,r)})}}function Fo(e,t,n,r){if(e=Ee(e),!e)return!1;let o=null,i=qs(e),s=!i&&It(e);if(!i&&!s){let c=e.ngModule;if(i=qs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies==`function`?s.dependencies():s.dependencies;for(let u of c)Fo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Wo(i.imports,l=>{Fo(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Sd(u,t)}if(!a){let u=_n$1(o)||(()=>new o);t({provide:o,useFactory:u,deps:ae},o),t({provide:va,useValue:o,multi:!0},o),t({provide:it$1,useValue:()=>M(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Da(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Da(e,t){for(let n of e)ua(n)&&(n=n.ɵproviders),Array.isArray(n)?Da(n,t):t(n)}var Wv=L$2({provide:String,useValue:L$2});function _d(e){return e!==null&&typeof e==`object`&&Wv in e}function qv(e){return!!(e&&e.useExisting)}function Yv(e){return!!(e&&e.useFactory)}function Po(e){return typeof e==`function`}var mr=new I(``);var Oo={};var dd={};var Ws;function yr(){return Ws===void 0&&(Ws=new Mn$1),Ws}var pe$2=class{};var Kt$1=class extends pe$2{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Js(t,s=>this.processProvider(s)),this.records.set(gr,Sn$1(void 0,this)),o.has(`environment`)&&this.records.set(pe$2,Sn$1(void 0,this));let i=this.records.get(mr);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(va,ae,{self:!0}))}retrieve(t,n){let r=Zt$1(n)||0;try{return this.get(t,Yt$1,r)}catch(o){if(En$1(o))return o;throw o}}destroy(){ar$1(this),this._destroyed=!0;let t=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return ar$1(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ar$1(this);let n=ze$1(this),r=De$1(void 0);try{return t()}finally{ze$1(n),De$1(r)}}get(t,n=Yt$1,r){if(ar$1(this),Object.hasOwn(t,ld))return t[ld](this);let o=Zt$1(r),s=ze$1(this),a=De$1(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=Jv(t)&&pr(t);l&&this.injectableDefInScope(l)?u=Sn$1(Xs(t),Oo):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?yr():this.parent;return n=o&8&&n===Yt$1?null:n,c.get(t,n)}catch(c){let u=Bv(c);throw u===-200||u===-201?new E(u,null):c}finally{De$1(a),ze$1(s)}}resolveInjectorInitializers(){let t=C(null),n=ze$1(this),r=De$1(void 0);try{let i=this.get(it$1,ae,{self:!0});for(let s of i)s()}finally{ze$1(n),De$1(r),C(t)}}toString(){return`R3Injector[...]`}processProvider(t){t=Ee(t);let n=Po(t)?t:Ee(t&&t.provide),r=Kv(t);if(!Po(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Sn$1(void 0,Oo,!0),o.factory=()=>Qs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=C(null);try{if(n.value===dd)throw ga(``);return n.value===Oo&&(n.value=dd,n.value=n.factory(void 0,r)),typeof n.value==`object`&&n.value&&Xv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Ee(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 Xs(e){let t=pr(e),n=t!==null?t.factory:_n$1(e);if(n!==null)return n;if(e instanceof I)throw new E(-204,!1);if(e instanceof Function)return Zv(e);throw new E(-204,!1)}function Zv(e){if(e.length>0)throw new E(-204,!1);let n=Pv(e);return n!==null?()=>n.factory(e):()=>new e}function Kv(e){if(_d(e))return Sn$1(void 0,e.useValue);return Sn$1(Md(e),Oo)}function Md(e,t,n){let r;if(Po(e)){let o=Ee(e);return _n$1(o)||Xs(o)}else if(_d(e))r=()=>Ee(e.useValue);else if(Yv(e))r=()=>e.useFactory(...Qs(e.deps||[]));else if(qv(e))r=(o,i)=>M(Ee(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Ee(e&&(e.useClass||e.provide));if(Qv(e))r=()=>new o(...Qs(e.deps));else return _n$1(o)||Xs(o)}return r}function ar$1(e){if(e.destroyed)throw new E(-205,!1)}function Sn$1(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qv(e){return!!e.deps}function Xv(e){return e!==null&&typeof e==`object`&&typeof e.ngOnDestroy==`function`}function Jv(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function Js(e,t){for(let n of e)Array.isArray(n)?Js(n,t):n&&ua(n)?Js(n.ɵproviders,t):t(n)}function vr(e,t){let n;e instanceof Kt$1?(ar$1(e),n=e):n=new Ks(e);let o=ze$1(n),i=De$1(void 0);try{return t()}finally{ze$1(o),De$1(i)}}function Nd(){return Id()!==void 0||ho$1()!=null}var ce$1=0;var y=1;var T=2;var q$1=3;var Se$1=4;var X=5;var ue=6;var xn$1=7;var G=8;var re$1=9;var Fe=10;var R$1=11;var Rn$1=12;var Ea=13;var Ct$1=14;var J=15;var Jt$1=16;var en$1=17;var tn$1=18;var qe$1=19;var Ia=20;var nt$1=21;var Ko=22;var On$1=23;var Ie$1=24;var nn$1=25;var Ye=26;var O=27;var Ad=1;var we$1=6;var at$1=7;var Dr=8;var Er=9;var H$1=10;function _e$2(e){return Array.isArray(e)&&typeof e[Ad]==`object`}function ge$2(e){return Array.isArray(e)&&e[Ad]===!0}function wa(e){return(e.flags&4)!==0}function Ze$1(e){return e.componentOffset>-1}function kn$1(e){return(e.flags&1)===1}function rn$1(e){return!!e.template}function on$1(e){return(e[T]&512)!==0}function Tt(e){return(e[T]&256)===256}var j=(function(e){return e[e.NONE=0]=`NONE`,e[e.HTML=1]=`HTML`,e[e.STYLE=2]=`STYLE`,e[e.SCRIPT=3]=`SCRIPT`,e[e.URL=4]=`URL`,e[e.RESOURCE_URL=5]=`RESOURCE_URL`,e[e.ATTRIBUTE_NO_BINDING=6]=`ATTRIBUTE_NO_BINDING`,e})(j||{});var cr$1;var Et=`svg`;var Qo=`math`;var ea=``;var fd=`*`;var ta=()=>Object.create(null);function eD(){return cr$1||(cr$1=ta(),Dt(j.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),Dt(j.STYLE,void 0,[[`*`,[`style`]]]),Dt(j.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),Dt(j.URL,Qo,[[`*`,[`href`,`xlink:href`]]]),Dt(j.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),Dt(j.URL,Et,[[`a`,[`href`,`xlink:href`]]]),Dt(j.ATTRIBUTE_NO_BINDING,Et,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),Dt(j.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),cr$1)}function Dt(e,t,n){let r=t??ea;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),u=cr$1[c]??=ta(),l=u[r]??=ta();l[s]=e}}}function Ir(e,t,n){let o=eD()[t.toLowerCase()];if(!o)return j.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[fd])}if(s===void 0){let a=o[ea];a&&(s=a[i]??a[fd])}if(s===void 0&&(!n||n===ea)){let a=o[Et];a&&(s=a[i])}return s??j.NONE}function Z$1(e){for(;Array.isArray(e);)e=e[ce$1];return e}function Ca(e,t){return Z$1(t[e])}function le(e,t){return Z$1(t[e.index])}function Fn$1(e,t){return e.data[t]}function xd(e,t){return e[t]}function Me(e,t){let n=t[e];return _e$2(n)?n:n[ce$1]}function Xo(e){return(e[T]&128)===128}function Rd(e){return ge$2(e[q$1])}function me$2(e,t){return t==null?null:e[t]}function Ta(e){e[en$1]=0}function Jo(e){e[T]&1024||(e[T]|=1024,Xo(e)&&Pn$1(e))}function Od(e,t){for(;e>0;)t=t[Ct$1],e--;return t}function wr(e){return!!(e[T]&9216||e[Ie$1]?.dirty)}function ei$1(e){e[Fe].changeDetectionScheduler?.notify(8),e[T]&64&&(e[T]|=1024),wr(e)&&Pn$1(e)}function Pn$1(e){e[Fe].changeDetectionScheduler?.notify(0);let t=rt$1(e);for(;t!==null&&!(t[T]&8192||(t[T]|=8192,!Xo(t)));)t=rt$1(t)}function Cr(e,t){if(Tt(e))throw new E(911,!1);e[nt$1]===null&&(e[nt$1]=[]),e[nt$1].push(t)}function ba(e,t){if(e[nt$1]===null)return;let n=e[nt$1].indexOf(t);n!==-1&&e[nt$1].splice(n,1)}function rt$1(e){let t=e[q$1];return ge$2(t)?t[q$1]:t}function kd(e){return e[xn$1]??=[]}function Fd(e){return e.cleanup??=[]}var _$1={lFrame:Zd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var na=!1;function Pd(){return _$1.lFrame.elementDepthCount}function Ld(){_$1.lFrame.elementDepthCount++}function Sa(){_$1.lFrame.elementDepthCount--}function ti$1(){return _$1.bindingsEnabled}function ni$1(){return _$1.skipHydrationRootTNode!==null}function _a(e){return _$1.skipHydrationRootTNode===e}function jd(e){_$1.skipHydrationRootTNode=e}function Ma(){_$1.skipHydrationRootTNode=null}function b$1(){return _$1.lFrame.lView}function Y$1(){return _$1.lFrame.tView}function Bd(e){return _$1.lFrame.contextLView=e,e[G]}function Vd(e){return _$1.lFrame.contextLView=null,e}function ee(){let e=Na();for(;e!==null&&e.type===64;)e=e.parent;return e}function Na(){return _$1.lFrame.currentTNode}function Ln$1(){let e=_$1.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ct$1(e,t){let n=_$1.lFrame;n.currentTNode=e,n.isParent=t}function Aa(){return _$1.lFrame.isParent}function xa(){_$1.lFrame.isParent=!1}function Hd(){return _$1.lFrame.contextLView}function Ra(){return na}function Oa(e){let t=na;return na=e,t}function Ud(){let e=_$1.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $d(e){return _$1.lFrame.bindingIndex=e}function sn$1(){return _$1.lFrame.bindingIndex++}function ka(e){let t=_$1.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gd(){return _$1.lFrame.inI18n}function Fa(e){_$1.lFrame.inI18n=e}function zd(e,t){let n=_$1.lFrame;n.bindingIndex=n.bindingRootIndex=e,ri$1(t)}function Wd(){return _$1.lFrame.currentDirectiveIndex}function ri$1(e){_$1.lFrame.currentDirectiveIndex=e}function qd(e){let t=_$1.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Pa(e){_$1.lFrame.currentQueryIndex=e}function tD(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[X]:null}function La(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=tD(i),o===null||(i=i[Ct$1],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_$1.lFrame=Yd();return r.currentTNode=t,r.lView=e,!0}function oi$1(e){let t=Yd(),n=e[y];_$1.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yd(){let e=_$1.lFrame,t=e===null?null:e.child;return t===null?Zd(e):t}function Zd(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 Kd(){let e=_$1.lFrame;return _$1.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ja=Kd;function ii$1(){let e=Kd();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 Qd(e){return(_$1.lFrame.contextLView=Od(e,_$1.lFrame.contextLView))[G]}function Pe$1(){return _$1.lFrame.selectedIndex}function bt$1(e){_$1.lFrame.selectedIndex=e}function jn$1(){let e=_$1.lFrame;return Fn$1(e.tView,e.selectedIndex)}function Xd(){_$1.lFrame.currentNamespace=Et}function Jd(){nD()}function nD(){_$1.lFrame.currentNamespace=null}function si$1(){return _$1.lFrame.currentNamespace}var ef=!0;function Tr(){return ef}function Ke(e){ef=e}function Ba(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function ra(e,t=null,n=null,r){let o=Va(e,t,n,r);return o.resolveInjectorInitializers(),o}function Va(e,t=null,n=null,r,o=new Set){return new Kt$1([n||ae,bd(e)],t||yr(),null,o)}var he$1=class e{static THROW_IF_NOT_FOUND=Yt$1;static NULL=new Mn$1;static create(t,n){if(Array.isArray(t))return ra({name:``},n,t,``);{let r=t.name??``;return ra({name:r},t.parent,t.providers,r)}}static ɵprov=x({token:e,providedIn:`any`,factory:()=>M(gr)});static __NG_ELEMENT_ID__=-1};var V=new I(``);var Oe$1=class{static __NG_ELEMENT_ID__=rD;static __NG_ENV_ID__=t=>t};var oa=class extends Oe$1{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Tt(this._lView)}onDestroy(t){let n=this._lView;return Cr(n,t),()=>ba(n,t)}};function rD(){return new oa(b$1())}var tf=!1;var nf=new I(``);var St$1=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new or$1(!1);debugTaskTracker=m$1(nf,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k$1(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=x({token:e,providedIn:`root`,factory:()=>new e})}return e})();var ia=class extends ve$1{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Nd()&&(this.destroyRef=m$1(Oe$1,{optional:!0})??void 0,this.pendingTasks=m$1(St$1,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t==`object`){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof se$2&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}};var tt$1=ia;function Lo(...e){}function Ha(e){let t,n;function r(){e=Lo;try{n!==void 0&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame==`function`&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function rf(e){return queueMicrotask(()=>e()),()=>{e=Lo}}var Ua=`isAngularZone`;var ur$1=Ua+`_ID`;var oD=0;var oe$1=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new tt$1(!1);onMicrotaskEmpty=new tt$1(!1);onStable=new tt$1(!1);onError=new tt$1(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=tf}=t;if(typeof Zone>`u`)throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,aD(s)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get(Ua)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(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,iD,Lo,Lo);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)}};var iD={};function $a(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 sD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ha(()=>{e.callbackScheduled=!1,sa(e),e.isCheckStableRunning=!0,$a(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),sa(e)}function aD(e){let t=()=>{sD(e)},n=oD++;e._inner=e._inner.fork({name:`angular`,properties:{[Ua]:!0,[ur$1]:n,[ur$1+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(cD(c))return r.invokeTask(i,s,a,c);try{return pd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&t(),hd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return pd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!uD(c)&&t(),hd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change==`microTask`?(e._hasPendingMicrotasks=s.microTask,sa(e),$a(e)):s.change==`macroTask`&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function sa(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function pd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hd(e){e._nesting--,$a(e)}var lr$1=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new tt$1;onMicrotaskEmpty=new tt$1;onStable=new tt$1;onError=new tt$1;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function cD(e){return of(e,`__ignore_ng_zone__`)}function uD(e){return of(e,`__scheduler_tick__`)}function of(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ke$1=class{_console=console;handleError(t){this._console.error(`ERROR`,t)}};var ut$1=new I(``,{factory:()=>{let e=m$1(oe$1),t=m$1(pe$2),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ke$1),n.handleError(r))})}}});var sf={provide:it$1,useValue:()=>{m$1(ke$1,{optional:!0})},multi:!0};var lD=new I(``,{factory:()=>{let e=m$1(V).defaultView;if(!e)return;let t=m$1(ut$1),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener(`unhandledrejection`,n),e.addEventListener(`error`,r)};typeof Zone<`u`?Zone.root.run(o):o(),m$1(Oe$1).onDestroy(()=>{e.removeEventListener(`error`,r),e.removeEventListener(`unhandledrejection`,n)})}});function dD(){return st$1([Td(()=>{m$1(lD)})])}function ai$1(e,t){let[n,r,o]=Rs(e,t?.equal),i=n;i[ne$1];return i.set=r,i.update=o,i.asReadonly=ci$1.bind(i),i}function ci$1(){let e=this[ne$1];if(e.readonlyFn===void 0){let t=()=>this();t[ne$1]=e,e.readonlyFn=t}return e.readonlyFn}var Le$1=new I(``,{factory:()=>fD});var fD=`ng`;var ui$1=new I(``);var br=new I(``,{providedIn:`platform`,factory:()=>`unknown`});var Sr=new I(``,{factory:()=>m$1(V).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null});function jo(){return Object.create(null)}var _t=(()=>{class e{static ɵprov=x({token:e,providedIn:`root`,factory:()=>{let n=new e;return n.store=af(m$1(V),m$1(Le$1)),n}});store=jo();onSerializeCallbacks=jo();get(n,r){if(!Object.hasOwn(this.store,n))return r;let o=this.store[n];return o!==void 0?o:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return Object.hasOwn(this.store,n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(Object.hasOwn(this.onSerializeCallbacks,n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn(`Exception in onSerialize callback: `,r)}return JSON.stringify(this.store).replace(/</g,`\\u003C`).replace(/\//g,`\\u002F`)}}return e})();function af(e,t){let n=e.getElementById(t+`-state`);if(n?.tagName===`SCRIPT`&&n.textContent)try{return Object.assign(jo(),JSON.parse(n.textContent))}catch(r){console.warn(`Exception while restoring TransferState for app `+t,r)}return jo()}var li$1=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=pD}return e})();function pD(){return new li$1(b$1(),ee())}var ot$1=class{};var _r=new I(``,{factory:()=>!0});var Ga=new I(``);var za=(()=>{class e{static ɵprov=x({token:e,providedIn:`root`,factory:()=>new aa})}return e})();var aa=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};var Mr=(()=>{class e{internalPendingTasks=m$1(St$1);scheduler=m$1(ot$1);errorHandler=m$1(ut$1);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static ɵprov=x({token:e,providedIn:`root`,factory:()=>new e})}return e})();var di$1={JSACTION:`jsaction`};var Vc=Symbol(`InputSignalNode#UNSET`);var np=te$1(U({},tr$1),{transformFn:void 0,applyValueToInputSignal(e,t){mt$1(e,t)}});function Bi$1(e){return{toString:e}.toString()}var A=(function(e){return e[e.TemplateCreateStart=0]=`TemplateCreateStart`,e[e.TemplateCreateEnd=1]=`TemplateCreateEnd`,e[e.TemplateUpdateStart=2]=`TemplateUpdateStart`,e[e.TemplateUpdateEnd=3]=`TemplateUpdateEnd`,e[e.LifecycleHookStart=4]=`LifecycleHookStart`,e[e.LifecycleHookEnd=5]=`LifecycleHookEnd`,e[e.OutputStart=6]=`OutputStart`,e[e.OutputEnd=7]=`OutputEnd`,e[e.BootstrapApplicationStart=8]=`BootstrapApplicationStart`,e[e.BootstrapApplicationEnd=9]=`BootstrapApplicationEnd`,e[e.BootstrapComponentStart=10]=`BootstrapComponentStart`,e[e.BootstrapComponentEnd=11]=`BootstrapComponentEnd`,e[e.ChangeDetectionStart=12]=`ChangeDetectionStart`,e[e.ChangeDetectionEnd=13]=`ChangeDetectionEnd`,e[e.ChangeDetectionSyncStart=14]=`ChangeDetectionSyncStart`,e[e.ChangeDetectionSyncEnd=15]=`ChangeDetectionSyncEnd`,e[e.AfterRenderHooksStart=16]=`AfterRenderHooksStart`,e[e.AfterRenderHooksEnd=17]=`AfterRenderHooksEnd`,e[e.ComponentStart=18]=`ComponentStart`,e[e.ComponentEnd=19]=`ComponentEnd`,e[e.DeferBlockStateStart=20]=`DeferBlockStateStart`,e[e.DeferBlockStateEnd=21]=`DeferBlockStateEnd`,e[e.DynamicComponentStart=22]=`DynamicComponentStart`,e[e.DynamicComponentEnd=23]=`DynamicComponentEnd`,e[e.HostBindingsUpdateStart=24]=`HostBindingsUpdateStart`,e[e.HostBindingsUpdateEnd=25]=`HostBindingsUpdateEnd`,e})(A||{});var Ci$1=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function rp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var op=null;var Hc=(()=>{op=cf;let e=()=>cf;return e.ngInherit=!0,e})();function TD(){return op}function cf(e){return e.type.prototype.ngOnChanges&&(e.setInput=SD),bD}function bD(){let e=ip(this),t=e?.current;if(t){let n=e.previous;if(n===Xt$1)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function SD(e,t,n,r,o){let i=this.declaredInputs[r],s=ip(e)||_D(e,{previous:Xt$1,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ci$1(u&&u.currentValue,n,c===Xt$1),rp(e,t,o,n)}var rc=`__ngSimpleChanges__`;function ip(e){return Object.hasOwn(e,rc)&&e[rc]||null}function _D(e,t){return e[rc]=t}var uf=[];var F$1=function(e,t=null,n){for(let r=0;r<uf.length;r++){let o=uf[r];o(e,t,n)}};function MD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=TD()(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 sp(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=e.data[n].type.prototype;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function yi$1(e,t,n){ap(e,t,3,n)}function vi$1(e,t,n,r){(e[T]&3)===n&&ap(e,t,n,r)}function Wa(e,t){let n=e[T];(n&3)===t&&(n&=16383,n+=1,e[T]=n)}function ap(e,t,n,r){let o=r!==void 0?e[en$1]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]==`number`){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[en$1]+=65536),(a<i||i==-1)&&(ND(e,n,t,c),e[en$1]=(e[en$1]&4294901760)+c+2),c++}function lf(e,t){F$1(A.LifecycleHookStart,e,t);let n=C(null);try{t.call(e)}finally{C(n),F$1(A.LifecycleHookEnd,e,t)}}function ND(e,t,n,r){let o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[T]>>14<e[en$1]>>16&&(e[T]&3)===t&&(e[T]+=16384,lf(a,i)):lf(a,i)}var Vn=-1;var Or=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function AD(e){return(e.flags&8)!==0}function xD(e){return(e.flags&16)!==0}function RD(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];OD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function cp(e){return e===3||e===4||e===6}function OD(e){return e.charCodeAt(0)===64}function Vi$1(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?df(e,n,o,null,t[++r]):df(e,n,o,null,null))}}return e}function df(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a==`number`){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a==`number`)break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function up(e){return e!==Vn}function Ti$1(e){return e&32767}function kD(e){return e>>16}function bi$1(e,t){let n=kD(e),r=t;for(;n>0;)r=r[Ct$1],n--;return r}var oc=!0;function ff(e){let t=oc;return oc=e,t}var lp=255;var dp=5;var PD=0;var Qe={};function LD(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:Object.hasOwn(n,Qt$1)&&(r=n[Qt$1]),r??=n[Qt$1]=PD++;let o=r&lp,i=1<<o;t.data[e+(o>>dp)]|=i}function fp(e,t){let n=pp(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,qa(r.data,e),qa(t,null),qa(r.blueprint,null));let o=Uc(e,t),i=e.injectorIndex;if(up(o)){let s=Ti$1(o),a=bi$1(o,t),c=a[y].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function qa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function pp(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Uc(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=vp(o),r===null)return Vn;if(n++,o=o[Ct$1],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Vn}function jD(e,t,n){LD(e,t,n)}function BD(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(cp(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 hp(e,t,n){if(n&8||e!==void 0)return e;zo(t,`NodeInjector`)}function gp(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[re$1],i=De$1(void 0);try{return o?o.get(t,r,n&8):ma(t,r,n&8)}finally{De$1(i)}}return hp(r,t,n)}function mp(e,t,n,r=0,o){if(e!==null){if(t[T]&2048&&!(r&2)){let s=GD(e,t,n,r,Qe);if(s!==Qe)return s}let i=yp(e,t,n,r,Qe);if(i!==Qe)return i}return gp(t,n,r,o)}function yp(e,t,n,r,o){let i=UD(n);if(typeof i==`function`){if(!La(t,e,r))return r&1?hp(o,n,r):gp(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))zo(n);else return s}finally{ja()}}else if(typeof i==`number`){let s=null,a=pp(e,t),c=Vn,u=r&1?t[J][X]:null;for((a===-1||r&4)&&(c=a===-1?Uc(e,t):t[a+8],c===Vn||!hf(r,!1)?a=-1:(s=t[y],a=Ti$1(c),t=bi$1(c,t)));a!==-1;){let l=t[y];if(pf(i,a,l.data)){let d=VD(a,t,n,s,r,u);if(d!==Qe)return d}c=t[a+8],c!==Vn&&hf(r,t[y].data[a+8]===u)&&pf(i,a,t)?(s=l,a=Ti$1(c),t=bi$1(c,t)):a=-1}}return o}function VD(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],l=HD(a,s,n,r==null?Ze$1(a)&&oc:r!=s&&(a.type&3)!==0,o&1&&i===a);return l!==null?ic(t,s,l,a,o):Qe}function HD(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&rn$1(f)&&f.type===n)return c}return null}function ic(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Or){let a=i;if(a.resolving)throw ga(``);let c=ff(a.canSeeViewProviders);a.resolving=!0;s[n].type||s[n];let d=a.injectImpl?De$1(a.injectImpl):null;La(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&MD(n,s[n],t)}finally{d!==null&&De$1(d),ff(c),a.resolving=!1,ja()}}return i}function UD(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=Object.hasOwn(e,Qt$1)?e[Qt$1]:void 0;return typeof t==`number`?t>=0?t&lp:$D:t}function pf(e,t,n){let r=1<<e;return!!(n[t+(e>>dp)]&r)}function hf(e,t){return!(e&2)&&!(e&1&&t)}var Nt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return mp(this._tNode,this._lView,t,Zt$1(r),n)}};function $D(){return new Nt(ee(),b$1())}function GD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[T]&2048&&!on$1(s);){let a=yp(i,s,n,r|2,Qe);if(a!==Qe)return a;r&=-5;let c=i.parent;if(!c){let u=s[Ia];if(u){let l=u.get(n,Qe,r);if(l!==Qe)return l}c=vp(s),s=s[Ct$1]}i=c}return o}function vp(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function $c(e){return BD(ee(),e)}var zD=()=>(typeof requestIdleCallback<`u`?requestIdleCallback:e=>setTimeout(e)).bind(globalThis);var WD=()=>(typeof requestIdleCallback<`u`?cancelIdleCallback:clearTimeout).bind(globalThis);var Dp=new I(``,{factory:()=>new sc});var sc=class{requestIdleCallback=zD();cancelIdleCallback=WD();requestOnIdle(t,n){return this.requestIdleCallback(t,n)}cancelOnIdle(t){return this.cancelIdleCallback(t)}};function Rt$1(e){return{token:e.token,providedIn:e.autoProvided===!1?null:`root`,factory:e.factory,value:void 0}}function qD(){return Hi$1(ee(),b$1())}function Hi$1(e,t){return new Ui$1(le(e,t))}var Ui$1=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=qD}return e})();var Ep=`ngSkipHydration`;var YD=`ngskiphydration`;function Ip(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()===YD)return!0}return!1}function wp(e){return e.hasAttribute(Ep)}function Si$1(e){return(e.flags&128)===128}function Cp(e){if(Si$1(e))return!0;let t=e.parent;for(;t;){if(Si$1(e)||Ip(t))return!0;t=t.parent}return!1}var Gc=(function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e})(Gc||{});var Tp=new Map;var ZD=0;function KD(){return ZD++}function QD(e){Tp.set(e[qe$1],e)}function ac(e){Tp.delete(e[qe$1])}var gf=`__ngContext__`;function Un$1(e,t){_e$2(t)?(e[gf]=t[qe$1],QD(t)):e[gf]=t}function bp(e){return _p(e[Rn$1])}function Sp(e){return _p(e[Se$1])}function _p(e){for(;e!==null&&!ge$2(e);)e=e[Se$1];return e}var cc;function zc(e){cc=e}function Ur(){if(cc!==void 0)return cc;if(typeof document<`u`)return document;throw new E(210,!1)}var Mp=`h`;var Np=`b`;var XD=`f`;var JD=`n`;var Ap=`e`;var xp=`t`;var $i$1=`c`;var Wc=`x`;var kr=`r`;var Rp=`i`;var Op=`n`;var qc=`d`;var Yc=`di`;var Zc=`s`;var kp=`p`;var $r=new I(``);var Fp=!1;var Kc=new I(``,{factory:()=>Fp});var Qc=new I(``);var Pp=!1;var Lp=new I(``,{factory:()=>[]});var Xc=new I(``);var Jc=new I(``,{factory:()=>new Map});var Gr$1=`ngb`;var jp=(e,t,n)=>{let r=e,o=r.__jsaction_fns??new Map,i=o.get(t)??[];i.push(n),o.set(t,i),r.__jsaction_fns=o};var Bp=(e,t)=>{let n=e,r=n.getAttribute(Gr$1)??``,o=t.get(r)??new Set;o.has(n)||o.add(n),t.set(r,o)};var Vp=e=>{e.removeAttribute(di$1.JSACTION),e.removeAttribute(Gr$1),e.__jsaction_fns=void 0};var Hp=new I(``,{factory:()=>({})});var uc=new WeakMap;function eE(e,t){if(e==null||typeof e!=`object`)return;let n=uc.get(e);n||(n=new WeakSet,uc.set(e,n)),n.add(t)}function eu(e,t){let n=t?.__jsaction_fns?.get(e.type);if(!(!n||!t?.isConnected)&&!(t&&uc.get(e)?.has(t)))for(let r of n)r(e)}var lc=new Map;function Up(e,t){return lc.set(e,t),()=>lc.delete(e)}var mf=!1;var $p=(e,t,n,r)=>{};function tE(e,t,n,r){$p(e,t,n,r)}function Gp(){mf||($p=(e,t,n,r)=>{let o=e[re$1].get(Le$1);lc.get(o)?.(t,n,r)},mf=!0)}var Gn=new I(``);function zr(e){return(e.flags&32)===32}var tu=`__nghData__`;var zp=`__nghDeferData__`;var Di$1=`ngh`;var Wp=`nghm`;var qp=()=>null;function oE(e,t,n=!1){let r=e.getAttribute(Di$1);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,c={};if(r!==``){let l=t.get(_t,null,{optional:!0});l!==null&&(c=l.get(tu,[])[Number(r)])}let u={data:c,firstChild:e.firstChild??null};return n&&(u.firstChild=e,Gi$1(u,0,e.nextSibling)),a?e.setAttribute(Di$1,a):e.removeAttribute(Di$1),u}function Yp(){qp=oE}function Zp(e,t,n=!1){return qp(e,t,n)}function Kp(e){let t=e._lView;return t[y].type===2?null:(on$1(t)&&(t=t[O]),t)}function iE(e){return e.textContent?.replace(/\s/gm,``)}function sE(e){let t=Ur(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=iE(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 Gi$1(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function dc(e,t){return e.segmentHeads?.[t]??null}function zi$1(e){return e.get(Xc,!1,{optional:!0})}function aE(e,t){let n=e.data,r=n[Ap]?.[t]??null;return r===null&&n[$i$1]?.[t]&&(r=nu(e,t)),r}function Qp(e,t){return e.data[$i$1]?.[t]??null}function nu(e,t){let n=Qp(e,t)??[],r=0;for(let o of n)r+=o[kr]*(o[Wc]??1);return r}function cE(e){if(typeof e.disconnectedNodes>`u`){let t=e.data[qc];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Xp(e,t){if(typeof e.disconnectedNodes>`u`){let n=e.data[qc];e.disconnectedNodes=n?new Set(n):null}return!!cE(e)?.has(t)}function Wi$1(e,t){let n=e[ue];return n!==null&&!ni$1()&&!zr(t)&&!Xp(n,t.index-O)}function uE(e,t){let n=t.get(Gn),o=t.get(_t).get(zp,{}),i=!1,s=e,a=null,c=[];for(;!i&&s;){i=n.has(s);let u=n.hydrating.get(s);if(a===null&&u!=null){a=u.promise;break}c.unshift(s),s=o[s][kp]}return{parentBlockPromise:a,hydrationQueue:c}}function Ya(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===Wp}function yf(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function Jp(e){for(let r of e.body.childNodes)if(Ya(r))return;if(Ya(yf(e.body.previousSibling)))return;if(!Ya(yf(e.head.lastChild)))throw new E(-507,!1)}function eh(e,t){let n=e.contentQueries;if(n!==null){let r=C(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Pa(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function fc(e,t,n){Pa(0);let r=C(null);try{t(e,n)}finally{C(r)}}function ru(e,t,n){if(wa(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{C(r)}}}var Ve=(function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=2]=`None`,e[e.ShadowDom=3]=`ShadowDom`,e[e.ExperimentalIsolatedShadowDom=4]=`ExperimentalIsolatedShadowDom`,e})(Ve||{});var th={"http://www.w3.org/2000/svg":Et,"http://www.w3.org/1998/Math/MathML":Qo};var fi$1;function lE(){if(fi$1===void 0&&(fi$1=null,wt$1.trustedTypes))try{fi$1=wt$1.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fi$1}function Wr$1(e){return lE()?.createHTML(e)||e}var pi$1;function ou(){if(pi$1===void 0&&(pi$1=null,wt$1.trustedTypes))try{pi$1=wt$1.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pi$1}function vf(e){return ou()?.createHTML(e)||e}function Df(e){return ou()?.createScript(e)||e}function Ef(e){return ou()?.createScriptURL(e)||e}var _i$1=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bo})`}};function He(e){return e instanceof _i$1?e.changingThisBreaksApplicationSecurity:e}function pn$1(e,t){let n=nh(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Bo})`)}return n===t}function nh(e){return e instanceof _i$1&&e.getTypeName()||null}function rh(e){let t=new hc(e);return dE()?new pc(t):t}var pc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=`<body><remove></remove>`+t;try{let n=new window.DOMParser().parseFromString(Wr$1(t),`text/html`).body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}};var hc=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(t){let n=this.inertDocument.createElement(`template`);return n.innerHTML=Wr$1(t),n}};function dE(){try{return!!new window.DOMParser().parseFromString(Wr$1(``),`text/html`)}catch{return!1}}var fE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qr(e){return e=String(e),e.match(fE)?e:`unsafe:`+e}function ft$1(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=!0;return t}function Yr$1(...e){let t=Object.create(null);for(let n of e)for(let r in n)Object.hasOwn(n,r)&&(t[r]=!0);return t}var oh=ft$1(`area,br,col,hr,img,wbr`);var ih=ft$1(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`);var sh=ft$1(`rp,rt`);var pE=Yr$1(sh,ih);var gc=Yr$1(oh,Yr$1(ih,ft$1(`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`)),Yr$1(sh,ft$1(`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`)),pE);var ah=ft$1(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`);var mc=Yr$1(ah,ft$1(`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`),ft$1(`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`));var vE=ft$1(`script,style,template`);var yc=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=IE(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=EE(n);if(i){n=i;break}n=o.pop()}}return this.buf.join(``)}startElement(t){let n=If(t).toLowerCase();if(!Object.hasOwn(gc,n))return this.sanitizedSomething=!0,!Object.hasOwn(vE,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(!Object.hasOwn(mc,a)){this.sanitizedSomething=!0;continue}let c=i.value;ah[a]&&(c=qr(c)),this.buf.push(` `,s,`="`,wf(c),`"`)}return this.buf.push(`>`),!0}endElement(t){let n=If(t).toLowerCase();Object.hasOwn(gc,n)&&!Object.hasOwn(oh,n)&&(this.buf.push(`</`),this.buf.push(n),this.buf.push(`>`))}chars(t){this.buf.push(wf(t))}};function DE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function EE(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ch(t);return t}function IE(e){let t=e.firstChild;if(t&&DE(e,t))throw ch(t);return t}function If(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function ch(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var wE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var CE=/([^\#-~ |!])/g;function wf(e){return e.replace(/&/g,`&`).replace(wE,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return`&#`+((n-55296)*1024+(r-56320)+65536)+`;`}).replace(CE,function(t){return`&#`+t.charCodeAt(0)+`;`}).replace(/</g,`<`).replace(/>/g,`>`)}var hi$1;function iu(e,t){let n=null;try{hi$1=hi$1||rh(e);let r=t?String(t):``;n=hi$1.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=hi$1.getInertBodyElement(r)}while(r!==i);return Wr$1(new yc().sanitizeChildren(vc(n)||n))}finally{if(n){let r=vc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function vc(e){return`content`in e&&TE(e)?e.content:null}function TE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}var bE=/^>|^->|<!--|-->|--!>|<!-$/g;var SE=/(<|>)/g;var _E=`$1`;function ME(e){return e.replace(bE,t=>t.replace(SE,_E))}function su(e,t){return e.createText(t)}function NE(e,t,n){e.setValue(t,n)}function au(e,t){return e.createComment(ME(t))}function qi$1(e,t,n){return e.createElement(t,n)}function dt$1(e,t,n,r,o){e.insertBefore(t,n,r,o)}function uh(e,t,n){e.appendChild(t,n)}function Cf(e,t,n,r,o){r!==null?dt$1(e,t,n,r,o):uh(e,t,n)}function Yi$1(e,t,n,r){e.removeChild(null,t,n,r)}function lh(e){e.textContent=``}function AE(e,t,n){e.setAttribute(t,`style`,n)}function xE(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function dh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&RD(e,t,r),o!==null&&xE(e,t,o),i!==null&&AE(e,t,i)}function RE(e){let t=b$1();e.src=``,e.srcdoc=Wr$1(``),Yi$1(t[R$1],e)}function fh(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function ph(e,t,n){if(t!==void 0&&n!==void 0&&yh(t,n)!==j.HTML)return e;let r=Zr$1();return r?vf(r.sanitize(j.HTML,e)||``):pn$1(e,`HTML`)?vf(He(e)):iu(Ur(),Nn$1(e))}function hh(e){let t=Zr$1();return t?t.sanitize(j.STYLE,e)||``:pn$1(e,`Style`)?He(e):Nn$1(e)}function gh(e){let t=Zr$1();return t?t.sanitize(j.URL,e)||``:pn$1(e,`URL`)?He(e):qr(Nn$1(e))}function cu(e){let t=Zr$1();if(t)return Ef(t.sanitize(j.RESOURCE_URL,e)||``);if(pn$1(e,`ResourceURL`))return Ef(He(e));throw new E(904,!1)}function mh(e){let t=Zr$1();if(t)return Df(t.sanitize(j.SCRIPT,e)||``);if(pn$1(e,`Script`))return Df(He(e));throw new E(905,!1)}function OE(e,t){switch(yh(e,t)){case j.RESOURCE_URL:return cu;case j.URL:return gh;default:return null}}function kE(e,t,n){return OE(t,n)?.(e)??e}function Zr$1(){let e=b$1();return e&&e[Fe].sanitizer}function yh(e,t){let[n,r]=vh(e);return Ir(r,t,n)}function vh(e){e=e.toLowerCase();let t=fh(e,!1);if(t[0])return t;let r=Pe$1()===-1?null:jn$1(),o=r?.namespace;if(e===`#host`&&r?.type===2){let i=le(r,b$1());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&th[s]}}return[o,e]}var gi$1=new Set([`href`,`xlink:href`]);var FE={animate:{to:gi$1,values:gi$1,from:gi$1},set:{to:gi$1}};function Dh(e,t,n){let o=Pe$1()===-1?null:jn$1();if(o&&o.type!==2)return e;let[i,s]=vh(t);if(Ir(s,n,i)!==j.ATTRIBUTE_NO_BINDING)return e;let c=b$1();if(o){if(s===`iframe`)RE(le(o,c));else if(i===Et||!i){let l=FE[s]?.[n.toLowerCase()];if(l){if(PE(le(o,c),l))throw new E(-910,!1);return e}}}throw new E(-910,!1)}function PE(e,t){for(let n of e.getAttributeNames()){if(n.toLowerCase()!==`attributename`)continue;let r=e.getAttribute(n);if(r!==null&&t.has(r.toLowerCase()))return r}return null}function Eh(e){return e.ownerDocument.body}function LE(e){return e instanceof Function?e():e}function jE(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Ih=`ng-template`;function BE(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]==`string`;o+=2)if(t[o]===`class`&&jE(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(uu(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])==`string`;)if(i.toLowerCase()===n)return!0}return!1}function uu(e){return e.type===4&&e.value!==Ih}function VE(e,t,n){return t===(e.type===4&&!n?Ih:e.value)}function HE(e,t,n){let r=4,o=e.attrs,i=o!==null?GE(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c==`number`){if(!s&&!je$1(r)&&!je$1(c))return!1;if(s&&je$1(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==``&&!VE(e,c,n)||c===``&&t.length===1){if(je$1(r))return!1;s=!0}}else if(r&8){if(o===null||!BE(e,o,c,n)){if(je$1(r))return!1;s=!0}}else{let u=t[++a],l=UE(c,o,uu(e),n);if(l===-1){if(je$1(r))return!1;s=!0;continue}if(u!==``){let d;if(l>i?d=``:d=o[l+1].toLowerCase(),r&2&&u!==d){if(je$1(r))return!1;s=!0}}}}return je$1(r)||s}function je$1(e){return(e&1)===0}function UE(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 zE(t,e)}function wh(e,t,n=!1){for(let r=0;r<t.length;r++)if(HE(e,t[r],n))return!0;return!1}function $E(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function GE(e){for(let t=0;t<e.length;t++){let n=e[t];if(cp(n))return t}return e.length}function zE(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 WE(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 Tf(e,t){return e?`:not(`+t.trim()+`)`:t}function qE(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!==``&&!je$1(s)&&(t+=Tf(i,o),o=``),r=s,i=i||!je$1(r);n++}return o!==``&&(t+=Tf(i,o)),t}function YE(e){return e.map(qE).join(`,`)}function ZE(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(!je$1(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Ne$1={};var Xe$1=(function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e})(Xe$1||{});var Dc;function lu(e,t){return Dc(e,t)}function KE(e){Dc===void 0&&(Dc=e())}var At=new Set;typeof document<`u`&&document?.documentElement?.getAnimations;var Ec=new WeakMap;function Ch(e){return e?e[Ct$1]??e:null}var Nr=new WeakSet;function QE(e,t,n){let r=Ec.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=Ch(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:u}=r[a],l=c.parentNode;c===t?(r.splice(a,1),Nr.add(c),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):l&&o&&l!==o&&(s===null||u===null||s===u)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function XE(e,t,n){let r=Ch(n),o=Ec.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Ec.set(e,[{el:t,declarationView:r}])}var Zi$1=(function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e})(Zi$1||{});var pt$1=new I(``);var bf=new Set;function Ce$1(e){bf.has(e)||(bf.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}var du=(()=>{class e{impl=null;execute(){this.impl?.execute()}static ɵprov=x({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Th=[0,1,2,3];var bh=(()=>{class e{ngZone=m$1(oe$1);scheduler=m$1(ot$1);errorHandler=m$1(ke$1,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m$1(pt$1,{optional:!0})}execute(){let n=this.sequences.size>0;n&&F$1(A.AfterRenderHooksStart),this.executing=!0;for(let r of Th)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&F$1(A.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[nn$1]??=[]).push(n),Pn$1(r),r[T]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Zi$1.AFTER_NEXT_RENDER,n):n()}static ɵprov=x({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Mi$1=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[nn$1];t&&(this.view[nn$1]=t.filter(n=>n!==this))}};function Sh(e,t){let n=t?.injector??m$1(he$1);return Ce$1(`NgAfterNextRender`),eI(e,n,t,!0)}function JE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function eI(e,t,n,r){let o=t.get(du);o.impl??=t.get(bh);let i=t.get(pt$1,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Oe$1):null,a=t.get(li$1,null,{optional:!0}),c=new Mi$1(o.impl,JE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var fu=new I(``,{factory:()=>{let e=m$1(pe$2),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function _h(e,t,n){let r=e.get(fu);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function tI(e,t){let n=e.get(fu);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function nI(e,t){let n=e.get(fu);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function rI(e,t){for(let[n,r]of t)_h(e,r.animateFns)}function Sf(e,t,n,r){let o=e?.[Ye]?.enter;t!==null&&o&&o.has(n.index)&&rI(r,o)}function _f(e,t,n,r){try{n.get(gr)}catch{return r(!1)}let o=e?.[Ye];o?.enter?.has(t.index)&&tI(n,o.enter.get(t.index).animateFns);let i=oI(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Ki$1(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&At.add(e[qe$1]),_h(n,()=>iI(e,t,o||void 0,i,r),o||void 0)}function oI(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[y].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function iI(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:u}=c();i.push(u)}n.detachedLeaveAnimationFns=void 0}if(e&&Ki$1(e,t,i),i.length>0){let s=n||e?.[Ye];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),aI(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&At.delete(e[qe$1]),o(!0)})}else e&&At.delete(e[qe$1]),o(!1)}function Ki$1(e,t,n){if(t.type&12){let o=e[t.index];if(ge$2(o))for(let i=H$1;i<o.length;i++){let s=o[i];s[y].type===2&&sI(s,n)}}let r=t.child;for(;r;)Ki$1(e,r,n),r=r.next}function sI(e,t){let n=e[Ye];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[y].firstChild;for(;r;)Ki$1(e,r,t),r=r.next}function aI(e,t,n){t.then(()=>{e[Ye]?.running===t&&(e[Ye].running=void 0,At.delete(e[qe$1])),n(!0)})}function Bn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;ge$2(o)?c=o:_e$2(o)&&(u=!0,o=o[ce$1]);let l=Z$1(o);e===0&&r!==null?(Sf(a,r,i,n),s==null?uh(t,r,l):dt$1(t,r,l,s||null,!0)):e===1&&r!==null?(Sf(a,r,i,n),dt$1(t,r,l,s||null,!0),QE(i,l,a)):e===2?(a?.[Ye]?.leave?.has(i.index)&&XE(i,l,a),Nr.delete(l),_f(a,i,n,d=>{if(Nr.has(l)){Nr.delete(l);return}Yi$1(t,l,u,d)})):e===3&&(Nr.delete(l),_f(a,i,n,()=>{t.destroyNode(l)})),c!=null&&gI(t,e,n,c,i,r,s)}}function cI(e,t){Mh(e,t),t[ce$1]=null,t[X]=null}function uI(e,t,n,r,o,i){r[ce$1]=o,r[X]=t,Xi$1(e,r,n,1,o,i)}function Mh(e,t){t[Fe].changeDetectionScheduler?.notify(9),Xi$1(e,t,t[R$1],2,null,null)}function lI(e){let t=e[Rn$1];if(!t)return Za(e[y],e);for(;t;){let n=null;if(_e$2(t))n=t[Rn$1];else{let r=t[H$1];r&&(n=r)}if(!n){for(;t&&!t[Se$1]&&t!==e;)_e$2(t)&&Za(t[y],t),t=t[q$1];t===null&&(t=e),_e$2(t)&&Za(t[y],t),n=t&&t[Se$1]}t=n}}function pu(e,t){let n=e[Er],r=n.indexOf(t);n.splice(r,1)}function Qi$1(e,t){if(Tt(t))return;let n=t[R$1];n.destroyNode&&Xi$1(e,t,n,3,null,null),lI(t)}function Za(e,t){if(Tt(t))return;let n=C(null);try{t[T]&=-129,t[T]|=256,t[Ie$1]&&Xn$1(t[Ie$1]),fI(e,t),dI(e,t),t[y].type===1&&t[R$1].destroy();let r=t[Jt$1];if(r!==null&&ge$2(t[q$1])){r!==t[q$1]&&pu(r,t);let o=t[tn$1];o!==null&&o.detachView(e)}ac(t)}finally{C(n)}}function dI(e,t){let n=e.cleanup,r=t[xn$1];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]==`string`){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[xn$1]=null);let o=t[nt$1];if(o!==null){t[nt$1]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[On$1];if(i!==null){t[On$1]=null;for(let s of i)s.destroy()}}function fI(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 Or)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];F$1(A.LifecycleHookStart,a,c);try{c.call(a)}finally{F$1(A.LifecycleHookEnd,a,c)}}else{F$1(A.LifecycleHookStart,o,i);try{i.call(o)}finally{F$1(A.LifecycleHookEnd,o,i)}}}}}function Nh(e,t,n){if(t===null)throw new E(510,!1);return Ah(e,t.parent,n)}function Ah(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ce$1];if(Ze$1(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ve.None||o===Ve.Emulated)return null}return le(r,n)}function xh(e,t,n){return Oh(e,t,n)}function Rh(e,t,n){return e.type&40?le(e,n):null}var Oh=Rh;var Ic;function kh(e,t){Oh=e,Ic=t}function hu(e,t,n,r){let o=Nh(e,r,t),i=t[R$1],a=xh(r.parent||t[X],r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Cf(i,o,n[c],a,!1);else Cf(i,o,n,a,!1);Ic!==void 0&&Ic(i,r,t,n,o)}function Ar(e,t){if(t!==null){let n=t.type;if(n&3)return le(t,e);if(n&4)return wc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ar(e,r);{let o=e[t.index];return ge$2(o)?wc(-1,o):Z$1(o)}}else{if(n&128)return Ar(e,t.next);if(n&32)return lu(t,e)()||Z$1(e[t.index]);{let r=Fh(e,t);if(r!==null){if(Array.isArray(r))return r[0];return Ar(rt$1(e[J]),r)}else return Ar(e,t.next)}}}return null}function Fh(e,t){if(t!==null){let r=e[J][X],o=t.projection;return r.projection[o]}return null}function wc(e,t){let n=H$1+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return Ar(r,o)}return t[at$1]}function gu(e,t,n,r,o,i,s){for(;n!=null;){let a=r[re$1];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Un$1(Z$1(c),r),n.flags|=2),!zr(n))if(u&8)gu(e,t,n.child,r,o,i,!1),Bn(t,e,a,o,c,n,i,r);else if(u&32){let l=lu(n,r),d;for(;d=l();)Bn(t,e,a,o,d,n,i,r);Bn(t,e,a,o,c,n,i,r)}else u&16?Ph(e,t,r,n,o,i):Bn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Xi$1(e,t,n,r,o,i){e.type===3?pI(n,r,t,o,i):gu(n,r,e.firstChild,t,o,i,!1)}function pI(e,t,n,r,o){let s=n[y].firstChild,a=s.next,c=Z$1(n[s.index]),u=Z$1(n[a.index]),l=a.index+1,d=n[l];if(t===1||t===0)r!==null&&(d&&d.hasChildNodes()?dt$1(e,r,d,o,!0):(dt$1(e,r,c,o,!0),dt$1(e,r,u,o,!0)));else if(t===2){if(d||(d=document.createDocumentFragment(),n[l]=d),c&&c.parentNode===d)return;let p=c;for(;p!==null;){let f=p.nextSibling;if(d.appendChild(p),p===u)break;p=f}}}function hI(e,t,n){let r=t[R$1];Ph(r,0,t,n,Nh(e,n,t),xh(n.parent||t[X],n,t))}function Ph(e,t,n,r,o,i){let s=n[J],c=s[X].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Bn(t,e,n[re$1],o,l,r,i,n)}else{let u=c,l=s[q$1];Si$1(r)&&(u.flags|=128),gu(e,t,u,l,o,i,!0)}}function gI(e,t,n,r,o,i,s){let a=r[at$1];if(a!==Z$1(r)&&Bn(t,e,n,i,a,o,s),(r[T]&4)===0)for(let u=H$1;u<r.length;u++){let l=r[u];Xi$1(l[y],l,e,t,i,a)}}function mI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf(`-`)===-1?void 0:Xe$1.DashCase;o==null?e.removeStyle(n,r,i):(typeof o==`string`&&o.endsWith(`!important`)&&(o=o.slice(0,-10),i|=Xe$1.Important),e.setStyle(n,r,o,i))}}function mu(e,t,n,r,o,i,s,a,c,u,l){let d=O+r,p=d+o,f=yI(d,p),h=typeof u==`function`?u():u;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i==`function`?i():i,pipeRegistry:typeof s==`function`?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function yI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ne$1);return n}function vI(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=mu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function yu(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[ce$1]=o,d[T]=r|1228,(u!==null||e&&e[T]&2048)&&(d[T]|=2048),Ta(d),d[q$1]=d[Ct$1]=e,d[G]=n,d[Fe]=s||e&&e[Fe],d[R$1]=a||e&&e[R$1],d[re$1]=c||e&&e[re$1]||null,d[X]=i,d[qe$1]=KD(),d[ue]=l,d[Ia]=u,d[J]=t.type==2?e[J]:d,d}function DI(e,t,n){let r=le(t,e),o=vI(n),i=e[Fe].rendererFactory,s=vu(e,yu(e,o,null,Lh(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Lh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kr$1(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 vu(e,t){return e[Rn$1]?e[Ea][Se$1]=t:e[Rn$1]=t,e[Ea]=t,t}function EI(e=1){jh(Y$1(),b$1(),Pe$1()+e,!1)}function jh(e,t,n,r){if(!r)if((t[T]&3)===3){let i=e.preOrderCheckHooks;i!==null&&yi$1(t,i,n)}else{let i=e.preOrderHooks;i!==null&&vi$1(t,i,0,n)}bt$1(n)}var Ji$1=(function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e})(Ji$1||{});function Cc(e,t,n,r){let o=C(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ji$1.SignalBased)!==0&&(c=t[i][ne$1]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):rp(t,c,i,r)}finally{C(o)}}function Bh(e,t,n,r,o){let i=Pe$1(),s=r&2;try{bt$1(-1),s&&t.length>O&&jh(e,t,O,!1);F$1(s?A.TemplateUpdateStart:A.TemplateCreateStart,o,n),n(r,o)}finally{bt$1(i);F$1(s?A.TemplateUpdateEnd:A.TemplateCreateEnd,o,n)}}function es(e,t,n){_I(e,t,n),(n.flags&64)===64&&MI(e,t,n)}function Qr$1(e,t,n=le){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function II(e,t,n,r){let i=r.get(Kc,Fp)||n===Ve.ShadowDom||n===Ve.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return wI(s),s}function wI(e){Vh(e)}var Vh=()=>null;function CI(e){wp(e)?lh(e):sE(e)}function Hh(){Vh=CI}function TI(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function bI(e,t,n,r,o,i){let s=t[y];if(Cu(e,s,t,n,r)){Ze$1(e)&&SI(t,e.index);return}e.type&3&&(n=TI(n)),Uh(e,t,n,r,o,i)}function Uh(e,t,n,r,o,i){if(e.type&3){let s=le(e,t);r=i!=null?i(r,e.value||``,n):r,o.setProperty(s,n,r)}else e.type&12}function SI(e,t){let n=Me(t,e);n[T]&16||(n[T]|=64)}function _I(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ze$1(n)&&DI(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||fp(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=ic(t,e,s,n);if(Un$1(c,t),i!==null&&RI(t,s-r,c,a,n,i),rn$1(a)){let u=Me(n.index,t);u[G]=ic(t,e,s,n)}}}function MI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Wd();try{bt$1(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];ri$1(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&NI(c,u)}}finally{bt$1(-1),ri$1(s)}}function NI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Du(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];wh(t,i.selectors,!1)&&(r??=[],rn$1(i)?r.unshift(i):r.push(i))}return r}function AI(e,t,n,r,o,i){let s=le(e,t);xI(t[R$1],s,i,e.value,n,r,o)}function xI(e,t,n,r,o,i,s){if(i==null)s?.(i,r||``,o),e.removeAttribute(t,o,n);else{let a=s==null?Nn$1(i):s(i,r||``,o);e.setAttribute(t,o,a,n)}}function RI(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Cc(r,n,c,u)}}function Eu(e,t,n,r,o){let i=O+n,s=t[y],a=o(s,t,e,r,n);t[i]=a,ct$1(e,!0);let c=e.type===2;return c?(dh(t[R$1],a,e),(Pd()===0||kn$1(e))&&Un$1(a,t),Ld()):Un$1(a,t),Tr()&&(!c||!zr(e))&&hu(s,t,a,e),e}function Iu(e){let t=e;return Aa()?xa():(t=t.parent,ct$1(t,!1)),t}function wu(e,t){let n=e[re$1];if(!n)return;let r;try{r=n.get(ut$1,null)}catch{r=null}r?.(t)}function Cu(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Cc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Cc(l,u,r,o),a=!0}return a}function OI(e,t){let n=Me(t,e),r=n[y];kI(r,n);let o=n[ce$1];o!==null&&n[ue]===null&&(n[ue]=Zp(o,n[re$1])),F$1(A.ComponentStart);try{Tu(r,n,n[G])}finally{F$1(A.ComponentEnd,n[G])}}function kI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Tu(e,t,n){oi$1(t);try{let r=e.viewQuery;r!==null&&fc(1,r,n);let o=e.template;o!==null&&Bh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[tn$1]?.finishViewCreation(e),e.staticContentQueries&&eh(e,t),e.staticViewQueries&&fc(2,e.viewQuery,n);let i=e.components;i!==null&&FI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[T]&=-5,ii$1()}}function FI(e,t){for(let n=0;n<t.length;n++)OI(e,t[n])}function zn$1(e,t,n,r){let o=C(null);try{let i=t.tView,c=yu(e,i,n,e[T]&4096?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[Jt$1]=e[t.index];let l=e[tn$1];return l!==null&&(c[tn$1]=l.createEmbeddedView(i)),Tu(i,c,n),c}finally{C(o)}}function cn$1(e,t){return!t||t.firstChild===null||Si$1(e)}function Fr(e,t,n,r,o=!1){if(e.type===3){let i=e.firstChild,s=i.next,a=Z$1(t[i.index]),c=Z$1(t[s.index]),u=a;for(;u!==null&&(r.push(u),u!==c);)u=u.nextSibling;return r}for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];if(i!==null)if(ge$2(i)){let a=i[at$1];a!==i[ce$1]&&r.push(Z$1(i)),i[T]&4||$h(i,r),r.push(a)}else r.push(Z$1(i));let s=n.type;if(s&8)Fr(e,t,n.child,r);else if(s&32){let a=lu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Fh(t,n);if(Array.isArray(a))r.push(...a);else{let c=rt$1(t[J]);Fr(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function $h(e,t){for(let n=H$1;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&Fr(r[y],r,o,t)}}function Gh(e){if(e[nn$1]!==null){for(let t of e[nn$1])t.impl.addSequence(t);e[nn$1].length=0}}var zh=[];function PI(e){return e[Ie$1]??LI(e)}function LI(e){let t=zh.pop()??Object.create(BI);return t.lView=e,t}function jI(e){e.lView[Ie$1]!==e&&(e.lView=null,zh.push(e))}var BI=te$1(U({},Bt$1),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{Pn$1(e.lView)},consumerOnSignalRead(){this.lView[Ie$1]=this}});function VI(e){let t=e[Ie$1]??Object.create(HI);return t.lView=e,t}var HI=te$1(U({},Bt$1),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=rt$1(e.lView);for(;t&&!Wh(t[y]);)t=rt$1(t);t&&Jo(t)},consumerOnSignalRead(){this.lView[Ie$1]=this}});function Wh(e){return e.type!==2}function qh(e){if(e[On$1]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[On$1])if(r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()),e[On$1]===null))return;t=n&&!!(e[T]&8192)}}var UI=100;function Yh(e,t=0){let r=e[Fe].rendererFactory;r.begin?.();try{$I(e,t)}finally{r.end?.()}}function $I(e,t){let n=Ra();try{Oa(!0),Tc(e,t);let r=0;for(;wr(e);){if(r===UI)throw new E(103,!1);r++,Tc(e,1)}}finally{Oa(n)}}function GI(e,t,n,r){if(Tt(t))return;let o=t[T];oi$1(t);let a=!0,c=null,u=null;Wh(e)?(u=PI(t),c=Ut(u)):uo$1()===null?(a=!1,u=VI(t),c=Ut(u)):t[Ie$1]&&(Xn$1(t[Ie$1]),t[Ie$1]=null);try{Ta(t),$d(e.bindingStartIndex),n!==null&&Bh(e,t,n,2,r);let l=(o&3)===3;if(l){let f=e.preOrderCheckHooks;f!==null&&yi$1(t,f,null)}else{let f=e.preOrderHooks;f!==null&&vi$1(t,f,0,null),Wa(t,0)}if(zI(t),qh(t),Zh(t,0),e.contentQueries!==null&&eh(e,t),true)if(l){let f=e.contentCheckHooks;f!==null&&yi$1(t,f)}else{let f=e.contentHooks;f!==null&&vi$1(t,f,1),Wa(t,1)}qI(e,t);let d=e.components;d!==null&&Qh(t,d,0);let p=e.viewQuery;if(p!==null&&fc(2,p,r),true)if(l){let f=e.viewCheckHooks;f!==null&&yi$1(t,f)}else{let f=e.viewHooks;f!==null&&vi$1(t,f,2),Wa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ko]){for(let f of t[Ko])f();t[Ko]=null}Gh(t),t[T]&=-73}catch(l){throw Pn$1(t),l}finally{u!==null&&(vn$1(u,c),a&&jI(u)),ii$1()}}function Zh(e,t){for(let n=bp(e);n!==null;n=Sp(n))for(let r=H$1;r<n.length;r++){let o=n[r];Kh(o,t)}}function zI(e){for(let t=bp(e);t!==null;t=Sp(t)){if(!(t[T]&2))continue;let n=t[Er];for(let r=0;r<n.length;r++){let o=n[r];Jo(o)}}}function WI(e,t,n){F$1(A.ComponentStart);let r=Me(t,e);try{Kh(r,n)}finally{F$1(A.ComponentEnd,r[G])}}function Kh(e,t){Xo(e)&&Tc(e,t)}function Tc(e,t){let r=e[y],o=e[T],i=e[Ie$1],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&lo$1(i)),s||=!1,i&&(i.dirty=!1),e[T]&=-9217,s)GI(r,e,r.template,e[G]);else if(o&8192){let a=C(null);try{qh(e),Zh(e,1);let c=r.components;c!==null&&Qh(e,c,1),Gh(e)}finally{C(a)}}}function Qh(e,t,n){for(let r=0;r<t.length;r++)WI(e,t[r],n)}function qI(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)bt$1(~o);else{let i=o,s=n[++r],a=n[++r];zd(s,i);let c=t[i];F$1(A.HostBindingsUpdateStart,c);try{a(2,c)}finally{F$1(A.HostBindingsUpdateEnd,c)}}}}finally{bt$1(-1)}}function bu(e,t){let n=Ra()?64:1088;for(e[Fe].changeDetectionScheduler?.notify(t);e;){e[T]|=n;let r=rt$1(e);if(on$1(e)&&!r)return e;e=r}return null}function Xh(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Jh(e,t){let n=H$1+t;if(n<e.length)return e[n]}function Wn$1(e,t,n,r=!0){let o=t[y];if(YI(o,t,e,n),r){let s=wc(n,e),a=t[R$1],c=a.parentNode(e[at$1]);c!==null&&uI(o,e[X],a,t,c,s)}let i=t[ue];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Su(e,t){let n=Pr(e,t);return n!==void 0&&Qi$1(n[y],n),n}function Pr(e,t){if(e.length<=H$1)return;let n=H$1+t,r=e[n];if(r){let o=r[Jt$1];o!==null&&o!==e&&pu(o,r),t>0&&(e[n-1][Se$1]=r[Se$1]);let i=hr(e,H$1+t);cI(r[y],r);let s=i[tn$1];s!==null&&s.detachView(i[y]),r[q$1]=null,r[Se$1]=null,r[T]&=-129}return r}function YI(e,t,n,r){let o=H$1+r,i=n.length;r>0&&(n[o-1][Se$1]=t),r<i-H$1?(t[Se$1]=n[o],ya(n,H$1+r,t)):(n.push(t),t[Se$1]=null),t[q$1]=n;let s=t[Jt$1];s!==null&&n!==s&&eg(s,t);let a=t[tn$1];a!==null&&a.insertView(e),ei$1(t),t[T]|=128}function eg(e,t){let n=e[Er],r=t[q$1];if(_e$2(r))e[T]|=2;else{let o=r[q$1][J];t[J]!==o&&(e[T]|=2)}n===null?e[Er]=[t]:n.push(t)}var xt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[y];return Fr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[G]}set context(t){this._lView[G]=t}get destroyed(){return Tt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q$1];if(ge$2(t)){let n=t[Dr],r=n?n.indexOf(this):-1;r>-1&&(Pr(t,r),hr(n,r))}this._attachedToViewContainer=!1}Qi$1(this._lView[y],this._lView)}onDestroy(t){Cr(this._lView,t)}markForCheck(){bu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[T]&=-129}reattach(){ei$1(this._lView),this._lView[T]|=128}detectChanges(){this._lView[T]|=1024,Yh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=on$1(this._lView),n=this._lView[Jt$1];n!==null&&!t&&pu(n,this._lView),Mh(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;let n=on$1(this._lView),r=this._lView[Jt$1];r!==null&&!n&&eg(r,this._lView),ei$1(this._lView)}};var _u=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ZI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){return new xt(zn$1(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o}))}}return e})();function ZI(){return tg(ee(),b$1())}function tg(e,t){return e.type&4?new _u(t,e,Hi$1(e,t)):null}function ng(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?Rh(e,t,n):Z$1(n[o])}function rg(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let u=n[i[c]];dt$1(e,s,u,a,!1)}}}function qn$1(e,t,n,r,o){let i=e.data[t];if(i===null)i=Mu(e,t,n,r,o),Gd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Ln$1();i.injectorIndex=s===null?-1:s.injectorIndex}return ct$1(i,!0),i}function Mu(e,t,n,r,o){let i=Na(),s=Aa(),a=s?i:i&&i.parent,c=e.data[t]=QI(e,a,n,t,r,o);return KI(e,c,i,s),c}function KI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function QI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ni$1()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:si$1(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function og(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];ig(r)||XI(r,t)&&JI(r)===null&&ew(r,t.index)}}function ig(e){return!(e.type&64)}function XI(e,t){return ig(t)||e.index>t.index}function JI(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function ew(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(kh(ng,rg),e.insertBeforeIndex=t)}function tw(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function nw(e,t){let n=e.insertBeforeIndex;n===null?(kh(ng,rg),n=e.insertBeforeIndex=[null,t]):(md(Array.isArray(n),!0,`Expecting array here`),n.push(t))}function rw(e,t,n){let r=Mu(e,n,64,null,null);return og(t,r),r}function ow(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function iw(e,t,n){return e|t<<17|n<<1}function sw(e){return e===-1}function sg(e,t,n){e.index=0;let r=ow(t,n);r!==null?e.removes=t.remove[r]:e.removes=ae}function bc(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[y].data[n];return sg(e,r,e.lView),bc(e)}}else return e.stack.length===0?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),bc(e))}function aw(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return sg(e,n.value,r),bc.bind(null,e)}return t}var cw=new RegExp(`^(\\d+)*(${Np}|${Mp})*(.*)`);function uw(e){let[n,r,o,i]=e.match(cw),s=r?parseInt(r,10):o,a=[];for(let[c,u,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function lw(e){return!e.prev&&e.parent?.type===8}function Ka(e){return e.index-O}function dw(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function ts(e,t,n,r){let o=Ka(r),i=dw(e,o);if(i===void 0){let s=e.data[Op];if(s?.[o])i=pw(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(lw(r))i=dc(e,Ka(r.parent));else{let u=le(c,n);if(a)i=u.firstChild;else{let l=Ka(c),d=dc(e,l);if(c.type===2&&d)i=ns(nu(e,l)+1,d);else i=u.nextSibling}}}}return i}function ns(e,t){let n=t;for(let r=0;r<e;r++){if(n==null)throw new E(-501,!1);n=n.nextSibling}return n}function fw(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++){if(!n)throw new E(509,!1);switch(o){case XD:n=n.firstChild;break;case JD:n=n.nextSibling;break}}}if(!n)throw new E(509,!1);return n}function pw(e,t){let[n,...r]=uw(e),o;if(n===Mp)o=t[J][ce$1];else if(n===Np)o=Eh(t[J][ce$1]);else o=Z$1(t[Number(n)+O]);return fw(o,r)}function yw(e){let t=e[ue];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[R$1];for(let i of r.values())vw(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function vw(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-O);o&&Yi$1(e,o,!1)}}function rs(e){let t=e[we$1]??[],r=e[q$1][R$1],o=[];for(let i of t)i.data[Yc]!==void 0?o.push(i):cg(i,r);e[we$1]=o}function Dw(e){let{lContainer:t}=e,n=t[we$1];if(n===null)return;let o=t[q$1][R$1];for(let i of n)cg(i,o)}function cg(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[kr];for(;n<o;){let i=r.nextSibling;Yi$1(t,r,!1),r=i,n++}}}function os(e){rs(e);let t=e[ce$1];_e$2(t)&&Ni$1(t);for(let n=H$1;n<e.length;n++)Ni$1(e[n])}function Ni$1(e){yw(e);let t=e[y];for(let n=O;n<t.bindingStartIndex;n++)if(ge$2(e[n])){let r=e[n];os(r)}else _e$2(e[n])&&Ni$1(e[n])}function Nu(e){let t=e._views;for(let n of t){let r=Kp(n);r!==null&&r[ce$1]!==null&&(_e$2(r)?Ni$1(r):os(r))}}function Ew(e,t,n,r){e!==null&&(n.cleanup(t),os(e.lContainer),Nu(r))}function Iw(e,t){let n=[];for(let r of t)for(let o=0;o<(r[Wc]??1);o++){let i={data:r,firstChild:null};r[kr]>0&&(i.firstChild=e,e=ns(r[kr],e)),n.push(i)}return[e,n]}var ug=()=>null;var lg=()=>null;function dg(){ug=ww,lg=Cw}function ww(e,t){return pg(e,t)?e[we$1].shift():(rs(e),null)}function Lr(e,t){return ug(e,t)}function Cw(e,t,n){if(t.tView.ssrId===null)return null;let r=Lr(e,t.tView.ssrId);return n[y].firstUpdatePass&&r===null&&Tw(n,t),r}function fg(e,t,n){return lg(e,t,n)}function Tw(e,t){let n=t;for(;n;){if(Mf(e,n))return;if((n.flags&256)===256)break;n=n.prev}for(n=t.next;n&&(n.flags&512)===512;){if(Mf(e,n))return;n=n.next}}function pg(e,t){let n=e[we$1];return!t||n===null||n.length===0?!1:n[0].data[Rp]===t}function Mf(e,t){let n=t.tView?.ssrId;if(n==null)return!1;let r=e[t.index];return ge$2(r)&&pg(r,n)?(rs(r),!0):!1}var hg=class{};var un$1=class{};var jr=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>bw()};function bw(){let e=b$1(),n=Me(ee().index,e);return(_e$2(n)?n:e)[R$1]}var gg=(()=>{class e{static ɵprov=x({token:e,providedIn:`root`,factory:()=>null})}return e})();function mg(e){return e.debugInfo?.className||e.type.name||null}var Ei$1={};var an$1=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ei$1,r);return o!==Ei$1||n===Ei$1?o:this.parentInjector.get(t,n,r)}};function Sw(e,t,n){return e[t]=n}function ht$1(e,t,n){if(n===Ne$1)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ii$1(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&eE(o,i);bu(Ze$1(e)?Me(e.index,t):t,5);let a=t[G],c=Nf(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=Nf(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function Nf(e,t,n,r){let o=C(null);try{return F$1(A.OutputStart,t,n),n(r)!==!1}catch(i){return wu(e,i),!1}finally{F$1(A.OutputEnd,t,n),C(o)}}function yg(e,t,n,r,o,i,s,a){let c=kn$1(e),u=!1,l=null;if(!r&&c&&(l=Mw(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=le(e,n),p=r?r(d):d;tE(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!_w(i))vg(r?g=>r(Z$1(g[e.index])):e.index,t,n,i,a,f,!1)}return u}function _w(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function Mw(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[xn$1],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s==`string`&&(i+=2)}return null}function vg(e,t,n,r,o,i,s){let a=t.firstCreatePass?Fd(t):null,c=kd(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Af(e,t,n,r,o,i){let s=t[n],a=t[y],d=s[a.data[n].outputs[r]].subscribe(i);vg(e.index,a,t,o,i,d,!0)}var Sc=Symbol(`BINDING`);var hn$1=new I(``);function Ai$1(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=Vo(o,a);else if(i==2){let c=a,u=t[++s];r=Vo(r,c+`: `+u+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function is(e,t=0){let n=b$1();if(n===null)return M(e,t);return mp(ee(),n,Ee(e),t)}function Nw(){throw new Error(`invalid`)}function Dg(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}Rw(e,t,n,a,i,c,u)}i!==null&&r!==null&&Aw(n,r,i)}function Aw(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new E(-301,!1);r.push(t[o],i)}}function xw(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Rw(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&rn$1(f)&&(c=f,xw(e,n,p)),jD(fp(n,t),e,f.type)}jw(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Kr$1(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Vi$1(n.mergedAttrs,f.hostAttrs),kw(e,n,t,d,f),Lw(d,f,o),s!==null&&s.has(f)){let[g,D]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}Ow(e,n,i)}function Ow(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))xf(0,t,o,r),xf(1,t,o,r),Of(t,r,!1);else{let i=n.get(o);Rf(0,t,i,r),Rf(1,t,i,r),Of(t,r,!0)}}}function xf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Eg(t,i)}}function Rf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Eg(t,s)}}function Eg(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function Of(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||uu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c==`number`)break;if(!n&&Object.hasOwn(o,c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&Object.hasOwn(i,c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function kw(e,t,n,r,o){e.data[r]=o;let s=new Or(o.factory||(o.factory=_n$1(o.type,!0)),rn$1(o),is,null);e.blueprint[r]=s,n[r]=s,Fw(e,t,r,Kr$1(e,n,o.hostVars,Ne$1),o)}function Fw(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Pw(s)!=a&&s.push(a),s.push(n,r,i)}}function Pw(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function Lw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;rn$1(t)&&(n[``]=e)}}function jw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Au(e,t,n,r,o,i,s,a){let c=t[y],u=c.consts,d=qn$1(c,e,n,r,me$2(u,s));return i&&Dg(c,t,d,me$2(u,a),o),d.mergedAttrs=Vi$1(d.mergedAttrs,d.attrs),d.attrs!==null&&Ai$1(d,d.attrs,!1),d.mergedAttrs!==null&&Ai$1(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function xu(e,t){sp(e,t),wa(t)&&e.queries.elementEnd(t)}function Bw(e,t,n,r,o,i){let s=t.consts,c=qn$1(t,e,n,r,me$2(s,o));if(c.mergedAttrs=Vi$1(c.mergedAttrs,c.attrs),i!=null){let u=me$2(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Ai$1(c,c.attrs,!1),c.mergedAttrs!==null&&Ai$1(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var Ig=typeof ShadowRoot<`u`;var Vw=typeof Document<`u`;function Hw(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ji$1.SignalBased)!==0};return o&&(i.transform=o),i})}function Uw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function $w(e,t,n){let r=t instanceof pe$2?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new an$1(n,r):n}function Gw(e){let t=e.get(un$1,null);if(t===null)throw new E(407,!1);return{rendererFactory:t,sanitizer:e.get(gg,null),changeDetectionScheduler:e.get(ot$1,null),ngReflect:!1,tracingService:e.get(pt$1,null,{optional:!0})}}function zw(e,t,n){let r=wg(e);return qi$1(t,r,r===`svg`?Et:r===`math`?Qo:n)}function Ww(e){if((e&&`localName`in e&&typeof e.localName==`string`?e.localName:e?.tagName)?.toLowerCase()===`script`)throw new E(905,!1)}function wg(e){return(e.selectors[0][0]||`div`).toLowerCase()}var Br=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Hw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Uw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=YE(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s,a){F$1(A.DynamicComponentStart);let c=C(null);try{let u=this.componentDef,l=$w(u,o||this.ngModule,t),d=Gw(l),p=d.tracingService;return p&&p.componentCreate?p.componentCreate(mg(u),()=>this.createComponentRef(d,l,n,r,i,s,a)):this.createComponentRef(d,l,n,r,i,s,a)}finally{C(c)}}createComponentRef(t,n,r,o,i,s,a){let c=this.componentDef,u=qw(o,c,s,i),l=t.rendererFactory.createRenderer(null,c),d=o?II(l,o,c.encapsulation,n):zw(c,l,a??null);Ww(d);let p=n.get(hn$1,null),f=Yw(d,()=>n.get(V,null)??Ur());p&&p.addHost(f);let h=s?.some(kf)||i?.some(v=>typeof v!=`function`&&v.bindings.some(kf)),g=yu(null,u,null,512|Lh(c),null,null,t,l,n,null,Zp(d,n,!0));p&&Ig&&f instanceof ShadowRoot&&Cr(g,()=>{p.removeHost(f)}),g[O]=d,oi$1(g);let D=null;try{let v=Au(O,g,2,`#host`,()=>u.directiveRegistry,!0,0);dh(l,d,v),Un$1(d,g),es(u,g,v),ru(u,v,g),xu(u,v),r!==void 0&&Kw(v,this.ngContentSelectors,r),D=Me(v.index,g),g[G]=D[G],Tu(u,g,null)}catch(v){throw D!==null&&ac(D),ac(g),v}finally{F$1(A.DynamicComponentEnd),ii$1()}return new xi$1(this.componentType,g,!!h)}};function qw(e,t,n,r){let o=e?[`ng-version`,`22.1.6`]:ZE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Sc].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!=`function`)for(let p of d.bindings){a+=p[Sc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let p=$o(typeof l==`function`?l:l.type);c.push(p)}return mu(0,null,Zw(i,s),1,a,c,null,null,null,[o],null)}function Yw(e,t){let n=e.getRootNode?.();return Vw&&n instanceof Document?n.head:n&&Ig&&n instanceof ShadowRoot?n:t().head}function Zw(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function kf(e){let t=e[Sc].kind;return t===`input`||t===`twoWay`}var xi$1=class extends hg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Fn$1(n[y],O),this.location=Hi$1(this._tNode,n),this.instance=Me(this._tNode.index,n)[G],this.hostView=this.changeDetectorRef=new xt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;Cu(r,o[y],o,t,n);this.previousInputValues.set(t,n);bu(Me(r.index,o),1)}get injector(){return new Nt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Kw(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ss=(()=>{class e{static __NG_ELEMENT_ID__=Qw}return e})();function Qw(){return Xw(ee(),b$1())}var _c=class e extends ss{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Hi$1(this._hostTNode,this._hostLView)}get injector(){return new Nt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Uc(this._hostTNode,this._hostLView);if(up(t)){let n=bi$1(t,this._hostLView),r=Ti$1(t),o=n[y].data[r+8];return new Nt(o,n)}else return new Nt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ff(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-H$1}createEmbeddedView(t,n,r){let o,i;typeof r==`number`?o=r:r!=null&&(o=r.index,i=r.injector);let s=Lr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,cn$1(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings;let l=new Br(It(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=this.parentInjector.get(pe$2,null);v&&(i=v)}let p=It(l.componentType??{}),f=Lr(this._lContainer,p?.id??null),h=f?.firstChild??null,g=l.create(d,o,h,i,s,a,this._getHostElementNamespace());return this.insertImpl(g.hostView,c,cn$1(this._hostTNode,f)),g}_getHostElementNamespace(){if(this._hostTNode.type&2){let t=this._hostTNode.parent??this._hostLView[X];return t!==null&&t.type&2&&typeof t.value==`string`&&t.value.toLowerCase()===`foreignobject`?null:t?.namespace??null}return this._hostTNode.namespace}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Rd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q$1],u=new e(c,c[X],c[q$1]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Wn$1(s,o,i,r),t.attachToViewContainerRef(),ya(Qa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ff(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Pr(this._lContainer,n);r&&(hr(Qa(this._lContainer),n),Qi$1(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=Pr(this._lContainer,n);return r&&hr(Qa(this._lContainer),n)!=null?new xt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ff(e){return e[Dr]}function Qa(e){return e[Dr]||(e[Dr]=[])}function Xw(e,t){let n,r=t[e.index];return ge$2(r)?n=r:(n=Xh(r,t,null,e),t[e.index]=n,vu(t,n)),Cg(n,t,e,r),new _c(n,e,t)}function Jw(e,t){let n=e[R$1],r=n.createComment(``),o=le(t,e);return dt$1(n,n.parentNode(o),r,n.nextSibling(o),!1),r}var Cg=bg;var Ru=()=>!1;function Tg(e,t,n){return Ru(e,t,n)}function bg(e,t,n,r){if(e[at$1])return;let o;n.type&8?o=Z$1(r):o=Jw(t,n),e[at$1]=o}function eC(e,t,n){if(e[at$1]&&e[we$1])return!0;let r=n[ue],o=t.index-O;if(!r||Cp(t)||Xp(r,o))return!1;let s=dc(r,o),a=r.data[$i$1]?.[o];if(a===void 0)return!1;let[c,u]=Iw(s,a);return e[at$1]=c,e[we$1]=u,!0}function tC(e,t,n,r){Ru(e,n,t)||bg(e,t,n,r)}function Sg(){Cg=tC,Ru=eC}function as(e){return!!e&&typeof e.then==`function`}function Ou(e){return!!e&&typeof e.subscribe==`function`}var ln$1=class{};var _g=class{};var Ri$1=class extends ln$1{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=vd(t);this._bootstrapComponents=LE(i.bootstrap),this._r3Injector=Va(t,n,[{provide:ln$1,useValue:this},...r],dr$1(t),new Set([`environment`])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}};var Oi$1=class extends _g{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ri$1(this.moduleType,t,[])}};var Vr$1=class extends ln$1{injector;instance=null;constructor(t){super();let n=new Kt$1([...t.providers,{provide:ln$1,useValue:this}],t.parent||yr(),t.debugName,new Set([`environment`]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ku(e,t,n=null){return new Vr$1({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var nC=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Zo(!1,n.type),o=r.length>0?ku([r],this._injector,``):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=x({token:e,providedIn:`environment`,factory:()=>new e(M(pe$2))})}return e})();function rC(e){return Bi$1(()=>{let t=Mg(e),n=te$1(U({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Gc.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(nC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ve.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:``});t.standalone&&Ce$1(`NgStandalone`),Ng(n);let r=e.dependencies;return n.directiveDefs=Pf(r,oC),n.pipeDefs=Pf(r,ha),n.id=aC(n),n})}function oC(e){return It(e)||$o(e)}function cs(e){return Bi$1(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function iC(e,t){if(e==null)return Xt$1;let n={};for(let r in e)if(Object.hasOwn(e,r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ji$1.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function sC(e){if(e==null)return Xt$1;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function Fu(e){return Bi$1(()=>{let t=Mg(e);return Ng(t),t})}function Mg(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Xt$1,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:iC(e.inputs,t),outputs:sC(e.outputs),debugInfo:null}}function Ng(e){e.features?.forEach(t=>t(e))}function Pf(e,t){return e?()=>{let n=typeof e==`function`?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function aC(e){let t=0,n=typeof e.consts==`function`?``:e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join(`|`))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,`c`+t}var Ag=new I(``);var Pu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=m$1(Ag,{optional:!0})??[];injector=m$1(he$1);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=vr(this.injector,o);if(as(i))n.push(i);else if(Ou(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static ɵfac=function(r){return new(r||e)};static ɵprov=Rt$1({token:e,factory:e.ɵfac})}return e})();function xg(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Vi$1(e.mergedAttrs,e.attrs);let l=e.tView=mu(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),ct$1(e,!1);let c=kg(n,t,e,r);Tr()&&hu(n,t,c,e),Un$1(c,t);let u=Xh(c,t,c,e);t[r+O]=u,vu(t,u),Tg(u,e,t)}function cC(e,t,n,r,o,i,s,a,c,u,l){let d=n+O,p;return t.firstCreatePass?(p=qn$1(t,d,4,s||null,a||null),ti$1()&&Dg(t,e,p,me$2(t.consts,u),Du),sp(t,p)):p=t.data[d],xg(p,e,t,n,r,o,i,c),kn$1(p)&&es(t,e,p),u!=null&&Qr$1(e,p,l),p}function dn$1(e,t,n,r,o,i,s,a,c,u,l){let d=n+O,p;if(t.firstCreatePass){if(p=qn$1(t,d,4,s||null,a||null),u!=null){let f=me$2(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return xg(p,e,t,n,r,o,i,c),u!=null&&Qr$1(e,p,l),p}function Rg(e,t,n,r,o,i,s,a){let c=b$1(),u=Y$1();return cC(c,u,e,t,n,r,o,me$2(u.consts,i),void 0,s,a),Rg}function Og(e,t,n,r,o,i,s,a){let c=b$1(),u=Y$1();return dn$1(c,u,e,t,n,r,o,me$2(u.consts,i),void 0,s,a),Og}var kg=Fg;function Fg(e,t,n,r){return Ke(!0),t[R$1].createComment(``)}function uC(e,t,n,r){let o=!Wi$1(t,n);Ke(o);let i=t[ue]?.data[xp]?.[r]??null;if(i!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=i),o)return Fg(e,t);let s=t[ue],a=ts(s,e,t,n);Gi$1(s,r,a);return ns(nu(s,r),a)}function Pg(){kg=uC}var ye$1=(function(e){return e[e.NOT_STARTED=0]=`NOT_STARTED`,e[e.IN_PROGRESS=1]=`IN_PROGRESS`,e[e.COMPLETE=2]=`COMPLETE`,e[e.FAILED=3]=`FAILED`,e})(ye$1||{});var Lf=0;var lC=1;var z$1=(function(e){return e[e.Placeholder=0]=`Placeholder`,e[e.Loading=1]=`Loading`,e[e.Complete=2]=`Complete`,e[e.Error=3]=`Error`,e})(z$1||{});var Lg=(function(e){return e[e.Initial=-1]=`Initial`,e})(Lg||{});var dC=0;var Xr$1=1;var fC=4;var pC=5;var hC=6;var gC=7;var Hn$1=8;var mC=9;var Lu=(function(e){return e[e.Manual=0]=`Manual`,e[e.Playthrough=1]=`Playthrough`,e})(Lu||{});function jg(e,t,n){let r=Vg(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function wi$1(e,t){let n=Vg(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Bg(e){wi$1(1,e),wi$1(0,e),wi$1(2,e)}function Vg(e){let t=fC;return e===1?t=pC:e===2&&(t=mC),t}function us(e){return e+1}function Ot(e,t){e[y];return e[us(t.index)]}function yC(e,t,n){e[y];let o=us(t);e[o]=n}function Yn$1(e,t){let n=us(t.index);return e.data[n]}function vC(e,t,n){let r=us(t);e.data[r]=n}function DC(e,t,n){let r=t[y],o=Yn$1(r,n);switch(e){case z$1.Complete:return o.primaryTmplIndex;case z$1.Loading:return o.loadingTmplIndex;case z$1.Error:return o.errorTmplIndex;case z$1.Placeholder:return o.placeholderTmplIndex;default:return null}}function jf(e,t){return t===z$1.Placeholder?e.placeholderBlockConfig?.[Lf]??null:t===z$1.Loading?e.loadingBlockConfig?.[Lf]??null:null}function EC(e){return e.loadingBlockConfig?.[lC]??null}function Bf(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function IC(e,t){return Fn$1(e,t.primaryTmplIndex+O)}var wC=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?ku(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=x({token:e,providedIn:`environment`,factory:()=>new e})}return e})();var Hg=new I(``);function Xa(e,t,n){return e.get(wC).getOrCreateInjector(t,e,n,``)}function CC(e,t,n){if(e instanceof an$1){let o=e.injector,i=e.parentInjector;return new an$1(o,Xa(i,t,n))}let r=e.get(pe$2);if(r!==e)return new an$1(e,Xa(r,t,n));return Xa(e,t,n)}function Mt(e,t,n,r=!1){let o=n[q$1],i=o[y];if(Tt(o))return;let s=Ot(o,t),a=s[Xr$1],c=s[gC];if(!(c!==null&&e<c)&&Vf(a,e)&&Vf(s[dC]??-1,e)){let u=Yn$1(i,t),d=!r&&(EC(u)!==null||jf(u,z$1.Loading)!==null||jf(u,z$1.Placeholder))?_C:bC;try{d(e,s,n,t,o)}catch(p){wu(o,p)}}}function TC(e,t){let n=e[we$1]?.findIndex(o=>o.data[Zc]===t[Xr$1])??-1;return{dehydratedView:n>-1?e[we$1][n]:null,dehydratedViewIx:n}}function bC(e,t,n,r,o){F$1(A.DeferBlockStateStart);let i=DC(e,o,r);if(i!==null){t[Xr$1]=e;let s=o[y],c=Fn$1(s,i+O),u=0;Su(n,u);let l;if(e===z$1.Complete){let h=Yn$1(s,r),g=h.providers;g&&g.length>0&&(l=CC(o[re$1],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=TC(n,t),f=zn$1(o,c,null,{injector:l,dehydratedView:d});if(Wn$1(n,f,u,cn$1(c,d)),Jo(f),p>-1&&n[we$1]?.splice(p,1),(e===z$1.Complete||e===z$1.Error)&&Array.isArray(t[Hn$1])){for(let h of t[Hn$1])h();t[Hn$1]=null}}F$1(A.DeferBlockStateEnd)}function Vf(e,t){return e<t}function SC(e,t){let n=e[t.index];Mt(z$1.Placeholder,t,n)}function Hf(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ye$1.COMPLETE?Mt(z$1.Complete,t,n):e.loadingState===ye$1.FAILED&&Mt(z$1.Error,t,n)})}var _C=null;function Ug(e,t){return t[re$1].get(Hg,null,{optional:!0})?.behavior!==Lu.Manual}var $g=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=x({token:e,factory:e.ɵfac,providedIn:`platform`})}return e})();var ju=new I(``);var gt$1=new I(``);function Gg(){xs(()=>{throw new E(600,``)})}var MC=10;var Te$1=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m$1(ut$1);afterRenderManager=m$1(du);zonelessEnabled=m$1(_r);rootEffectScheduler=m$1(za);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ve$1;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m$1(St$1);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Wt$1(n=>!n))}constructor(){m$1(pt$1,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=m$1(pe$2);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=he$1.NULL){return this._injector.get(oe$1).run(()=>{if(F$1(A.BootstrapComponentStart),!this._injector.get(Pu).done)throw new E(405,``);let a=It(n),c=this._injector.get(ln$1),u=new Br(a,c);this.componentTypes.push(n);let{hostElement:l,directives:d,bindings:p}=NC(r),f=l||u.selector,h=u.create(o,[],f,c.injector,d,p),g=h.location.nativeElement,D=h.injector.get(ju,null);return D?.registerApplication(g),h.onDestroy(()=>{this.detachView(h.hostView),xr(this.components,h),D?.unregisterApplication(g)}),this._loadComponent(h),F$1(A.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){F$1(A.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Zi$1.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw F$1(A.ChangeDetectionEnd),new E(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(n),this.afterTick.next(),F$1(A.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(un$1,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<MC;){F$1(A.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{F$1(A.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!wr(o))continue;Yh(o,r&&!this.zonelessEnabled?0:1),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>wr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;xr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(gt$1,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>xr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static ɵfac=function(r){return new(r||e)};static ɵprov=Rt$1({token:e,factory:e.ɵfac})}return e})();function NC(e){return e===void 0||typeof e==`string`||e instanceof Element?{hostElement:e}:e}function xr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function AC(e,t,n){let r=t.get(RC),o=()=>r.remove(e);return r.add(e,n),o}function xC(e){return(t,n)=>AC(t,n,e)}var RC=(()=>{class e{buckets=new Map;callbackBucket=new Map;applicationRef=m$1(Te$1);ngZone=m$1(oe$1);idleService=m$1(Dp);add(n,r){let o=Uf(r);this.callbackBucket.set(n,o);let i=this.buckets.get(o);i??(i={idleId:null,queue:new Set},this.buckets.set(o,i)),i.queue.add(n),this.scheduleBucket(i,r)}remove(n){let r=this.callbackBucket.get(n);if(r===void 0)return;this.callbackBucket.delete(n);let o=this.buckets.get(r);o&&(o.queue.delete(n),o.queue.size===0&&(this.cancelBucket(o),this.buckets.delete(r)))}scheduleBucket(n,r){if(n.idleId!==null)return;let o=Uf(r),i=s=>{for(let a of n.queue)if(a(),this.applicationRef._tick(),n.queue.delete(a),this.callbackBucket.delete(a),s&&s.timeRemaining()===0&&!s.didTimeout)break;n.idleId=null,n.queue.size>0?this.scheduleBucket(n,r):this.buckets.delete(o)};n.idleId=this.idleService.requestOnIdle(s=>this.ngZone.run(()=>i(s)),r)}cancelBucket(n){n.idleId!==null&&(this.idleService.cancelOnIdle(n.idleId),n.idleId=null)}ngOnDestroy(){for(let n of this.buckets.values())this.cancelBucket(n);this.buckets.clear(),this.callbackBucket.clear()}static ɵprov=x({token:e,providedIn:`root`,factory:()=>new e})}return e})();function Uf(e){return!e||e.timeout==null?``:`${e.timeout}`}function OC(e){let t=b$1(),n=ee();if(SC(t,n),!Ug(0,t))return;let r=t[re$1];jg(0,Ot(t,n),e(()=>Wg(0,t,n),r))}function zg(e,t,n){let r=t[re$1],o=t[y];if(e.loadingState!==ye$1.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Ot(t,n),s=IC(o,e);e.loadingState=ye$1.IN_PROGRESS,wi$1(1,i);let a=e.dependencyResolverFn,c=r.get(Mr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let l=!1,p=[],f=[];for(let h=0;h<u.length;h++){let g=u[h];if(g.status===`fulfilled`){let D=g.value,v=It(D)||$o(D);if(v)p.push(v);else{let N=ha(D);N&&f.push(N)}}else{l=!0,g.reason instanceof Error?g.reason:new Error(String(g.reason));break}}if(l){if(e.loadingState=ye$1.FAILED,e.errorTmplIndex===null)wu(t,new E(-750,``))}else{e.loadingState=ye$1.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Bf(h.directiveRegistry,p);e.providers=Zo(!1,...p.map(v=>v.type))}f.length>0&&(h.pipeRegistry=Bf(h.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ye$1.COMPLETE,c()}),e.loadingPromise)}function Wg(e,t,n){let r=t[y],o=t[n.index];if(!Ug(e,t))return;let i=Ot(t,n),s=Yn$1(r,n);switch(Bg(i),s.loadingState){case ye$1.NOT_STARTED:Mt(z$1.Loading,n,o),zg(s,t,n),s.loadingState===ye$1.IN_PROGRESS&&Hf(s,n,o);break;case ye$1.IN_PROGRESS:Mt(z$1.Loading,n,o),Hf(s,n,o);break;case ye$1.COMPLETE:Mt(z$1.Complete,n,o);break;case ye$1.FAILED:Mt(z$1.Error,n,o);break;default:}}async function qg(e,t,n){let r=e.get(Gn);if(r.hydrating.has(t))return;let{parentBlockPromise:i,hydrationQueue:s}=uE(t,e);if(s.length===0)return;i!==null&&s.shift(),PC(r,s),i!==null&&await i;let a=s[0];r.has(a)?await $f(e,s,n):r.awaitParentBlock(a,async()=>await $f(e,s,n))}async function $f(e,t,n){let r=e.get(Gn),o=r.hydrating,i=e.get(St$1),s=i.add();for(let c=0;c<t.length;c++){let u=t[c],l=r.get(u);if(l!=null){if(await jC(l),await LC(e),kC(l)){Dw(l),Gf(t.slice(c),r);break}o.get(u).resolve()}else{FC(c,t,r),Gf(t.slice(c),r);break}}let a=t[t.length-1];await o.get(a)?.promise,i.remove(s),n&&n(t),Ew(r.get(a),t,r,e.get(Te$1))}function kC(e){return Ot(e.lView,e.tNode)[Xr$1]===z$1.Error}function FC(e,t,n){let r=e-1,o=r>-1?n.get(t[r]):null;o&&os(o.lContainer)}function Gf(e,t){let n=t.hydrating;for(let r of e)n.get(r)?.reject();t.cleanup(e)}function PC(e,t){for(let n of t)e.hydrating.set(n,Ba())}function LC(e){return new Promise(t=>Sh(t,{injector:e}))}async function jC(e){let{tNode:t,lView:n}=e,r=Ot(n,t);return new Promise(o=>{BC(r,o),Wg(2,n,t)})}function BC(e,t){Array.isArray(e[Hn$1])||(e[Hn$1]=[]),e[Hn$1].push(t)}function VC(e,t,n){return e===0?zf(t,n):e===2?!zf(t,n):!0}function HC(e){return e!=null&&(e&1)===1}function zf(e,t){let n=e[re$1],r=Yn$1(e[y],t),o=zi$1(n),i=HC(r.flags),a=Ot(e,t)[hC]!==null;return!(i&&a&&o)}function UC(e,t,n,r,o,i,s,a,c,u){let l=b$1(),d=Y$1(),p=e+O,f=dn$1(l,d,e,null,0,0),h=l[re$1],g=zi$1(h);if(d.firstCreatePass){Ce$1(`NgDefer`);let $={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ye$1.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:u??0};c?.(d,$,a,s),vC(d,p,$)}let D=l[p];Tg(D,f,l);let v=null,N=null;if(D[we$1]?.length>0){let $=D[we$1][0].data;N=$[Yc]??null,v=$[Zc]}let K=[null,Lg.Initial,null,null,null,null,N,v,null,null];yC(l,p,K);let de=null;N!==null&&g&&(de=h.get(Gn),de.add(N,{lView:l,tNode:f,lContainer:D}));let Ae=()=>{Bg(K),N!==null&&de?.cleanup([N])};jg(0,K,()=>ba(l,Ae)),Cr(l,Ae)}function $C(e){VC(0,b$1(),ee())&&OC(xC({timeout:e}))}function Yg(e,t,n,r){let o=b$1();if(ht$1(o,sn$1(),t)){Y$1();AI(jn$1(),o,e,t,n,r)}return Yg}var Mc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ja(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function GC(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){C(r);let u=t.length-1;for(C(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=Ja(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],g=Ja(a,f,u,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,u--;continue}let D=n(s,l),v=n(a,f),N=n(s,d);if(Object.is(N,v)){let K=n(u,h);Object.is(K,D)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ki$1,i??=qf(e,s,a,n),Nc(e,o,s,N))e.updateValue(s,d),s++,a++;else if(i.has(N))o.set(D,e.detach(s)),a--;else{let K=e.create(s,t[s]);e.attach(s,K),s++,a++}}for(;s<=u;)Wf(e,o,n,s,t[s]),s++}else if(t!=null){C(r);let u=t[Symbol.iterator]();C(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=Ja(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new ki$1,i??=qf(e,s,a,n);let h=n(s,p);if(Nc(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let g=n(s,d);o.set(g,e.detach(s)),a--}}}for(;!l.done;)Wf(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Nc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Wf(e,t,n,r,o){if(Nc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function qf(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ki$1=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function zC(e,t,n,r,o,i,s,a){Ce$1(`NgControlFlow`);let c=b$1(),u=Y$1();return dn$1(c,u,e,t,n,r,o,me$2(u.consts,i),256,s,a),Bu}function Bu(e,t,n,r,o,i,s,a){Ce$1(`NgControlFlow`);let c=b$1(),u=Y$1();return dn$1(c,u,e,t,n,r,o,me$2(u.consts,i),512,s,a),Bu}function WC(e,t){Ce$1(`NgControlFlow`);let n=b$1(),r=sn$1(),o=n[r]!==Ne$1?n[r]:-1,i=o!==-1?Fi$1(n,O+o):void 0,s=0;if(ht$1(n,r,e)){let a=C(null);try{if(i!==void 0&&Su(i,s),e!==-1){let c=O+e,u=Fi$1(n,c),l=Oc(n[y],c),d=fg(u,l,n);Wn$1(u,zn$1(n,l,t,{dehydratedView:d}),s,cn$1(l,d))}}finally{C(a)}}else if(i!==void 0){let a=Jh(i,s);a!==void 0&&(a[G]=t)}}var Ac=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-H$1}};var xc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function qC(e,t,n,r,o,i,s,a,c,u,l,d,p){Ce$1(`NgControlFlow`);let f=b$1(),h=Y$1(),g=c!==void 0,D=b$1(),N=new xc(g,a?s.bind(D[J][G]):s);D[O+e]=N,dn$1(f,h,e+1,t,n,r,o,me$2(h.consts,i),256),g&&dn$1(f,h,e+2,c,u,l,d,me$2(h.consts,p),512)}var Rc=class extends Mc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-H$1}at(t){return this.getLView(t)[G].$implicit}attach(t,n){let r=n[ue];this.needsIndexUpdate||=t!==this.length,Wn$1(this.lContainer,n,t,cn$1(this.templateTNode,r)),ZC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,KC(this.lContainer,t),QC(this.lContainer,t)}create(t,n){let r=Lr(this.lContainer,this.templateTNode.tView.ssrId);return zn$1(this.hostLView,this.templateTNode,new Ac(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Qi$1(t[y],t)}updateValue(t,n){this.getLView(t)[G].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[G].$index=t}getLView(t){return XC(this.lContainer,t)}};function YC(e){let t=C(null),n=Pe$1();try{let r=b$1(),o=r[y],i=r[n],s=n+1,a=Fi$1(r,s);if(i.liveCollection===void 0)i.liveCollection=new Rc(a,r,Oc(o,s));else i.liveCollection.reset();let c=i.liveCollection;if(GC(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=sn$1(),l=c.length===0;if(ht$1(r,u,l)){let d=n+2,p=Fi$1(r,d);if(l){let f=Oc(o,d),h=fg(p,f,r);Wn$1(p,zn$1(r,f,void 0,{dehydratedView:h}),0,cn$1(f,h))}else o.firstUpdatePass&&rs(p),Su(p,0)}}}finally{C(t)}}function Fi$1(e,t){return e[t]}function ZC(e,t){if(e.length<=H$1)return;let r=e[H$1+t],o=r?r[Ye]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[re$1];nI(i,o),At.delete(r[qe$1]),o.detachedLeaveAnimationFns=void 0}}function KC(e,t){if(e.length<=H$1)return;let r=e[H$1+t],o=r?r[Ye]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function QC(e,t){return Pr(e,t)}function XC(e,t){return Jh(e,t)}function Oc(e,t){return Fn$1(e,t)}function Zg(e,t,n){let r=b$1();if(ht$1(r,sn$1(),t)){Y$1();bI(jn$1(),r,e,t,r[R$1],n)}return Zg}function kc(e,t,n,r,o){Cu(t,e,n,o?`class`:`style`,r)}function Pi$1(e,t,n,r){let o=b$1(),i=o[y],s=e+O,a=i.firstCreatePass?Au(s,o,2,t,Du,ti$1(),n,r):i.data[s];if(Ze$1(a)){let c=o[Fe].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(mg(u),()=>(Yf(e,t,o,a,r),Pi$1))}}return Yf(e,t,o,a,r),Pi$1}function Yf(e,t,n,r,o){if(Eu(r,n,e,t,$u),kn$1(r)){let i=n[y];es(i,n,r),ru(i,r,n)}o!=null&&Qr$1(n,r)}function Vu(){let e=Y$1(),n=Iu(ee());return e.firstCreatePass&&xu(e,n),_a(n)&&Ma(),Sa(),n.classesWithoutHost!=null&&AD(n)&&kc(e,n,b$1(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&xD(n)&&kc(e,n,b$1(),n.stylesWithoutHost,!1),Vu}function Kg(e,t,n,r){return Pi$1(e,t,n,r),Vu(),Kg}function Hu(e,t,n,r){let o=b$1(),i=o[y],s=e+O,a=i.firstCreatePass?Bw(s,i,2,t,n,r):i.data[s];return Eu(a,o,e,t,$u),r!=null&&Qr$1(o,a),Hu}function Uu(){return _a(Iu(ee()))&&Ma(),Sa(),Uu}function Qg(e,t,n,r){return Hu(e,t,n,r),Uu(),Qg}var $u=(e,t,n,r,o)=>(Ke(!0),qi$1(t[R$1],r,si$1()));function JC(e,t,n,r,o){let i=!Wi$1(t,n);if(Ke(i),i)return qi$1(t[R$1],r,si$1());let s=t[ue],a=ts(s,e,t,n);if(Qp(s,o)&&Gi$1(s,o,a.nextSibling),s){if(a==null)throw new E(-502,`<${r}>`);if(a.nodeType!==Node.ELEMENT_NODE)throw new E(-500,!1);(Ip(n)||wp(a))&&Ze$1(n)&&(jd(n),lh(a))}return a}function Xg(){$u=JC}function Gu(e,t,n){let r=b$1(),o=r[y],i=e+O,s=o.firstCreatePass?Au(i,r,8,`ng-container`,Du,ti$1(),t,n):o.data[i];if(Eu(s,r,e,`ng-container`,em),kn$1(s)){let a=r[y];es(a,r,s),ru(a,s,r)}return n!=null&&Qr$1(r,s),Gu}function zu(){let e=Y$1(),n=Iu(ee());return e.firstCreatePass&&xu(e,n),zu}function Jg(e,t,n){return Gu(e,t,n),zu(),Jg}var em=(e,t,n,r,o)=>(Ke(!0),au(t[R$1],``));function eT(e,t,n,r,o){let i,s=!Wi$1(t,n);if(Ke(s),s)return au(t[R$1],``);let a=t[ue],c=ts(a,e,t,n),u=aE(a,o);return Gi$1(a,o,c),i=ns(u,c),i}function tm(){em=eT}function tT(){return b$1()}function nm(e,t,n){let r=b$1();if(ht$1(r,sn$1(),t)){Y$1();Uh(jn$1(),r,e,t,r[R$1],n)}return nm}var Jr$1=`en-US`;var nT={marker:`element`};var rT={marker:`ICU`};var lt$1=(function(e){return e[e.SHIFT=2]=`SHIFT`,e[e.APPEND_EAGERLY=1]=`APPEND_EAGERLY`,e[e.COMMENT=2]=`COMMENT`,e})(lt$1||{});function rm(e){typeof e==`string`&&e.toLowerCase().replace(/_/g,`-`)}function iT(e,t,n){let r=e[R$1];switch(n){case Node.COMMENT_NODE:return au(r,t);case Node.TEXT_NODE:return su(r,t);case Node.ELEMENT_NODE:return qi$1(r,t,null)}}var sT=(e,t,n,r)=>(Ke(!0),iT(e,n,r));function aT(e,t,n,r){let o=e[R$1];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s<$1.COMMENT)===lt$1.COMMENT,u=(s<$1.APPEND_EAGERLY)===lt$1.APPEND_EAGERLY,l=s>>>lt$1.SHIFT,d=e[l],p=!1;d===null&&(d=e[l]=sT(e,l,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Tr()),u&&n!==null&&p&&dt$1(o,n,d,r,!1)}}var Li$1=/�(\d+):?\d*�/gi;var cT=/�(\d+)�/;var om=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/;var Rr=`�`;var uT=/�\/?\*(\d+:\d+)�/gi;var lT=/�(\/?[#*]\d+):?\d*�/gi;var dT=/\uE500/g;function fT(e){return e.replace(dT,` `)}function pT(e,t,n,r,o,i){let s=Ln$1(),a=[],c=[],u=[[]],l=[[]];o=gT(o,i);let d=fT(o).split(lT);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=Pc(f);for(let g=0;g<h.length;g++){let D=h[g];if((g&1)===0){let v=D;v!==``&&hT(l[0],e,s,u[0],a,c,n,v)}else{let v=D;if(typeof v!=`object`)throw new Error(`Unable to parse ICU expression in "${o}" message.`);let K=im(e,s,u[0],n,a,``,!0).index;am(l[0],e,n,c,t,v,K)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),D=O+Number.parseInt(f.substring(h?2:1));if(h)u.shift(),l.shift(),ct$1(Ln$1(),!1);else{let v=rw(e,u[0],D);u.unshift([]),ct$1(v,!0);let N={kind:2,index:D,children:[],type:g===35?0:1};l[0].push(N),l.unshift(N.children)}}}e.data[r]={create:a,update:c,ast:l[0],parentTNodeIndex:t}}function im(e,t,n,r,o,i,s){let a=Kr$1(e,r,1,null),c=a<<lt$1.SHIFT,u=Ln$1();t===u&&(u=null),u===null&&(c|=lt$1.APPEND_EAGERLY),s&&(c|=lt$1.COMMENT,KE(aw)),o.push(c,i===null?``:i);let l=Mu(e,a,s?32:1,i===null?``:i,null);og(n,l);let d=l.index;return ct$1(l,!1),u!==null&&t!==u&&nw(u,d),l}function hT(e,t,n,r,o,i,s,a){let c=a.match(Li$1),l=im(t,n,r,s,o,c?null:a,!1).index;c&&Fc(i,a,l,null,0,null),e.push({kind:0,index:l})}function Fc(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,u=t.split(Li$1),l=0;for(let d=0;d<u.length;d++){let p=u[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),l=l|sm(f)}else p!==``&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=l,e[a]=e.length-c,l}function sm(e){return 1<<Math.min(e,31)}function Zf(e){let t,n=``,r=0,o=!1,i;for(;(t=uT.exec(e))!==null;)o?t[0]===`${Rr}/*${i}${Rr}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function gT(e,t){if(sw(t))return Zf(e);{let n=e.indexOf(`:${t}${Rr}`)+2+t.toString().length,r=e.search(new RegExp(`${Rr}\\/\\*\\d+:${t}${Rr}`));return Zf(e.substring(n,r))}}function am(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Kr$1(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};DT(r,i,s),tw(t,s,c);let u=i.values,l=[];for(let d=0;d<u.length;d++){let p=u[d],f=[];for(let g=0;g<p.length;g++){let D=p[g];if(typeof D!=`string`)p[g]=`<!--\uFFFD${f.push(D)-1}\uFFFD-->`}let h=[];l.push(h),a=yT(h,t,c,n,r,o,i.cases[d],p.join(``),f)|a}a&&ET(r,a,s),e.push({kind:3,index:s,cases:l,currentCaseLViewIndex:c.currentCaseLViewIndex})}function mT(e){let t=[],n=[],r=1,o=0;e=e.replace(om,function(s,a,c){return c===`select`?r=0:r=1,o=parseInt(a.slice(1),10),``});let i=Pc(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,`$1`)),a.length&&t.push(a);let c=Pc(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Pc(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]==`}`){if(n.pop(),n.length==0){let c=e.substring(t,a);om.test(c)?r.push(mT(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push(`{`)}}let s=e.substring(t);return r.push(s),r}function yT(e,t,n,r,o,i,s,a,c){let u=[],l=[],d=[];n.cases.push(s),n.create.push(u),n.remove.push(l),n.update.push(d);let f=rh(Ur()).getInertBodyElement(a),h=vc(f)||f;return h?cm(e,t,n,r,o,u,l,d,h,i,c,0):0}function cm(e,t,n,r,o,i,s,a,c,u,l,d){let p=0,f=c.firstChild;for(;f;){let h=Kr$1(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,D=g.tagName.toLowerCase();if(Object.hasOwn(gc,D)){ec(i,nT,D,u,h),t.data[h]=D;let de=g.attributes;for(let $=0;$<de.length;$++){let be=de.item($),et=be.name.toLowerCase(),Qn=!!be.value.match(Li$1),W=g.namespaceURI,Ue=W&&th[W],mn=Ue?`:${Ue}:${D}`:D;if(Qn)Object.hasOwn(mc,et)&&Fc(a,be.value,h,be.name,0,Xf(et,mn));else if(mc[et]){let $e=be.value;Xf(et,mn)?Qf(i,h,be.name,`unsafe:blocked`):Qf(i,h,be.name,$e)}}let Ae={kind:1,index:h,children:[]};e.push(Ae),p=cm(Ae.children,t,n,r,o,i,s,a,f,h,l,d+1)|p,Kf(s,h,d)}break;case Node.TEXT_NODE:let v=f.textContent||``,N=v.match(Li$1);ec(i,null,N?``:v,u,h),Kf(s,h,d),N&&(p=Fc(a,v,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let K=cT.exec(f.textContent||``);if(K){let Ae=l[parseInt(K[1],10)];ec(i,rT,``,u,h),am(e,t,r,o,u,Ae,h),vT(s,h,d)}break}f=f.nextSibling}return p}function Kf(e,t,n){n===0&&e.push(t)}function vT(e,t,n){n===0&&(e.push(~t),e.push(t))}function DT(e,t,n){e.push(sm(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function ET(e,t,n){e.push(t,1,n<<2|3)}function ec(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,iw(0,r,o))}function Qf(e,t,n,r){e.push(t<<1|1,n,r)}function Xf(e,t){let n;if(t){let[r,o]=fh(t,!1);n=Ir(o,e,r)}else n=Ir(`*`,e);switch(n){case j.HTML:return ph;case j.STYLE:return hh;case j.SCRIPT:return mh;case j.URL:return qr;case j.RESOURCE_URL:return cu;case j.ATTRIBUTE_NO_BINDING:return Dh;default:return null}}function um(e,t,n=-1){let r=Y$1(),o=b$1(),i=O+e,s=me$2(r.consts,t),a=Ln$1();if(r.firstCreatePass&&pT(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[J];p[T]|=32}else o[T]|=32;let c=r.data[i],l=Ah(r,a===o[X]?null:a,o),d=a&&a.type&8?o[a.index]:null;aT(o,c.create,l,d),Fa(!0)}function lm(){Fa(!1)}function IT(e,t,n){um(e,t,n),lm()}function dm(e,t,n){let r=b$1(),o=Y$1(),i=ee();return wT(o,r,r[R$1],i,e,t,n),dm}function fm(e,t,n){let r=b$1(),o=Y$1(),i=ee();return(i.type&3||n)&&yg(i,o,r,n,r[R$1],e,t,Ii$1(i,r,t)),fm}function wT(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ii$1(r,t,i),yg(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Ii$1(r,t,i),Af(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Ii$1(r,t,i),Af(r,t,d,o,o,c)}}function CT(e=1){return Qd(e)}function TT(e,t){let n=null,r=$E(e);for(let o=0;o<t.length;o++){let i=t[o];if(i===`*`){n=o;continue}if(r===null?wh(e,i,!0):WE(r,i))return o}return n}function bT(e){let t=b$1()[J][X];if(!t.projection){let r=t.projection=wd(e?e.length:1,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?TT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ST(e,t=0,n,r,o,i){let s=b$1(),a=Y$1(),c=r?e+1:null;c!==null&&dn$1(s,a,c,r,o,i,null,n);let u=qn$1(a,O+e,16,null,n||null);u.projection===null&&(u.projection=t),xa();let d=!s[ue]||ni$1();s[J][X].projection[u.projection]===null&&c!==null?_T(s,a,c):d&&!zr(u)&&hI(a,s,u)}function _T(e,t,n){let r=O+n,o=t.data[r],i=e[r],s=Lr(i,o.tView.ssrId);Wn$1(i,zn$1(e,o,void 0,{dehydratedView:s}),0,cn$1(o,s))}function MT(e){return xd(Hd(),O+e)}function mi$1(e,t){return e<<17|t<<2}function fn$1(e){return e>>17&32767}function NT(e){return(e&2)==2}function AT(e,t){return e&131071|t<<17}function Lc(e){return e|2}function $n$1(e){return(e&131068)>>2}function tc(e,t){return e&-131069|t<<2}function xT(e){return(e&1)===1}function jc(e){return e|1}function RT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=fn$1(s),c=$n$1(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||An$1(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=fn$1(e[a+1]);e[r+1]=mi$1(p,a),p!==0&&(e[p+1]=tc(e[p+1],r)),e[a+1]=AT(e[a+1],r)}else e[r+1]=mi$1(a,0),a!==0&&(e[a+1]=tc(e[a+1],r)),a=r;else e[r+1]=mi$1(c,0),a===0?a=r:e[c+1]=tc(e[c+1],r),c=r;u&&(e[r+1]=Lc(e[r+1])),Jf(e,l,r,!0),Jf(e,l,r,!1),OT(t,l,e,r,i),s=mi$1(a,c),i?t.classBindings=s:t.styleBindings=s}function OT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t==`string`&&An$1(i,t)>=0&&(n[r+1]=jc(n[r+1]))}function Jf(e,t,n,r){let o=e[n+1],i=t===null,s=r?fn$1(o):$n$1(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];kT(c,t)&&(a=!0,e[s+1]=r?jc(u):Lc(u)),s=r?fn$1(u):$n$1(u)}a&&(e[n+1]=r?Lc(o):jc(o))}function kT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?An$1(e,t)>=0:!1}var Be={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function FT(e){return e.substring(Be.key,Be.keyEnd)}function PT(e){return LT(e),pm(e,hm(e,0,Be.textEnd))}function pm(e,t){let n=Be.textEnd;return n===t?-1:(t=Be.keyEnd=jT(e,Be.key=t,n),hm(e,t,n))}function LT(e){Be.key=0,Be.keyEnd=0,Be.value=0,Be.valueEnd=0,Be.textEnd=e.length}function hm(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function jT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function gm(e,t){return HT(e,t,null,!0),gm}function BT(e){UT(YT,VT,e,!0)}function VT(e,t){for(let n=PT(t);n>=0;n=pm(t,n))qo(e,FT(t),!0)}function HT(e,t,n,r){let o=b$1(),i=Y$1(),s=ka(2);if(i.firstUpdatePass&&ym(i,e,s,r),t!==Ne$1&&ht$1(o,s,t)){let a=i.data[Pe$1()];vm(i,a,o,o[R$1],e,o[s+1]=KT(t,n),r,s)}}function UT(e,t,n,r){let o=Y$1(),i=ka(2);o.firstUpdatePass&&ym(o,null,i,r);let s=b$1();if(n!==Ne$1&&ht$1(s,i,n)){let a=o.data[Pe$1()];if(Dm(a,r)&&!mm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Vo(c,n||``)),kc(o,a,s,n,r)}else ZT(o,a,s,s[R$1],s[i+1],s[i+1]=qT(e,t,n),r,i)}}function mm(e,t){return t>=e.expandoStartIndex}function ym(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Pe$1()],s=mm(e,n);Dm(i,r)&&t===null&&!s&&(t=!1),t=$T(o,i,t,r),RT(o,i,t,n,s,r)}}function $T(e,t,n,r){let o=qd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=nc(null,e,t,n,r),n=Hr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=nc(o,e,t,n,r),i===null){let c=GT(e,t,r);c!==void 0&&Array.isArray(c)&&(c=nc(null,e,t,c[1],r),c=Hr(c,t.attrs,r),zT(e,t,r,c))}else i=WT(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function GT(e,t,n){let r=n?t.classBindings:t.styleBindings;if($n$1(r)!==0)return e[fn$1(r)]}function zT(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[fn$1(o)]=r}function WT(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Hr(r,s,n)}return Hr(r,t.attrs,n)}function nc(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=Hr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Hr(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]),qo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function qT(e,t,n){if(n==null||n===``)return ae;let r=[],o=He(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o==`object`)for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o==`string`&&t(r,o);return r}function YT(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&qo(e,r,n)}function ZT(e,t,n,r,o,i,s,a){o===Ne$1&&(o=ae);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,g;l===d?(c+=2,u+=2,p!==f&&(h=d,g=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,g=f),h!==null&&vm(e,t,n,r,h,g,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function vm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1];if(!ji$1(xT(u)?ep(c,t,n,o,$n$1(u),s):void 0)){ji$1(i)||NT(u)&&(i=ep(c,null,n,o,a,s));mI(r,s,Ca(Pe$1(),n),o,i)}}function ep(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===Ne$1&&(p=d?ae:void 0);let f=d?Yo(p,r):l===r?p:void 0;if(u&&!ji$1(f)&&(f=Yo(c,r)),ji$1(f)&&(a=f,s))return a;let h=e[o+1];o=s?fn$1(h):$n$1(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Yo(c,r))}return a}function ji$1(e){return e!==void 0}function KT(e,t){return e==null||e===``||(typeof t==`string`?e=He(e)+t:typeof e==`object`&&(e=dr$1(He(e)))),e}function Dm(e,t){return(e.flags&(t?8:16))!==0}function QT(e,t=``){let n=b$1(),r=Y$1(),o=e+O,i=r.firstCreatePass?qn$1(r,o,1,t,null):r.data[o],s=Em(r,n,i,t);n[o]=s,Tr()&&hu(r,n,s,i),ct$1(i,!1)}var Em=(e,t,n,r)=>(Ke(!0),su(t[R$1],r));function XT(e,t,n,r){let o=!Wi$1(t,n);if(Ke(o),o)return su(t[R$1],r);let i=t[ue];return ts(i,e,t,n)}function Im(){Em=XT}function wm(e,t,n,r=``){return ht$1(e,sn$1(),n)?t+Nn$1(n)+r:Ne$1}function Cm(e){return Wu(``,e),Cm}function Wu(e,t,n){let r=b$1(),o=wm(r,e,t,n);return o!==Ne$1&&JT(r,Pe$1(),o),Wu}function JT(e,t,n){let r=Ca(t,e);NE(e[R$1],r,n)}function eb(e,t,n=``){return wm(b$1(),e,t,n)}var tb=()=>null;var qu=new I(``);function Tm(){return tb()}function bm(e){e.requested&&e.activated&&(e.injector,e.document)}function rb(e,t,n){return ib(b$1(),Ud(),e,t,n)}function ob(e,t){let n=e[t];return n===Ne$1?void 0:n}function ib(e,t,n,r,o,i){let s=t+n;return ht$1(e,s,o)?Sw(e,s+1,i?r.call(i,o):r(o)):ob(e,s+1)}function sb(e,t){return tg(e,t)}var Sm=(()=>{class e{applicationErrorHandler=m$1(ut$1);appRef=m$1(Te$1);taskService=m$1(St$1);ngZone=m$1(oe$1);zonelessEnabled=m$1(_r);tracing=m$1(pt$1,{optional:!0});zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new se$2;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ur$1):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m$1(Ga,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?rf:Ha;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ur$1+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=Rt$1({token:e,factory:e.ɵfac})}return e})();function _m(){return[{provide:ot$1,useExisting:Sm},{provide:oe$1,useClass:lr$1},{provide:_r,useValue:!0}]}var ab=(()=>{class e{compileModuleSync(n){return new Oi$1(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static ɵfac=function(r){return new(r||e)};static ɵprov=Rt$1({token:e,factory:e.ɵfac})}return e})();function cb(){return typeof $localize<`u`&&$localize.locale||Jr$1}var ls=new I(``,{factory:()=>m$1(ls,{optional:!0,skipSelf:!0})||cb()});var ds=new I(``);function Nm(e,t){return fo$1(e,t?.equal)}function fs(e){return Rl(e)}(class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e(`IDLE`);static LOADING=new e(`LOADING`)});var lb=e=>e;function Am(e,t){if(typeof e==`function`)return Mm(ks(e,lb,t?.equal),t?.debugName,t?.set);else return Mm(ks(e.source,e.computation,e.equal),e.debugName,e.set)}function Mm(e,t,n){let r=e[ne$1],o=e;if(n!==void 0){let i=s=>Fs(r,s);o.set=s=>n(s,i),o.update=s=>n(s(fs(e)),i)}else o.set=i=>Fs(r,i),o.update=i=>xl(r,i);return o.asReadonly=ci$1.bind(e),o}var Ju={JSACTION:`__jsaction`,OWNER:`__owner`};var km={};function db(e){return e[Ju.JSACTION]}function xm(e,t){e[Ju.JSACTION]=t}function fb(e){return km[e]}function pb(e,t){km[e]=t}var w={CLICK:`click`,CLICKMOD:`clickmod`,DBLCLICK:`dblclick`,FOCUS:`focus`,FOCUSIN:`focusin`,BLUR:`blur`,FOCUSOUT:`focusout`,SUBMIT:`submit`,KEYDOWN:`keydown`,KEYPRESS:`keypress`,KEYUP:`keyup`,MOUSEOVER:`mouseover`,MOUSEOUT:`mouseout`,MOUSEENTER:`mouseenter`,MOUSELEAVE:`mouseleave`,POINTEROVER:`pointerover`,POINTEROUT:`pointerout`,POINTERENTER:`pointerenter`,POINTERLEAVE:`pointerleave`,ERROR:`error`,LOAD:`load`,TOUCHSTART:`touchstart`,TOUCHEND:`touchend`,TOUCHMOVE:`touchmove`,TOGGLE:`toggle`};var hb=[w.MOUSEENTER,w.MOUSELEAVE,`pointerenter`,`pointerleave`];w.CLICK,w.DBLCLICK,w.FOCUSIN,w.FOCUSOUT,w.KEYDOWN,w.KEYUP,w.KEYPRESS,w.MOUSEOVER,w.MOUSEOUT,w.SUBMIT,w.TOUCHSTART,w.TOUCHEND,w.TOUCHMOVE;var gb=[w.FOCUS,w.BLUR,w.ERROR,w.LOAD,w.TOGGLE];var el=e=>gb.indexOf(e)>=0;function mb(e){return e===w.MOUSEENTER?w.MOUSEOVER:e===w.MOUSELEAVE?w.MOUSEOUT:e===w.POINTERENTER?w.POINTEROVER:e===w.POINTERLEAVE?w.POINTEROUT:e}function yb(e,t,n,r){let o=!1;el(t)&&(o=!0);let i=typeof r==`boolean`?{capture:o,passive:r}:o;return e.addEventListener(t,n,i),{eventType:t,handler:n,capture:o,passive:r}}function vb(e,t){if(e.removeEventListener){let n=typeof t.passive==`boolean`?{capture:t.capture}:t.capture;e.removeEventListener(t.eventType,t.handler,n)}else e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}function Db(e){e.preventDefault?e.preventDefault():e.returnValue=!1}var Rm=typeof navigator<`u`&&/Macintosh/.test(navigator.userAgent);function Eb(e){return e.which===2||e.which==null&&e.button===4}function Ib(e){return Rm&&e.metaKey||!Rm&&e.ctrlKey||Eb(e)||e.shiftKey}function wb(e,t,n){let r=e.relatedTarget;return(e.type===w.MOUSEOVER&&t===w.MOUSEENTER||e.type===w.MOUSEOUT&&t===w.MOUSELEAVE||e.type===w.POINTEROVER&&t===w.POINTERENTER||e.type===w.POINTEROUT&&t===w.POINTERLEAVE)&&(!r||r!==n&&!n.contains(r))}function Cb(e,t){let n={};for(let r in e){if(r===`srcElement`||r===`target`)continue;let o=r,i=e[o];typeof i!=`function`&&(n[o]=i)}return e.type===w.MOUSEOVER?n.type=w.MOUSEENTER:e.type===w.MOUSEOUT?n.type=w.MOUSELEAVE:e.type===w.POINTEROVER?n.type=w.POINTERENTER:n.type=w.POINTERLEAVE,n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}var ms=class{element;handlerInfos=[];constructor(t){this.element=t}addEventListener(t,n,r){this.handlerInfos.push(yb(this.element,t,n(this.element),r))}cleanUp(){for(let t=0;t<this.handlerInfos.length;t++)vb(this.element,this.handlerInfos[t]);this.handlerInfos=[]}};var Tb={EVENT_ACTION_SEPARATOR:`:`};function kt$1(e){return e.eventType}function tl(e,t){e.eventType=t}function hs(e){return e.event}function Fm(e,t){e.event=t}function Pm(e){return e.targetElement}function Lm(e,t){e.targetElement=t}function jm(e){return e.eic}function bb(e,t){e.eic=t}function Sb(e){return e.timeStamp}function _b(e,t){e.timeStamp=t}function gs(e){return e.eia}function Bm(e,t,n){e.eia=[t,n]}function Zu(e){e.eia=void 0}function ps(e){return e[1]}function Mb(e){return e.eirp}function Vm(e,t){e.eirp=t}function Hm(e){return e.eir}function Um(e,t){e.eir=t}function $m(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}function Nb(e,t,n,r,o,i,s,a){return{eventType:e,event:t,targetElement:n,eic:r,timeStamp:o,eia:i,eirp:s,eiack:a}}var Ku=class e{eventInfo;constructor(t){this.eventInfo=t}getEventType(){return kt$1(this.eventInfo)}setEventType(t){tl(this.eventInfo,t)}getEvent(){return hs(this.eventInfo)}setEvent(t){Fm(this.eventInfo,t)}getTargetElement(){return Pm(this.eventInfo)}setTargetElement(t){Lm(this.eventInfo,t)}getContainer(){return jm(this.eventInfo)}setContainer(t){bb(this.eventInfo,t)}getTimestamp(){return Sb(this.eventInfo)}setTimestamp(t){_b(this.eventInfo,t)}getAction(){let t=gs(this.eventInfo);if(t)return{name:t[0],element:t[1]}}setAction(t){if(!t){Zu(this.eventInfo);return}Bm(this.eventInfo,t.name,t.element)}getIsReplay(){return Mb(this.eventInfo)}setIsReplay(t){Vm(this.eventInfo,t)}getResolved(){return Hm(this.eventInfo)}setResolved(t){Um(this.eventInfo,t)}clone(){return new e($m(this.eventInfo))}};var Ab={};var xb=/\s*;\s*/;var Rb=w.CLICK;var Qu=class{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:t=!1,clickModSupport:n=!0}={}){this.syntheticMouseEventSupport=t,this.clickModSupport=n}resolveEventType(t){this.clickModSupport&&kt$1(t)===w.CLICK&&Ib(hs(t))?tl(t,w.CLICKMOD):this.a11yClickSupport&&this.updateEventInfoForA11yClick(t)}resolveAction(t){Hm(t)||(this.populateAction(t,Pm(t)),Um(t,!0))}resolveParentAction(t){let n=gs(t),r=n&&ps(n);Zu(t);let o=r&&this.getParentNode(r);o&&this.populateAction(t,o)}populateAction(t,n){let r=n;for(;r&&r!==jm(t)&&(r.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(r,t),!gs(t));)r=this.getParentNode(r);let o=gs(t);if(o&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(t),this.syntheticMouseEventSupport&&(kt$1(t)===w.MOUSEENTER||kt$1(t)===w.MOUSELEAVE||kt$1(t)===w.POINTERENTER||kt$1(t)===w.POINTERLEAVE)))if(wb(hs(t),kt$1(t),ps(o)))Fm(t,Cb(hs(t),ps(o))),Lm(t,ps(o));else Zu(t)}getParentNode(t){let n=t[Ju.OWNER];if(n)return n;let r=t.parentNode;return r?.nodeName===`#document-fragment`?r?.host??null:r}populateActionOnElement(t,n){let r=this.parseActions(t),o=r[kt$1(n)];o!==void 0&&Bm(n,o,t),this.a11yClickSupport&&this.populateClickOnlyAction(t,n,r)}parseActions(t){let n=db(t);if(!n){let r=t.getAttribute(di$1.JSACTION);if(!r)n=Ab,xm(t,n);else{if(n=fb(r),!n){n={};let o=r.split(xb);for(let i=0;i<o.length;i++){let s=o[i];if(!s)continue;let a=s.indexOf(Tb.EVENT_ACTION_SEPARATOR),c=a!==-1,u=c?s.substr(0,a).trim():Rb,l=c?s.substr(a+1).trim():s;n[u]=l}pb(r,n)}xm(t,n)}}return n}addA11yClickSupport(t,n,r){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=t,this.preventDefaultForA11yClick=n,this.populateClickOnlyAction=r}};var Gm=(function(e){return e[e.I_AM_THE_JSACTION_FRAMEWORK=0]=`I_AM_THE_JSACTION_FRAMEWORK`,e})(Gm||{});var Xu=class{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(t,{actionResolver:n,eventReplayer:r}={}){this.dispatchDelegate=t,this.actionResolver=n,this.eventReplayer=r}dispatch(t){let n=new Ku(t);this.actionResolver?.resolveEventType(t),this.actionResolver?.resolveAction(t);let r=n.getAction();if(r&&Ob(r.element,n)&&Db(n.getEvent()),this.eventReplayer&&n.getIsReplay()){this.scheduleEventInfoWrapperReplay(n);return}this.dispatchDelegate(n)}scheduleEventInfoWrapperReplay(t){this.replayEventInfoWrappers.push(t),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}};function Ob(e,t){return e.tagName===`A`&&(t.getEventType()===w.CLICK||t.getEventType()===w.CLICKMOD)}var zm=Symbol.for(`propagationStopped`);var nl={REPLAY:101};var kb="`preventDefault` called during event replay.";var Fb="`composedPath` called during event replay.";var ys=class{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(t,n=!0){this.dispatchDelegate=t,this.clickModSupport=n,this.actionResolver=new Qu({clickModSupport:n}),this.dispatcher=new Xu(r=>{this.dispatchToDelegate(r)},{actionResolver:this.actionResolver})}dispatch(t){this.dispatcher.dispatch(t)}dispatchToDelegate(t){for(t.getIsReplay()&&jb(t),Pb(t);t.getAction();){if(Bb(t),el(t.getEventType())&&t.getAction().element!==t.getTargetElement()||(this.dispatchDelegate(t.getEvent(),t.getAction().name),Lb(t)))return;this.actionResolver.resolveParentAction(t.eventInfo)}}};function Pb(e){let t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),r=()=>{t[zm]=!0,n()};gn$1(t,`stopPropagation`,r),gn$1(t,`stopImmediatePropagation`,r)}function Lb(e){return!!e.getEvent()[zm]}function jb(e){let t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);gn$1(t,`target`,n),gn$1(t,`eventPhase`,nl.REPLAY),gn$1(t,`preventDefault`,()=>{throw r(),new Error(kb+``)}),gn$1(t,`composedPath`,()=>{throw new Error(Fb+``)})}function Bb(e){let t=e.getEvent(),n=e.getAction()?.element;n&&gn$1(t,`currentTarget`,n,{configurable:!0})}function gn$1(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function Wm(e,t){e.ecrd(n=>{t.dispatch(n)},Gm.I_AM_THE_JSACTION_FRAMEWORK)}function Vb(e){return e?.q??[]}function Hb(e){e&&(Om(e.c,e.et,e.h),Om(e.c,e.etc,e.h,!0))}function Om(e,t,n,r){for(let o=0;o<t.length;o++)e.removeEventListener(t[o],n,r)}var Ub=!1;var qm=(()=>{class e{static MOUSE_SPECIAL_SUPPORT=Ub;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(n){this.containerManager=n}handleEvent(n,r,o){let i=Nb(n,r,r.target,o,Date.now());this.handleEventInfo(i)}handleEventInfo(n){if(!this.dispatcher){Vm(n,!0),this.queuedEventInfos?.push(n);return}this.dispatcher(n)}addEvent(n,r,o){if(n in this.eventHandlers||!this.containerManager||!e.MOUSE_SPECIAL_SUPPORT&&hb.indexOf(n)>=0)return;let i=(a,c,u)=>{this.handleEvent(a,c,u)};this.eventHandlers[n]=i;let s=mb(r||n);if(s!==n){let a=this.browserEventTypeToExtraEventTypes[s]||[];a.push(n),this.browserEventTypeToExtraEventTypes[s]=a}this.containerManager.addEventListener(s,a=>c=>{i(n,c,a)},o)}replayEarlyEvents(n=window._ejsa){n&&(this.replayEarlyEventInfos(n.q),Hb(n),delete window._ejsa)}replayEarlyEventInfos(n){for(let r=0;r<n.length;r++){let o=n[r],i=this.getEventTypesForBrowserEventType(o.eventType);for(let s=0;s<i.length;s++){let a=$m(o);tl(a,i[s]),this.handleEventInfo(a)}}}getEventTypesForBrowserEventType(n){let r=[];return this.eventHandlers[n]&&r.push(n),this.browserEventTypeToExtraEventTypes[n]&&r.push(...this.browserEventTypeToExtraEventTypes[n]),r}handler(n){return this.eventHandlers[n]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(n,r){this.ecrd(n,r)}ecrd(n,r){if(this.dispatcher=n,this.queuedEventInfos?.length){for(let o=0;o<this.queuedEventInfos.length;o++)this.handleEventInfo(this.queuedEventInfos[o]);this.queuedEventInfos=null}}}return e})();function Ym(e,t=window){return Vb(t._ejsas?.[e])}function rl(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}function ny(e,t){let n=Object.create(np);n.value=e,n.transformFn=t?.transform;function r(){if(Vt$1(n),n.value===Vc)throw new E(-950,null);return n.value}return r[ne$1]=n,r}var Zm=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>$c(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function B1(e){return pS(e)?e.default:e}function pS(e){return e&&typeof e==`object`&&`default`in e}function Km(e,t){return ny(e,t)}function hS(e){return ny(Vc,e)}var V1=(Km.required=hS,Km);var vs=new WeakSet;var Qm=``;function Xm(e){return e.get(Qc,Pp)}function il(){let e=[{provide:Qc,useFactory:()=>{let t=!0;{let n=m$1(Le$1);t=!!window._ejsas?.[n]}return t&&Ce$1(`NgEventReplay`),t}}];return e.push({provide:it$1,useValue:()=>{let t=m$1(Te$1),{injector:n}=t;if(!vs.has(t)){let r=m$1(Jc);if(Xm(n)){Gp();let i=Up(n.get(Le$1),(s,a,c)=>{s.nodeType===Node.ELEMENT_NODE&&(jp(s,a,c),Bp(s,r))});t.onDestroy(i)}}},multi:!0},{provide:gt$1,useFactory:()=>{let t=m$1(Te$1),{injector:n}=t;return()=>{if(!Xm(n)||vs.has(t))return;vs.add(t);let r=n.get(Le$1);t.onDestroy(()=>{vs.delete(t),rl(r)}),t.whenStable().then(()=>{if(t.destroyed)return;let o=n.get(Hp);gS(o,n);let i=n.get(Jc);i.get(Qm)?.forEach(Vp),i.delete(Qm);let s=o.instance;zi$1(n)?t.onDestroy(()=>s.cleanUp()):s.cleanUp()})}},multi:!0}),e}var gS=(e,t)=>{let n=t.get(Le$1),r=window._ejsas[n],o=e.instance=new qm(new ms(r.c));for(let a of r.et)o.addEvent(a);for(let a of r.etc)o.addEvent(a);let i=Ym(n);o.replayEarlyEventInfos(i),rl(n);Wm(o,new ys(a=>{mS(t,a,a.currentTarget)}))};function mS(e,t,n){let r=(n&&n.getAttribute(Gr$1))??``;/d\d+/.test(r)?yS(r,e,t,n):t.eventPhase===nl.REPLAY&&eu(t,n)}function yS(e,t,n,r){let o=t.get(Lp);o.push({event:n,currentTarget:r}),qg(t,e,vS(o))}function vS(e){return t=>{let n=new Set(t),r=[];for(let{event:o,currentTarget:i}of e){let s=i.getAttribute(Gr$1);n.has(s)?eu(o,i):r.push({event:o,currentTarget:i})}e.length=0,e.push(...r)}}var Jm=!1;var DS=1e4;function ES(){Jm||(Jm=!0,Yp(),Xg(),Im(),tm(),Pg(),Sg(),dg(),Hh())}function IS(e){return e.whenStable()}function ry(){let e=[{provide:$r,useFactory:()=>{let t=!0;return t=!!m$1(_t,{optional:!0})?.get(tu,null),t&&Ce$1(`NgHydration`),t}},{provide:it$1,useValue:()=>{let t=m$1(V);m$1($r)&&(Jp(t),ES())},multi:!0}];return e.push({provide:Kc,useFactory:()=>m$1($r)},{provide:gt$1,useFactory:()=>{let t=m$1(ot$1);if(m$1($r)){let n=m$1(Te$1);return()=>{IS(n).then(()=>{n.destroyed||(Nu(n),t.notify(7))})}}return()=>{}},multi:!0}),st$1(e)}function oy(){let e=[il(),{provide:Xc,useValue:!0},{provide:Gn,useFactory:Tm}];return e.push({provide:qu,useFactory:()=>({requested:!1,activated:!1,injector:m$1(he$1),document:m$1(V)})},{provide:gt$1,useFactory:()=>{let t=m$1(qu);return()=>{t.requested||(t.requested=!0,bm(t))}},multi:!0}),e}DS-1e3;var iy=(()=>{class e{static __NG_ELEMENT_ID__=wS}return e})();function wS(e){return CS(ee(),b$1(),(e&16)===16)}function CS(e,t,n){if(Ze$1(e)&&!n){let r=Me(e.index,t);return new xt(r,r)}else if(e.type&175){let r=t[J];return new xt(r,t)}return null}var ol=new I(``);var TS=new I(``);function eo$1(e){return!e.moduleRef}function bS(e){let t=eo$1(e)?e.r3Injector:e.moduleRef.injector,n=t.get(oe$1);return n.run(()=>{eo$1(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ut$1),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),eo$1(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ol);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ol);s.add(i),e.moduleRef.onDestroy(()=>{xr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return _S(r,n,()=>{let i=t.get(St$1),s=i.add(),a=t.get(Pu);return a.runInitializers(),a.donePromise.then(()=>{if(rm(t.get(ls,Jr$1)||Jr$1),!t.get(TS,!0))return eo$1(e)?t.get(Te$1):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(eo$1(e)){let l=t.get(Te$1);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return SS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var SS;function _S(e,t,n){try{let r=n();return as(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ds=null;function MS(e=[],t){return he$1.create({name:t,providers:[{provide:mr,useValue:`platform`},{provide:ol,useValue:new Set([()=>Ds=null])},...e]})}function NS(e=[]){if(Ds)return Ds;let t=MS(e);return Ds=t,Gg(),AS(t),t}function AS(e){let t=e.get(ui$1,null);vr(e,()=>{t?.forEach(n=>n())})}function sy(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;F$1(A.BootstrapApplicationStart);try{let i=o?.injector??NS(r);return bS({r3Injector:new Vr$1({providers:[_m(),sf,...n||[]],parent:i,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{F$1(A.BootstrapApplicationEnd)}}function xS(e){return typeof e==`boolean`?e:e!=null&&e!==`false`}var ay=null;function Je$1(){return ay}function sl(e){ay??=e}var to$1=class{};var Es=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=x({token:e,factory:()=>m$1(cy),providedIn:`platform`})}return e})();var cy=(()=>{class e extends Es{_location;_history;_doc=m$1(V);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Je$1().getBaseHref(this._doc)}onPopState(n){let r=Je$1().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`popstate`,n,!1),()=>r.removeEventListener(`popstate`,n)}onHashChange(n){let r=Je$1().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`hashchange`,n,!1),()=>r.removeEventListener(`hashchange`,n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static ɵfac=function(r){return new(r||e)};static ɵprov=x({token:e,factory:()=>new e,providedIn:`platform`})}return e})();function dy(e,t){return e?t?e.endsWith(`/`)?t.startsWith(`/`)?e+t.slice(1):e+t:t.startsWith(`/`)?e+t:`${e}/${t}`:e:t}function uy(e){let t=e.search(/#|\?|$/);return e[t-1]===`/`?e.slice(0,t-1)+e.slice(t):e}function Ft$1(e){return e&&e[0]!==`?`?`?${e}`:e}var Is=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=x({token:e,factory:()=>m$1(OS),providedIn:`root`})}return e})();var RS=new I(``);var OS=(()=>{class e extends Is{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m$1(V).location?.origin??``}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return dy(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ft$1(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ft$1(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ft$1(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(M(Es),M(RS,8))};static ɵprov=x({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var fy=(()=>{class e{_subject=new ve$1;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=PS(uy(ly(r))),this._locationStrategy.onPopState(o=>{let i={url:this.path(!0),pop:!0,state:o.state,type:o.type};o.hasUAVisualTransition&&(i.hasUAVisualTransition=!0),this._subject.next(i)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=``){return this.path()==this.normalize(n+Ft$1(r))}normalize(n){return e.stripTrailingSlash(FS(this._basePath,ly(n)))}prepareExternalUrl(n){return n&&n[0]!==`/`&&(n=`/`+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r=``,o=null){this._locationStrategy.pushState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ft$1(r)),o)}replaceState(n,r=``,o=null){this._locationStrategy.replaceState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ft$1(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n=``,r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Ft$1;static joinWithSlash=dy;static stripTrailingSlash=uy;static ɵfac=function(r){return new(r||e)(M(Is))};static ɵprov=x({token:e,factory:()=>kS(),providedIn:`root`})}return e})();function kS(){return new fy(M(Is))}function FS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===``||[`/`,`;`,`?`,`#`].includes(n[0])?n:t}function ly(e){return e.replace(/\/index\.html$/,``)}function PS(e){if(new RegExp(`^(https?:)?//`).test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var LS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=m$1(he$1);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static ɵfac=function(r){return new(r||e)(is(ss))};static ɵdir=Fu({type:e,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[Hc]})}return e})();var py=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=cs({type:e});static ɵinj=fr({})}return e})();function al(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)continue;let s=i;try{s=decodeURIComponent(i)}catch{}return s.length>1&&s[0]===`"`&&s[s.length-1]===`"`&&(s=s.slice(1,-1)),s}return null}var ul=`browser`;function PB(e){return e===ul}var LB=(()=>{class e{static ɵprov=x({token:e,providedIn:`root`,factory:()=>new cl(m$1(V),window)})}return e})();var cl=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(te$1(U({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=BS(this.document,t);r&&(this.scrollToElement(r,n),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(We(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(te$1(U({},n),{left:o-s[0],top:i-s[1]}))}};function BS(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="${CSS.escape(t)}"]`);if(s)return s}o=r.nextNode()}}return null}var no$1=class{_doc;constructor(t){this._doc=t}manager};var ws=(()=>{class e extends no$1{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static ɵfac=function(r){return new(r||e)(M(V))};static ɵprov=x({token:e,factory:e.ɵfac})}return e})();var bs=new I(``);var pl=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ws));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ws);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new E(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static ɵfac=function(r){return new(r||e)(M(bs),M(oe$1))};static ɵprov=x({token:e,factory:e.ɵfac})}return e})();var ll=`ng-app-id`;function hy(e){for(let t of e)t.remove()}function gy(e,t){let n=t.createElement(`style`);return n.textContent=e,n}function VS(e,t,n,r){let o=e.head?.querySelectorAll(`style[${ll}="${t}"],link[${ll}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(ll),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf(`/`)+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]});return!0}function fl(e,t){let n=t.createElement(`link`);return n.setAttribute(`rel`,`stylesheet`),n.setAttribute(`href`,e),n}var hl=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,VS(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,gy);r?.forEach(o=>this.addUsage(o,this.external,fl))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(hy(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])hy(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,gy(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,fl(r,this.doc)))}}removeHost(n){this.hosts.delete(n);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}addElement(n,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),n.appendChild(r)}static ɵfac=function(r){return new(r||e)(M(V),M(Le$1),M(Sr,8),M(br))};static ɵprov=x({token:e,factory:e.ɵfac})}return e})();var dl={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`,math:`http://www.w3.org/1998/Math/MathML`};var gl=/%COMP%/g;var yy=`%COMP%`;var HS=`_nghost-${yy}`;var US=`_ngcontent-${yy}`;var $S=!0;var GS=new I(``,{factory:()=>$S});var zS=new I(``);function WS(e){return US.replace(gl,e)}function qS(e){return HS.replace(gl,e)}function vy(e,t){return t.map(n=>n.replace(gl,e))}var ml=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(n,r,o,i,s,a,c=null,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.cssVarNamespace=l??``,this.defaultRenderer=new ro$1(n,s,a,this.tracingService,this.cssVarNamespace)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Ts?o.applyToHost(n):o instanceof oo$1&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ve.Emulated:i=new Ts(c,u,r,this.appId,l,s,a,d,this.cssVarNamespace);break;case Ve.ShadowDom:return new Cs(c,n,r,s,a,this.nonce,d,this.cssVarNamespace,u);case Ve.ExperimentalIsolatedShadowDom:return new Cs(c,n,r,s,a,this.nonce,d,this.cssVarNamespace);default:i=new oo$1(c,u,r,l,s,a,d,this.cssVarNamespace);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static ɵfac=function(r){return new(r||e)(M(pl),M(hn$1),M(Le$1),M(GS),M(V),M(oe$1),M(Sr),M(pt$1,8),M(zS,8))};static ɵprov=x({token:e,factory:e.ɵfac})}return e})();var ro$1=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i=``){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o,this.cssVarNamespace=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(dl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(my(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){if(t){let o=my(t)?t.content:t;if(r!=null&&r.parentNode!==o)throw new E(-5106,!1);o.insertBefore(n,r)}}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t==`string`?this.doc.querySelector(t):t;if(!r)throw new E(-5104,!1);return n||(r.textContent=``),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+`:`+n;let i=dl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=dl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){let i=n.startsWith(`--`);i&&(n=n.replace(`%NS%`,this.cssVarNamespace)),i||o&(Xe$1.DashCase|Xe$1.Important)?t.style.setProperty(n,r,o&Xe$1.Important?`important`:``):t.style[n]=r}removeStyle(t,n,r){let o=n.startsWith(`--`);o&&(n=n.replace(`%NS%`,this.cssVarNamespace)),o||r&Xe$1.DashCase?t.style.removeProperty(n):t.style[n]=``}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t==`string`&&(t=Je$1().getGlobalEventTarget(this.doc,t),!t))throw new E(-5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n===`__ngUnwrap__`)return t;t(n)===!1&&n.preventDefault()}}};function my(e){return e.tagName===`TEMPLATE`&&e.content!==void 0}var Cs=class extends ro$1{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,o,i,a,c),this.hostEl=n,this.sharedStylesHost=u,this.shadowRoot=n.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=vy(r.id,l).map(p=>p.replace(/%NS%/g,c));for(let p of l){let f=document.createElement(`style`);s&&f.setAttribute(`nonce`,s),f.textContent=p,this.shadowRoot.appendChild(f)}let d=r.getExternalStyles?.();if(d)for(let p of d){let f=fl(p,o);s&&f.setAttribute(`nonce`,s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var oo$1=class extends ro$1{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles,d=u?vy(u,l):l;this.styles=d.map(p=>p.replace(/%NS%/g,c)),this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&At.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var Ts=class extends oo$1{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+`-`+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=WS(l),this.hostAttr=qS(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,``)}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,``),r}};var Ss=class e extends to$1{supportsDOMEvents=!0;static makeCurrent(){sl(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n===`window`?window:n===`document`?t:n===`body`?t.body:null}getBaseHref(t){let n=YS();return n==null?null:ZS(n)}resetBaseElement(){io$1=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return al(document.cookie,t)}};var io$1=null;function YS(){return io$1=io$1||document.head.querySelector(`base`),io$1?io$1.getAttribute(`href`):null}function ZS(e){return new URL(e,document.baseURI).pathname}var Dy=[`alt`,`control`,`meta`,`shift`];var KS={"\b":`Backspace`," ":`Tab`,"":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var QS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};var Ey=(()=>{class e extends no$1{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Je$1().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split(`.`),o=r.shift();if(r.length===0||!(o===`keydown`||o===`keyup`))return null;let i=e._normalizeKey(r.pop()),s=``,a=r.indexOf(`code`);if(a>-1&&(r.splice(a,1),s=`code.`),Dy.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+`.`)}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=KS[n.key]||n.key,i=``;return r.indexOf(`code.`)>-1&&(o=n.code,i=`code.`),o==null||!o?!1:(o=o.toLowerCase(),o===` `?o=`space`:o===`.`&&(o=`dot`),Dy.forEach(s=>{if(s!==o){let a=QS[s];a(n)&&(i+=s+`.`)}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n===`esc`?`escape`:n}static ɵfac=function(r){return new(r||e)(M(V))};static ɵprov=x({token:e,factory:e.ɵfac})}return e})();async function XS(e,t,n){return sy(U({rootComponent:e},JS(t,n)))}function JS(e,t){return{platformRef:t?.platformRef,appProviders:[...o_,...e?.providers??[]],platformProviders:r_}}function e_(){Ss.makeCurrent()}function t_(){return new ke$1}function n_(){return zc(document),document}var r_=[{provide:br,useValue:ul},{provide:ui$1,useValue:e_,multi:!0},{provide:V,useFactory:n_}];var o_=[{provide:mr,useValue:`root`},{provide:ke$1,useFactory:t_},{provide:bs,useClass:ws,multi:!0},{provide:bs,useClass:Ey,multi:!0},ml,{provide:hn$1,useClass:hl},{provide:hl,useExisting:hn$1},pl,{provide:un$1,useExisting:ml},[]];var so$1=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t==`string`?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(n=>{let r=n.indexOf(`:`);if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<`u`&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:`a`})}set(t,n){return this.clone({name:t,value:n,op:`s`})}delete(t,n){return this.clone({name:t,value:n,op:`d`})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[n,r]of t.headers.entries())this.headers.set(n,r),this.normalizedNames.set(n,t.normalizedNames.get(n))}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case`a`:case`s`:let r=t.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=t.op===`a`?(this.headers.get(n)||[]).slice():[];o.push(...r),this.headers.set(n,o);break;case`d`:let i=t.value;if(i===void 0)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(n);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var vl=(function(e){return e[e.Sent=0]=`Sent`,e[e.UploadProgress=1]=`UploadProgress`,e[e.ResponseHeader=2]=`ResponseHeader`,e[e.DownloadProgress=3]=`DownloadProgress`,e[e.Response=4]=`Response`,e[e.User=5]=`User`,e})(vl||{});var yl=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r=`OK`){this.headers=t.headers||new so$1,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}};var _s=class e extends yl{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=vl.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}};var Iy=new I(``);var a_=new I(``);var c_=`b`;var u_=`h`;var l_=`s`;var d_=`st`;var f_=`u`;var p_=`rt`;var Dl=new I(``);var h_=[`GET`,`HEAD`];function by(e,t){let{isCacheActive:n,filter:r,includePostRequests:o,includeRequestsWithAuthHeaders:i,includeRequestsWithCredentials:s,includeNonCacheableRequests:a}=t,{transferCache:c,method:u}=e;return!(!n||c===!1||u===`POST`&&!o&&!c||u!==`POST`&&!h_.includes(u)||!i&&y_(e)||!s&&I_(e)||!a&&(D_(e.headers)||E_(e.cache))||r?.(e)===!1)}function g_(e,t,n,r,o,i=!1){if(!i&&!by(e,t))return null;if(r)throw new E(2803,!1);if(!o){let g=e.url;o=Sy(e,g)}let s=n.get(o,null);if(!s)return null;let{[c_]:a,[p_]:c,[u_]:u,[l_]:l,[d_]:d,[f_]:p}=s,f=a;switch(c){case`arraybuffer`:f=Cy(a);break;case`blob`:f=new Blob([Cy(a)]);break}let h=new so$1(u);return new _s({body:f,headers:h,status:l,statusText:d,url:p})}function m_(e,t){let n=m$1(Dl);if(!by(e,n))return t(e);let r=m$1(_t);m$1(a_,{optional:!0});let i=e.url,a=g_(e,n,r,null,Sy(e,i),!0);return a?$s(a):t(e)}function y_(e){let t=e.headers;return t.has(`authorization`)||t.has(`proxy-authorization`)||t.has(`cookie`)}var v_=new Set([`no-store`,`private`,`no-cache`]);function D_(e){let t=e.get(`cache-control`);return t?t.split(`,`).some(n=>{let r=n.split(`=`,1)[0].trim().toLowerCase();return v_.has(r)}):!1}function E_(e){return e===`no-cache`||e===`no-store`}function I_(e){let{withCredentials:t,credentials:n}=e;return t||n===`include`||n===`same-origin`}function wy(e){let t=new URLSearchParams(e instanceof URLSearchParams?e:e.toString());return t.sort(),t.toString()}function Sy(e,t){let{params:n,method:r,responseType:o}=e,i=wy(n),s=e.serializeBody();s instanceof URLSearchParams?s=wy(s):typeof s!=`string`&&(s=``);return C_([r,o,t,s,i].join(`\0`))}function Cy(e){let t=atob(e);return Uint8Array.from(t,r=>r.charCodeAt(0)).buffer}function _y(e){return[{provide:Dl,useFactory:()=>(Ce$1(`NgHttpTransferCache`),U({isCacheActive:!0},e))},{provide:Iy,useValue:m_,multi:!0},{provide:gt$1,multi:!0,useFactory:()=>{let t=m$1(Te$1),n=m$1(Dl);return()=>{t.whenStable().then(()=>{n.isCacheActive=!1})}}}]}var w_=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);var Ty;function C_(e){Ty??=new TextEncoder;let t=Ty.encode(e),n=1779033703,r=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,u=1541459225,l=t.length*8,d=(t.length+8>>6)+1<<6,p=new Uint8Array(d);p.set(t),p[t.length]=128;let f=new DataView(p.buffer),h=l>>>0,g=l/4294967296>>>0;f.setUint32(d-8,g,!1),f.setUint32(d-4,h,!1);let D=new Uint32Array(64);for(let v=0;v<d;v+=64){for(let W=0;W<16;W++)D[W]=f.getUint32(v+W*4,!1);for(let W=16;W<64;W++){let Ue=D[W-15],mn=((Ue>>>7|Ue<<25)^(Ue>>>18|Ue<<14)^Ue>>>3)>>>0,$e=D[W-2],ao=(($e>>>17|$e<<15)^($e>>>19|$e<<13)^$e>>>10)>>>0;D[W]=D[W-16]+mn+D[W-7]+ao>>>0}let N=n,K=r,de=o,Ae=i,$=s,be=a,et=c,Qn=u;for(let W=0;W<64;W++){let Ue=(($>>>6|$<<26)^($>>>11|$<<21)^($>>>25|$<<7))>>>0,mn=($&be^~$&et)>>>0,$e=Qn+Ue+mn+w_[W]+D[W]>>>0,Py=(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))>>>0)+((N&K^N&de^K&de)>>>0)>>>0;Qn=et,et=be,be=$,$=Ae+$e>>>0,Ae=de,de=K,K=N,N=$e+Py>>>0}n=n+N>>>0,r=r+K>>>0,o=o+de>>>0,i=i+Ae>>>0,s=s+$>>>0,a=a+be>>>0,c=c+et>>>0,u=u+Qn>>>0}return[n,r,o,i,s,a,c,u].map(v=>v.toString(16).padStart(8,`0`)).join(``)}var zV=(()=>{class e{_doc=m$1(V);_dom=Je$1();_cachedHead;addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n.filter(o=>!!o).map(o=>this._getOrCreateElement(o,r))}getTag(n){if(!n)return null;let r=this._doc.querySelector(My(n));return Ry(r)?r:null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(My(n));return r?Array.from(r).filter(o=>Ry(o)):[]}updateTag(n,r){Ay(n),r??=xy(n);let o=this.getTag(r);return o?(Ny(n,o),o):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(Ay(n),!r){let s=xy(n),a=this.getTags(s).filter(c=>b_(n,c))[0];if(a!==void 0)return a}let o=this._dom.createElement(`meta`);return Ny(n,o),this._doc.getElementsByTagName(`head`)[0].appendChild(o),o}static ɵfac=function(r){return new(r||e)};static ɵprov=Rt$1({token:e,factory:e.ɵfac})}return e})();function My(e){return`meta[${e}]`}function Ny(e,t){Object.keys(e).forEach(n=>t.setAttribute(El(n),e[n]))}function Ay(e){for(let t of Object.keys(e))if(El(t).toLowerCase().startsWith(`on`))throw new E(5203,!1)}function xy(e){let t=e.name?`name`:`property`;return`${t}=${T_(String(e[t]))}`}function T_(e){return`"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`}function b_(e,t){return Object.keys(e).every(n=>t.getAttribute(El(n))===e[n])}function El(e){return Object.hasOwn(Oy,e)?Oy[e]:e}function Ry(e){return e?.nodeName.toLowerCase()===`meta`}var Oy={httpEquiv:`http-equiv`};var WV=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||``}static ɵfac=function(r){return new(r||e)(M(V))};static ɵprov=x({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Kn$1=(function(e){return e[e.NoHttpTransferCache=0]=`NoHttpTransferCache`,e[e.HttpTransferCacheOptions=1]=`HttpTransferCacheOptions`,e[e.I18nSupport=2]=`I18nSupport`,e[e.EventReplay=3]=`EventReplay`,e[e.IncrementalHydration=4]=`IncrementalHydration`,e[e.NoIncrementalHydration=5]=`NoIncrementalHydration`,e})(Kn$1||{});function ky(e,t=[],n={}){return{ɵkind:e,ɵproviders:t}}function qV(){return ky(Kn$1.EventReplay,il())}function YV(){return ky(Kn$1.NoIncrementalHydration)}function ZV(...e){let t=[],n=new Set;for(let{ɵproviders:o,ɵkind:i}of e)n.add(i),o.length&&t.push(o);let r=n.has(Kn$1.HttpTransferCacheOptions);return st$1([[],[],ry(),n.has(Kn$1.NoHttpTransferCache)||r?[]:_y({}),n.has(Kn$1.NoIncrementalHydration)?[]:oy(),t,{provide:ds,useValue:{isActive:!0}},{provide:gt$1,multi:!0,useFactory:()=>{let o=m$1(Te$1),i=m$1(ds);return()=>{o.whenStable().then(()=>{i.isActive=!1})}}}])}var f=`primary`;var $e=Symbol(`RouteTitle`);var Ft=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function re(t){return new Ft(t)}function kt(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===`:`)e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function Jr(t,n,e){let r=e.path.split(`/`),i=r.indexOf(`**`);if(i===-1){if(r.length>t.length||e.pathMatch===`full`&&(n.hasChildren()||r.length<t.length))return null;let a={},u=t.slice(0,r.length);return kt(r,u,a)?{consumed:u,posParams:a}:null}if(i!==r.lastIndexOf(`**`))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch===`full`&&n.hasChildren()&&e.path!==`**`)return null;let c={};return!kt(o,t.slice(0,o.length),c)||!kt(s,t.slice(t.length-s.length),c)?null:{consumed:t,posParams:c}}function rt(t){return new Promise((n,e)=>{t.pipe(Sv()).subscribe({next:r=>n(r),error:r=>e(r)})})}function Wn(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!q(t[e],n[e]))return!1;return!0}function q(t,n){let e=t?Ht(t):void 0,r=n?Ht(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Xr(t[i],n[i]))return!1;return!0}function Ht(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Xr(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function Qn(t){return t.length>0?t[t.length-1]:null}function oe(t){return fv(t)?t:as(t)?vt$1(Promise.resolve(t)):$s(t)}function en(t){return fv(t)?rt(t):Promise.resolve(t)}var Kn={exact:nn,subset:on};var tn={exact:Yn,subset:Zn,ignored:()=>!0};var rn={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var Bt={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function Vr(t,n,e){return Kn[e.paths](t.root,n.root,e.matrixParams)&&tn[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment===`exact`&&t.fragment!==n.fragment)}function Yn(t,n){return q(t,n)}function nn(t,n,e){if(!te(t.segments,n.segments)||!Xe(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!nn(t.children[r],n.children[r],e))return!1;return!0}function Zn(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Xr(t[e],n[e]))}function on(t,n,e){return sn(t,n,n.segments,e)}function sn(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!te(i,e)||n.hasChildren()||!Xe(i,e,r))}else if(t.segments.length===e.length){if(!te(t.segments,e)||!Xe(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!on(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!te(t.segments,i)||!Xe(t.segments,i,r)||!t.children[f]?!1:sn(t.children[f],n,o,r)}}function Xe(t,n,e){return n.every((r,i)=>tn[e](t[i].parameters,r.parameters))}var _=class{root;queryParams;fragment;_queryParamMap;constructor(n=new m([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=re(this.queryParams),this._queryParamMap}toString(){return ei.serialize(this)}};var m=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return et(this)}};var Q=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=re(this.parameters),this._parameterMap}toString(){return cn(this)}};function Jn(t,n){return te(t,n)&&t.every((e,r)=>q(e.parameters,n[r].parameters))}function te(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Xn(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===f&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==f&&(e=e.concat(n(i,r)))}),e}var se$1=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:()=>new K})}return t})();var K=class{parse(n){let e=new Gt(n);return new _(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){return`${`/${Te(n.root,!0)}`}${ni(n.queryParams)}${typeof n.fragment==`string`?`#${ti(n.fragment)}`:``}`}};var ei=new K;function et(t){return t.segments.map(n=>cn(n)).join(`/`)}function Te(t,n){if(!t.hasChildren())return et(t);if(n){let e=t.children[f]?Te(t.children[f],!1):``,r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==f&&r.push(`${i}:${Te(o,!1)}`)}),r.length>0?`${e}(${r.join(`//`)})`:e}else{let e=Xn(t,(r,i)=>i===f?[Te(t.children[f],!1)]:[`${i}:${Te(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[f]!=null?`${et(t)}/${e[0]}`:`${et(t)}/(${e.join(`//`)})`}}function an(t){return encodeURIComponent(t).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function Ze(t){return an(t).replace(/%3B/gi,`;`)}function ti(t){return encodeURI(t)}function Vt(t){return an(t).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function tt(t){return decodeURIComponent(t)}function Gr(t){return tt(t.replace(/\+/g,`%20`))}function cn(t){return`${Vt(t.path)}${ri(t.parameters)}`}function ri(t){return Object.entries(t).map(([n,e])=>`;${Vt(n)}=${Vt(e)}`).join(``)}function ni(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Ze(e)}=${Ze(i)}`).join(`&`):`${Ze(e)}=${Ze(r)}`).filter(e=>e);return n.length?`?${n.join(`&`)}`:``}var ii=/^[^\/()?;#]+/;function $t(t){let n=t.match(ii);return n?n[0]:``}var oi=/^[^\/()?;=#]+/;function si(t){let n=t.match(oi);return n?n[0]:``}var ai=/^[^=?&#]+/;function ci(t){let n=t.match(ai);return n?n[0]:``}var ui=/^[^&#]+/;function li(t){let n=t.match(ui);return n?n[0]:``}var Gt=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional(`?`))do this.parseQueryParam(n);while(this.consumeOptional(`&`));return n}parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new E(4010,!1);if(this.remaining===``)return{};this.consumeOptional(`/`);let e=[];for(this.peekStartsWith(`(`)||e.push(this.parseSegment());this.peekStartsWith(`/`)&&!this.peekStartsWith(`//`)&&!this.peekStartsWith(`/(`);)this.capture(`/`),e.push(this.parseSegment());let r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,n));let i={};return this.peekStartsWith(`(`)&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[f]=new m(e,r)),i}parseSegment(){let n=$t(this.remaining);if(n===``&&this.peekStartsWith(`;`))throw new E(4009,!1);return this.capture(n),new Q(tt(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(`;`);)this.parseParam(n);return n}parseParam(n){let e=si(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let i=$t(this.remaining);i&&(r=i,this.capture(r))}n[tt(e)]=tt(r)}parseQueryParam(n){let e=ci(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let s=li(this.remaining);s&&(r=s,this.capture(r))}let i=Gr(e),o=Gr(r);if(Object.hasOwn(n,i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let i=$t(this.remaining),o=this.remaining[i.length];if(o!==`/`&&o!==`)`&&o!==`;`)throw new E(4010,!1);let s;i.indexOf(`:`)>-1?(s=i.slice(0,i.indexOf(`:`)),this.capture(s),this.capture(`:`)):n&&(s=f);let c=this.parseChildren(e+1);r[s??f]=Object.keys(c).length===1&&c[f]?c[f]:new m([],c),this.consumeOptional(`//`)}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function un(t){return t.segments.length>0?new m([],{[f]:t}):t}function ln(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=ln(i);if(r===f&&o.segments.length===0&&o.hasChildren())for(let[s,c]of Object.entries(o.children))n[s]=c;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return di(new m(t.segments,n))}function di(t){if(t.numberOfChildren===1&&t.children[f]){let n=t.children[f];return new m(t.segments.concat(n.segments),n.children)}return t}function Y(t){return t instanceof _}function dn(t,n,e=null,r=null,i=new K){return fn(hn(t),n,e,r,i)}function hn(t){let n;function e(o){let s={};for(let a of o.children){let u=e(a);s[a.outlet]=u}let c=new m(o.url,s);return o===t&&(n=c),c}let i=un(e(t.root));return n??i}function fn(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return zt(o,o,o,e,r,i);let s=hi(n);if(s.toRoot())return zt(o,o,new m([],{}),e,r,i);let c=fi(s,o,t),a=c.processChildren?_e$1(c.segmentGroup,c.index,s.commands):gn(c.segmentGroup,c.index,s.commands);return zt(o,c.segmentGroup,a,e,r,i)}function nt(t){return typeof t==`object`&&t!=null&&!t.outlets&&!t.segmentPath}function Ue(t){return typeof t==`object`&&t!=null&&t.outlets}function Wr(t,n,e){t||=`ɵ`;let r=new _;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function zt(t,n,e,r,i,o){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(v=>Wr(u,v,o)):Wr(u,l,o);let c;t===n?c=e:c=pn(t,n,e);return new _(un(ln(c)),s,i)}function pn(t,n,e){let r=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=pn(o,n,e)}),new m(t.segments,r)}var it=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&nt(r[0]))throw new E(4003,!1);let i=r.find(Ue);if(i&&i!==Qn(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function hi(t){if(typeof t[0]==`string`&&t.length===1&&t[0]===`/`)return new it(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o==`object`&&o!=null){if(o.outlets){let c={};return Object.entries(o.outlets).forEach(([a,u])=>{c[a]=typeof u==`string`?u.split(`/`):u}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!=`string`?[...i,o]:s===0?(o.split(`/`).forEach((c,a)=>{a==0&&c===`.`||(a==0&&c===``?e=!0:c===`..`?n++:c!=``&&i.push(c))}),i):[...i,o]},[]);return new it(e,n,r)}var he=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function fi(t,n,e){if(t.isAbsolute)return new he(n,!0,0);if(!e)return new he(n,!1,NaN);if(e.parent===null)return new he(e,!0,0);let r=nt(t.commands[0])?0:1;return pi(e,e.segments.length-1+r,t.numberOfDoubleDots)}function pi(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new he(r,!1,i-o)}function gi(t){return Ue(t[0])?t[0].outlets:{[f]:t}}function gn(t,n,e){if(t??=new m([],{}),t.segments.length===0&&t.hasChildren())return _e$1(t,n,e);let r=vi(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new m(t.segments.slice(0,r.pathIndex),{});return o.children[f]=new m(t.segments.slice(r.pathIndex),t.children),_e$1(o,0,i)}else return r.match&&i.length===0?new m(t.segments,{}):r.match&&!t.hasChildren()?Wt(t,n,e):r.match?_e$1(t,0,i):Wt(t,n,e)}function _e$1(t,n,e){if(e.length===0)return new m(t.segments,{});{let r=gi(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==f)&&t.children[f]&&t.numberOfChildren===1&&t.children[f].segments.length===0){let o=_e$1(t.children[f],n,e);return new m(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(i[o]=gn(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new m(t.segments,i)}}function vi(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],c=e[r];if(Ue(c))break;let a=`${c}`,u=r<e.length-1?e[r+1]:null;if(i>0&&a===void 0)break;if(a&&u&&typeof u==`object`&&u.outlets===void 0){if(!Kr(a,u,s))return o;r+=2}else{if(!Kr(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Wt(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Ue(o))return new m(r,mi(o.outlets));if(i===0&&nt(e[0])){let a=t.segments[n];r.push(new Q(a.path,Qr(e[0]))),i++;continue}let s=Ue(o)?o.outlets[f]:`${o}`,c=i<e.length-1?e[i+1]:null;s&&c&&nt(c)?(r.push(new Q(s,Qr(c))),i+=2):(r.push(new Q(s,{})),i++)}return new m(r,{})}function mi(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(n[e]=Wt(new m([],{}),0,r))}),n}function Qr(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Kr(t,n,e){return t==e.path&&q(n,e.parameters)}var fe=`imperative`;var R=(function(t){return t[t.NavigationStart=0]=`NavigationStart`,t[t.NavigationEnd=1]=`NavigationEnd`,t[t.NavigationCancel=2]=`NavigationCancel`,t[t.NavigationError=3]=`NavigationError`,t[t.RoutesRecognized=4]=`RoutesRecognized`,t[t.ResolveStart=5]=`ResolveStart`,t[t.ResolveEnd=6]=`ResolveEnd`,t[t.GuardsCheckStart=7]=`GuardsCheckStart`,t[t.GuardsCheckEnd=8]=`GuardsCheckEnd`,t[t.RouteConfigLoadStart=9]=`RouteConfigLoadStart`,t[t.RouteConfigLoadEnd=10]=`RouteConfigLoadEnd`,t[t.ChildActivationStart=11]=`ChildActivationStart`,t[t.ChildActivationEnd=12]=`ChildActivationEnd`,t[t.ActivationStart=13]=`ActivationStart`,t[t.ActivationEnd=14]=`ActivationEnd`,t[t.Scroll=15]=`Scroll`,t[t.NavigationSkipped=16]=`NavigationSkipped`,t})(R||{});var D=class{id;url;constructor(n,e){this.id=n,this.url=e}};var Z=class extends D{type=R.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r=`imperative`,i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var z=class extends D{urlAfterRedirects;type=R.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var b=(function(t){return t[t.Redirect=0]=`Redirect`,t[t.SupersededByNewNavigation=1]=`SupersededByNewNavigation`,t[t.NoDataFromResolver=2]=`NoDataFromResolver`,t[t.GuardRejected=3]=`GuardRejected`,t[t.Aborted=4]=`Aborted`,t})(b||{});var ge$1=(function(t){return t[t.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,t[t.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,t})(ge$1||{});var L$1=class extends D{reason;code;type=R.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function vn(t){return t instanceof L$1&&(t.code===b.Redirect||t.code===b.SupersededByNewNavigation)}var F=class extends D{reason;code;type=R.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}};var ne=class extends D{error;target;type=R.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var Oe=class extends D{urlAfterRedirects;state;type=R.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var ot=class extends D{urlAfterRedirects;state;type=R.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var st=class extends D{urlAfterRedirects;state;shouldActivate;type=R.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};var at=class extends D{urlAfterRedirects;state;type=R.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var ct=class extends D{urlAfterRedirects;state;type=R.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var ut=class{route;type=R.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var lt=class{route;type=R.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var dt=class{snapshot;type=R.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var ht=class{snapshot;type=R.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var ft=class{snapshot;type=R.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var pt=class{snapshot;type=R.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var ve=class{routerEvent;position;anchor;scrollBehavior;type=R.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}};var me$1=class{};var Pe=class{};var ye=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function yi(t){return!(t instanceof me$1)&&!(t instanceof ye)&&!(t instanceof Pe)}var gt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ie(this.rootInjector)}resetChildren(){this.children=new ie(this.rootInjector)}};var ie=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new gt(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static ɵfac=function(r){return new(r||t)(M(pe$2))};static ɵprov=x({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var vt=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Qt(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Qt(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Kt(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Kt(n,this._root).map(e=>e.value)}};function Qt(t,n){if(t===n.value)return n;for(let e of n.children){let r=Qt(t,e);if(r)return r}return null}function Kt(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Kt(t,e);if(r.length)return r.unshift(n),r}return[]}var N=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function de$1(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Le=class extends vt{snapshot;constructor(n,e){super(n),this.snapshot=e,or(this,n)}toString(){return this.snapshot.toString()}};function mn(t,n){let e=Ri(t,n),r=new or$1([new Q(``,{})]),i=new or$1({}),o=new or$1({}),a=new B(r,i,new or$1({}),new or$1(``),o,f,t,e.root);return a.snapshot=e.root,new Le(new N(a,[]),e)}function Ri(t,n){return new je(``,new N(new Re([],{},{},``,{},f,t,null,{},n),[]))}var B=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,e,r,i,o,s,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(Wt$1(u=>u[$e]))??$s(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Wt$1(n=>re(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Wt$1(n=>re(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}};var Si=`always`;function ir(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e===`always`||i?.path===``||!n.component&&!n.routeConfig?.loadComponent)?r={params:U(U({},n.params),t.params),data:U(U({},n.data),t.data),resolve:U(U(U(U({},t.data),n.data),i?.data),t._resolvedData)}:r={params:U({},t.params),data:U({},t.data),resolve:U(U({},t.data),t._resolvedData??{})},i&&Rn(i)&&(r.resolve[$e]=i.title),r}var Re=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[$e]}constructor(n,e,r,i,o,s,c,a,u,l){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=c,this.routeConfig=a,this._resolve=u,this._environmentInjector=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=re(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=re(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var je=class extends vt{url;constructor(n,e){super(e),this.url=n,or(this,e)}toString(){return yn(this._root)}};function or(t,n){n.value._routerState=t,n.children.forEach(e=>or(t,e))}function yn(t){let n=t.children.length>0?` { ${t.children.map(yn).join(`, `)} } `:``;return`${t.value}${n}`}function qt(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,q(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),q(n.params,e.params)||t.paramsSubject.next(e.params),Wn(n.url,e.url)||t.urlSubject.next(e.url),q(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Yt(t,n){let e=q(t.params,n.params)&&Jn(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Yt(t.parent,n.parent))}function Rn(t){return typeof t.title==`string`||t.title===null}var Sn=new I(``);var sr=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new tt$1;deactivateEvents=new tt$1;attachEvents=new tt$1;detachEvents=new tt$1;routerOutletData=V1();parentContexts=m$1(ie);location=m$1(ss);changeDetector=m$1(iy);inputBinder=m$1(St,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new Zt(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||t)};static ɵdir=Fu({type:t,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[Hc]})}return t})();var Zt=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===B?this.route:n===ie?this.childContexts:n===Sn?this.outletData:this.parent.get(n,e)}};var St=new I(``);var ar=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵcmp=rC({type:t,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,i){r&1&&Kg(0,`router-outlet`)},dependencies:[sr],encapsulation:2,changeDetection:1})}return t})();function cr(t){let n=t.children&&t.children.map(cr),e=n?te$1(U({},t),{children:n}):U({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==f&&(e.component=ar),e}function Ci(t,n,e){let r=new Set;return{newlyCreatedRoutes:r,state:new Le(xe(t,n._root,e?e._root:void 0,r),n)}}function xe(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._setPending(n.value);return new N(i,wi(t,n,e,r))}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let c=s.route;return c.value._setPending(n.value),c.children=n.children.map(a=>xe(t,a,void 0,r)),c}}let i=bi(n.value);i._setPending(n.value),r.add(i);return new N(i,n.children.map(s=>xe(t,s,void 0,r)))}}function wi(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return xe(t,i,o,r);return xe(t,i,void 0,r)})}function bi(t){return new B(new or$1(t.url),new or$1(t.params),new or$1(t.queryParams),new or$1(t.fragment),new or$1(t.data),t.outlet,t.component,t)}var Se=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}};var Cn=`ngNavigationCancelingError`;function mt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Y(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=wn(!1,b.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function wn(t,n){let e=new Error(`NavigationCancelingError: ${t||``}`);return e[Cn]=!0,e.cancellationCode=n,e}function Ii(t){return bn(t)&&Y(t.url)}function bn(t){return!!t&&t[Cn]}var Jt=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),qt(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=de$1(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=de$1(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),c=r.children.contexts;r.resetChildren(),this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=de$1(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,r){let i=de$1(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new pt(o.value.snapshot))}),n.children.length&&this.forwardEvent(new ht(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(qt(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(c.contexts),s.attachRef=c.componentRef,s.route=c.route.value,s.outlet&&s.outlet.attach(c.componentRef,c.route.value),qt(c.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}};var yt=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}};var pe$1=class{component;route;constructor(n,e){this.component=n,this.route=e}};function Ei(t,n,e){let r=t._root;return Ne(r,n?n._root:null,e,[r.value])}function Ai(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function we(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t==`function`&&!kv(t)?t:n.get(t):r}function Ne(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=de$1(n);return t.children.forEach(s=>{Mi(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,c])=>De(c,e.getContext(s),e,i)),i}function Mi(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=Ti(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new yt(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ne(t,n,c?c.children:null,r,i):Ne(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new pe$1(c.outlet.component,s))}else s&&De(n,c,e,i),i.canActivateChecks.push(new yt(r)),o.component?Ne(t,null,c?c.children:null,r,i):Ne(t,null,e,r,i);return i}function Ti(t,n,e){if(typeof e==`function`)return vr(n._environmentInjector,()=>e(t,n));switch(e){case`pathParamsChange`:return!te(t.url,n.url);case`pathParamsOrQueryParamsChange`:return!te(t.url,n.url)||!q(t.queryParams,n.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!Yt(t,n)||!q(t.queryParams,n.queryParams);default:return!Yt(t,n)}}function De(t,n,e,r){let i=de$1(t),o=t.value;Object.entries(i).forEach(([s,c])=>{o.component?n?De(c,n.children.getContext(s),n.children,r):De(c,null,null,r):De(c,e?e.getContext(s):null,e,r)}),o.component?n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new pe$1(n.outlet.component,o)):r.canDeactivateChecks.push(new pe$1(null,o)):r.canDeactivateChecks.push(new pe$1(null,o))}function ze(t){return typeof t==`function`}function Ni(t){return typeof t==`boolean`}function _i(t){return t&&ze(t.canLoad)}function Di(t){return t&&ze(t.canActivate)}function Ui(t){return t&&ze(t.canActivateChild)}function Oi(t){return t&&ze(t.canDeactivate)}function Pi(t){return t&&ze(t.canMatch)}function In(t){return t instanceof sr$1||t?.name===`EmptyError`}var Je=Symbol(`INITIAL_VALUE`);function Ce(){return Nv(t=>Ev(t.map(n=>n.pipe(zs(1),Mv(Je)))).pipe(Wt$1(n=>{for(let e of n)if(e!==!0){if(e===Je)return Je;if(e===!1||Li(e))return e}return!0}),Gs(n=>n!==Je),zs(1)))}function Li(t){return Y(t)||t instanceof Se}function En(t){return t.aborted?$s(void 0).pipe(zs(1)):new k$1(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener(`abort`,e),()=>t.removeEventListener(`abort`,e)})}function An(t){return Av(En(t))}function ji(t){return qt$1(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?$s(te$1(U({},n),{guardsResult:!0})):xi(o,e,r).pipe(qt$1(s=>s&&Ni(s)?ki(e,i,t):$s(s)),Wt$1(s=>te$1(U({},n),{guardsResult:s})))})}function xi(t,n,e){return vt$1(t).pipe(qt$1(r=>Hi(r.component,r.route,e,n)),Sv(r=>r!==!0,!0))}function ki(t,n,e){return vt$1(n).pipe(Cv(r=>Ro$1(zi(r.route.parent,e),$i(r.route,e),Fi(t,r.path),qi(t,r.route))),Sv(r=>r!==!0,!0))}function $i(t,n){return t!==null&&n&&n(new ft(t)),$s(!0)}function zi(t,n){return t!==null&&n&&n(new dt(t)),$s(!0)}function qi(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return $s(!0);return $s(e.map(i=>wv(()=>{let o=n._environmentInjector,s=we(i,o);return oe(Di(s)?s.canActivate(n,t):vr(o,()=>s(n,t))).pipe(Sv())}))).pipe(Ce())}function Fi(t,n){let e=n[n.length-1];return $s(n.slice(0,n.length-1).reverse().map(o=>Ai(o)).filter(o=>o!==null).map(o=>wv(()=>{return $s(o.guards.map(c=>{let a=o.node._environmentInjector,u=we(c,a);return oe(Ui(u)?u.canActivateChild(e,t):vr(a,()=>u(e,t))).pipe(Sv())})).pipe(Ce())}))).pipe(Ce())}function Hi(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return $s(!0);return $s(i.map(s=>{let c=n._environmentInjector,a=we(s,c);return oe(Oi(a)?a.canDeactivate(t,n,e,r):vr(c,()=>a(t,n,e,r))).pipe(Sv())})).pipe(Ce())}function Bi(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return $s(!0);return $s(o.map(c=>{let a=we(c,t),l=oe(_i(a)?a.canLoad(n,e):vr(t,()=>a(n,e)));return i?l.pipe(An(i)):l})).pipe(Ce(),Mn(r))}function Mn(t){return ev(xv(n=>{if(typeof n!=`boolean`)throw mt(t,n)}),Wt$1(n=>n===!0))}function Vi(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return $s(!0);return $s(s.map(a=>{let u=we(a,t);return oe(Pi(u)?u.canMatch(n,e,i):vr(t,()=>u(n,e,i))).pipe(An(o))})).pipe(Ce(),Mn(r))}var H=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}};var ke=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function Gi(t){throw new E(4e3,!1)}function Wi(t){throw wn(!1,b.GuardRejected)}var Xt=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}async lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[f])throw Gi(`${n.redirectTo}`);i=i.children[f]}}async applyRedirectCommands(n,e,r,i,o){let s=await Qi(e,i,o);if(s instanceof _)throw new ke(s);let c=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]===`/`)throw new ke(c);return c}applyRedirectCreateUrlTree(n,e,r,i){return new _(this.createSegmentGroup(n,e.root,r,i),this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o==`string`&&o[0]===`:`){let c=o.substring(1);r[i]=e[c]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s=Object.create(null);return Object.entries(e.children).forEach(([c,a])=>{s[c]=this.createSegmentGroup(n,a,r,i)}),new m(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===`:`?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function Qi(t,n,e){if(typeof t==`string`)return Promise.resolve(t);let r=t;return rt(oe(vr(e,()=>r(n))))}function Ki(t,n){return t.providers&&!t._injector&&(t._injector=ku(t.providers,n,`Route: ${t.path}`)),t._injector??n}function $(t){return t.outlet||f}function Yi(t,n){let e=t.filter(r=>$(r)===n);return e.push(...t.filter(r=>$(r)!==n)),e}var er={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Tn(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function Zi(t,n,e,r,i,o,s){let c=Nn(t,n,e);if(!c.matched)return $s(c);let a=Tn(o(c));return r=Ki(n,r),Vi(r,n,e,i,a,s).pipe(Wt$1(u=>u===!0?c:U({},er)))}function Nn(t,n,e){if(n.path===``)return n.pathMatch===`full`&&(t.hasChildren()||e.length>0)?U({},er):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Jr)(e,t,n);if(!i)return U({},er);let o={};Object.entries(i.posParams??{}).forEach(([c,a])=>{o[c]=a.path});let s=i.consumed.length>0?U(U({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Yr(t,n,e,r,i){return e.length>0&&eo(t,e,r,i)?{segmentGroup:new m(n,Xi(r,new m(e,t.children))),slicedSegments:[]}:e.length===0&&to(t,e,r)?{segmentGroup:new m(t.segments,Ji(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new m(t.segments,t.children),slicedSegments:e}}function Ji(t,n,e,r){let i={};for(let o of e)if(Ct(t,n,o)&&!r[$(o)]){let s=new m([],{});i[$(o)]=s}return U(U({},r),i)}function Xi(t,n){let e={};e[f]=n;for(let r of t)if(r.path===``&&$(r)!==f){let i=new m([],{});e[$(r)]=i}return e}function eo(t,n,e,r){return e.some(i=>!Ct(t,n,i)||!($(i)!==f)?!1:!(r!==void 0&&$(i)===r))}function to(t,n,e){return e.some(r=>Ct(t,n,r))}function Ct(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch===`full`?!1:e.path===``}function ro(t,n,e){return n.length===0&&!t.children[e]}var tr=class{};async function no(t,n,e,r,i,o,s,c){return new rr(t,n,e,r,i,s,o,c).recognize()}var io=31;var rr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,c,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=c,this.abortSignal=a,this.applyRedirects=new Xt(this.urlSerializer,this.urlTree)}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}async recognize(){let n=Yr(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),o=new je(``,new N(r,e)),s=dn(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}async match(n){let e=new Re([],Object.freeze({}),Object.freeze(U({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,f,e),rootSnapshot:e}}catch(r){if(r instanceof ke)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof H?this.noMatchError(r):r}}async processSegmentGroup(n,e,r,i,o){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=await this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof N?[s]:[]}async processChildren(n,e,r,i){let o=[];for(let a of Object.keys(r.children))a===`primary`?o.unshift(a):o.push(a);let s=[];for(let a of o){let u=r.children[a],l=Yi(e,a),v=await this.processSegmentGroup(n,l,u,a,i);s.push(...v)}let c=_n(s);return oo(c),c}async processSegment(n,e,r,i,o,s,c){for(let a of e)try{return await this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,o,s,c)}catch(u){if(u instanceof H||In(u))continue;throw u}if(ro(r,i,o))return new tr;throw new H(r)}async processSegmentAgainstRoute(n,e,r,i,o,s,c,a){if($(r)!==s&&(s===f||!Ct(i,o,r)))throw new H(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,a);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,a);throw new H(i)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,c){let{matched:a,parameters:u,consumedSegments:l,positionalParamSegments:v,remainingSegments:p}=Nn(e,i,o);if(!a)throw new H(e);typeof i.redirectTo==`string`&&i.redirectTo[0]===`/`&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>io&&(this.allowRedirects=!1));let w=this.createSnapshot(n,i,o,u,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let j=await this.applyRedirects.applyRedirectCommands(l,i.redirectTo,v,Tn(w),n),J=await this.applyRedirects.lineralizeSegments(i,j);return this.processSegment(n,r,e,J.concat(p),s,!1,c)}createSnapshot(n,e,r,i,o){let s=new Re(r,i,Object.freeze(U({},this.urlTree.queryParams)),this.urlTree.fragment,ao(e),$(e),e.component??e._loadedComponent??null,e,co(e),n),c=ir(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(c.params),s.data=Object.freeze(c.data),s}async matchSegmentAgainstRoute(n,e,r,i,o,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=X=>this.createSnapshot(n,r,X.consumedSegments,X.parameters,s),a=await rt(Zi(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path===`**`&&(e.children={}),!a?.matched)throw new H(e);n=r._injector??n;let{routes:u}=await this.getChildConfig(n,r,i),l=r._loadedInjector??n,{parameters:v,consumedSegments:p,remainingSegments:w}=a,j=this.createSnapshot(n,r,p,v,s),{segmentGroup:J,slicedSegments:Ee}=Yr(e,p,w,u,o);if(Ee.length===0&&J.hasChildren())return new N(j,await this.processChildren(l,u,J,j));if(u.length===0&&Ee.length===0)return new N(j,[]);let It=$(r)===o,Fe=await this.processSegment(l,u,J,Ee,It?f:o,!0,j);return new N(j,Fe instanceof N?[Fe]:[])}async getChildConfig(n,e,r){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await rt(Bi(n,e,r,this.urlSerializer,this.abortSignal))){let o=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Wi(e)}return{routes:[],injector:n}}};function oo(t){t.sort((n,e)=>n.value.outlet===f?-1:e.value.outlet===f?1:n.value.outlet.localeCompare(e.value.outlet))}function so(t){let n=t.value.routeConfig;return n&&n.path===``}function _n(t){let n=[],e=new Set;for(let r of t){if(!so(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=_n(r.children);n.push(new N(r.value,i))}return n.filter(r=>!e.has(r))}function ao(t){return t.data||{}}function co(t){return t.resolve||{}}function uo(t,n,e,r,i,o,s){return qt$1(async c=>{let{state:a,tree:u}=await no(t,n,e,r,c.extractedUrl,i,o,s);return te$1(U({},c),{targetSnapshot:a,urlAfterRedirects:u})})}function lo(t){return qt$1(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return $s(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let a of Dn(c))o.add(a);let s=0;return vt$1(o).pipe(Cv(c=>i.has(c)?ho(c,e,t):(c.data=ir(c,c.parent,t).resolve,$s(void 0))),xv(()=>s++),_v(1),qt$1(c=>s===o.size?$s(n):ir$1))})}function Dn(t){return[t,...t.children.map(e=>Dn(e)).flat()]}function ho(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!Rn(r)&&(i[$e]=r.title),wv(()=>(t.data=ir(t,t.parent,e).resolve,fo(i,t,n).pipe(Wt$1(o=>(t._resolvedData=o,t.data=U(U({},t.data),o),null)))))}function fo(t,n,e){let r=Ht(t);if(r.length===0)return $s({});let i={};return vt$1(r).pipe(qt$1(o=>po(t[o],n,e).pipe(Sv(),xv(s=>{if(s instanceof Se)throw mt(new K,s);i[o]=s}))),_v(1),Wt$1(()=>i),ad(o=>In(o)?ir$1:dv(o)))}function po(t,n,e){let r=n._environmentInjector,i=we(t,r);return oe(i.resolve?i.resolve(n,e):vr(r,()=>i(n,e)))}var Un=new I(``);function nr(t){return Nv(n=>{let e=t(n);return e?vt$1(e).pipe(Wt$1(()=>n)):$s(n)})}var ur=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===f);return r}getResolvedTitleForRoute(e){return e.data[$e]}static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:()=>m$1(On)})}return t})();var On=(()=>{class t extends ur{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||t)(M(WV))};static ɵprov=x({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var be=new I(``,{factory:()=>({})});var qe=new I(``);var Pn=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m$1(ab);async loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let s=await jn(B1(await en(vr(e,()=>r.loadComponent()))));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await Ln(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:t.ɵfac})}return t})();async function Ln(t,n,e,r){let o=await jn(B1(await en(vr(e,()=>t.loadChildren())))),s;o instanceof _g||Array.isArray(o)?s=o:s=await n.compileModuleAsync(o),r&&r(t);let c,a,l;return Array.isArray(s)?a=s:(c=s.create(e).injector,l=s,a=c.get(qe,[],{optional:!0,self:!0}).flat()),{routes:a.map(cr),injector:c,factory:l}}async function jn(t){return t}var wt=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:()=>m$1(go)})}return t})();var go=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:t.ɵfac})}return t})();var xn=new I(``);var vo=()=>{};var kn=new I(``);var lr=(()=>{class t{currentNavigation=ai$1(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=ai$1(null);events=new ve$1;transitionAbortWithErrorSubject=new ve$1;configLoader=m$1(Pn);environmentInjector=m$1(pe$2);destroyRef=m$1(Oe$1);urlSerializer=m$1(se$1);rootContexts=m$1(ie);location=m$1(fy);inputBindingEnabled=m$1(St,{optional:!0})!==null;titleStrategy=m$1(ur);options=m$1(be,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Si;urlHandlingStrategy=m$1(wt);createViewTransition=m$1(xn,{optional:!0});navigationErrorHandler=m$1(kn,{optional:!0});routerResourcesFeature=m$1(Un,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>$s(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new ut(i)),r=i=>this.events.next(new lt(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;fs(()=>{this.transitions?.next(te$1(U({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new or$1(null),this.transitions.pipe(Gs(r=>r!==null),Nv(r=>{let i=!0,o=!1,s=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return $s(r).pipe(Nv(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,b.SupersededByNewNavigation),ir$1;this.currentTransition=r;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl==`string`?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:u?te$1(U({},u),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&v!==`reload`)return this.events.next(new F(a.id,this.urlSerializer.serialize(a.rawUrl),``,ge$1.IgnoredSameUrlNavigation)),a.resolve(!1),ir$1;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return $s(a).pipe(Nv(p=>(this.events.next(new Z(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?ir$1:Promise.resolve(p))),uo(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),xv(p=>{r.targetSnapshot=p.targetSnapshot,r.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation.update(w=>(w.finalUrl=p.urlAfterRedirects,w)),this.events.next(new Pe)}),Nv(p=>vt$1(r.routesRecognizeHandler.deferredHandle??$s(void 0)).pipe(Wt$1(()=>p))),xv(()=>{let p=new Oe(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(p)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:p,extractedUrl:w,source:j,restoredState:J,extras:Ee}=a,It=new Z(p,this.urlSerializer.serialize(w),j,J);this.events.next(It);let Fe=mn(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=te$1(U({},a),{targetSnapshot:Fe,urlAfterRedirects:w,extras:te$1(U({},Ee),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(X=>(X.finalUrl=w,X)),$s(r)}else return this.events.next(new F(a.id,this.urlSerializer.serialize(a.extractedUrl),``,ge$1.IgnoredByUrlHandlingStrategy)),a.resolve(!1),ir$1}),Wt$1(a=>{let u=new ot(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(u),this.currentTransition=r=te$1(U({},a),{guards:Ei(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),ji(a=>this.events.next(a)),Nv(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!=`boolean`)throw mt(this.urlSerializer,a.guardsResult);let u=new st(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(u),!c())return ir$1;if(!a.guardsResult)return this.cancelNavigationTransition(a,``,b.GuardRejected),ir$1;if(a.guards.canActivateChecks.length===0)return $s(a);let l=new at(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!c())return ir$1;let v=!1;return $s(a).pipe(lo(this.paramsInheritanceStrategy),xv({next:()=>{v=!0;let p=new ct(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(p)},complete:()=>{v||this.cancelNavigationTransition(a,``,b.NoDataFromResolver)}}))}),nr(a=>{let u=v=>{let p=[];if(v.routeConfig?._loadedComponent)v.component=v.routeConfig?._loadedComponent;else if(v.routeConfig?.loadComponent){let w=v._environmentInjector;p.push(this.configLoader.loadComponent(w,v.routeConfig).then(j=>{v.component=j}))}for(let w of v.children)p.push(...u(w));return p},l=u(a.targetSnapshot.root);return l.length===0?$s(a):vt$1(Promise.all(l).then(()=>a))}),Nv(a=>{let{newlyCreatedRoutes:u,state:l}=Ci(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=r=a=te$1(U({},a),{targetRouterState:l,newlyCreatedRoutes:u}),this.currentNavigation.update(v=>(v.targetRouterState=l,v)),$s(a)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(a=>a),nr(()=>this.afterPreactivation()),Nv(()=>{let{currentSnapshot:a,targetSnapshot:u}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,u.root,r.hasUAVisualTransition);return l?vt$1(l).pipe(Wt$1(()=>r)):$s(r)}),zs(1),Nv(a=>{i=!1,this.events.next(new me$1);let u=r.beforeActivateHandler.deferredHandle;return u?vt$1(u.then(()=>a)):$s(a)}),xv(a=>{new Jt(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),c()&&($n(a.targetRouterState),o=!0,this.currentNavigation.update(u=>(u.abort=vo,u)),this.lastSuccessfulNavigation.set(fs(this.currentNavigation)),this.events.next(new z(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),Av(En(s.signal).pipe(Gs(()=>!o&&i),xv(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,b.Aborted)}))),xv({complete:()=>{o=!0}}),Av(this.transitionAbortWithErrorSubject.pipe(xv(a=>{throw a}))),bv(()=>{s.abort(),o||this.cancelNavigationTransition(r,``,b.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),ad(a=>{if(o=!0,Zr(r),this.destroyed)return r.resolve(!1),ir$1;if(bn(a))this.events.next(new L$1(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),Ii(a)?this.events.next(new ye(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let u=new ne(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=vr(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof Se){let{message:v,cancellationCode:p}=mt(this.urlSerializer,l);this.events.next(new L$1(r.id,this.urlSerializer.serialize(r.extractedUrl),v,p)),this.events.next(new ye(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return ir$1}))}))}cancelNavigationTransition(e,r,i){Zr(e);let o=new L$1(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=fs(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:t.ɵfac})}return t})();function mo(t){return t!==fe}function Zr(t){for(let n of t.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;$n(t.targetRouterState)}function $n(t){if(!t)return;let n=e=>{e.value.pending?.set(!1),e.children.forEach(n)};n(t._root)}var zn=new I(``);var qn=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:()=>m$1(yo)})}return t})();var Rt=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}};var yo=(()=>{class t extends Rt{static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:t.ɵfac})}return t})();var bt=(()=>{class t{urlSerializer=m$1(se$1);options=m$1(be,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=m$1(fy);urlHandlingStrategy=m$1(wt);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new _;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof _?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=mn(null,m$1(pe$2));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:()=>m$1(Ro)})}return t})();var Ro=(()=>{class t extends bt{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{e(r.url,r.state,`popstate`,{replaceUrl:!0},r.hasUAVisualTransition)})})}handleRouterEvent(e,r){e instanceof Z?this.updateStateMemento():e instanceof F?this.commitTransition(r):e instanceof Oe?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof me$1?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof L$1&&!vn(e)?this.restoreHistory(r):e instanceof ne?this.restoreHistory(r,!0):e instanceof z&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:c}=i;if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,u=U(U({},c),this.generateNgRouterState(o,a,r));this.location.replaceState(e,``,u)}else{let a=U(U({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,``,a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution===`computed`){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,i){return this.canceledNavigationResolution===`computed`?U({navigationId:e,ɵrouterPageId:r},this.routerUrlState(i)):U({navigationId:e},this.routerUrlState(i))}static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:t.ɵfac})}return t})();function dr(t,n){t.events.pipe(Gs(e=>e instanceof z||e instanceof L$1||e instanceof ne||e instanceof F),Wt$1(e=>e instanceof z||e instanceof F?0:(e instanceof L$1?e.code===b.Redirect||e.code===b.SupersededByNewNavigation:!1)?2:1),Gs(e=>e!==2),zs(1)).subscribe(()=>{n()})}var Ie=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m$1($g);stateManager=m$1(bt);options=m$1(be,{optional:!0})||{};pendingTasks=m$1(St$1);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=m$1(lr);urlSerializer=m$1(se$1);location=m$1(fy);urlHandlingStrategy=m$1(wt);injector=m$1(pe$2);_events=new ve$1;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m$1(qn);injectorCleanup=m$1(zn,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=m$1(qe,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m$1(St,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new se$2;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=fs(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof L$1&&r.code!==b.Redirect&&r.code!==b.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof z)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof ye){let s=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=U({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy===`eager`||mo(i.source)},s);this.scheduleNavigation(c,fe,null,a,i.hasUAVisualTransition,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}yi(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fe,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o,s)=>{this.navigateToSyncWithBrowser(e,i,r,o,s)})}navigateToSyncWithBrowser(e,r,i,o,s){let c=i?.navigationId?i:null,a=i?.ɵrouterUrl??e;if(i?.ɵrouterUrl&&(o=te$1(U({},o),{browserUrl:e})),i){let l=U({},i);delete l.navigationId,delete l.ɵrouterPageId,delete l.ɵrouterUrl,Object.keys(l).length!==0&&(o.state=l)}let u=this.parseUrl(a);this.scheduleNavigation(u,r,c,o,s).catch(l=>{this.disposed||this.injector.get(ut$1)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return fs(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(cr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:c,preserveFragment:a}=r,u=a?this.currentUrlTree.fragment:s,l=null;switch(c??this.options.defaultQueryParamsHandling){case`merge`:l=U(U({},this.currentUrlTree.queryParams),o);break;case`preserve`:l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let v;try{v=hn(i?i.snapshot:this.routerState.snapshot.root)}catch{(typeof e[0]!=`string`||e[0][0]!==`/`)&&(e=[]),v=this.currentUrlTree.root}return fn(v,e,l,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Y(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,fe,null,r)}navigate(e,r={skipLocationChange:!1}){return So(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(We(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(e,r){let i;if(r===!0?i=U({},rn):r===!1?i=U({},Bt):i=U(U({},Bt),r),Y(e))return Vr(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Vr(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s,c){if(this.disposed)return Promise.resolve(!1);let a,u,l;c?(a=c.resolve,u=c.reject,l=c.promise):l=new Promise((p,w)=>{a=p,u=w});let v=this.pendingTasks.add();return dr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,hasUAVisualTransition:s,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:t.ɵfac})}return t})();function So(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new E(4008,!1)}var wo=(()=>{class t{router=m$1(Ie);stateManager=m$1(bt);fragment=ai$1(``);queryParams=ai$1({});path=ai$1(``);serializer=m$1(se$1);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof z&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new _(r)))}static ɵfac=function(r){return new(r||t)};static ɵprov=Rt$1({token:t,factory:t.ɵfac})}return t})();var Fn=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=m$1(new Zm(`href`),{optional:!0});reactiveHref=Am(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return fs(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return fs(this._target)}_target=ai$1(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return fs(this._queryParams)}_queryParams=ai$1(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return fs(this._fragment)}_fragment=ai$1(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return fs(this._queryParamsHandling)}_queryParamsHandling=ai$1(void 0);set state(e){this._state.set(e)}get state(){return fs(this._state)}_state=ai$1(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return fs(this._info)}_info=ai$1(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return fs(this._relativeTo)}_relativeTo=ai$1(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return fs(this._preserveFragment)}_preserveFragment=ai$1(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return fs(this._skipLocationChange)}_skipLocationChange=ai$1(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return fs(this._replaceUrl)}_replaceUrl=ai$1(!1);browserUrl=V1(void 0);isAnchorElement;onChanges=new ve$1;applicationErrorHandler=m$1(ut$1);options=m$1(be,{optional:!0});reactiveRouterState=m$1(wo);constructor(e,r,i,o,s,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=c;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a===`a`||a===`area`||!!(typeof customElements==`object`&&customElements.get(a)?.observedAttributes?.includes?.(`href`))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue(`tabindex`,e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=ai$1(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Y(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(e,r,i,o,s){let c=this._urlTree();if(c===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let a=this.browserUrl(),u=U({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},a!==void 0&&{browserUrl:a});return this.router.navigateByUrl(c,u)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=Nm(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i===`preserve`||i===`merge`;(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:Y(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return fs(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??``:null}static ɵfac=function(r){return new(r||t)(is(Ie),is(B),$c(`tabindex`),is(jr),is(Ui$1),is(Is))};static ɵdir=Fu({type:t,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,i){r&1&&dm(`click`,function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Yg(`href`,i.reactiveHref(),kE)(`target`,i._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,xS],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,xS],replaceUrl:[2,`replaceUrl`,`replaceUrl`,xS],browserUrl:[1,`browserUrl`],routerLink:`routerLink`},features:[Hc]})}return t})();var Hn=new I(``);var bo=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=fe;restoredId=0;store={};isHydrating=m$1($r,{optional:!0})??!1;urlSerializer=m$1(se$1);zone=m$1(oe$1);viewportScroller=m$1(LB);transitions=m$1(lr);constructor(e){this.options=e,this.options.scrollPositionRestoration||=`disabled`,this.options.anchorScrolling||=`disabled`,this.isHydrating&&m$1(Te$1).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.setHistoryScrollRestoration(`manual`),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof z?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof F&&e.code===ge$1.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof ve)||e.scrollBehavior===`manual`)return;let r={behavior:`instant`};e.position?this.options.scrollPositionRestoration===`top`?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration===`enabled`&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling===`enabled`?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let i=fs(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<`u`&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new ve(e,this.lastSource===`popstate`?this.store[this.restoredId]:null,r,i))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(r){Nw()};static ɵprov=x({token:t,factory:t.ɵfac})}return t})();function Io(t,...n){return st$1([{provide:qe,multi:!0,useValue:t},{provide:B,useFactory:Eo},{provide:gt$1,multi:!0,useFactory:To},n.map(e=>e.ɵproviders)])}function Eo(){return m$1(Ie).routerState.root}function Ao(t,n){return{ɵkind:t,ɵproviders:n}}function Mo(t={}){return Ao(4,[{provide:Hn,useFactory:()=>new bo(t)}])}function To(){let t=m$1(he$1);return n=>{let e=t.get(Te$1);if(n!==e.components[0])return;let r=t.get(Ie),i=t.get(No);t.get(_o)===1&&r.initialNavigation(),t.get(Do,null,{optional:!0})?.setUpPreloading(),t.get(Hn,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var No=new I(``,{factory:()=>new ve$1});var _o=new I(``,{factory:()=>1});var Do=new I(``);var _e={providers:[dD(),Io([{path:``,loadComponent:()=>import(`./chunk-C61n3zlu.js`).then(e=>e.Home)},{path:`services/app-development`,loadComponent:()=>import(`./chunk-CMz8k6aa.js`).then(e=>e.AppDevelopment)},{path:`services/marketing-aso`,loadComponent:()=>import(`./chunk-D3B_X-ND.js`).then(e=>e.MarketingAso)},{path:`services/ui-ux-design`,loadComponent:()=>import(`./chunk-C05o4NYV.js`).then(e=>e.UiUxDesign)},{path:`services/social-media-advertising`,loadComponent:()=>import(`./chunk-Zx8Ciz9e.js`).then(e=>e.SocialMediaAdvertising)},{path:`services/usability-testing`,loadComponent:()=>import(`./chunk-D1rjUcXu.js`).then(e=>e.UsabilityTesting)},{path:`services/web-design`,loadComponent:()=>import(`./chunk-Dx_t_AYu.js`).then(e=>e.WebDesign)},{path:`services`,pathMatch:`full`,loadComponent:()=>import(`./chunk-CIZf4qzm.js`).then(e=>e.ServicesPage)},{path:`about`,loadComponent:()=>import(`./chunk-D8qlp4_n.js`).then(e=>e.About)},{path:`projects`,loadComponent:()=>import(`./chunk-Hi25DWyi.js`).then(e=>e.Projects)},{path:`**`,redirectTo:``}],Mo({anchorScrolling:`enabled`,scrollPositionRestoration:`enabled`})),ZV(qV(),YV())]};var se=(e,n)=>n.code;function pe(e,n){if(e&1){let t=tT();Hu(0,`button`,7),fm(`click`,function(){let a=Bd(t).$implicit;return Vd(CT(2).selectLanguage(a.code))}),Hu(1,`span`,3),QT(2),Uu()()}if(e&2){let t=n.$implicit,r=CT(2);gm(`bg-background-variant`,t.code===r.selectedLanguage.code),EI(2),Cm(t.name)}}function de(e,n){if(e&1){let t=tT();Hu(0,`div`,4),fm(`click`,function(){Bd(t);return Vd(CT().toggleDropdown())})(`keyup.enter`,function(){Bd(t);return Vd(CT().toggleDropdown())}),Uu(),Hu(1,`div`,5),qC(2,pe,3,3,`button`,6,se),Uu()}if(e&2){let t=CT();EI(2),YC(t.languages)}}var h=class e{platformId=m$1(br);location=m$1(fy);get selectedLanguage(){let n=this.location.path();return this.languages.find(t=>n.startsWith(`/${t.code}`))??this.languages[0]}languages=[{code:`en`,name:`English`},{code:`pt`,name:`Português`},{code:`es`,name:`Español`},{code:`de`,name:`Deutsch`},{code:`fr`,name:`Français`},{code:`it`,name:`Italiano`},{code:`ru`,name:`Русский`},{code:`zh`,name:`中文`},{code:`ja`,name:`日本語`}];isOpen=ai$1(!1);toggleDropdown(){this.isOpen.update(n=>!n)}selectLanguage(n){if(!PB(this.platformId))return;let t=window.location.origin;if(n===`en`){window.location.href=`${t}`;return}window.location.href=`${t}/${n}`}static ɵfac=function(t){return new(t||e)};static ɵcmp=rC({type:e,selectors:[[`app-language-picker`]],decls:6,vars:2,consts:[[1,`relative`],[1,`flex`,`items-center`,`gap-2`,`cursor-pointer`,`hover:opacity-80`,`transition-opacity`,3,`click`],[1,`ph`,`ph-globe`,`p-1`],[1,`font-medium`],[`tabindex`,`0`,1,`fixed`,`inset-0`,`z-40`,3,`click`,`keyup.enter`],[1,`absolute`,`top-full`,`right-0`,`mt-2`,`w-48`,`bg-white`,`rounded-2xl`,`shadow-xl`,`z-50`,`border`,`border-gray-100/50`,`transform`,`transition-all`,`p-2`],[1,`w-full`,`text-left`,`px-4`,`py-3`,`hover:bg-background-variant`,`flex`,`items-center`,`justify-between`,`group`,`transition-colors`,`rounded-xl`,3,`bg-background-variant`],[1,`w-full`,`text-left`,`px-4`,`py-3`,`hover:bg-background-variant`,`flex`,`items-center`,`justify-between`,`group`,`transition-colors`,`rounded-xl`,3,`click`]],template:function(t,r){t&1&&(Hu(0,`div`,0)(1,`button`,1),fm(`click`,function(){return r.toggleDropdown()}),Qg(2,`i`,2),Hu(3,`span`,3),QT(4),Uu()(),zC(5,de,4,0),Uu()),t&2&&(EI(4),Cm(r.selectedLanguage.name),EI(),WC(r.isOpen()?5:-1))},dependencies:[py],encapsulation:2})};var ge=()=>[h];function ce(e,n){e&1&&Kg(0,`app-language-picker`)}function me(e,n){if(e&1){let t=tT();Pi$1(0,`div`,20)(1,`a`,21),dm(`click`,function(){Bd(t);return Vd(CT().toggleMobileMenu())}),IT(2,4),Vu(),Pi$1(3,`a`,22),dm(`click`,function(){Bd(t);return Vd(CT().toggleMobileMenu())}),IT(4,5),Vu(),Pi$1(5,`a`,23),dm(`click`,function(){Bd(t);return Vd(CT().toggleMobileMenu())}),IT(6,6),Vu(),Pi$1(7,`a`,24),dm(`click`,function(){Bd(t);return Vd(CT().toggleMobileMenu())}),IT(8,7),Vu(),Og(9,ce,1,0),UC(10,9,ge),$C(),Vu()}}var L=class e{isMobileMenuOpen=ai$1(!1);toggleMobileMenu(){this.isMobileMenuOpen.update(n=>!n)}static ɵfac=function(t){return new(t||e)};static ɵcmp=rC({type:e,selectors:[[`app-nav`]],decls:19,vars:1,consts:()=>{let n;n="AppOutlet Logo";let t;t="Toggle menu";let r;r="Apps";let a;a="Services";let f;f="Blog";let S;S="About";let C;C="Apps";let A;A="Services";let P;P="Blog";let R;return R="About",[r,a,f,S,C,A,P,R,[1,`bg-background-variant`],[1,`py-6`,`px-2`,`container`,`mx-auto`,`flex`,`justify-between`,`items-center`,`relative`],[`routerLink`,`/`,1,`flex`,`items-center`,`gap-3`],[`src`,`logo.svg`,`alt`,n,1,`h-9`,`w-9`],[1,`text-2xl`,`font-medium`],[1,`hidden`,`md:flex`,`items-center`,`gap-9`],[`routerLink`,`/projects`,1,`font-medium`],[`routerLink`,`/services`,1,`font-medium`],[`href`,`https://blog.appoutlet.dev/`,`target`,`_blank`,1,`font-medium`],[`routerLink`,`/about`,1,`font-medium`],[`aria-label`,t,1,`md:hidden`,`p-2`,3,`click`],[1,`ph`,`ph-list`],[1,`absolute`,`top-full`,`left-0`,`right-0`,`bg-white`,`shadow-lg`,`rounded-b-lg`,`p-4`,`flex`,`flex-col`,`gap-4`,`md:hidden`,`z-50`],[`routerLink`,`/projects`,1,`font-medium`,3,`click`],[`routerLink`,`/services`,1,`font-medium`,3,`click`],[`href`,`https://blog.appoutlet.dev/`,`target`,`_blank`,1,`font-medium`,3,`click`],[`routerLink`,`/about`,1,`font-medium`,3,`click`]]},template:function(t,r){t&1&&(Pi$1(0,`div`,8)(1,`div`,9)(2,`a`,10),Kg(3,`img`,11),Pi$1(4,`span`,12),QT(5,`AppOutlet`),Vu()(),Pi$1(6,`div`,13)(7,`a`,14),IT(8,0),Vu(),Pi$1(9,`a`,15),IT(10,1),Vu(),Pi$1(11,`a`,16),IT(12,2),Vu(),Pi$1(13,`a`,17),IT(14,3),Vu(),Kg(15,`app-language-picker`),Vu(),Pi$1(16,`button`,18),dm(`click`,function(){return r.toggleMobileMenu()}),Kg(17,`i`,19),Vu(),zC(18,me,12,0,`div`,20),Vu()()),t&2&&(EI(18),WC(r.isMobileMenuOpen()?18:-1))},dependencies:[h,Fn],encapsulation:2})};var k=class e{static ɵfac=function(t){return new(t||e)};static ɵcmp=rC({type:e,selectors:[[`app-footer`]],decls:46,vars:0,consts:()=>{let n;n="AppOutlet Logo";let t;t="Instagram";let r;r="X (Twitter)";let a;a="GitHub";let f;f="Mastodon";let S;S="LinkedIn";let C;C="Threads";let A;A="Footer navigation";let P;P="Apps";let R;R="Services";let s;s="Blog";let X;X="About";let z;return z="AppOutlet © Copyright 2026",[P,R,s,X,z,[1,`bg-[#373C4D]`,`text-white/70`,`py-16`,`px-4`],[1,`container`,`mx-auto`,`max-w-6xl`],[1,`mb-12`,`grid`,`gap-12`,`md:grid-cols-[minmax(0,1.2fr)_minmax(0,0.6fr)_minmax(0,0.9fr)]`],[1,`space-y-8`],[`routerLink`,`/`,1,`inline-flex`,`items-center`,`gap-3`,`text-white`],[`src`,`logo.svg`,`alt`,n,1,`h-9`,`w-9`],[1,`text-2xl`,`font-medium`],[1,`flex`,`flex-wrap`,`gap-6`],[`href`,`https://www.instagram.com/app.outlet/`,`target`,`_blank`,`rel`,`noopener`,`aria-label`,t,1,`hover:text-white`,`transition-colors`],[1,`ph`,`ph-instagram-logo`,`text-2xl`],[`href`,`https://x.com/AppOutletTeam`,`target`,`_blank`,`rel`,`noopener`,`aria-label`,r,1,`hover:text-white`,`transition-colors`],[1,`ph`,`ph-x-logo`,`text-2xl`],[`href`,`https://github.com/appoutlet`,`target`,`_blank`,`rel`,`noopener`,`aria-label`,a,1,`hover:text-white`,`transition-colors`],[1,`ph`,`ph-github-logo`,`text-2xl`],[`href`,`https://mastodon.social/@AppOutlet`,`target`,`_blank`,`rel`,`noopener`,`aria-label`,f,1,`hover:text-white`,`transition-colors`],[1,`ph`,`ph-mastodon-logo`,`text-2xl`],[`href`,`https://www.linkedin.com/company/appoutlet/`,`target`,`_blank`,`rel`,`noopener`,`aria-label`,S,1,`hover:text-white`,`transition-colors`],[1,`ph`,`ph-linkedin-logo`,`text-2xl`],[`href`,`https://www.threads.com/@app.outlet`,`target`,`_blank`,`rel`,`noopener`,`aria-label`,C,1,`hover:text-white`,`transition-colors`],[1,`ph`,`ph-threads-logo`,`text-2xl`],[`aria-label`,A,1,`space-y-4`,`md:pt-1`],[1,`flex`,`flex-col`,`gap-3`,`text-sm`,`font-medium`],[`routerLink`,`/`,`fragment`,`apps`,1,`hover:text-white`,`transition-colors`,`text-lg`],[`routerLink`,`/services`,1,`hover:text-white`,`transition-colors`,`text-lg`],[`href`,`https://blog.appoutlet.dev/`,`target`,`_blank`,`rel`,`noopener`,1,`hover:text-white`,`transition-colors`,`text-lg`],[`routerLink`,`/about`,1,`hover:text-white`,`transition-colors`,`text-lg`],[1,`space-y-4`,`md:pt-1`],[1,`max-w-sm`,`text-sm`,`leading-6`],[1,`text-white`,`text-lg`,`leading-tight`,`pb-2`],[1,`pt-8`,`border-t`,`border-white/10`,`text-sm`]]},template:function(t,r){t&1&&(Pi$1(0,`footer`,5)(1,`div`,6)(2,`div`,7)(3,`div`,8)(4,`a`,9),Kg(5,`img`,10),Pi$1(6,`span`,11),QT(7,`AppOutlet`),Vu()(),Pi$1(8,`div`,12)(9,`a`,13),Kg(10,`i`,14),Vu(),Pi$1(11,`a`,15),Kg(12,`i`,16),Vu(),Pi$1(13,`a`,17),Kg(14,`i`,18),Vu(),Pi$1(15,`a`,19),Kg(16,`i`,20),Vu(),Pi$1(17,`a`,21),Kg(18,`i`,22),Vu(),Pi$1(19,`a`,23),Kg(20,`i`,24),Vu()()(),Pi$1(21,`nav`,25)(22,`div`,26)(23,`a`,27),IT(24,0),Vu(),Pi$1(25,`a`,28),IT(26,1),Vu(),Pi$1(27,`a`,29),IT(28,2),Vu(),Pi$1(29,`a`,30),IT(30,3),Vu()()(),Pi$1(31,`div`,31)(32,`div`,32)(33,`p`,33),QT(34,`AppOutlet, Lda`),Vu(),Pi$1(35,`p`),QT(36,`Lindorfo da Silva Peixoto 120 `),Kg(37,`br`),QT(38,` 4670-480 Esmeriz, Braga`),Kg(39,`br`),QT(40,` Portugal`),Kg(41,`br`),QT(42,` VAT No. 519068505`),Vu()()()(),Pi$1(43,`div`,34)(44,`p`),IT(45,4),Vu()()()())},dependencies:[Fn],styles:[`[_nghost-%COMP%]{display:block}`]})};XS(class e{title=ai$1(`AppOutlet.Website`);static ɵfac=function(t){return new(t||e)};static ɵcmp=rC({type:e,selectors:[[`app-root`]],decls:3,vars:0,template:function(t,r){t&1&&Kg(0,`app-nav`)(1,`router-outlet`)(2,`app-footer`)},dependencies:[sr,L,k],encapsulation:2})},_e).catch(e=>console.error(e));export{Yg as A,ls as B,Vd as C,Wu as D,WV as E,eb as F,rb as G,nm as H,fm as I,um as J,sb as K,gh as L,ai$1 as M,bT as N,Xd as O,br as P,gm as R,V1 as S,WC as T,qC as U,m$1 as V,rC as W,zC as X,x as Y,zV as Z,Qg as _,Cm as a,Uu as b,IT as c,Kg as d,LS as f,QT as g,Pi$1 as h,CT as i,Zg as j,YC as k,Jd as l,PB as m,BT as n,EI as o,MT as p,tT as q,Bd as r,Hu as s,Fn as t,Jg as u,Rg as v,Vu as w,V as x,ST as y,lm as z};