-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-UJIEDWPF.js
More file actions
8 lines (8 loc) · 284 KB
/
chunk-UJIEDWPF.js
File metadata and controls
8 lines (8 loc) · 284 KB
1
2
3
4
5
6
7
8
var Iy=Object.create;var Zs=Object.defineProperty,Cy=Object.defineProperties,by=Object.getOwnPropertyDescriptor,My=Object.getOwnPropertyDescriptors,Sy=Object.getOwnPropertyNames,go=Object.getOwnPropertySymbols,Ty=Object.getPrototypeOf,Ys=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable;var Jl=(e,t,n)=>t in e?Zs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})Ys.call(t,n)&&Jl(e,n,t[n]);if(go)for(var n of go(t))Xl.call(t,n)&&Jl(e,n,t[n]);return e},z=(e,t)=>Cy(e,My(t));var _y=(e,t)=>{var n={};for(var r in e)Ys.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&go)for(var r of go(e))t.indexOf(r)<0&&Xl.call(e,r)&&(n[r]=e[r]);return n};var AT=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ny=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Sy(t))!Ys.call(e,o)&&o!==n&&Zs(e,o,{get:()=>t[o],enumerable:!(r=by(t,o))||r.enumerable});return e};var RT=(e,t,n)=>(n=e!=null?Iy(Ty(e)):{},Ny(t||!e||!e.__esModule?Zs(n,"default",{value:e,enumerable:!0}):n,e));var hr=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function Xs(e,t){return Object.is(e,t)}var J=null,mo=!1,ea=1,Ie=Symbol("SIGNAL");function F(e){let t=J;return J=e,t}function ed(){return J}var gr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function vo(e){if(mo)throw new Error("");if(J===null)return;J.consumerOnSignalRead(e);let t=J.nextProducerIndex++;if(Eo(J),t<J.producerNode.length&&J.producerNode[t]!==e&&pr(J)){let n=J.producerNode[t];wo(n,J.producerIndexOfThis[t])}J.producerNode[t]!==e&&(J.producerNode[t]=e,J.producerIndexOfThis[t]=pr(J)?rd(e,J,t):0),J.producerLastReadVersion[t]=e.version}function xy(){ea++}function ta(e){if(!(pr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ea)){if(!e.producerMustRecompute(e)&&!ra(e)){Js(e);return}e.producerRecomputeValue(e),Js(e)}}function td(e){if(e.liveConsumerNode===void 0)return;let t=mo;mo=!0;try{for(let n of e.liveConsumerNode)n.dirty||Ay(n)}finally{mo=t}}function nd(){return J?.consumerAllowSignalWrites!==!1}function Ay(e){e.dirty=!0,td(e),e.consumerMarkedDirty?.(e)}function Js(e){e.dirty=!1,e.lastCleanEpoch=ea}function Do(e){return e&&(e.nextProducerIndex=0),F(e)}function na(e,t){if(F(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(pr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)wo(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ra(e){Eo(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(ta(n),r!==n.version))return!0}return!1}function oa(e){if(Eo(e),pr(e))for(let t=0;t<e.producerNode.length;t++)wo(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function rd(e,t,n){if(od(e),e.liveConsumerNode.length===0&&id(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=rd(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function wo(e,t){if(od(e),e.liveConsumerNode.length===1&&id(e))for(let r=0;r<e.producerNode.length;r++)wo(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Eo(o),o.producerIndexOfThis[r]=t}}function pr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Eo(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function od(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function id(e){return e.producerNode!==void 0}function sd(e){let t=Object.create(Ry);t.computation=e;let n=()=>{if(ta(t),vo(t),t.value===yo)throw t.error;return t.value};return n[Ie]=t,n}var Qs=Symbol("UNSET"),Ks=Symbol("COMPUTING"),yo=Symbol("ERRORED"),Ry=z(y({},gr),{value:Qs,dirty:!0,error:null,equal:Xs,producerMustRecompute(e){return e.value===Qs||e.value===Ks},producerRecomputeValue(e){if(e.value===Ks)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ks;let n=Do(e),r;try{r=e.computation()}catch(o){r=yo,e.error=o}finally{na(e,n)}if(t!==Qs&&t!==yo&&r!==yo&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Oy(){throw new Error}var ad=Oy;function cd(){ad()}function ud(e){ad=e}var Py=null;function ld(e){let t=Object.create(ia);t.value=e;let n=()=>(vo(t),t.value);return n[Ie]=t,n}function Io(e,t){nd()||cd(),e.equal(e.value,t)||(e.value=t,ky(e))}function dd(e,t){nd()||cd(),Io(e,t(e.value))}var ia=z(y({},gr),{equal:Xs,value:void 0});function ky(e){e.version++,xy(),td(e),Py?.()}function C(e){return typeof e=="function"}function mn(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 Co=mn(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 zt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var G=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(C(r))try{r()}catch(i){t=i instanceof Co?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{fd(i)}catch(s){t=t??[],s instanceof Co?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Co(t)}}add(t){var n;if(t&&t!==this)if(this.closed)fd(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)&&zt(n,t)}remove(t){let{_finalizers:n}=this;n&&zt(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var sa=G.EMPTY;function bo(e){return e instanceof G||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function fd(e){C(e)?e():e.unsubscribe()}var ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var yn={setTimeout(e,t,...n){let{delegate:r}=yn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=yn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Mo(e){yn.setTimeout(()=>{let{onUnhandledError:t}=ke;if(t)t(e);else throw e})}function mr(){}var hd=aa("C",void 0,void 0);function pd(e){return aa("E",void 0,e)}function gd(e){return aa("N",e,void 0)}function aa(e,t,n){return{kind:e,value:t,error:n}}var qt=null;function vn(e){if(ke.useDeprecatedSynchronousErrorHandling){let t=!qt;if(t&&(qt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=qt;if(qt=null,n)throw r}}else e()}function md(e){ke.useDeprecatedSynchronousErrorHandling&&qt&&(qt.errorThrown=!0,qt.error=e)}var Gt=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,bo(t)&&t.add(this)):this.destination=jy}static create(t,n,r){return new nt(t,n,r)}next(t){this.isStopped?ua(gd(t),this):this._next(t)}error(t){this.isStopped?ua(pd(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ua(hd,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()}}},Fy=Function.prototype.bind;function ca(e,t){return Fy.call(e,t)}var la=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){So(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){So(r)}else So(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){So(n)}}},nt=class extends Gt{constructor(t,n,r){super();let o;if(C(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ke.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ca(t.next,i),error:t.error&&ca(t.error,i),complete:t.complete&&ca(t.complete,i)}):o=t}this.destination=new la(o)}};function So(e){ke.useDeprecatedSynchronousErrorHandling?md(e):Mo(e)}function Ly(e){throw e}function ua(e,t){let{onStoppedNotification:n}=ke;n&&yn.setTimeout(()=>n(e,t))}var jy={closed:!0,next:mr,error:Ly,complete:mr};var Dn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ce(e){return e}function da(...e){return fa(e)}function fa(e){return e.length===0?Ce:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=By(n)?n:new nt(n,r,o);return vn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=yd(r),new r((o,i)=>{let s=new nt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Dn](){return this}pipe(...n){return fa(n)(this)}toPromise(n){return n=yd(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function yd(e){var t;return(t=e??ke.Promise)!==null&&t!==void 0?t:Promise}function Vy(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function By(e){return e&&e instanceof Gt||Vy(e)&&bo(e)}function ha(e){return C(e?.lift)}function N(e){return t=>{if(ha(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 T(e,t,n,r,o){return new pa(e,t,n,r,o)}var pa=class extends Gt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function wn(){return N((e,t)=>{let n=null;e._refCount++;let r=T(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var En=class extends k{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ha(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new G;let n=this.getSubject();t.add(this.source.subscribe(T(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return wn()(this)}};var In={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=In;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new G(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=In;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=In;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var vd=mn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Z=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new To(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new vd}next(n){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?sa:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,zt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new k;return n.source=this,n}}return e.create=(t,n)=>new To(t,n),e})(),To=class extends Z{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:sa}};var re=class extends Z{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 yr={now(){return(yr.delegate||Date).now()},delegate:void 0};var vr=class extends Z{constructor(t=1/0,n=1/0,r=yr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var _o=class extends G{constructor(t,n){super()}schedule(t,n=0){return this}};var Dr={setInterval(e,t,...n){let{delegate:r}=Dr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Dr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Cn=class extends _o{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Dr.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Dr.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,zt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var bn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};bn.now=yr.now;var Mn=class extends bn{constructor(t,n=bn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Wt=new Mn(Cn),Dd=Wt;var No=class extends Cn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=In.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(In.cancelAnimationFrame(n),t._scheduled=void 0)}};var xo=class extends Mn{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Uy=new xo(No);var ae=new k(e=>e.complete());function Ao(e){return e&&C(e.schedule)}function ga(e){return e[e.length-1]}function Ro(e){return C(ga(e))?e.pop():void 0}function He(e){return Ao(ga(e))?e.pop():void 0}function wd(e,t){return typeof ga(e)=="number"?e.pop():t}function M0(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function Id(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 Ed(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(e){return this instanceof Zt?(this.v=e,this):new Zt(e)}function Cd(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(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(m){return new Promise(function(I,S){i.push([f,m,I,S])>1||c(f,m)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(m){h(i[0][3],m)}}function u(f){f.value instanceof Zt?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function bd(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 Ed=="function"?Ed(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 Sn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Oo(e){return C(e?.then)}function Po(e){return C(e[Dn])}function ko(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function Fo(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 $y(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Lo=$y();function jo(e){return C(e?.[Lo])}function Vo(e){return Cd(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Zt(n.read());if(o)return yield Zt(void 0);yield yield Zt(r)}}finally{n.releaseLock()}})}function Bo(e){return C(e?.getReader)}function B(e){if(e instanceof k)return e;if(e!=null){if(Po(e))return Hy(e);if(Sn(e))return zy(e);if(Oo(e))return qy(e);if(ko(e))return Md(e);if(jo(e))return Gy(e);if(Bo(e))return Wy(e)}throw Fo(e)}function Hy(e){return new k(t=>{let n=e[Dn]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function zy(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function qy(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Mo)})}function Gy(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Md(e){return new k(t=>{Zy(e,t).catch(n=>t.error(n))})}function Wy(e){return Md(Vo(e))}function Zy(e,t){var n,r,o,i;return Id(this,void 0,void 0,function*(){try{for(n=bd(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(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 Uo(e,t=0){return N((n,r)=>{n.subscribe(T(r,o=>fe(r,e,()=>r.next(o),t),()=>fe(r,e,()=>r.complete(),t),o=>fe(r,e,()=>r.error(o),t)))})}function $o(e,t=0){return N((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Sd(e,t){return B(e).pipe($o(t),Uo(t))}function Td(e,t){return B(e).pipe($o(t),Uo(t))}function _d(e,t){return new k(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Nd(e,t){return new k(n=>{let r;return fe(n,t,()=>{r=e[Lo](),fe(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)}),()=>C(r?.return)&&r.return()})}function Ho(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{fe(n,t,()=>{let r=e[Symbol.asyncIterator]();fe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xd(e,t){return Ho(Vo(e),t)}function Ad(e,t){if(e!=null){if(Po(e))return Sd(e,t);if(Sn(e))return _d(e,t);if(Oo(e))return Td(e,t);if(ko(e))return Ho(e,t);if(jo(e))return Nd(e,t);if(Bo(e))return xd(e,t)}throw Fo(e)}function q(e,t){return t?Ad(e,t):B(e)}function b(...e){let t=He(e);return q(e,t)}function Tn(e,t){let n=C(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function ma(e){return!!e&&(e instanceof k||C(e.lift)&&C(e.subscribe))}var rt=mn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Rd(e){return e instanceof Date&&!isNaN(e)}function O(e,t){return N((n,r)=>{let o=0;n.subscribe(T(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Yy}=Array;function Qy(e,t){return Yy(t)?e(...t):e(t)}function _n(e){return O(t=>Qy(e,t))}var{isArray:Ky}=Array,{getPrototypeOf:Jy,prototype:Xy,keys:ev}=Object;function zo(e){if(e.length===1){let t=e[0];if(Ky(t))return{args:t,keys:null};if(tv(t)){let n=ev(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function tv(e){return e&&typeof e=="object"&&Jy(e)===Xy}function qo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function wr(...e){let t=He(e),n=Ro(e),{args:r,keys:o}=zo(e);if(r.length===0)return q([],t);let i=new k(nv(r,t,o?s=>qo(o,s):Ce));return n?i.pipe(_n(n)):i}function nv(e,t,n=Ce){return r=>{Od(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Od(t,()=>{let u=q(e[c],t),l=!1;u.subscribe(T(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Od(e,t,n){e?fe(n,e,t):t()}function Pd(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=m=>u<r?g(m):c.push(m),g=m=>{i&&t.next(m),u++;let I=!1;B(n(m,l++)).subscribe(T(t,S=>{o?.(S),i?f(S):t.next(S)},()=>{I=!0},void 0,()=>{if(I)try{for(u--;c.length&&u<r;){let S=c.shift();s?fe(t,s,()=>g(S)):g(S)}h()}catch(S){t.error(S)}}))};return e.subscribe(T(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Y(e,t,n=1/0){return C(t)?Y((r,o)=>O((i,s)=>t(r,i,o,s))(B(e(r,o))),n):(typeof t=="number"&&(n=t),N((r,o)=>Pd(r,o,e,n)))}function ze(e=1/0){return Y(Ce,e)}function kd(){return ze(1)}function Nn(...e){return kd()(q(e,He(e)))}function Go(e){return new k(t=>{B(e()).subscribe(t)})}function rv(...e){let t=Ro(e),{args:n,keys:r}=zo(e),o=new k(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;B(n[l]).subscribe(T(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?qo(r,a):a),i.complete())}))}});return t?o.pipe(_n(t)):o}var ov=["addListener","removeListener"],iv=["addEventListener","removeEventListener"],sv=["on","off"];function ya(e,t,n,r){if(C(n)&&(r=n,n=void 0),r)return ya(e,t,n).pipe(_n(r));let[o,i]=uv(e)?iv.map(s=>a=>e[s](t,a,n)):av(e)?ov.map(Fd(e,t)):cv(e)?sv.map(Fd(e,t)):[];if(!o&&Sn(e))return Y(s=>ya(s,t,n))(B(e));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Fd(e,t){return n=>r=>e[n](t,r)}function av(e){return C(e.addListener)&&C(e.removeListener)}function cv(e){return C(e.on)&&C(e.off)}function uv(e){return C(e.addEventListener)&&C(e.removeEventListener)}function Er(e=0,t,n=Dd){let r=-1;return t!=null&&(Ao(t)?n=t:r=t),new k(o=>{let i=Rd(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function lv(e=0,t=Wt){return e<0&&(e=0),Er(e,e,t)}function dv(...e){let t=He(e),n=wd(e,1/0),r=e;return r.length?r.length===1?B(r[0]):ze(n)(q(r,t)):ae}function he(e,t){return N((n,r)=>{let o=0;n.subscribe(T(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ld(e){return N((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(T(n,u=>{r=!0,o=u,i||B(e(u)).subscribe(i=T(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function fv(e,t=Wt){return Ld(()=>Er(e,t))}function Mt(e){return N((t,n)=>{let r=null,o=!1,i;r=t.subscribe(T(n,void 0,void 0,s=>{i=B(e(s,Mt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function jd(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(T(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ot(e,t){return C(t)?Y(e,t,1):Y(e,1)}function hv(e,t=Wt){return N((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(T(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function St(e){return N((t,n)=>{let r=!1;t.subscribe(T(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function it(e){return e<=0?()=>ae:N((t,n)=>{let r=0;t.subscribe(T(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function va(e){return O(()=>e)}function Wo(e=pv){return N((t,n)=>{let r=!1;t.subscribe(T(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function pv(){return new rt}function Tt(e){return N((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function st(e,t){let n=arguments.length>=2;return r=>r.pipe(e?he((o,i)=>e(o,i,r)):Ce,it(1),n?St(t):Wo(()=>new rt))}function xn(e){return e<=0?()=>ae:N((t,n)=>{let r=[];t.subscribe(T(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 Da(e,t){let n=arguments.length>=2;return r=>r.pipe(e?he((o,i)=>e(o,i,r)):Ce,xn(1),n?St(t):Wo(()=>new rt))}function wa(e,t){return N(jd(e,t,arguments.length>=2,!0))}function Vd(e={}){let{connector:t=()=>new Z,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},g=()=>{let m=s;f(),m?.unsubscribe()};return N((m,I)=>{u++,!d&&!l&&h();let S=c=c??t();I.add(()=>{u--,u===0&&!d&&!l&&(a=Ea(g,o))}),S.subscribe(I),!s&&u>0&&(s=new nt({next:H=>S.next(H),error:H=>{d=!0,h(),a=Ea(f,n,H),S.error(H)},complete:()=>{l=!0,h(),a=Ea(f,r),S.complete()}}),B(m).subscribe(s))})(i)}}function Ea(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new nt({next:()=>{r.unsubscribe(),e()}});return B(t(...n)).subscribe(r)}function gv(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Vd({connector:()=>new vr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ia(...e){let t=He(e);return N((n,r)=>{(t?Nn(e,n,t):Nn(e,n)).subscribe(r)})}function pe(e,t){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(T(r,c=>{o?.unsubscribe();let u=0,l=i++;B(e(c,l)).subscribe(o=T(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ca(e){return N((t,n)=>{B(e).subscribe(T(n,()=>n.complete(),mr)),!n.closed&&t.subscribe(n)})}function mv(e,t=!1){return N((n,r)=>{let o=0;n.subscribe(T(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function ee(e,t,n){let r=C(e)||t||n?{next:e,error:t,complete:n}:e;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(T(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)}))}):Ce}var Rf="https://g.co/ng/security#xss",v=class extends Error{code;constructor(t,n){super(Pi(t,n)),this.code=t}};function Pi(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Of=Symbol("InputSignalNode#UNSET"),yv=z(y({},ia),{transformFn:void 0,applyValueToInputSignal(e,t){Io(e,t)}});function Pf(e,t){let n=Object.create(yv);n.value=e,n.transformFn=t?.transform;function r(){if(vo(n),n.value===Of)throw new v(-950,!1);return n.value}return r[Ie]=n,r}function Pr(e){return{toString:e}.toString()}var Zo="__parameters__";function vv(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function kf(e,t,n){return Pr(()=>{let r=vv(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Zo)?c[Zo]:Object.defineProperty(c,Zo,{value:[]})[Zo];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Se=globalThis;function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function Dv(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ue).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function Fa(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var wv=$({__forward_ref__:$});function Ff(e){return e.__forward_ref__=Ff,e.toString=function(){return ue(this())},e}function ce(e){return Lf(e)?e():e}function Lf(e){return typeof e=="function"&&e.hasOwnProperty(wv)&&e.__forward_ref__===Ff}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ki(e){return Bd(e,Vf)||Bd(e,Bf)}function jf(e){return ki(e)!==null}function Bd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ev(e){let t=e&&(e[Vf]||e[Bf]);return t||null}function Ud(e){return e&&(e.hasOwnProperty($d)||e.hasOwnProperty(Iv))?e[$d]:null}var Vf=$({\u0275prov:$}),$d=$({\u0275inj:$}),Bf=$({ngInjectableDef:$}),Iv=$({ngInjectorDef:$}),w=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Uf(e){return e&&!!e.\u0275providers}var Cv=$({\u0275cmp:$}),bv=$({\u0275dir:$}),Mv=$({\u0275pipe:$}),Sv=$({\u0275mod:$}),si=$({\u0275fac:$}),Mr=$({__NG_ELEMENT_ID__:$}),Hd=$({__NG_ENV_ID__:$});function We(e){return typeof e=="string"?e:e==null?"":String(e)}function Tv(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():We(e)}function _v(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function zc(e,t){throw new v(-201,!1)}var P=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(P||{}),La;function $f(){return La}function ge(e){let t=La;return La=e,t}function Hf(e,t,n){let r=ki(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&P.Optional)return null;if(t!==void 0)return t;zc(e,"Injector")}var Nv={},Tr=Nv,ja="__NG_DI_FLAG__",ai="ngTempTokenPath",xv="ngTokenPath",Av=/\n/gm,Rv="\u0275",zd="__source",kn;function Ov(){return kn}function _t(e){let t=kn;return kn=e,t}function Pv(e,t=P.Default){if(kn===void 0)throw new v(-203,!1);return kn===null?Hf(e,void 0,t):kn.get(e,t&P.Optional?null:void 0,t)}function E(e,t=P.Default){return($f()||Pv)(ce(e),t)}function p(e,t=P.Default){return E(e,Fi(t))}function Fi(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Va(e){let t=[];for(let n=0;n<e.length;n++){let r=ce(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=P.Default;for(let s=0;s<r.length;s++){let a=r[s],c=kv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(E(o,i))}else t.push(E(r))}return t}function zf(e,t){return e[ja]=t,e.prototype[ja]=t,e}function kv(e){return e[ja]}function Fv(e,t,n,r){let o=e[ai];throw t[zd]&&o.unshift(t[zd]),e.message=Lv(`
`+e.message,o,n,r),e[xv]=o,e[ai]=null,e}function Lv(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==Rv?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ue(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Av,`
`)}`}var kr=zf(kf("Optional"),8);var Li=zf(kf("SkipSelf"),4);function Qt(e,t){let n=e.hasOwnProperty(si);return n?e[si]:null}function jv(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Vv(e){return e.flat(Number.POSITIVE_INFINITY)}function qc(e,t){e.forEach(n=>Array.isArray(n)?qc(n,t):t(n))}function qf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ci(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Bv(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Uv(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function an(e,t,n){let r=Fr(e,t);return r>=0?e[r|1]=n:(r=~r,Uv(e,r,t,n)),r}function ba(e,t){let n=Fr(e,t);if(n>=0)return e[n|1]}function Fr(e,t){return $v(e,t,1)}function $v(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 Ln={},me=[],jn=new w(""),Gf=new w("",-1),Wf=new w(""),ui=class{get(t,n=Tr){if(n===Tr){let r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}};function Zf(e,t){let n=e[Sv]||null;if(!n&&t===!0)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function at(e){return e[Cv]||null}function Yf(e){return e[bv]||null}function Qf(e){return e[Mv]||null}function Kf(e){let t=at(e)||Yf(e)||Qf(e);return t!==null?t.standalone:!1}function ji(e){return{\u0275providers:e}}function Hv(...e){return{\u0275providers:Jf(!0,e),\u0275fromNgModule:!0}}function Jf(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return qc(t,s=>{let a=s;Ba(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Xf(o,i),n}function Xf(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Gc(o,i=>{t(i,r)})}}function Ba(e,t,n,r){if(e=ce(e),!e)return!1;let o=null,i=Ud(e),s=!i&&at(e);if(!i&&!s){let c=e.ngModule;if(i=Ud(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)Ba(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{qc(i.imports,l=>{Ba(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Xf(u,t)}if(!a){let u=Qt(o)||(()=>new o);t({provide:o,useFactory:u,deps:me},o),t({provide:Wf,useValue:o,multi:!0},o),t({provide:jn,useValue:()=>E(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Gc(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Gc(e,t){for(let n of e)Uf(n)&&(n=n.\u0275providers),Array.isArray(n)?Gc(n,t):t(n)}var zv=$({provide:String,useValue:$});function eh(e){return e!==null&&typeof e=="object"&&zv in e}function qv(e){return!!(e&&e.useExisting)}function Gv(e){return!!(e&&e.useFactory)}function Vn(e){return typeof e=="function"}function Wv(e){return!!e.useClass}var Vi=new w(""),ti={},Zv={},Ma;function Bi(){return Ma===void 0&&(Ma=new ui),Ma}var le=class{},_r=class extends le{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,$a(t,s=>this.processProvider(s)),this.records.set(Gf,An(void 0,this)),o.has("environment")&&this.records.set(le,An(void 0,this));let i=this.records.get(Vi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Wf,me,P.Self))}destroy(){Cr(this),this._destroyed=!0;let t=F(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(),F(t)}}onDestroy(t){return Cr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Cr(this);let n=_t(this),r=ge(void 0),o;try{return t()}finally{_t(n),ge(r)}}get(t,n=Tr,r=P.Default){if(Cr(this),t.hasOwnProperty(Hd))return t[Hd](this);r=Fi(r);let o,i=_t(this),s=ge(void 0);try{if(!(r&P.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Xv(t)&&ki(t);u&&this.injectableDefInScope(u)?c=An(Ua(t),ti):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&P.Self?Bi():this.parent;return n=r&P.Optional&&n===Tr?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ai]=a[ai]||[]).unshift(ue(t)),i)throw a;return Fv(a,t,"R3InjectorError",this.source)}else throw a}finally{ge(s),_t(i)}}resolveInjectorInitializers(){let t=F(null),n=_t(this),r=ge(void 0),o;try{let i=this.get(jn,me,P.Self);for(let s of i)s()}finally{_t(n),ge(r),F(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ce(t);let n=Vn(t)?t:ce(t&&t.provide),r=Qv(t);if(!Vn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=An(void 0,ti,!0),o.factory=()=>Va(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=F(null);try{return n.value===ti&&(n.value=Zv,n.value=n.factory()),typeof n.value=="object"&&n.value&&Jv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{F(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ce(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 Ua(e){let t=ki(e),n=t!==null?t.factory:Qt(e);if(n!==null)return n;if(e instanceof w)throw new v(204,!1);if(e instanceof Function)return Yv(e);throw new v(204,!1)}function Yv(e){if(e.length>0)throw new v(204,!1);let n=Ev(e);return n!==null?()=>n.factory(e):()=>new e}function Qv(e){if(eh(e))return An(void 0,e.useValue);{let t=th(e);return An(t,ti)}}function th(e,t,n){let r;if(Vn(e)){let o=ce(e);return Qt(o)||Ua(o)}else if(eh(e))r=()=>ce(e.useValue);else if(Gv(e))r=()=>e.useFactory(...Va(e.deps||[]));else if(qv(e))r=()=>E(ce(e.useExisting));else{let o=ce(e&&(e.useClass||e.provide));if(Kv(e))r=()=>new o(...Va(e.deps));else return Qt(o)||Ua(o)}return r}function Cr(e){if(e.destroyed)throw new v(205,!1)}function An(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Kv(e){return!!e.deps}function Jv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Xv(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function $a(e,t){for(let n of e)Array.isArray(n)?$a(n,t):n&&Uf(n)?$a(n.\u0275providers,t):t(n)}function De(e,t){e instanceof _r&&Cr(e);let n,r=_t(e),o=ge(void 0);try{return t()}finally{_t(r),ge(o)}}function nh(){return $f()!==void 0||Ov()!=null}function rh(e){if(!nh())throw new v(-203,!1)}function eD(e){let t=Se.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function tD(e){return typeof e=="function"}var ht=0,A=1,M=2,se=3,Le=4,we=5,Nr=6,li=7,je=8,Bn=9,ct=10,W=11,xr=12,qd=13,Zn=14,Ae=15,Kt=16,Rn=17,ut=18,Ui=19,oh=20,Nt=21,Sa=22,di=23,be=24,ve=25,ih=1;var Jt=7,fi=8,Un=9,Me=10,hi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(hi||{});function xt(e){return Array.isArray(e)&&typeof e[ih]=="object"}function pt(e){return Array.isArray(e)&&e[ih]===!0}function Wc(e){return(e.flags&4)!==0}function $i(e){return e.componentOffset>-1}function Hi(e){return(e.flags&1)===1}function At(e){return!!e.template}function Ha(e){return(e[M]&512)!==0}var za=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function sh(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Yn=(()=>{let e=()=>ah;return e.ngInherit=!0,e})();function ah(e){return e.type.prototype.ngOnChanges&&(e.setInput=rD),nD}function nD(){let e=uh(this),t=e?.current;if(t){let n=e.previous;if(n===Ln)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function rD(e,t,n,r,o){let i=this.declaredInputs[r],s=uh(e)||oD(e,{previous:Ln,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new za(u&&u.currentValue,n,c===Ln),sh(e,t,o,n)}var ch="__ngSimpleChanges__";function uh(e){return e[ch]||null}function oD(e,t){return e[ch]=t}var Gd=null;var qe=function(e,t,n){Gd?.(e,t,n)},lh="svg",iD="math";function Ze(e){for(;Array.isArray(e);)e=e[ht];return e}function dh(e,t){return Ze(t[e])}function Re(e,t){return Ze(t[e.index])}function fh(e,t){return e.data[t]}function hh(e,t){return e[t]}function Ft(e,t){let n=t[e];return xt(n)?n:n[ht]}function sD(e){return(e[M]&4)===4}function Zc(e){return(e[M]&128)===128}function aD(e){return pt(e[se])}function $n(e,t){return t==null?null:e[t]}function ph(e){e[Rn]=0}function Yc(e){e[M]&1024||(e[M]|=1024,Zc(e)&&qi(e))}function cD(e,t){for(;e>0;)t=t[Zn],e--;return t}function zi(e){return!!(e[M]&9216||e[be]?.dirty)}function qa(e){e[ct].changeDetectionScheduler?.notify(9),e[M]&64&&(e[M]|=1024),zi(e)&&qi(e)}function qi(e){e[ct].changeDetectionScheduler?.notify(0);let t=Xt(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Zc(t)));)t=Xt(t)}function gh(e,t){if((e[M]&256)===256)throw new v(911,!1);e[Nt]===null&&(e[Nt]=[]),e[Nt].push(t)}function uD(e,t){if(e[Nt]===null)return;let n=e[Nt].indexOf(t);n!==-1&&e[Nt].splice(n,1)}function Xt(e){let t=e[se];return pt(t)?t[se]:t}var x={lFrame:bh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ga=!1;function lD(){return x.lFrame.elementDepthCount}function dD(){x.lFrame.elementDepthCount++}function fD(){x.lFrame.elementDepthCount--}function mh(){return x.bindingsEnabled}function yh(){return x.skipHydrationRootTNode!==null}function hD(e){return x.skipHydrationRootTNode===e}function pD(){x.skipHydrationRootTNode=null}function _(){return x.lFrame.lView}function Q(){return x.lFrame.tView}function eP(e){return x.lFrame.contextLView=e,e[je]}function tP(e){return x.lFrame.contextLView=null,e}function oe(){let e=vh();for(;e!==null&&e.type===64;)e=e.parent;return e}function vh(){return x.lFrame.currentTNode}function gD(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function cn(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function Qc(){return x.lFrame.isParent}function Kc(){x.lFrame.isParent=!1}function mD(){return x.lFrame.contextLView}function Dh(){return Ga}function Wd(e){let t=Ga;return Ga=e,t}function Gi(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function wh(){return x.lFrame.bindingIndex}function yD(e){return x.lFrame.bindingIndex=e}function Wi(){return x.lFrame.bindingIndex++}function Zi(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function vD(){return x.lFrame.inI18n}function DD(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wa(t)}function wD(){return x.lFrame.currentDirectiveIndex}function Wa(e){x.lFrame.currentDirectiveIndex=e}function ED(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Eh(){return x.lFrame.currentQueryIndex}function Jc(e){x.lFrame.currentQueryIndex=e}function ID(e){let t=e[A];return t.type===2?t.declTNode:t.type===1?e[we]:null}function Ih(e,t,n){if(n&P.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&P.Host);)if(o=ID(i),o===null||(i=i[Zn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=Ch();return r.currentTNode=t,r.lView=e,!0}function Xc(e){let t=Ch(),n=e[A];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ch(){let e=x.lFrame,t=e===null?null:e.child;return t===null?bh(e):t}function bh(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 Mh(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Sh=Mh;function eu(){let e=Mh();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 CD(e){return(x.lFrame.contextLView=cD(e,x.lFrame.contextLView))[je]}function Lt(){return x.lFrame.selectedIndex}function en(e){x.lFrame.selectedIndex=e}function Yi(){let e=x.lFrame;return fh(e.tView,e.selectedIndex)}function nP(){x.lFrame.currentNamespace=lh}function rP(){bD()}function bD(){x.lFrame.currentNamespace=null}function MD(){return x.lFrame.currentNamespace}var Th=!0;function Qi(){return Th}function Ki(e){Th=e}function SD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ah(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 Ji(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;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 ni(e,t,n){_h(e,t,3,n)}function ri(e,t,n,r){(e[M]&3)===n&&_h(e,t,n,r)}function Ta(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function _h(e,t,n,r){let o=r!==void 0?e[Rn]&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[Rn]+=65536),(a<i||i==-1)&&(TD(e,n,t,c),e[Rn]=(e[Rn]&4294901760)+c+2),c++}function Zd(e,t){qe(4,e,t);let n=F(null);try{t.call(e)}finally{F(n),qe(5,e,t)}}function TD(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[M]>>14<e[Rn]>>16&&(e[M]&3)===t&&(e[M]+=16384,Zd(a,i)):Zd(a,i)}var Fn=-1,tn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function _D(e){return e instanceof tn}function ND(e){return(e.flags&8)!==0}function xD(e){return(e.flags&16)!==0}function Za(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];AD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Nh(e){return e===3||e===4||e===6}function AD(e){return e.charCodeAt(0)===64}function Ar(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?Yd(e,n,o,null,t[++r]):Yd(e,n,o,null,null))}}return e}function Yd(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var _a={},Ya=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Fi(r);let o=this.injector.get(t,_a,r);return o!==_a||n===_a?o:this.parentInjector.get(t,n,r)}};function xh(e){return e!==Fn}function pi(e){return e&32767}function RD(e){return e>>16}function gi(e,t){let n=RD(e),r=t;for(;n>0;)r=r[Zn],n--;return r}var Qa=!0;function mi(e){let t=Qa;return Qa=e,t}var OD=256,Ah=OD-1,Rh=5,PD=0,Ge={};function kD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mr)&&(r=n[Mr]),r==null&&(r=n[Mr]=PD++);let o=r&Ah,i=1<<o;t.data[e+(o>>Rh)]|=i}function yi(e,t){let n=Oh(e,t);if(n!==-1)return n;let r=t[A];r.firstCreatePass&&(e.injectorIndex=t.length,Na(r.data,e),Na(t,null),Na(r.blueprint,null));let o=tu(e,t),i=e.injectorIndex;if(xh(o)){let s=pi(o),a=gi(o,t),c=a[A].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Na(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Oh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function tu(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=jh(o),r===null)return Fn;if(n++,o=o[Zn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Fn}function Ka(e,t,n){kD(e,t,n)}function FD(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(Nh(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 Ph(e,t,n){if(n&P.Optional||e!==void 0)return e;zc(t,"NodeInjector")}function kh(e,t,n,r){if(n&P.Optional&&r===void 0&&(r=null),!(n&(P.Self|P.Host))){let o=e[Bn],i=ge(void 0);try{return o?o.get(t,r,n&P.Optional):Hf(t,r,n&P.Optional)}finally{ge(i)}}return Ph(r,t,n)}function Fh(e,t,n,r=P.Default,o){if(e!==null){if(t[M]&2048&&!(r&P.Self)){let s=BD(e,t,n,r,Ge);if(s!==Ge)return s}let i=Lh(e,t,n,r,Ge);if(i!==Ge)return i}return kh(t,n,r,o)}function Lh(e,t,n,r,o){let i=jD(n);if(typeof i=="function"){if(!Ih(t,e,r))return r&P.Host?Ph(o,n,r):kh(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&P.Optional))zc(n);else return s}finally{Sh()}}else if(typeof i=="number"){let s=null,a=Oh(e,t),c=Fn,u=r&P.Host?t[Ae][we]:null;for((a===-1||r&P.SkipSelf)&&(c=a===-1?tu(e,t):t[a+8],c===Fn||!Kd(r,!1)?a=-1:(s=t[A],a=pi(c),t=gi(c,t)));a!==-1;){let l=t[A];if(Qd(i,a,l.data)){let d=LD(a,t,n,s,r,u);if(d!==Ge)return d}c=t[a+8],c!==Fn&&Kd(r,t[A].data[a+8]===u)&&Qd(i,a,t)?(s=l,a=pi(c),t=gi(c,t)):a=-1}}return o}function LD(e,t,n,r,o,i){let s=t[A],a=s.data[e+8],c=r==null?$i(a)&&Qa:r!=s&&(a.type&3)!==0,u=o&P.Host&&i===a,l=oi(a,s,n,c,u);return l!==null?nn(t,s,l,a):Ge}function oi(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,h=o?a+l:u;for(let f=d;f<h;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&At(f)&&f.type===n)return c}return null}function nn(e,t,n,r){let o=e[n],i=t.data;if(_D(o)){let s=o;s.resolving&&_v(Tv(i[n]));let a=mi(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ge(s.injectImpl):null,l=Ih(e,r,P.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&SD(n,i[n],t)}finally{u!==null&&ge(u),mi(a),s.resolving=!1,Sh()}}return o}function jD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Mr)?e[Mr]:void 0;return typeof t=="number"?t>=0?t&Ah:VD:t}function Qd(e,t,n){let r=1<<e;return!!(n[t+(e>>Rh)]&r)}function Kd(e,t){return!(e&P.Self)&&!(e&P.Host&&t)}var Yt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Fh(this._tNode,this._lView,t,Fi(r),n)}};function VD(){return new Yt(oe(),_())}function nu(e){return Pr(()=>{let t=e.prototype.constructor,n=t[si]||Ja(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[si]||Ja(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ja(e){return Lf(e)?()=>{let t=Ja(ce(e));return t&&t()}:Qt(e)}function BD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!(s[M]&512);){let a=Lh(i,s,n,r|P.Self,Ge);if(a!==Ge)return a;let c=i.parent;if(!c){let u=s[oh];if(u){let l=u.get(n,Ge,r);if(l!==Ge)return l}c=jh(s),s=s[Zn]}i=c}return o}function jh(e){let t=e[A],n=t.type;return n===2?t.declTNode:n===1?e[we]:null}function ru(e){return FD(oe(),e)}function Jd(e,t=null,n=null,r){let o=Vh(e,t,n,r);return o.resolveInjectorInitializers(),o}function Vh(e,t=null,n=null,r,o=new Set){let i=[n||me,Hv(e)];return r=r||(typeof e=="object"?void 0:ue(e)),new _r(i,t||Bi(),r||null,o)}var Te=class e{static THROW_IF_NOT_FOUND=Tr;static NULL=new ui;static create(t,n){if(Array.isArray(t))return Jd({name:""},n,t,"");{let r=t.name??"";return Jd({name:r},t.parent,t.providers,r)}}static \u0275prov=D({token:e,providedIn:"any",factory:()=>E(Gf)});static __NG_ELEMENT_ID__=-1};var UD=new w("");UD.__NG_ELEMENT_ID__=e=>{let t=oe();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&P.Optional)return null;throw new v(204,!1)};var Bh=!1,ou=(()=>{class e{static __NG_ELEMENT_ID__=$D;static __NG_ENV_ID__=n=>n}return e})(),Xa=class extends ou{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return gh(this._lView,t),()=>uD(this._lView,t)}};function $D(){return new Xa(_())}var Hn=class{},iu=new w("",{providedIn:"root",factory:()=>!1});var Uh=new w(""),$h=new w(""),gt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new re(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})();var ec=class extends Z{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,nh()&&(this.destroyRef=p(ou,{optional:!0})??void 0,this.pendingTasks=p(gt,{optional:!0})??void 0)}emit(t){let n=F(null);try{super.next(t)}finally{F(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 G&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ye=ec;function vi(...e){}function Hh(e){let t,n;function r(){e=vi;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 Xd(e){return queueMicrotask(()=>e()),()=>{e=vi}}var su="isAngularZone",Di=su+"_ID",HD=0,U=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ye(!1);onMicrotaskEmpty=new ye(!1);onStable=new ye(!1);onError=new ye(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Bh}=t;if(typeof Zone>"u")throw new v(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,GD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(su)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(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,zD,vi,vi);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)}},zD={};function au(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 qD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Hh(()=>{e.callbackScheduled=!1,tc(e),e.isCheckStableRunning=!0,au(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),tc(e)}function GD(e){let t=()=>{qD(e)},n=HD++;e._inner=e._inner.fork({name:"angular",properties:{[su]:!0,[Di]:n,[Di+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(WD(c))return r.invokeTask(i,s,a,c);try{return ef(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),tf(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return ef(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!ZD(c)&&t(),tf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,tc(e),au(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 tc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ef(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function tf(e){e._nesting--,au(e)}var wi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ye;onMicrotaskEmpty=new ye;onStable=new ye;onError=new ye;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 WD(e){return zh(e,"__ignore_ng_zone__")}function ZD(e){return zh(e,"__scheduler_tick__")}function zh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function YD(e="zone.js",t){return e==="noop"?new wi:e==="zone.js"?new U(t):e}var lt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},QD=new w("",{providedIn:"root",factory:()=>{let e=p(U),t=p(lt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function nf(e,t){return Pf(e,t)}function KD(e){return Pf(Of,e)}var qh=(nf.required=KD,nf);function JD(){return Qn(oe(),_())}function Qn(e,t){return new Xe(Re(e,t))}var Xe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=JD}return e})();function XD(e){return e instanceof Xe?e.nativeElement:e}function ew(){return this._results[Symbol.iterator]()}var nc=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Z}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Vv(t);(this._changesDetected=!jv(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ew};function Gh(e){return(e.flags&128)===128}var Wh=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Wh||{}),Zh=new Map,tw=0;function nw(){return tw++}function rw(e){Zh.set(e[Ui],e)}function rc(e){Zh.delete(e[Ui])}var rf="__ngContext__";function Rt(e,t){xt(t)?(e[rf]=t[Ui],rw(t)):e[rf]=t}function Yh(e){return Kh(e[xr])}function Qh(e){return Kh(e[Le])}function Kh(e){for(;e!==null&&!pt(e);)e=e[Le];return e}var oc;function Jh(e){oc=e}function Xh(){if(oc!==void 0)return oc;if(typeof document<"u")return document;throw new v(210,!1)}var cu=new w("",{providedIn:"root",factory:()=>ow}),ow="ng",uu=new w(""),mt=new w("",{providedIn:"platform",factory:()=>"unknown"});var oP=new w(""),lu=new w("",{providedIn:"root",factory:()=>Xh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var iw="h",sw="b";var ep=!1,aw=new w("",{providedIn:"root",factory:()=>ep});var du=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(du||{}),Xi=new w(""),of=new Set;function un(e){of.has(e)||(of.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var On=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(On||{}),tp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),cw=[On.EarlyRead,On.Write,On.MixedReadWrite,On.Read],uw=(()=>{class e{ngZone=p(U);scheduler=p(Hn);errorHandler=p(lt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(Xi,{optional:!0})}execute(){this.executing=!0;for(let n of cw)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[n](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(du.AFTER_NEXT_RENDER,n):n()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),ic=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i=null){this.impl=t,this.hooks=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function lw(e,t){!t?.injector&&rh(lw);let n=t?.injector??p(Te);return un("NgAfterRender"),np(e,n,t,!1)}function fu(e,t){!t?.injector&&rh(fu);let n=t?.injector??p(Te);return un("NgAfterNextRender"),np(e,n,t,!0)}function dw(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function np(e,t,n,r){let o=t.get(tp);o.impl??=t.get(uw);let i=t.get(Xi,null,{optional:!0}),s=n?.phase??On.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(ou):null,c=new ic(o.impl,dw(e,s),r,a,i?.snapshot(null));return o.impl.register(c),c}var fw=()=>null;function hu(e,t,n=!1){return fw(e,t,n)}var Ye=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ye||{}),Yo;function hw(){if(Yo===void 0&&(Yo=null,Se.trustedTypes))try{Yo=Se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yo}function es(e){return hw()?.createHTML(e)||e}var Qo;function rp(){if(Qo===void 0&&(Qo=null,Se.trustedTypes))try{Qo=Se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qo}function sf(e){return rp()?.createHTML(e)||e}function af(e){return rp()?.createScriptURL(e)||e}var dt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Rf})`}},sc=class extends dt{getTypeName(){return"HTML"}},ac=class extends dt{getTypeName(){return"Style"}},cc=class extends dt{getTypeName(){return"Script"}},uc=class extends dt{getTypeName(){return"URL"}},lc=class extends dt{getTypeName(){return"ResourceURL"}};function _e(e){return e instanceof dt?e.changingThisBreaksApplicationSecurity:e}function yt(e,t){let n=pw(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Rf})`)}return n===t}function pw(e){return e instanceof dt&&e.getTypeName()||null}function op(e){return new sc(e)}function ip(e){return new ac(e)}function sp(e){return new cc(e)}function ap(e){return new uc(e)}function cp(e){return new lc(e)}function gw(e){let t=new fc(e);return mw()?new dc(t):t}var dc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(es(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},fc=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=es(t),n}};function mw(){try{return!!new window.DOMParser().parseFromString(es(""),"text/html")}catch{return!1}}var yw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ts(e){return e=String(e),e.match(yw)?e:"unsafe:"+e}function vt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Lr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var up=vt("area,br,col,hr,img,wbr"),lp=vt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dp=vt("rp,rt"),vw=Lr(dp,lp),Dw=Lr(lp,vt("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")),ww=Lr(dp,vt("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")),cf=Lr(up,Dw,ww,vw),fp=vt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ew=vt("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"),Iw=vt("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"),Cw=Lr(fp,Ew,Iw),bw=vt("script,style,template"),hc=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=Tw(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Sw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=uf(t).toLowerCase();if(!cf.hasOwnProperty(n))return this.sanitizedSomething=!0,!bw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Cw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;fp[a]&&(c=ts(c)),this.buf.push(" ",s,'="',lf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=uf(t).toLowerCase();cf.hasOwnProperty(n)&&!up.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(lf(t))}};function Mw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Sw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw hp(t);return t}function Tw(e){let t=e.firstChild;if(t&&Mw(e,t))throw hp(t);return t}function uf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function hp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var _w=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nw=/([^\#-~ |!])/g;function lf(e){return e.replace(/&/g,"&").replace(_w,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Nw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ko;function pu(e,t){let n=null;try{Ko=Ko||gw(e);let r=t?String(t):"";n=Ko.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=Ko.getInertBodyElement(r)}while(r!==i);let a=new hc().sanitizeChildren(df(n)||n);return es(a)}finally{if(n){let r=df(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function df(e){return"content"in e&&xw(e)?e.content:null}function xw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ve=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}(Ve||{});function iP(e){let t=gu();return t?sf(t.sanitize(Ve.HTML,e)||""):yt(e,"HTML")?sf(_e(e)):pu(Xh(),We(e))}function Aw(e){let t=gu();return t?t.sanitize(Ve.URL,e)||"":yt(e,"URL")?_e(e):ts(We(e))}function Rw(e){let t=gu();if(t)return af(t.sanitize(Ve.RESOURCE_URL,e)||"");if(yt(e,"ResourceURL"))return af(_e(e));throw new v(904,!1)}function Ow(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Rw:Aw}function pp(e,t,n){return Ow(t,n)(e)}function gu(){let e=_();return e&&e[ct].sanitizer}var Pw=/^>|^->|<!--|-->|--!>|<!-$/g,kw=/(<|>)/g,Fw="\u200B$1\u200B";function Lw(e){return e.replace(Pw,t=>t.replace(kw,Fw))}function gp(e){return e instanceof Function?e():e}var Ot=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ot||{}),Qe=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qe||{}),jw;function mu(e,t){return jw(e,t)}function Pn(e,t,n,r,o){if(r!=null){let i,s=!1;pt(r)?i=r:xt(r)&&(s=!0,r=r[ht]);let a=Ze(r);e===0&&n!==null?o==null?Ep(t,n,a):Ei(t,n,a,o||null,!0):e===1&&n!==null?Ei(t,n,a,o||null,!0):e===2?Jw(t,a,s):e===3&&t.destroyNode(a),i!=null&&eE(t,e,i,n,o)}}function Vw(e,t){return e.createText(t)}function Bw(e,t,n){e.setValue(t,n)}function Uw(e,t){return e.createComment(Lw(t))}function mp(e,t,n){return e.createElement(t,n)}function $w(e,t){yp(e,t),t[ht]=null,t[we]=null}function Hw(e,t,n,r,o,i){r[ht]=o,r[we]=t,rs(e,r,n,1,o,i)}function yp(e,t){t[ct].changeDetectionScheduler?.notify(10),rs(e,t,t[W],2,null,null)}function zw(e){let t=e[xr];if(!t)return xa(e[A],e);for(;t;){let n=null;if(xt(t))n=t[xr];else{let r=t[Me];r&&(n=r)}if(!n){for(;t&&!t[Le]&&t!==e;)xt(t)&&xa(t[A],t),t=t[se];t===null&&(t=e),xt(t)&&xa(t[A],t),n=t&&t[Le]}t=n}}function qw(e,t,n,r){let o=Me+r,i=n.length;r>0&&(n[o-1][Le]=t),r<i-Me?(t[Le]=n[o],qf(n,Me+r,t)):(n.push(t),t[Le]=null),t[se]=n;let s=t[Kt];s!==null&&n!==s&&vp(s,t);let a=t[ut];a!==null&&a.insertView(e),qa(t),t[M]|=128}function vp(e,t){let n=e[Un],r=t[se];if(xt(r))e[M]|=hi.HasTransplantedViews;else{let o=r[se][Ae];t[Ae]!==o&&(e[M]|=hi.HasTransplantedViews)}n===null?e[Un]=[t]:n.push(t)}function yu(e,t){let n=e[Un],r=n.indexOf(t);n.splice(r,1)}function pc(e,t){if(e.length<=Me)return;let n=Me+t,r=e[n];if(r){let o=r[Kt];o!==null&&o!==e&&yu(o,r),t>0&&(e[n-1][Le]=r[Le]);let i=ci(e,Me+t);$w(r[A],r);let s=i[ut];s!==null&&s.detachView(i[A]),r[se]=null,r[Le]=null,r[M]&=-129}return r}function Dp(e,t){if(!(t[M]&256)){let n=t[W];n.destroyNode&&rs(e,t,n,3,null,null),zw(t)}}function xa(e,t){if(t[M]&256)return;let n=F(null);try{t[M]&=-129,t[M]|=256,t[be]&&oa(t[be]),Ww(e,t),Gw(e,t),t[A].type===1&&t[W].destroy();let r=t[Kt];if(r!==null&&pt(t[se])){r!==t[se]&&yu(r,t);let o=t[ut];o!==null&&o.detachView(e)}rc(t)}finally{F(n)}}function Gw(e,t){let n=e.cleanup,r=t[li];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[li]=null);let o=t[Nt];if(o!==null){t[Nt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[di];if(i!==null){t[di]=null;for(let s of i)s.destroy()}}function Ww(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 tn)){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];qe(4,a,c);try{c.call(a)}finally{qe(5,a,c)}}else{qe(4,o,i);try{i.call(o)}finally{qe(5,o,i)}}}}}function wp(e,t,n){return Zw(e,t.parent,n)}function Zw(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ht];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ye.None||i===Ye.Emulated)return null}return Re(r,n)}}function Ei(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ep(e,t,n){e.appendChild(t,n)}function ff(e,t,n,r,o){r!==null?Ei(e,t,n,r,o):Ep(e,t,n)}function Ip(e,t){return e.parentNode(t)}function Yw(e,t){return e.nextSibling(t)}function Cp(e,t,n){return Kw(e,t,n)}function Qw(e,t,n){return e.type&40?Re(e,n):null}var Kw=Qw,hf;function ns(e,t,n,r){let o=wp(e,r,t),i=t[W],s=r.parent||t[we],a=Cp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ff(i,o,n[c],a,!1);else ff(i,o,n,a,!1);hf!==void 0&&hf(i,r,t,n,o)}function br(e,t){if(t!==null){let n=t.type;if(n&3)return Re(t,e);if(n&4)return gc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return br(e,r);{let o=e[t.index];return pt(o)?gc(-1,o):Ze(o)}}else{if(n&128)return br(e,t.next);if(n&32)return mu(t,e)()||Ze(e[t.index]);{let r=bp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Xt(e[Ae]);return br(o,r)}else return br(e,t.next)}}}return null}function bp(e,t){if(t!==null){let r=e[Ae][we],o=t.projection;return r.projection[o]}return null}function gc(e,t){let n=Me+e+1;if(n<t.length){let r=t[n],o=r[A].firstChild;if(o!==null)return br(r,o)}return t[Jt]}function Jw(e,t,n){e.removeChild(null,t,n)}function vu(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Rt(Ze(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)vu(e,t,n.child,r,o,i,!1),Pn(t,e,o,a,i);else if(c&32){let u=mu(n,r),l;for(;l=u();)Pn(t,e,o,l,i);Pn(t,e,o,a,i)}else c&16?Mp(e,t,r,n,o,i):Pn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function rs(e,t,n,r,o,i){vu(n,r,e.firstChild,t,o,i,!1)}function Xw(e,t,n){let r=t[W],o=wp(e,n,t),i=n.parent||t[we],s=Cp(i,n,t);Mp(r,0,t,n,o,s)}function Mp(e,t,n,r,o,i){let s=n[Ae],c=s[we].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Pn(t,e,o,l,i)}else{let u=c,l=s[se];Gh(r)&&(u.flags|=128),vu(e,t,u,l,o,i,!0)}}function eE(e,t,n,r,o){let i=n[Jt],s=Ze(n);i!==s&&Pn(t,e,r,i,o);for(let a=Me;a<n.length;a++){let c=n[a];rs(c[A],c,e,t,r,i)}}function tE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Qe.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Qe.Important),e.setStyle(n,r,o,i))}}function nE(e,t,n){e.setAttribute(t,"style",n)}function Sp(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Tp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Za(e,t,r),o!==null&&Sp(e,t,o),i!==null&&nE(e,t,i)}function rE(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 _p="ng-template";function oE(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&rE(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Du(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 Du(e){return e.type===4&&e.value!==_p}function iE(e,t,n){let r=e.type===4&&!n?_p:e.value;return t===r}function sE(e,t,n){let r=4,o=e.attrs,i=o!==null?uE(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Fe(r)&&!Fe(c))return!1;if(s&&Fe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!iE(e,c,n)||c===""&&t.length===1){if(Fe(r))return!1;s=!0}}else if(r&8){if(o===null||!oE(e,o,c,n)){if(Fe(r))return!1;s=!0}}else{let u=t[++a],l=aE(c,o,Du(e),n);if(l===-1){if(Fe(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Fe(r))return!1;s=!0}}}}return Fe(r)||s}function Fe(e){return(e&1)===0}function aE(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 lE(t,e)}function Np(e,t,n=!1){for(let r=0;r<t.length;r++)if(sE(e,t[r],n))return!0;return!1}function cE(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function uE(e){for(let t=0;t<e.length;t++){let n=e[t];if(Nh(n))return t}return e.length}function lE(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 dE(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 pf(e,t){return e?":not("+t.trim()+")":t}function fE(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!==""&&!Fe(s)&&(t+=pf(i,o),o=""),r=s,i=i||!Fe(r);n++}return o!==""&&(t+=pf(i,o)),t}function hE(e){return e.map(fE).join(",")}function pE(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(!Fe(o))break;o=i}r++}return{attrs:t,classes:n}}var Ee={};function sP(e=1){xp(Q(),_(),Lt()+e,!1)}function xp(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ni(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ri(t,i,0,n)}en(n)}function j(e,t=P.Default){let n=_();if(n===null)return E(e,t);let r=oe();return Fh(r,n,ce(e),t)}function Ap(){let e="invalid";throw new Error(e)}function Rp(e,t,n,r,o,i){let s=F(null);try{let a=null;o&Ot.SignalBased&&(a=t[r][Ie]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ot.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):sh(t,a,r,i)}finally{F(s)}}function gE(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)en(~o);else{let i=o,s=n[++r],a=n[++r];DD(s,i);let c=t[i];a(2,c)}}}finally{en(-1)}}function os(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[ht]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),ph(d),d[se]=d[Zn]=e,d[je]=n,d[ct]=s||e&&e[ct],d[W]=a||e&&e[W],d[Bn]=c||e&&e[Bn]||null,d[we]=i,d[Ui]=nw(),d[Nr]=l,d[oh]=u,d[Ae]=t.type==2?e[Ae]:d,d}function Kn(e,t,n,r,o){let i=e.data[t];if(i===null)i=mE(e,t,n,r,o),vD()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=gD();i.injectorIndex=s===null?-1:s.injectorIndex}return cn(i,!0),i}function mE(e,t,n,r,o){let i=vh(),s=Qc(),a=s?i:i&&i.parent,c=e.data[t]=IE(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Op(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 Pp(e,t,n,r,o){let i=Lt(),s=r&2;try{en(-1),s&&t.length>ve&&xp(e,t,ve,!1),qe(s?2:0,o),n(r,o)}finally{en(i),qe(s?3:1,o)}}function wu(e,t,n){if(Wc(t)){let r=F(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{F(r)}}}function Eu(e,t,n){mh()&&(_E(e,t,n,Re(n,t)),(n.flags&64)===64&&Lp(e,t,n))}function Iu(e,t,n=Re){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function kp(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Cu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Cu(e,t,n,r,o,i,s,a,c,u,l){let d=ve+r,h=d+o,f=yE(d,h),g=typeof u=="function"?u():u;return f[A]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:g,incompleteFirstPass:!1,ssrId:l}}function yE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ee);return n}function vE(e,t,n,r){let i=r.get(aw,ep)||n===Ye.ShadowDom,s=e.selectRootElement(t,i);return DE(s),s}function DE(e){wE(e)}var wE=()=>null;function EE(e,t,n,r){let o=Up(t);o.push(n),e.firstCreatePass&&$p(e).push(r,o.length-1)}function IE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return yh()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function gf(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Ot.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?mf(r,n,u,a,c):mf(r,n,u,a)}return r}function mf(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function CE(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],h=n?n.get(d):null,f=h?h.inputs:null,g=h?h.outputs:null;c=gf(0,d.inputs,l,c,f),u=gf(1,d.outputs,l,u,g);let m=c!==null&&s!==null&&!Du(t)?VE(c,l,s):null;a.push(m)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function bE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function bu(e,t,n,r,o,i,s,a){let c=Re(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(Su(e,n,l,r,o),$i(t)&&ME(n,t.index)):t.type&3?(r=bE(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function ME(e,t){let n=Ft(t,e);n[M]&16||(n[M]|=64)}function Mu(e,t,n,r){if(mh()){let o=r===null?null:{"":-1},i=xE(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Fp(e,t,n,s,o,a),o&&AE(n,r,o)}n.mergedAttrs=Ar(n.mergedAttrs,n.attrs)}function Fp(e,t,n,r,o,i){for(let u=0;u<r.length;u++)Ka(yi(n,t),e,r[u].type);OE(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=Op(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=Ar(n.mergedAttrs,l.hostAttrs),PE(e,n,t,c,l),RE(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}CE(e,n,i)}function SE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;TE(s)!=a&&s.push(a),s.push(n,r,i)}}function TE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function _E(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;$i(n)&&kE(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||yi(n,t),Rt(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=nn(t,e,a,n);if(Rt(u,t),s!==null&&jE(t,a-o,u,c,n,s),At(c)){let l=Ft(n.index,t);l[je]=nn(t,e,a,n)}}}function Lp(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=wD();try{en(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Wa(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&NE(c,u)}}finally{en(-1),Wa(s)}}function NE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function xE(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Np(t,s.selectors,!1))if(r||(r=[]),At(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;mc(e,t,c)}else r.unshift(s),mc(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function mc(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function AE(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}}function RE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;At(t)&&(n[""]=e)}}function OE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function PE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Qt(o.type,!0)),s=new tn(i,At(o),j);e.blueprint[r]=s,n[r]=s,SE(e,t,r,Op(e,n,o.hostVars,Ee),o)}function jp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function kE(e,t,n){let r=Re(t,e),o=kp(n),i=e[ct].rendererFactory,s=is(e,os(e,o,null,jp(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function FE(e,t,n,r,o,i){let s=Re(e,t);LE(t[W],s,i,e.value,n,r,o)}function LE(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?We(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function jE(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Rp(r,n,c,u,l,d)}}function VE(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Vp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Bp(e,t){let n=e.contentQueries;if(n!==null){let r=F(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];Jc(i),a.contentQueries(2,t[s],s)}}}finally{F(r)}}}function is(e,t){return e[xr]?e[qd][Le]=t:e[xr]=t,e[qd]=t,t}function yc(e,t,n){Jc(0);let r=F(null);try{t(e,n)}finally{F(r)}}function Up(e){return e[li]??=[]}function $p(e){return e.cleanup??=[]}function Hp(e,t){let n=e[Bn],r=n?n.get(lt,null):null;r&&r.handleError(t)}function Su(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];Rp(l,u,r,a,c,o)}}function zp(e,t,n){let r=dh(t,e);Bw(e[W],r,n)}function BE(e,t){let n=Ft(t,e),r=n[A];UE(r,n);let o=n[ht];o!==null&&n[Nr]===null&&(n[Nr]=hu(o,n[Bn])),Tu(r,n,n[je])}function UE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Tu(e,t,n){Xc(t);try{let r=e.viewQuery;r!==null&&yc(1,r,n);let o=e.template;o!==null&&Pp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ut]?.finishViewCreation(e),e.staticContentQueries&&Bp(e,t),e.staticViewQueries&&yc(2,e.viewQuery,n);let i=e.components;i!==null&&$E(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,eu()}}function $E(e,t){for(let n=0;n<t.length;n++)BE(e,t[n])}function qp(e,t,n,r){let o=F(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=os(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Kt]=u;let l=e[ut];return l!==null&&(c[ut]=l.createEmbeddedView(i)),Tu(i,c,n),c}finally{F(o)}}function vc(e,t){return!t||t.firstChild===null||Gh(e)}function Gp(e,t,n,r=!0){let o=t[A];if(qw(o,t,e,n),r){let s=gc(n,e),a=t[W],c=Ip(a,e[Jt]);c!==null&&Hw(o,e[we],a,t,c,s)}let i=t[Nr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ii(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Ze(i)),pt(i)&&HE(i,r);let s=n.type;if(s&8)Ii(e,t,n.child,r);else if(s&32){let a=mu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=bp(t,n);if(Array.isArray(a))r.push(...a);else{let c=Xt(t[Ae]);Ii(c[A],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function HE(e,t){for(let n=Me;n<e.length;n++){let r=e[n],o=r[A].firstChild;o!==null&&Ii(r[A],r,o,t)}e[Jt]!==e[ht]&&t.push(e[Jt])}var Wp=[];function zE(e){return e[be]??qE(e)}function qE(e){let t=Wp.pop()??Object.create(WE);return t.lView=e,t}function GE(e){e.lView[be]!==e&&(e.lView=null,Wp.push(e))}var WE=z(y({},gr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{qi(e.lView)},consumerOnSignalRead(){this.lView[be]=this}});function ZE(e){let t=e[be]??Object.create(YE);return t.lView=e,t}var YE=z(y({},gr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Xt(e.lView);for(;t&&!Zp(t[A]);)t=Xt(t);t&&Yc(t)},consumerOnSignalRead(){this.lView[be]=this}});function Zp(e){return e.type!==2}function Yp(e){if(e[di]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[di])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var QE=100;function Qp(e,t=!0,n=0){let o=e[ct].rendererFactory,i=!1;i||o.begin?.();try{KE(e,n)}catch(s){throw t&&Hp(e,s),s}finally{i||o.end?.()}}function KE(e,t){let n=Dh();try{Wd(!0),Dc(e,t);let r=0;for(;zi(e);){if(r===QE)throw new v(103,!1);r++,Dc(e,1)}}finally{Wd(n)}}function JE(e,t,n,r){let o=t[M];if((o&256)===256)return;let i=!1,s=!1;Xc(t);let a=!0,c=null,u=null;i||(Zp(e)?(u=zE(t),c=Do(u)):ed()===null?(a=!1,u=ZE(t),c=Do(u)):t[be]&&(oa(t[be]),t[be]=null));try{ph(t),yD(e.bindingStartIndex),n!==null&&Pp(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ni(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ri(t,f,0,null),Ta(t,0)}if(s||XE(t),Yp(t),Kp(t,0),e.contentQueries!==null&&Bp(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ni(t,f)}else{let f=e.contentHooks;f!==null&&ri(t,f,1),Ta(t,1)}gE(e,t);let d=e.components;d!==null&&Xp(t,d,0);let h=e.viewQuery;if(h!==null&&yc(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ni(t,f)}else{let f=e.viewHooks;f!==null&&ri(t,f,2),Ta(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Sa]){for(let f of t[Sa])f();t[Sa]=null}i||(t[M]&=-73)}catch(l){throw i||qi(t),l}finally{u!==null&&(na(u,c),a&&GE(u)),eu()}}function Kp(e,t){for(let n=Yh(e);n!==null;n=Qh(n))for(let r=Me;r<n.length;r++){let o=n[r];Jp(o,t)}}function XE(e){for(let t=Yh(e);t!==null;t=Qh(t)){if(!(t[M]&hi.HasTransplantedViews))continue;let n=t[Un];for(let r=0;r<n.length;r++){let o=n[r];Yc(o)}}}function eI(e,t,n){let r=Ft(t,e);Jp(r,n)}function Jp(e,t){Zc(e)&&Dc(e,t)}function Dc(e,t){let r=e[A],o=e[M],i=e[be],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ra(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)JE(r,e,r.template,e[je]);else if(o&8192){Yp(e),Kp(e,1);let a=r.components;a!==null&&Xp(e,a,1)}}function Xp(e,t,n){for(let r=0;r<t.length;r++)eI(e,t[r],n)}function _u(e,t){let n=Dh()?64:1088;for(e[ct].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=Xt(e);if(Ha(e)&&!r)return e;e=r}return null}var rn=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[A];return Ii(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[je]}get dirty(){return!!(this._lView[M]&9280)||!!this._lView[be]?.dirty}set context(t){this._lView[je]=t}get destroyed(){return(this._lView[M]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[se];if(pt(t)){let n=t[fi],r=n?n.indexOf(this):-1;r>-1&&(pc(t,r),ci(n,r))}this._attachedToViewContainer=!1}Dp(this._lView[A],this._lView)}onDestroy(t){gh(this._lView,t)}markForCheck(){_u(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Yc(this._cdRefInjectingView||this._lView)}detach(){this._lView[M]&=-129}reattach(){qa(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Qp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ha(this._lView),n=this._lView[Kt];n!==null&&!t&&yu(n,this._lView),yp(this._lView[A],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=Ha(this._lView),r=this._lView[Kt];r!==null&&!n&&vp(r,this._lView),qa(this._lView)}},ft=(()=>{class e{static __NG_ELEMENT_ID__=rI}return e})(),tI=ft,nI=class extends tI{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=qp(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new rn(o)}};function rI(){return ss(oe(),_())}function ss(e,t){return e.type&4?new nI(t,e,Qn(e,t)):null}var cP=new RegExp(`^(\\d+)*(${sw}|${iw})*(.*)`);var oI=()=>null;function wc(e,t){return oI(e,t)}var Ec=class{},Ci=class{},Ic=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ue(t)}.`)}},zn=class{static NULL=new Ic},qn=class{},Jn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>iI()}return e})();function iI(){let e=_(),t=oe(),n=Ft(t.index,e);return(xt(n)?n:e)[W]}var sI=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>null})}return e})();function bi(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=Fa(o,a);else if(i==2){let c=a,u=t[++s];r=Fa(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Mi=class extends zn{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=at(t);return new on(n,this.ngModule)}};function yf(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Ot.None;t?n.push({propName:s,templateName:r,isSignal:(a&Ot.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function aI(e){let t=e.toLowerCase();return t==="svg"?lh:t==="math"?iD:null}var on=class extends Ci{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=yf(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return yf(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=hE(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=F(null);try{o=o||this.ngModule;let s=o instanceof le?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Ya(t,s):t,c=a.get(qn,null);if(c===null)throw new v(407,!1);let u=a.get(sI,null),l=a.get(Hn,null),d={rendererFactory:c,sanitizer:u,changeDetectionScheduler:l},h=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",g=r?vE(h,r,this.componentDef.encapsulation,a):mp(h,f,aI(f)),m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let I=null;g!==null&&(I=hu(g,a,!0));let S=Cu(0,null,null,1,0,null,null,null,null,null,null),H=os(null,S,null,m,null,null,d,h,a,null,I);Xc(H);let L,ne,de=null;try{let K=this.componentDef,tt,Ws=null;K.findHostDirectiveDefs?(tt=[],Ws=new Map,K.findHostDirectiveDefs(K,tt,Ws),tt.push(K)):tt=[K];let Ey=cI(H,g);de=uI(Ey,g,K,tt,H,d,h),ne=fh(S,ve),g&&fI(h,K,g,r),n!==void 0&&hI(ne,this.ngContentSelectors,n),L=dI(de,K,tt,Ws,H,[pI]),Tu(S,H,null)}catch(K){throw de!==null&&rc(de),rc(H),K}finally{eu()}return new Cc(this.componentType,L,Qn(ne,H),H,ne)}finally{F(i)}}},Cc=class extends Ec{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new rn(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Su(i[A],i,o,t,n),this.previousInputValues.set(t,n);let s=Ft(this._tNode.index,i);_u(s,1)}}get injector(){return new Yt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function cI(e,t){let n=e[A],r=ve;return e[r]=t,Kn(n,r,2,"#host",null)}function uI(e,t,n,r,o,i,s){let a=o[A];lI(r,e,t,s);let c=null;t!==null&&(c=hu(t,o[Bn]));let u=i.rendererFactory.createRenderer(t,n),l=os(o,kp(n),null,jp(n),o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&mc(a,e,r.length-1),is(o,l),o[e.index]=l}function lI(e,t,n,r){for(let o of e)t.mergedAttrs=Ar(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(bi(t,t.mergedAttrs,!0),n!==null&&Tp(r,n,t))}function dI(e,t,n,r,o,i){let s=oe(),a=o[A],c=Re(s,o);Fp(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,h=nn(o,a,d,s);Rt(h,o)}Lp(a,o,s),c&&Rt(c,o);let u=nn(o,a,s.directiveStart+s.componentOffset,s);if(e[je]=o[je]=u,i!==null)for(let l of i)l(u,t);return wu(a,s,o),u}function fI(e,t,n,r){if(r)Za(e,n,["ng-version","19.0.5"]);else{let{attrs:o,classes:i}=pE(t.selectors[0]);o&&Za(e,n,o),i&&i.length>0&&Sp(e,n,i.join(" "))}}function hI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}function pI(){let e=oe();Ji(_()[A],e)}var Be=(()=>{class e{static __NG_ELEMENT_ID__=gI}return e})();function gI(){let e=oe();return tg(e,_())}var mI=Be,eg=class extends mI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qn(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){let t=tu(this._hostTNode,this._hostLView);if(xh(t)){let n=gi(t,this._hostLView),r=pi(t),o=n[A].data[r+8];return new Yt(o,n)}else return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=vf(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Me}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=wc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,vc(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!tD(t),a;if(s)a=n;else{let g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let c=s?t:new on(at(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?u:this.parentInjector).get(le,null);m&&(i=m)}let l=at(c.componentType??{}),d=wc(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,vc(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(aD(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[se],u=new eg(c,c[we],c[se]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Gp(s,o,i,r),t.attachToViewContainerRef(),qf(Aa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=vf(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=pc(this._lContainer,n);r&&(ci(Aa(this._lContainer),n),Dp(r[A],r))}detach(t){let n=this._adjustIndex(t,-1),r=pc(this._lContainer,n);return r&&ci(Aa(this._lContainer),n)!=null?new rn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function vf(e){return e[fi]}function Aa(e){return e[fi]||(e[fi]=[])}function tg(e,t){let n,r=t[e.index];return pt(r)?n=r:(n=Vp(r,t,null,e),t[e.index]=n,is(t,n)),vI(n,t,e,r),new eg(n,e,t)}function yI(e,t){let n=e[W],r=n.createComment(""),o=Re(t,e),i=Ip(n,o);return Ei(n,i,r,Yw(n,o),!1),r}var vI=EI,DI=()=>!1;function wI(e,t,n){return DI(e,t,n)}function EI(e,t,n,r){if(e[Jt])return;let o;n.type&8?o=Ze(r):o=yI(t,n),e[Jt]=o}var bc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Mc=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Nu(t,n).matches!==null&&this.queries[n].setDirty()}},Si=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=NI(t):this.predicate=t}},Sc=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Tc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,II(n,i)),this.matchTNodeWithReadOption(t,n,oi(n,t,i,!1,!1))}else r===ft?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,oi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Xe||o===Be||o===ft&&n.type&4)this.addMatch(n.index,-2);else{let i=oi(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function II(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function CI(e,t){return e.type&11?Qn(e,t):e.type&4?ss(e,t):null}function bI(e,t,n,r){return n===-1?CI(t,e):n===-2?MI(e,t,r):nn(e,e[A],n,t)}function MI(e,t,n){if(n===Xe)return Qn(t,e);if(n===ft)return ss(t,e);if(n===Be)return tg(t,e)}function ng(e,t,n,r){let o=t[ut].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(bI(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function _c(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ng(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=Me;d<l.length;d++){let h=l[d];h[Kt]===h[se]&&_c(h[A],h,u,r)}if(l[Un]!==null){let d=l[Un];for(let h=0;h<d.length;h++){let f=d[h];_c(f[A],f,u,r)}}}}}return r}function SI(e,t){return e[ut].queries[t].queryList}function rg(e,t,n){let r=new nc((n&4)===4);return EE(e,t,r,r.destroy),(t[ut]??=new Mc).queries.push(new bc(r))-1}function TI(e,t,n){let r=Q();return r.firstCreatePass&&(og(r,new Si(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),rg(r,_(),t)}function _I(e,t,n,r){let o=Q();if(o.firstCreatePass){let i=oe();og(o,new Si(t,n,r),i.index),xI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return rg(o,_(),n)}function NI(e){return e.split(",").map(t=>t.trim())}function og(e,t,n){e.queries===null&&(e.queries=new Sc),e.queries.track(new Tc(t,n))}function xI(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Nu(e,t){return e.queries.getByIndex(t)}function AI(e,t){let n=e[A],r=Nu(n,t);return r.crossesNgTemplate?_c(n,e,t,[]):ng(n,e,r,t)}function RI(e){return typeof e=="function"&&e[Ie]!==void 0}function lP(e,t){un("NgSignals");let n=ld(e),r=n[Ie];return t?.equal&&(r.equal=t.equal),n.set=o=>Io(r,o),n.update=o=>dd(r,o),n.asReadonly=OI.bind(n),n}function OI(){let e=this[Ie];if(e.readonlyFn===void 0){let t=()=>this();t[Ie]=e,e.readonlyFn=t}return e.readonlyFn}function ig(e){return RI(e)&&typeof e.set=="function"}function PI(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(jI))}return i}return Ti.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(r(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>VI(i));t.push(c)}),FI(),Promise.all(t).then(()=>{})}var Ti=new Map,kI=new Set;function FI(){let e=Ti;return Ti=new Map,e}function LI(){return Ti.size===0}function jI(e){return typeof e=="string"?e:e.text()}function VI(e){kI.delete(e)}var Pt=class{},Rr=class{};var _i=class extends Pt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Mi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Zf(t);this._bootstrapComponents=gp(i.bootstrap),this._r3Injector=Vh(t,n,[{provide:Pt,useValue:this},{provide:zn,useValue:this.componentFactoryResolver},...r],ue(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)}},Ni=class extends Rr{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new _i(this.moduleType,t,[])}};function BI(e,t,n){return new _i(e,t,n,!1)}var Nc=class extends Pt{injector;componentFactoryResolver=new Mi(this);instance=null;constructor(t){super();let n=new _r([...t.providers,{provide:Pt,useValue:this},{provide:zn,useValue:this.componentFactoryResolver}],t.parent||Bi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function as(e,t,n=null){return new Nc({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var UI=(()=>{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=Jf(!1,n.type),o=r.length>0?as([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(E(le))})}return e})();function sg(e){return Pr(()=>{let t=cg(e),n=z(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Wh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(UI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ye.Emulated,styles:e.styles||me,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&un("NgStandalone"),ug(n);let r=e.dependencies;return n.directiveDefs=wf(r,!1),n.pipeDefs=wf(r,!0),n.id=zI(n),n})}function $I(e){return at(e)||Yf(e)}function HI(e){return e!==null}function jt(e){return Pr(()=>({type:e.type,bootstrap:e.bootstrap||me,declarations:e.declarations||me,imports:e.imports||me,exports:e.exports||me,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Df(e,t){if(e==null)return Ln;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ot.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ot.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Oe(e){return Pr(()=>{let t=cg(e);return ug(t),t})}function ag(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function cg(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ln,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||me,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Df(e.inputs,t),outputs:Df(e.outputs),debugInfo:null}}function ug(e){e.features?.forEach(t=>t(e))}function wf(e,t){if(!e)return null;let n=t?Qf:$I;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(HI)}function zI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function qI(e){return Object.getPrototypeOf(e.prototype).constructor}function GI(e){let t=qI(e.type),n=!0,r=[e];for(;t;){let o;if(At(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Jo(e.inputs),s.inputTransforms=Jo(e.inputTransforms),s.declaredInputs=Jo(e.declaredInputs),s.outputs=Jo(e.outputs);let a=o.hostBindings;a&&KI(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&YI(e,c),u&&QI(e,u),WI(e,o),Dv(e.outputs,o.outputs),At(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===GI&&(n=!1)}}t=Object.getPrototypeOf(t)}ZI(r)}function WI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function ZI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ar(o.hostAttrs,n=Ar(n,o.hostAttrs))}}function Jo(e){return e===Ln?{}:e===me?[]:e}function YI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function QI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function KI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function xu(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function lg(e){return Au(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function JI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Au(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ru(e,t,n){return e[t]=n}function XI(e,t){return e[t]}function Ke(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ou(e,t,n,r){let o=Ke(e,t,n);return Ke(e,t+1,r)||o}function eC(e,t,n,r,o){let i=Ou(e,t,n,r);return Ke(e,t+2,o)||i}function tC(e){return(e.flags&32)===32}function nC(e,t,n,r,o,i,s,a,c){let u=t.consts,l=Kn(t,e,4,s||null,a||null);Mu(t,n,l,$n(u,c)),Ji(t,l);let d=l.tView=Cu(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function dg(e,t,n,r,o,i,s,a,c,u){let l=n+ve,d=t.firstCreatePass?nC(l,t,e,r,o,i,s,a,c):t.data[l];cn(d,!1);let h=oC(t,e,d,n);Qi()&&ns(t,e,h,d),Rt(h,e);let f=Vp(h,e,h,d);return e[l]=f,is(e,f),wI(f,d,e),Hi(d)&&Eu(t,e,d),c!=null&&Iu(e,d,u),d}function rC(e,t,n,r,o,i,s,a){let c=_(),u=Q(),l=$n(u.consts,i);return dg(c,u,e,t,n,r,o,l,s,a),rC}var oC=iC;function iC(e,t,n,r){return Ki(!0),t[W].createComment("")}var cs=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Pu=new w(""),jr=new w(""),us=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,ku||(sC(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{U.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(E(U),E(ls),E(jr))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),ls=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ku?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sC(e){ku=e}var ku;function Xn(e){return!!e&&typeof e.then=="function"}function Fu(e){return!!e&&typeof e.subscribe=="function"}var ds=new w("");var fg=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(ds,{optional:!0})??[];injector=p(Te);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=De(this.injector,o);if(Xn(i))n.push(i);else if(Fu(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aC=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>new xc})}return e})(),xc=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},fs=new w("");function cC(){ud(()=>{throw new v(600,!1)})}function uC(e){return e.isBoundToModule}var lC=10;function dC(e,t,n){try{let r=n();return Xn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function hg(e,t){return Array.isArray(t)?t.reduce(hg,e):y(y({},e),t)}var Je=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(QD);afterRenderManager=p(tp);zonelessEnabled=p(iu);rootEffectScheduler=p(aC);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Z;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=p(gt).hasPendingTasks.pipe(O(n=>!n));constructor(){p(Xi,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Ci;if(!this._injector.get(fg).done){let h=!o&&Kf(n),f=!1;throw new v(405,f)}let s;o?s=n:s=this._injector.get(zn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=uC(s)?void 0:this._injector.get(Pt),c=r||s.selector,u=s.create(Te.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(Pu,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),ii(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(du.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new v(101,!1);let n=F(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,F(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(qn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<lC;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)fC(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>zi(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;ii(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(fs,[]).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),()=>ii(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ii(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function fC(e,t,n,r){if(!n&&!zi(e))return;Qp(e,t,n&&!r?0:1)}function Lu(e,t,n,r){let o=_(),i=Wi();if(Ke(o,i,t)){let s=Q(),a=Yi();FE(a,o,e,t,n,r)}return Lu}function ju(e,t,n,r){return Ke(e,Wi(),n)?t+We(n)+r:Ee}function pg(e,t,n,r,o,i){let s=wh(),a=Ou(e,s,n,o);return Zi(2),a?t+We(n)+r+We(o)+i:Ee}function hC(e,t,n,r,o,i,s,a){let c=wh(),u=eC(e,c,n,o,s);return Zi(3),u?t+We(n)+r+We(o)+i+We(s)+a:Ee}function Xo(e,t){return e<<17|t<<2}function sn(e){return e>>17&32767}function pC(e){return(e&2)==2}function gC(e,t){return e&131071|t<<17}function Ac(e){return e|2}function Gn(e){return(e&131068)>>2}function Ra(e,t){return e&-131069|t<<2}function mC(e){return(e&1)===1}function Rc(e){return e|1}function yC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=sn(s),c=Gn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Fr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=sn(e[a+1]);e[r+1]=Xo(h,a),h!==0&&(e[h+1]=Ra(e[h+1],r)),e[a+1]=gC(e[a+1],r)}else e[r+1]=Xo(a,0),a!==0&&(e[a+1]=Ra(e[a+1],r)),a=r;else e[r+1]=Xo(c,0),a===0?a=r:e[c+1]=Ra(e[c+1],r),c=r;u&&(e[r+1]=Ac(e[r+1])),Ef(e,l,r,!0),Ef(e,l,r,!1),vC(t,l,e,r,i),s=Xo(a,c),i?t.classBindings=s:t.styleBindings=s}function vC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Fr(i,t)>=0&&(n[r+1]=Rc(n[r+1]))}function Ef(e,t,n,r){let o=e[n+1],i=t===null,s=r?sn(o):Gn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];DC(c,t)&&(a=!0,e[s+1]=r?Rc(u):Ac(u)),s=r?sn(u):Gn(u)}a&&(e[n+1]=r?Ac(o):Rc(o))}function DC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Fr(e,t)>=0:!1}var X={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gg(e){return e.substring(X.key,X.keyEnd)}function wC(e){return e.substring(X.value,X.valueEnd)}function EC(e){return vg(e),mg(e,Wn(e,0,X.textEnd))}function mg(e,t){let n=X.textEnd;return n===t?-1:(t=X.keyEnd=CC(e,X.key=t,n),Wn(e,t,n))}function IC(e){return vg(e),yg(e,Wn(e,0,X.textEnd))}function yg(e,t){let n=X.textEnd,r=X.key=Wn(e,t,n);return n===r?-1:(r=X.keyEnd=bC(e,r,n),r=If(e,r,n,58),r=X.value=Wn(e,r,n),r=X.valueEnd=MC(e,r,n),If(e,r,n,59))}function vg(e){X.key=0,X.keyEnd=0,X.value=0,X.valueEnd=0,X.textEnd=e.length}function Wn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function CC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function bC(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function If(e,t,n,r){return t=Wn(e,t,n),t<n&&t++,t}function MC(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Cf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Cf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Cf(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function SC(e,t,n){let r=_(),o=Wi();if(Ke(r,o,t)){let i=Q(),s=Yi();bu(i,s,r,e,t,r[W],n,!1)}return SC}function Oc(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Su(e,n,i[s],s,r)}function Dg(e,t,n){return wg(e,t,n,!1),Dg}function TC(e,t){return wg(e,t,null,!0),TC}function dP(e){Vr(Cg,_C,e,!1)}function _C(e,t){for(let n=IC(t);n>=0;n=yg(t,n))Cg(e,gg(t),wC(t))}function fP(e){Vr(PC,hs,e,!0)}function hs(e,t){for(let n=EC(t);n>=0;n=mg(t,n))an(e,gg(t),!0)}function wg(e,t,n,r){let o=_(),i=Q(),s=Zi(2);if(i.firstUpdatePass&&Ig(i,e,s,r),t!==Ee&&Ke(o,s,t)){let a=i.data[Lt()];bg(i,a,o,o[W],e,o[s+1]=FC(t,n),r,s)}}function Vr(e,t,n,r){let o=Q(),i=Zi(2);o.firstUpdatePass&&Ig(o,null,i,r);let s=_();if(n!==Ee&&Ke(s,i,n)){let a=o.data[Lt()];if(Mg(a,r)&&!Eg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Fa(c,n||"")),Oc(o,a,s,n,r)}else kC(o,a,s,s[W],s[i+1],s[i+1]=OC(e,t,n),r,i)}}function Eg(e,t){return t>=e.expandoStartIndex}function Ig(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Lt()],s=Eg(e,n);Mg(i,r)&&t===null&&!s&&(t=!1),t=NC(o,i,t,r),yC(o,i,t,n,s,r)}}function NC(e,t,n,r){let o=ED(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Oa(null,e,t,n,r),n=Or(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Oa(o,e,t,n,r),i===null){let c=xC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Oa(null,e,t,c[1],r),c=Or(c,t.attrs,r),AC(e,t,r,c))}else i=RC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function xC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Gn(r)!==0)return e[sn(r)]}function AC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[sn(o)]=r}function RC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Or(r,s,n)}return Or(r,t.attrs,n)}function Oa(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=Or(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Or(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]),an(e,s,n?!0:t[++i]))}return e===void 0?null:e}function OC(e,t,n){if(n==null||n==="")return me;let r=[],o=_e(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Cg(e,t,n){an(e,t,_e(n))}function PC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&an(e,r,n)}function kC(e,t,n,r,o,i,s,a){o===Ee&&(o=me);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 h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,g=null,m;l===d?(c+=2,u+=2,h!==f&&(g=d,m=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,m=f),g!==null&&bg(e,t,n,r,g,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function bg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=mC(u)?bf(c,t,n,o,Gn(u),s):void 0;if(!xi(l)){xi(i)||pC(u)&&(i=bf(c,null,n,o,a,s));let d=dh(Lt(),n);tE(r,s,d,o,i)}}function bf(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,h=n[o+1];h===Ee&&(h=d?me:void 0);let f=d?ba(h,r):l===r?h:void 0;if(u&&!xi(f)&&(f=ba(c,r)),xi(f)&&(a=f,s))return a;let g=e[o+1];o=s?sn(g):Gn(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ba(c,r))}return a}function xi(e){return e!==void 0}function FC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ue(_e(e)))),e}function Mg(e,t){return(e.flags&(t?8:16))!==0}function hP(e,t,n){let r=_(),o=ju(r,e,t,n);Vr(an,hs,o,!0)}function pP(e,t,n,r,o){let i=_(),s=pg(i,e,t,n,r,o);Vr(an,hs,s,!0)}function gP(e,t,n,r,o,i,s){let a=_(),c=hC(a,e,t,n,r,o,i,s);Vr(an,hs,c,!0)}function LC(e,t,n,r,o,i){let s=t.consts,a=$n(s,o),c=Kn(t,e,2,r,a);return Mu(t,n,c,$n(s,i)),c.attrs!==null&&bi(c,c.attrs,!1),c.mergedAttrs!==null&&bi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Sg(e,t,n,r){let o=_(),i=Q(),s=ve+e,a=o[W],c=i.firstCreatePass?LC(s,i,o,t,n,r):i.data[s],u=jC(i,o,c,a,t,e);o[s]=u;let l=Hi(c);return cn(c,!0),Tp(a,u,c),!tC(c)&&Qi()&&ns(i,o,u,c),lD()===0&&Rt(u,o),dD(),l&&(Eu(i,o,c),wu(i,c,o)),r!==null&&Iu(o,c),Sg}function Tg(){let e=oe();Qc()?Kc():(e=e.parent,cn(e,!1));let t=e;hD(t)&&pD(),fD();let n=Q();return n.firstCreatePass&&(Ji(n,e),Wc(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&ND(t)&&Oc(n,t,_(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&xD(t)&&Oc(n,t,_(),t.stylesWithoutHost,!1),Tg}function Vu(e,t,n,r){return Sg(e,t,n,r),Tg(),Vu}var jC=(e,t,n,r,o,i)=>(Ki(!0),mp(r,o,MD()));function VC(e,t,n,r,o){let i=t.consts,s=$n(i,r),a=Kn(t,e,8,"ng-container",s);s!==null&&bi(a,s,!0);let c=$n(i,o);return Mu(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function _g(e,t,n){let r=_(),o=Q(),i=e+ve,s=o.firstCreatePass?VC(i,o,r,t,n):o.data[i];cn(s,!0);let a=UC(o,r,s,e);return r[i]=a,Qi()&&ns(o,r,a,s),Rt(a,r),Hi(s)&&(Eu(o,r,s),wu(o,s,r)),n!=null&&Iu(r,s),_g}function Ng(){let e=oe(),t=Q();return Qc()?Kc():(e=e.parent,cn(e,!1)),t.firstCreatePass&&(Ji(t,e),Wc(e)&&t.queries.elementEnd(e)),Ng}function BC(e,t,n){return _g(e,t,n),Ng(),BC}var UC=(e,t,n,r)=>(Ki(!0),Uw(t[W],""));function mP(){return _()}var Ai="en-US";var $C=Ai;function HC(e){typeof e=="string"&&($C=e.toLowerCase().replace(/_/g,"-"))}var zC=(e,t,n)=>{};function Bu(e,t,n,r){let o=_(),i=Q(),s=oe();return xg(i,o,o[W],s,e,t,r),Bu}function qC(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[li],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function xg(e,t,n,r,o,i,s){let a=Hi(r),u=e.firstCreatePass&&$p(e),l=t[je],d=Up(t),h=!0;if(r.type&3||s){let m=Re(r,t),I=s?s(m):m,S=d.length,H=s?ne=>s(Ze(ne[r.index])):r.index,L=null;if(!s&&a&&(L=qC(e,t,o,r.index)),L!==null){let ne=L.__ngLastListenerFn__||L;ne.__ngNextListenerFn__=i,L.__ngLastListenerFn__=i,h=!1}else{i=Sf(r,t,l,i),zC(m,o,i);let ne=n.listen(I,o,i);d.push(i,ne),u&&u.push(o,H,S,S+1)}}else i=Sf(r,t,l,i);let f=r.outputs,g;if(h&&f!==null&&(g=f[o])){let m=g.length;if(m)for(let I=0;I<m;I+=2){let S=g[I],H=g[I+1],de=t[S][H].subscribe(i),K=d.length;d.push(i,de),u&&u.push(o,r.index,K,-(K+1))}}}function Mf(e,t,n,r){let o=F(null);try{return qe(6,t,n),n(r)!==!1}catch(i){return Hp(e,i),!1}finally{qe(7,t,n),F(o)}}function Sf(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Ft(e.index,t):t;_u(s,5);let a=Mf(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Mf(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function yP(e=1){return CD(e)}function GC(e,t){let n=null,r=cE(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Np(e,i,!0):dE(r,i))return o}return n}function vP(e){let t=_()[Ae][we];if(!t.projection){let n=e?e.length:1,r=t.projection=Bv(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?GC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function DP(e,t=0,n,r,o,i){let s=_(),a=Q(),c=r?e+1:null;c!==null&&dg(s,a,c,r,o,i,null,n);let u=Kn(a,ve+e,16,null,n||null);u.projection===null&&(u.projection=t),Kc();let d=!s[Nr]||yh();s[Ae][we].projection[u.projection]===null&&c!==null?WC(s,a,c):d&&(u.flags&32)!==32&&Xw(a,s,u)}function WC(e,t,n){let r=ve+n,o=t.data[r],i=e[r],s=wc(i,o.tView.ssrId),a=qp(e,o,void 0,{dehydratedView:s});Gp(i,a,0,vc(o,s))}function ZC(e,t,n){return Ag(e,"",t,"",n),ZC}function Ag(e,t,n,r,o){let i=_(),s=ju(i,t,n,r);if(s!==Ee){let a=Q(),c=Yi();bu(a,c,i,e,s,i[W],o,!1)}return Ag}function Rg(e,t,n,r){_I(e,t,n,r)}function wP(e,t,n){TI(e,t,n)}function Og(e){let t=_(),n=Q(),r=Eh();Jc(r+1);let o=Nu(n,r);if(e.dirty&&sD(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=AI(t,r);e.reset(i,XD),e.notifyOnChanges()}return!0}return!1}function Pg(){return SI(_(),Eh())}function YC(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function EP(e){let t=mD();return hh(t,ve+e)}function IP(e,t=""){let n=_(),r=Q(),o=e+ve,i=r.firstCreatePass?Kn(r,o,1,t,null):r.data[o],s=QC(r,n,i,t,e);n[o]=s,Qi()&&ns(r,n,s,i),cn(i,!1)}var QC=(e,t,n,r,o)=>(Ki(!0),Vw(t[W],r));function KC(e){return kg("",e,""),KC}function kg(e,t,n){let r=_(),o=ju(r,e,t,n);return o!==Ee&&zp(r,Lt(),o),kg}function JC(e,t,n,r,o){let i=_(),s=pg(i,e,t,n,r,o);return s!==Ee&&zp(i,Lt(),s),JC}function XC(e,t,n){ig(t)&&(t=t());let r=_(),o=Wi();if(Ke(r,o,t)){let i=Q(),s=Yi();bu(i,s,r,e,t,r[W],n,!1)}return XC}function CP(e,t){let n=ig(e);return n&&e.set(t),n}function eb(e,t){let n=_(),r=Q(),o=oe();return xg(r,n,n[W],o,e,t),eb}function tb(e,t,n){let r=Q();if(r.firstCreatePass){let o=At(e);Pc(n,r.data,r.blueprint,o,!0),Pc(t,r.data,r.blueprint,o,!1)}}function Pc(e,t,n,r,o){if(e=ce(e),Array.isArray(e))for(let i=0;i<e.length;i++)Pc(e[i],t,n,r,o);else{let i=Q(),s=_(),a=oe(),c=Vn(e)?e:ce(e.provide),u=th(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Vn(e)||!e.multi){let f=new tn(u,o,j),g=ka(c,t,o?l:l+h,d);g===-1?(Ka(yi(a,s),i,c),Pa(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=ka(c,t,l+h,d),g=ka(c,t,l,l+h),m=f>=0&&n[f],I=g>=0&&n[g];if(o&&!I||!o&&!m){Ka(yi(a,s),i,c);let S=ob(o?rb:nb,n.length,o,r,u);!o&&I&&(n[g].providerFactory=S),Pa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=Fg(n[o?g:f],u,!o&&r);Pa(i,e,f>-1?f:g,S)}!o&&r&&I&&n[g].componentProviders++}}}function Pa(e,t,n,r){let o=Vn(t),i=Wv(t);if(o||i){let c=(i?ce(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Fg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ka(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function nb(e,t,n,r){return kc(this.multi,[])}function rb(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=nn(n,n[A],this.providerFactory.index,r);i=a.slice(0,s),kc(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],kc(o,i);return i}function kc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function ob(e,t,n,r,o){let i=new tn(e,n,j);return i.multi=[],i.index=t,i.componentProviders=0,Fg(i,o,r&&!n),i}function bP(e,t=[]){return n=>{n.providersResolver=(r,o)=>tb(r,o?o(e):e,t)}}function MP(e,t,n){let r=Gi()+e,o=_();return o[r]===Ee?Ru(o,r,n?t.call(n):t()):XI(o,r)}function SP(e,t,n,r){return jg(_(),Gi(),e,t,n,r)}function TP(e,t,n,r,o){return ib(_(),Gi(),e,t,n,r,o)}function Lg(e,t){let n=e[t];return n===Ee?void 0:n}function jg(e,t,n,r,o,i){let s=t+n;return Ke(e,s,o)?Ru(e,s+1,i?r.call(i,o):r(o)):Lg(e,s+1)}function ib(e,t,n,r,o,i,s){let a=t+n;return Ou(e,a,o,i)?Ru(e,a+2,s?r.call(s,o,i):r(o,i)):Lg(e,a+2)}function _P(e,t){let n=Q(),r,o=e+ve;n.firstCreatePass?(r=sb(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Qt(r.type,!0)),s,a=ge(j);try{let c=mi(!1),u=i();return mi(c),YC(n,_(),o,u),u}finally{ge(a)}}function sb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function NP(e,t,n){let r=e+ve,o=_(),i=hh(o,r);return ab(o,r)?jg(o,Gi(),t,i.transform,n,i):i.transform(n)}function ab(e,t){return e[A].data[t].pure}function xP(e,t){return ss(e,t)}var ei=null;function cb(e){ei!==null&&(e.defaultEncapsulation!==ei.defaultEncapsulation||e.preserveWhitespaces!==ei.preserveWhitespaces)||(ei=e)}var Fc=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},ps=(()=>{class e{compileModuleSync(n){return new Ni(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Zf(n),i=gp(o.declarations).reduce((s,a)=>{let c=at(a);return c&&s.push(new on(c)),s},[]);return new Fc(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ub=new w("");function lb(e,t,n){let r=new Ni(n);return Promise.resolve(r)}function Tf(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var db=(()=>{class e{zone=p(U);changeDetectionScheduler=p(Hn);applicationRef=p(Je);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fb({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new U(z(y({},Vg()),{scheduleInRootZone:n})),[{provide:U,useFactory:e},{provide:jn,multi:!0,useFactory:()=>{let r=p(db,{optional:!0});return()=>r.initialize()}},{provide:jn,multi:!0,useFactory:()=>{let r=p(hb);return()=>{r.initialize()}}},t===!0?{provide:Uh,useValue:!0}:[],{provide:$h,useValue:n??Bh}]}function Vg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var hb=(()=>{class e{subscription=new G;initialized=!1;zone=p(U);pendingTasks=p(gt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{U.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{U.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var pb=(()=>{class e{appRef=p(Je);taskService=p(gt);ngZone=p(U);zonelessEnabled=p(iu);tracing=p(Xi,{optional:!0});disableScheduling=p(Uh,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Di):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p($h,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof wi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Xd:Hh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Di+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Xd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gb(){return typeof $localize<"u"&&$localize.locale||Ai}var Uu=new w("",{providedIn:"root",factory:()=>p(Uu,P.Optional|P.SkipSelf)||gb()});var Ri=new w(""),mb=new w("");function Ir(e){return!e.moduleRef}function yb(e){let t=Ir(e)?e.r3Injector:e.moduleRef.injector,n=t.get(U);return n.run(()=>{Ir(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(lt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Ir(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ri);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ri);s.add(i),e.moduleRef.onDestroy(()=>{ii(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return dC(r,n,()=>{let i=t.get(fg);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Uu,Ai);if(HC(s||Ai),!t.get(mb,!0))return Ir(e)?t.get(Je):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ir(e)){let c=t.get(Je);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return vb(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function vb(e,t){let n=e.injector.get(Je);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new v(-403,!1);t.push(e)}var Bg=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>YD(r?.ngZone,z(y({},Vg({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[fb({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Hn,useExisting:pb}],c=BI(n.moduleType,this.injector,a);return yb({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=hg({},r);return lb(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Ri,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(E(Te))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Sr=null,Ug=new w("");function Db(e){if(Sr&&!Sr.get(Ug,!1))throw new v(400,!1);cC(),Sr=e;let t=e.get(Bg);return Ib(e),t}function $u(e,t,n=[]){let r=`Platform: ${t}`,o=new w(r);return(i=[])=>{let s=$g();if(!s||s.injector.get(Ug,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):Db(wb(a,r))}return Eb(o)}}function wb(e=[],t){return Te.create({name:t,providers:[{provide:Vi,useValue:"platform"},{provide:Ri,useValue:new Set([()=>Sr=null])},...e]})}function Eb(e){let t=$g();if(!t)throw new v(401,!1);return t}function $g(){return Sr?.get(Bg)??null}function Ib(e){let t=e.get(uu,null);De(e,()=>{t?.forEach(n=>n())})}var ln=(()=>{class e{static __NG_ELEMENT_ID__=Cb}return e})();function Cb(e){return bb(oe(),_(),(e&16)===16)}function bb(e,t,n){if($i(e)&&!n){let r=Ft(e.index,t);return new rn(r,r)}else if(e.type&175){let r=t[Ae];return new rn(r,t)}return null}var Lc=class{constructor(){}supports(t){return lg(t)}create(t){return new jc(t)}},Mb=(e,t)=>t,jc=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Mb}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<_f(r,o,i)?n:r,a=_f(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,g=f+h;l<=g&&g<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!lg(t))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,JI(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Vc(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Oi),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Oi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Vc=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Bc=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Oi=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Bc,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function _f(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Uc=class{constructor(){}supports(t){return t instanceof Map||Au(t)}create(){return new $c}},$c=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Au(t)))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Hc(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Hc=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Nf(){return new Hu([new Lc])}var Hu=(()=>{class e{factories;static \u0275prov=D({token:e,providedIn:"root",factory:Nf});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Nf()),deps:[[e,new Li,new kr]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new v(901,!1)}}return e})();function xf(){return new zu([new Uc])}var zu=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:xf});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xf()),deps:[[e,new Li,new kr]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new v(901,!1)}}return e})();var Hg=$u(null,"core",[]),zg=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(E(Je))};static \u0275mod=jt({type:e});static \u0275inj=kt({})}return e})();function Br(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Sb(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function AP(e,t){un("NgSignals");let n=sd(e);return t?.equal&&(n[Ie].equal=t.equal),n}function qu(e){let t=F(null);try{return e()}finally{F(t)}}var Af=class{[Ie];constructor(t){this[Ie]=t}destroy(){this[Ie].destroy()}};function RP(e,t){let n=at(e),r=t.elementInjector||Bi();return new on(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function qg(e){let t=at(e);if(!t)return null;let n=new on(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Kg=null;function dn(){return Kg}function Jg(e){Kg??=e}var ms=class{};var ie=new w(""),Ju=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>p(Tb),providedIn:"platform"})}return e})(),Xg=new w(""),Tb=(()=>{class e extends Ju{_location;_history;_doc=p(ie);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return dn().getBaseHref(this._doc)}onPopState(n){let r=dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Xu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Gg(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Dt(e){return e&&e[0]!=="?"?"?"+e:e}var wt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>p(el),providedIn:"root"})}return e})(),em=new w(""),el=(()=>{class e extends wt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(ie).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 Xu(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Dt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(E(Ju),E(em,8))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tm=(()=>{class e extends wt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}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}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Xu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(E(Ju),E(em,8))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),tr=(()=>{class e{_subject=new Z;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=xb(Gg(Wg(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Dt(r))}normalize(n){return e.stripTrailingSlash(Nb(this._basePath,Wg(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+Dt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dt(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=Dt;static joinWithSlash=Xu;static stripTrailingSlash=Gg;static \u0275fac=function(r){return new(r||e)(E(wt))};static \u0275prov=D({token:e,factory:()=>_b(),providedIn:"root"})}return e})();function _b(){return new tr(E(wt))}function Nb(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Wg(e){return e.replace(/\/index.html$/,"")}function xb(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function vs(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Gu=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},tk=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Gu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Zg(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Zg(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(j(Be),j(ft),j(Hu))};static \u0275dir=Oe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Zg(e,t){e.context.$implicit=t.item}var nk=(()=>{class e{_viewContainer;_context=new Wu;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Yg("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Yg("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(j(Be),j(ft))};static \u0275dir=Oe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Wu=class{$implicit=null;ngIf=null};function Yg(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${ue(t)}'.`)}var ys=class{_viewContainerRef;_templateRef;_created=!1;constructor(t,n){this._viewContainerRef=t,this._templateRef=n}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},nm=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let r of this._defaultViews)r.enforceState(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Oe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),rk=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new ys(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(j(Be),j(ft),j(nm,9))};static \u0275dir=Oe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),ok=(()=>{class e{constructor(n,r,o){o._addDefault(new ys(n,r))}static \u0275fac=function(r){return new(r||e)(j(Be),j(ft),j(nm,9))};static \u0275dir=Oe({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var ik=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Qe.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(j(Xe),j(zu),j(Jn))};static \u0275dir=Oe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),sk=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(j(Be))};static \u0275dir=Oe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Yn]})}return e})();function Ab(e,t){return new v(2100,!1)}var Zu=class{createSubscription(t,n){return qu(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){qu(()=>t.unsubscribe())}},Yu=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},Rb=new Yu,Ob=new Zu,ak=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Xn(n))return Rb;if(Fu(n))return Ob;throw Ab(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(j(ln,16))};static \u0275pipe=ag({name:"async",type:e,pure:!1})}return e})();var rm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=jt({type:e});static \u0275inj=kt({})}return e})(),tl="browser",Pb="server";function kb(e){return e===tl}function Ds(e){return e===Pb}var om=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>kb(p(mt))?new Qu(p(ie),window):new Ku})}return e})(),Qu=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){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=Fb(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function Fb(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Ku=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},er=class{};var $r=class{},Es=class{},Et=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(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),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):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}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 rl=class{encodeKey(t){return sm(t)}encodeValue(t){return sm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Lb(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var jb=/%(\d[a-f0-9])/gi,Vb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sm(e){return encodeURIComponent(e).replace(jb,(t,n)=>Vb[n]??t)}function ws(e){return`${e}`}var Bt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new rl,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Lb(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(ws):[ws(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(ws(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(ws(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ol=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function Bb(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function am(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function cm(e){return typeof Blob<"u"&&e instanceof Blob}function um(e){return typeof FormData<"u"&&e instanceof FormData}function Ub(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Ur=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(Bb(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Et,this.context??=new ol,!this.params)this.params=new Bt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||am(this.body)||cm(this.body)||um(this.body)||Ub(this.body)?this.body:this.body instanceof Bt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||um(this.body)?null:cm(this.body)?this.body.type||null:am(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Bt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,l=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((h,f)=>h.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Ut=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}(Ut||{}),Hr=class{headers;status;statusText;url;ok;type;constructor(t,n=200,r="OK"){this.headers=t.headers||new Et,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Is=class e extends Hr{constructor(t={}){super(t)}type=Ut.ResponseHeader;clone(t={}){return new e({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})}},zr=class e extends Hr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Ut.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})}},Vt=class extends Hr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},pm=200,$b=204;function nl(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Hb=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Ur)i=n;else{let c;o.headers instanceof Et?c=o.headers:c=new Et(o.headers);let u;o.params&&(o.params instanceof Bt?u=o.params:u=new Bt({fromObject:o.params})),i=new Ur(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=b(i).pipe(ot(c=>this.handler.handle(c)));if(n instanceof Ur||o.observe==="events")return s;let a=s.pipe(he(c=>c instanceof zr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(O(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(O(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(O(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(O(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Bt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,nl(o,r))}post(n,r,o={}){return this.request("POST",n,nl(o,r))}put(n,r,o={}){return this.request("PUT",n,nl(o,r))}static \u0275fac=function(r){return new(r||e)(E($r))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),zb=/^\)\]\}',?\n/,qb="X-Request-URL";function lm(e){if(e.url)return e.url;let t=qb.toLocaleLowerCase();return e.headers.get(t)}var Gb=(()=>{class e{fetchImpl=p(il,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=p(U);handle(n){return new k(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(sl,i=>r.error(new Vt({error:i}))),()=>o.abort()})}doRequest(n,r,o){return hr(this,null,function*(){let i=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,y({signal:r},i)));Wb(f),o.next({type:Ut.Sent}),s=yield f}catch(f){o.error(new Vt({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new Et(s.headers),c=s.statusText,u=lm(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new Is({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),g=[],m=s.body.getReader(),I=0,S,H,L=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>hr(this,null,function*(){for(;;){let{done:de,value:K}=yield m.read();if(de)break;if(g.push(K),I+=K.length,n.reportProgress){H=n.responseType==="text"?(H??"")+(S??=new TextDecoder).decode(K,{stream:!0}):void 0;let tt=()=>o.next({type:Ut.DownloadProgress,total:f?+f:void 0,loaded:I,partialText:H});L?L.run(tt):tt()}}}));let ne=this.concatChunks(g,I);try{let de=s.headers.get("Content-Type")??"";d=this.parseBody(n,ne,de)}catch(de){o.error(new Vt({error:de,headers:new Et(s.headers),status:s.status,statusText:s.statusText,url:lm(s)??n.urlWithParams}));return}}l===0&&(l=d?pm:0),l>=200&&l<300?(o.next(new zr({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new Vt({error:d,headers:a,status:l,statusText:c,url:u}))})}parseBody(n,r,o){switch(n.responseType){case"json":let i=new TextDecoder().decode(r).replace(zb,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let i=n.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),il=class{};function sl(){}function Wb(e){e.then(sl,sl)}function gm(e,t){return t(e)}function Zb(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}function Yb(e,t,n){return(r,o)=>De(n,()=>t(r,i=>e(i,o)))}var Qb=new w(""),al=new w(""),Kb=new w(""),mm=new w("",{providedIn:"root",factory:()=>!0});function Jb(){let e=null;return(t,n)=>{e===null&&(e=(p(Qb,{optional:!0})??[]).reduceRight(Zb,gm));let r=p(gt);if(p(mm)){let i=r.add();return e(t,n).pipe(Tt(()=>r.remove(i)))}else return e(t,n)}}var dm=(()=>{class e extends $r{backend;injector;chain=null;pendingTasks=p(gt);contributeToStability=p(mm);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(al),...this.injector.get(Kb,[])]));this.chain=r.reduceRight((o,i)=>Yb(o,i,this.injector),gm)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Tt(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(E(Es),E(le))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();var Xb=/^\)\]\}',?\n/;function eM(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var fm=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?q(r.\u0275loadImpl()):b(null)).pipe(pe(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((m,I)=>s.setRequestHeader(m,I.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let m=n.detectContentTypeHeader();m!==null&&s.setRequestHeader("Content-Type",m)}if(n.responseType){let m=n.responseType.toLowerCase();s.responseType=m!=="json"?m:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let m=s.statusText||"OK",I=new Et(s.getAllResponseHeaders()),S=eM(s)||n.url;return c=new Is({headers:I,status:s.status,statusText:m,url:S}),c},l=()=>{let{headers:m,status:I,statusText:S,url:H}=u(),L=null;I!==$b&&(L=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=L?pm:0);let ne=I>=200&&I<300;if(n.responseType==="json"&&typeof L=="string"){let de=L;L=L.replace(Xb,"");try{L=L!==""?JSON.parse(L):null}catch(K){L=de,ne&&(ne=!1,L={error:K,text:L})}}ne?(i.next(new zr({body:L,headers:m,status:I,statusText:S,url:H||void 0})),i.complete()):i.error(new Vt({error:L,headers:m,status:I,statusText:S,url:H||void 0}))},d=m=>{let{url:I}=u(),S=new Vt({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(S)},h=!1,f=m=>{h||(i.next(u()),h=!0);let I={type:Ut.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(I.total=m.total),n.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)},g=m=>{let I={type:Ut.UploadProgress,loaded:m.loaded};m.lengthComputable&&(I.total=m.total),i.next(I)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),i.next({type:Ut.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(E(er))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),ym=new w(""),tM="XSRF-TOKEN",nM=new w("",{providedIn:"root",factory:()=>tM}),rM="X-XSRF-TOKEN",oM=new w("",{providedIn:"root",factory:()=>rM}),Cs=class{},iM=(()=>{class e{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=vs(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(E(ie),E(mt),E(nM))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();function sM(e,t){let n=e.url.toLowerCase();if(!p(ym)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Cs).getToken(),o=p(oM);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var vm=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(vm||{});function aM(e,t){return{\u0275kind:e,\u0275providers:t}}function wk(...e){let t=[Hb,fm,dm,{provide:$r,useExisting:dm},{provide:Es,useFactory:()=>p(Gb,{optional:!0})??p(fm)},{provide:al,useValue:sM,multi:!0},{provide:ym,useValue:!0},{provide:Cs,useClass:iM}];for(let n of e)t.push(...n.\u0275providers);return ji(t)}var hm=new w("");function Ek(){return aM(vm.LegacyInterceptors,[{provide:hm,useFactory:Jb},{provide:al,useExisting:hm,multi:!0}])}var ul=class extends ms{supportsDOMEvents=!0},ll=class e extends ul{static makeCurrent(){Jg(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}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=cM();return n==null?null:uM(n)}resetBaseElement(){qr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return vs(document.cookie,t)}},qr=null;function cM(){return qr=qr||document.querySelector("base"),qr?qr.getAttribute("href"):null}function uM(e){return new URL(e,document.baseURI).pathname}var dl=class{addToWindow(t){Se.getAngularTestability=(r,o=!0)=>{let i=t.findTestabilityInTree(r,o);if(i==null)throw new v(5103,!1);return i},Se.getAllAngularTestabilities=()=>t.getAllTestabilities(),Se.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let o=Se.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};Se.frameworkStabilizers||(Se.frameworkStabilizers=[]),Se.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let o=t.getTestability(n);return o??(r?dn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},lM=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),fl=new w(""),bm=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}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 v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(E(fl),E(U))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Ms=class{_doc;constructor(t){this._doc=t}manager},bs="ng-app-id";function Dm(e){for(let t of e)t.remove()}function wm(e,t){let n=t.createElement("style");return n.textContent=e,n}function dM(e,t,n,r){let o=e.head?.querySelectorAll(`style[${bs}="${t}"],link[${bs}="${t}"]`);if(o)for(let i of o)i.removeAttribute(bs),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]})}function hl(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Mm=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=Ds(i),dM(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,wm);r?.forEach(o=>this.addUsage(o,this.external,hl))}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&&(Dm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Dm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,wm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,hl(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(bs,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(E(ie),E(cu),E(lu,8),E(mt))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),cl={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"},gl=/%COMP%/g,Sm="%COMP%",fM=`_nghost-${Sm}`,hM=`_ngcontent-${Sm}`,pM=!0,gM=new w("",{providedIn:"root",factory:()=>pM});function mM(e){return hM.replace(gl,e)}function yM(e){return fM.replace(gl,e)}function Tm(e,t){return t.map(n=>n.replace(gl,e))}var Em=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.platformIsServer=Ds(a),this.defaultRenderer=new Gr(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ye.ShadowDom&&(r=z(y({},r),{encapsulation:Ye.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Ss?o.applyToHost(n):o instanceof Wr&&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.platformIsServer;switch(r.encapsulation){case Ye.Emulated:i=new Ss(c,u,r,this.appId,l,s,a,d);break;case Ye.ShadowDom:return new pl(c,u,n,r,s,a,this.nonce,d);default:i=new Wr(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||e)(E(bm),E(Mm),E(cu),E(gM),E(ie),E(mt),E(U),E(lu))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Gr=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(cl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Im(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Im(t)?t.content:t).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 v(-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=cl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=cl[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){o&(Qe.DashCase|Qe.Important)?t.style.setProperty(n,r,o&Qe.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Qe.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){if(typeof t=="string"&&(t=dn().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Im(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var pl=class extends Gr{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Tm(o.id,o.styles);for(let d of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let l=o.getExternalStyles?.();if(l)for(let d of l){let h=hl(d,i);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}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.removeHost(this.shadowRoot)}},Wr=class extends Gr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?Tm(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ss=class extends Wr{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=mM(u),this.hostAttr=yM(u)}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}},vM=(()=>{class e extends Ms{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static \u0275fac=function(r){return new(r||e)(E(ie))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Cm=["alt","control","meta","shift"],DM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},EM=(()=>{class e extends Ms{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>dn().onAndCancel(n,i.domEventName,s))}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."),Cm.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=DM[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"),Cm.forEach(s=>{if(s!==o){let a=wM[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 \u0275fac=function(r){return new(r||e)(E(ie))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();function IM(){ll.makeCurrent()}function CM(){return new lt}function bM(){return Jh(document),document}var MM=[{provide:mt,useValue:tl},{provide:uu,useValue:IM,multi:!0},{provide:ie,useFactory:bM,deps:[]}],Lk=$u(Hg,"browser",MM),SM=new w(""),TM=[{provide:jr,useClass:dl,deps:[]},{provide:Pu,useClass:us,deps:[U,ls,jr]},{provide:us,useClass:us,deps:[U,ls,jr]}],_M=[{provide:Vi,useValue:"root"},{provide:lt,useFactory:CM,deps:[]},{provide:fl,useClass:vM,multi:!0,deps:[ie,U,mt]},{provide:fl,useClass:EM,multi:!0,deps:[ie]},Em,Mm,bm,{provide:qn,useExisting:Em},{provide:er,useClass:lM,deps:[]},[]],jk=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(E(SM,12))};static \u0275mod=jt({type:e});static \u0275inj=kt({providers:[..._M,...TM],imports:[rm,zg]})}return e})();var _m=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(E(ie))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var NM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=E(xM),o},providedIn:"root"})}return e})(),xM=(()=>{class e extends NM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Ve.NONE:return r;case Ve.HTML:return yt(r,"HTML")?_e(r):pu(this._doc,String(r)).toString();case Ve.STYLE:return yt(r,"Style")?_e(r):r;case Ve.SCRIPT:if(yt(r,"Script"))return _e(r);throw new v(5200,!1);case Ve.URL:return yt(r,"URL")?_e(r):ts(String(r));case Ve.RESOURCE_URL:if(yt(r,"ResourceURL"))return _e(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return op(n)}bypassSecurityTrustStyle(n){return ip(n)}bypassSecurityTrustScript(n){return sp(n)}bypassSecurityTrustUrl(n){return ap(n)}bypassSecurityTrustResourceUrl(n){return cp(n)}static \u0275fac=function(r){return new(r||e)(E(ie))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var R="primary",ao=Symbol("RouteTitle"),wl=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function ar(e){return new wl(e)}function RM(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function OM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!et(e[n],t[n]))return!1;return!0}function et(e,t){let n=e?El(e):void 0,r=t?El(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!Bm(e[o],t[o]))return!1;return!0}function El(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Bm(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function Um(e){return e.length>0?e[e.length-1]:null}function Ht(e){return ma(e)?e:Xn(e)?q(Promise.resolve(e)):b(e)}var PM={exact:Hm,subset:zm},$m={exact:kM,subset:FM,ignored:()=>!0};function Nm(e,t,n){return PM[n.paths](e.root,t.root,n.matrixParams)&&$m[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function kM(e,t){return et(e,t)}function Hm(e,t,n){if(!hn(e.segments,t.segments)||!Ns(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Hm(e.children[r],t.children[r],n))return!1;return!0}function FM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Bm(e[n],t[n]))}function zm(e,t,n){return qm(e,t,t.segments,n)}function qm(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!hn(o,n)||t.hasChildren()||!Ns(o,n,r))}else if(e.segments.length===n.length){if(!hn(e.segments,n)||!Ns(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!zm(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!hn(e.segments,o)||!Ns(e.segments,o,r)||!e.children[R]?!1:qm(e.children[R],t,i,r)}}function Ns(e,t,n){return t.every((r,o)=>$m[n](e[o].parameters,r.parameters))}var Ct=class{root;queryParams;fragment;_queryParamMap;constructor(t=new V([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ar(this.queryParams),this._queryParamMap}toString(){return VM.serialize(this)}},V=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return xs(this)}},fn=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=ar(this.parameters),this._parameterMap}toString(){return Wm(this)}};function LM(e,t){return hn(e,t)&&e.every((n,r)=>et(n.parameters,t[r].parameters))}function hn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function jM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===R&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==R&&(n=n.concat(t(o,r)))}),n}var co=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>new cr,providedIn:"root"})}return e})(),cr=class{parse(t){let n=new Cl(t);return new Ct(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Zr(t.root,!0)}`,r=$M(t.queryParams),o=typeof t.fragment=="string"?`#${BM(t.fragment)}`:"";return`${n}${r}${o}`}},VM=new cr;function xs(e){return e.segments.map(t=>Wm(t)).join("/")}function Zr(e,t){if(!e.hasChildren())return xs(e);if(t){let n=e.children[R]?Zr(e.children[R],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==R&&r.push(`${o}:${Zr(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=jM(e,(r,o)=>o===R?[Zr(e.children[R],!1)]:[`${o}:${Zr(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[R]!=null?`${xs(e)}/${n[0]}`:`${xs(e)}/(${n.join("//")})`}}function Gm(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ts(e){return Gm(e).replace(/%3B/gi,";")}function BM(e){return encodeURI(e)}function Il(e){return Gm(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function As(e){return decodeURIComponent(e)}function xm(e){return As(e.replace(/\+/g,"%20"))}function Wm(e){return`${Il(e.path)}${UM(e.parameters)}`}function UM(e){return Object.entries(e).map(([t,n])=>`;${Il(t)}=${Il(n)}`).join("")}function $M(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Ts(n)}=${Ts(o)}`).join("&"):`${Ts(n)}=${Ts(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var HM=/^[^\/()?;#]+/;function ml(e){let t=e.match(HM);return t?t[0]:""}var zM=/^[^\/()?;=#]+/;function qM(e){let t=e.match(zM);return t?t[0]:""}var GM=/^[^=?&#]+/;function WM(e){let t=e.match(GM);return t?t[0]:""}var ZM=/^[^&#]+/;function YM(e){let t=e.match(ZM);return t?t[0]:""}var Cl=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new V([],{}):new V([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[R]=new V(t,n)),r}parseSegment(){let t=ml(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new fn(As(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=qM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=ml(this.remaining);o&&(r=o,this.capture(r))}t[As(n)]=As(r)}parseQueryParam(t){let n=WM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=YM(this.remaining);s&&(r=s,this.capture(r))}let o=xm(n),i=xm(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=ml(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=R);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[R]:new V([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function Zm(e){return e.segments.length>0?new V([],{[R]:e}):e}function Ym(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Ym(o);if(r===R&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new V(e.segments,t);return QM(n)}function QM(e){if(e.numberOfChildren===1&&e.children[R]){let t=e.children[R];return new V(e.segments.concat(t.segments),t.children)}return e}function pn(e){return e instanceof Ct}function KM(e,t,n=null,r=null){let o=Qm(e);return Km(o,t,n,r)}function Qm(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new V(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Zm(r);return t??o}function Km(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return yl(o,o,o,n,r);let i=JM(t);if(i.toRoot())return yl(o,o,new V([],{}),n,r);let s=XM(i,o,e),a=s.processChildren?Kr(s.segmentGroup,s.index,i.commands):Xm(s.segmentGroup,s.index,i.commands);return yl(o,s.segmentGroup,a,n,r)}function Rs(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function eo(e){return typeof e=="object"&&e!=null&&e.outlets}function yl(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=Jm(e,t,n);let a=Zm(Ym(s));return new Ct(a,i,o)}function Jm(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Jm(i,t,n)}),new V(e.segments,r)}var Os=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Rs(r[0]))throw new v(4003,!1);let o=r.find(eo);if(o&&o!==Um(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function JM(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Os(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Os(n,t,r)}var or=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function XM(e,t,n){if(e.isAbsolute)return new or(t,!0,0);if(!n)return new or(t,!1,NaN);if(n.parent===null)return new or(n,!0,0);let r=Rs(e.commands[0])?0:1,o=n.segments.length-1+r;return eS(n,o,e.numberOfDoubleDots)}function eS(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new v(4005,!1);o=r.segments.length}return new or(r,!1,o-i)}function tS(e){return eo(e[0])?e[0].outlets:{[R]:e}}function Xm(e,t,n){if(e??=new V([],{}),e.segments.length===0&&e.hasChildren())return Kr(e,t,n);let r=nS(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new V(e.segments.slice(0,r.pathIndex),{});return i.children[R]=new V(e.segments.slice(r.pathIndex),e.children),Kr(i,0,o)}else return r.match&&o.length===0?new V(e.segments,{}):r.match&&!e.hasChildren()?bl(e,t,n):r.match?Kr(e,0,o):bl(e,t,n)}function Kr(e,t,n){if(n.length===0)return new V(e.segments,{});{let r=tS(n),o={};if(Object.keys(r).some(i=>i!==R)&&e.children[R]&&e.numberOfChildren===1&&e.children[R].segments.length===0){let i=Kr(e.children[R],t,n);return new V(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Xm(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new V(e.segments,o)}}function nS(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(eo(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Rm(c,u,s))return i;r+=2}else{if(!Rm(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function bl(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(eo(i)){let c=rS(i.outlets);return new V(r,c)}if(o===0&&Rs(n[0])){let c=e.segments[t];r.push(new fn(c.path,Am(n[0]))),o++;continue}let s=eo(i)?i.outlets[R]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Rs(a)?(r.push(new fn(s,Am(a))),o+=2):(r.push(new fn(s,{})),o++)}return new V(r,{})}function rS(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=bl(new V([],{}),0,r))}),t}function Am(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Rm(e,t,n){return e==n.path&&et(t,n.parameters)}var Jr="imperative",te=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(te||{}),Pe=class{id;url;constructor(t,n){this.id=t,this.url=n}},ur=class extends Pe{type=te.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},$e=class extends Pe{urlAfterRedirects;type=te.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},xe=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(xe||{}),Ps=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Ps||{}),It=class extends Pe{reason;code;type=te.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},$t=class extends Pe{reason;code;type=te.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},to=class extends Pe{error;target;type=te.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ks=class extends Pe{urlAfterRedirects;state;type=te.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ml=class extends Pe{urlAfterRedirects;state;type=te.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sl=class extends Pe{urlAfterRedirects;state;shouldActivate;type=te.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Tl=class extends Pe{urlAfterRedirects;state;type=te.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_l=class extends Pe{urlAfterRedirects;state;type=te.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Nl=class{route;type=te.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},xl=class{route;type=te.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Al=class{snapshot;type=te.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rl=class{snapshot;type=te.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ol=class{snapshot;type=te.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pl=class{snapshot;type=te.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Fs=class{routerEvent;position;anchor;type=te.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},no=class{},lr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function oS(e,t){return e.providers&&!e._injector&&(e._injector=as(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Ue(e){return e.outlet||R}function iS(e,t){let n=e.filter(r=>Ue(r)===t);return n.push(...e.filter(r=>Ue(r)!==t)),n}function uo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var kl=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return uo(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new lo(this.rootInjector)}},lo=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new kl(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(E(le))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ls=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Fl(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Fl(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Ll(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ll(t,this._root).map(n=>n.value)}};function Fl(e,t){if(e===t.value)return t;for(let n of t.children){let r=Fl(e,n);if(r)return r}return null}function Ll(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Ll(e,n);if(r.length)return r.unshift(t),r}return[]}var Ne=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function rr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var js=class extends Ls{snapshot;constructor(t,n){super(t),this.snapshot=n,Gl(this,t)}toString(){return this.snapshot.toString()}};function ey(e){let t=sS(e),n=new re([new fn("",{})]),r=new re({}),o=new re({}),i=new re({}),s=new re(""),a=new gn(n,r,i,s,o,R,e,t.root);return a.snapshot=t.root,new js(new Ne(a,[]),t)}function sS(e){let t={},n={},r={},o="",i=new ir([],t,r,o,n,R,e,null,{});return new Bs("",new Ne(i,[]))}var gn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(O(u=>u[ao]))??b(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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(O(t=>ar(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(O(t=>ar(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Vs(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:y(y({},t.params),e.params),data:y(y({},t.data),e.data),resolve:y(y(y(y({},e.data),t.data),o?.data),e._resolvedData)}:r={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&ny(o)&&(r.resolve[ao]=o.title),r}var ir=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ao]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=ar(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ar(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Bs=class extends Ls{url;constructor(t,n){super(n),this.url=t,Gl(this,n)}toString(){return ty(this._root)}};function Gl(e,t){t.value._routerState=e,t.children.forEach(n=>Gl(e,n))}function ty(e){let t=e.children.length>0?` { ${e.children.map(ty).join(", ")} } `:"";return`${e.value}${t}`}function vl(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,et(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),et(t.params,n.params)||e.paramsSubject.next(n.params),OM(t.url,n.url)||e.urlSubject.next(n.url),et(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function jl(e,t){let n=et(e.params,t.params)&&LM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||jl(e.parent,t.parent))}function ny(e){return typeof e.title=="string"||e.title===null}var aS=new w(""),cS=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=R;activateEvents=new ye;deactivateEvents=new ye;attachEvents=new ye;detachEvents=new ye;routerOutletData=qh(void 0);parentContexts=p(lo);location=p(Be);changeDetector=p(ln);inputBinder=p(qs,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Vl(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Oe({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Yn]})}return e})(),Vl=class e{route;childContexts;parent;outletData;__ngOutletInjector(t){return new e(this.route,this.childContexts,t,this.outletData)}constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===gn?this.route:t===lo?this.childContexts:t===aS?this.outletData:this.parent.get(t,n)}},qs=new w(""),Om=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=wr([r.queryParams,r.params,r.data]).pipe(pe(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?b(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=qg(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();function uS(e,t,n){let r=ro(e,t._root,n?n._root:void 0);return new js(r,t)}function ro(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=lS(e,t,n);return new Ne(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ro(e,a)),s}}let r=dS(t.value),o=t.children.map(i=>ro(e,i));return new Ne(r,o)}}function lS(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ro(e,r,o);return ro(e,r)})}function dS(e){return new gn(new re(e.url),new re(e.params),new re(e.queryParams),new re(e.fragment),new re(e.data),e.outlet,e.component,e)}var oo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},ry="ngNavigationCancelingError";function Us(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=pn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=oy(!1,xe.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function oy(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[ry]=!0,n.cancellationCode=t,n}function fS(e){return iy(e)&&pn(e.url)}function iy(e){return!!e&&e[ry]}var hS=(e,t,n,r)=>O(o=>(new Bl(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Bl=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),vl(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=rr(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=rr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=rr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=rr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Pl(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Rl(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(vl(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),vl(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},$s=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},sr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function pS(e,t,n){let r=e._root,o=t?t._root:null;return Yr(r,o,n,[r.value])}function gS(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function fr(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!jf(e)?e:t.get(e):r}function Yr(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=rr(t);return e.children.forEach(s=>{mS(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Xr(a,n.getContext(s),o)),o}function mS(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=yS(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new $s(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Yr(e,t,a?a.children:null,r,o):Yr(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new sr(a.outlet.component,s))}else s&&Xr(t,a,o),o.canActivateChecks.push(new $s(r)),i.component?Yr(e,null,a?a.children:null,r,o):Yr(e,null,n,r,o);return o}function yS(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!hn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!hn(e.url,t.url)||!et(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jl(e,t)||!et(e.queryParams,t.queryParams);case"paramsChange":default:return!jl(e,t)}}function Xr(e,t,n){let r=rr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Xr(s,t.children.getContext(i),n):Xr(s,null,n):Xr(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new sr(t.outlet.component,o)):n.canDeactivateChecks.push(new sr(null,o)):n.canDeactivateChecks.push(new sr(null,o))}function fo(e){return typeof e=="function"}function vS(e){return typeof e=="boolean"}function DS(e){return e&&fo(e.canLoad)}function wS(e){return e&&fo(e.canActivate)}function ES(e){return e&&fo(e.canActivateChild)}function IS(e){return e&&fo(e.canDeactivate)}function CS(e){return e&&fo(e.canMatch)}function sy(e){return e instanceof rt||e?.name==="EmptyError"}var _s=Symbol("INITIAL_VALUE");function dr(){return pe(e=>wr(e.map(t=>t.pipe(it(1),Ia(_s)))).pipe(O(t=>{for(let n of t)if(n!==!0){if(n===_s)return _s;if(n===!1||bS(n))return n}return!0}),he(t=>t!==_s),it(1)))}function bS(e){return pn(e)||e instanceof oo}function MS(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?b(z(y({},n),{guardsResult:!0})):SS(s,r,o,e).pipe(Y(a=>a&&vS(a)?TS(r,i,e,t):b(a)),O(a=>z(y({},n),{guardsResult:a})))})}function SS(e,t,n,r){return q(e).pipe(Y(o=>RS(o.component,o.route,n,t,r)),st(o=>o!==!0,!0))}function TS(e,t,n,r){return q(t).pipe(ot(o=>Nn(NS(o.route.parent,r),_S(o.route,r),AS(e,o.path,n),xS(e,o.route,n))),st(o=>o!==!0,!0))}function _S(e,t){return e!==null&&t&&t(new Ol(e)),b(!0)}function NS(e,t){return e!==null&&t&&t(new Al(e)),b(!0)}function xS(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return b(!0);let o=r.map(i=>Go(()=>{let s=uo(t)??n,a=fr(i,s),c=wS(a)?a.canActivate(t,e):De(s,()=>a(t,e));return Ht(c).pipe(st())}));return b(o).pipe(dr())}function AS(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>gS(s)).filter(s=>s!==null).map(s=>Go(()=>{let a=s.guards.map(c=>{let u=uo(s.node)??n,l=fr(c,u),d=ES(l)?l.canActivateChild(r,e):De(u,()=>l(r,e));return Ht(d).pipe(st())});return b(a).pipe(dr())}));return b(i).pipe(dr())}function RS(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return b(!0);let s=i.map(a=>{let c=uo(t)??o,u=fr(a,c),l=IS(u)?u.canDeactivate(e,t,n,r):De(c,()=>u(e,t,n,r));return Ht(l).pipe(st())});return b(s).pipe(dr())}function OS(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return b(!0);let i=o.map(s=>{let a=fr(s,e),c=DS(a)?a.canLoad(t,n):De(e,()=>a(t,n));return Ht(c)});return b(i).pipe(dr(),ay(r))}function ay(e){return da(ee(t=>{if(typeof t!="boolean")throw Us(e,t)}),O(t=>t===!0))}function PS(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return b(!0);let i=o.map(s=>{let a=fr(s,e),c=CS(a)?a.canMatch(t,n):De(e,()=>a(t,n));return Ht(c)});return b(i).pipe(dr(),ay(r))}var io=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},so=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function nr(e){return Tn(new io(e))}function kS(e){return Tn(new v(4e3,!1))}function FS(e){return Tn(oy(!1,xe.GuardRejected))}var Ul=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return b(r);if(o.numberOfChildren>1||!o.children[R])return kS(`${t.redirectTo}`);o=o.children[R]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:g,title:m}=o,I=De(i,()=>a({params:f,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:m}));if(I instanceof Ct)throw new so(I);n=I}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new so(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Ct(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new V(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},$l={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function LS(e,t,n,r,o){let i=cy(e,t,n);return i.matched?(r=oS(t,r),PS(r,t,n,o).pipe(O(s=>s===!0?i:y({},$l)))):b(i)}function cy(e,t,n){if(t.path==="**")return jS(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},$l):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||RM)(n,e,t);if(!o)return y({},$l);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function jS(e){return{matched:!0,parameters:e.length>0?Um(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Pm(e,t,n,r){return n.length>0&&US(e,n,r)?{segmentGroup:new V(t,BS(r,new V(n,e.children))),slicedSegments:[]}:n.length===0&&$S(e,n,r)?{segmentGroup:new V(e.segments,VS(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new V(e.segments,e.children),slicedSegments:n}}function VS(e,t,n,r){let o={};for(let i of n)if(Gs(e,t,i)&&!r[Ue(i)]){let s=new V([],{});o[Ue(i)]=s}return y(y({},r),o)}function BS(e,t){let n={};n[R]=t;for(let r of e)if(r.path===""&&Ue(r)!==R){let o=new V([],{});n[Ue(r)]=o}return n}function US(e,t,n){return n.some(r=>Gs(e,t,r)&&Ue(r)!==R)}function $S(e,t,n){return n.some(r=>Gs(e,t,r))}function Gs(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function HS(e,t,n){return t.length===0&&!e.children[n]}var Hl=class{};function zS(e,t,n,r,o,i,s="emptyOnly"){return new zl(e,t,n,r,o,s,i).recognize()}var qS=31,zl=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ul(this.urlSerializer,this.urlTree)}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=Pm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(O(({children:n,rootSnapshot:r})=>{let o=new Ne(r,n),i=new Bs("",o),s=KM(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new ir([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),R,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,R,n).pipe(O(r=>({children:r,rootSnapshot:n})),Mt(r=>{if(r instanceof so)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof io?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(O(s=>s instanceof Ne?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return q(i).pipe(ot(s=>{let a=r.children[s],c=iS(n,s);return this.processSegmentGroup(t,c,a,s,o)}),wa((s,a)=>(s.push(...a),s)),St(null),Da(),Y(s=>{if(s===null)return nr(r);let a=uy(s);return GS(a),b(a)}))}processSegment(t,n,r,o,i,s,a){return q(n).pipe(ot(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Mt(u=>{if(u instanceof io)return b(null);throw u}))),st(c=>!!c),Mt(c=>{if(sy(c))return HS(r,o,i)?b(new Hl):nr(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return Ue(r)!==s&&(s===R||!Gs(o,i,r))?nr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):nr(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=cy(n,o,i);if(!c)return nr(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>qS&&(this.allowRedirects=!1));let f=new ir(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,km(o),Ue(o),o.component??o._loadedComponent??null,o,Fm(o)),g=Vs(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let m=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,m).pipe(Y(I=>this.processSegment(t,r,n,I.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=LS(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(pe(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(pe(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new ir(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,km(r),Ue(r),r.component??r._loadedComponent??null,r,Fm(r)),m=Vs(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(m.params),g.data=Object.freeze(m.data);let{segmentGroup:I,slicedSegments:S}=Pm(n,h,f,u);if(S.length===0&&I.hasChildren())return this.processChildren(l,u,I,g).pipe(O(L=>new Ne(g,L)));if(u.length===0&&S.length===0)return b(new Ne(g,[]));let H=Ue(r)===i;return this.processSegment(l,u,I,S,H?R:i,!0,g).pipe(O(L=>new Ne(g,L instanceof Ne?[L]:[])))}))):nr(n)))}getChildConfig(t,n,r){return n.children?b({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?b({routes:n._loadedRoutes,injector:n._loadedInjector}):OS(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(ee(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):FS(n))):b({routes:[],injector:t})}};function GS(e){e.sort((t,n)=>t.value.outlet===R?-1:n.value.outlet===R?1:t.value.outlet.localeCompare(n.value.outlet))}function WS(e){let t=e.value.routeConfig;return t&&t.path===""}function uy(e){let t=[],n=new Set;for(let r of e){if(!WS(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=uy(r.children);t.push(new Ne(r.value,o))}return t.filter(r=>!n.has(r))}function km(e){return e.data||{}}function Fm(e){return e.resolve||{}}function ZS(e,t,n,r,o,i){return Y(s=>zS(e,t,n,r,s.extractedUrl,o,i).pipe(O(({state:a,tree:c})=>z(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function YS(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return b(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of ly(c))s.add(u);let a=0;return q(s).pipe(ot(c=>i.has(c)?QS(c,r,e,t):(c.data=Vs(c,c.parent,e).resolve,b(void 0))),ee(()=>a++),xn(1),Y(c=>a===s.size?b(n):ae))})}function ly(e){let t=e.children.map(n=>ly(n)).flat();return[e,...t]}function QS(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!ny(o)&&(i[ao]=o.title),KS(i,e,t,r).pipe(O(s=>(e._resolvedData=s,e.data=Vs(e,e.parent,n).resolve,null)))}function KS(e,t,n,r){let o=El(e);if(o.length===0)return b({});let i={};return q(o).pipe(Y(s=>JS(e[s],t,n,r).pipe(st(),ee(a=>{if(a instanceof oo)throw Us(new cr,a);i[s]=a}))),xn(1),va(i),Mt(s=>sy(s)?ae:Tn(s)))}function JS(e,t,n,r){let o=uo(t)??r,i=fr(e,o),s=i.resolve?i.resolve(t,n):De(o,()=>i(t,n));return Ht(s)}function Dl(e){return pe(t=>{let n=e(t);return n?q(n).pipe(O(()=>t)):b(t)})}var dy=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===R);return r}getResolvedTitleForRoute(n){return n.data[ao]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>p(XS),providedIn:"root"})}return e})(),XS=(()=>{class e extends dy{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(E(_m))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ho=new w("",{providedIn:"root",factory:()=>({})}),eT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=sg({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,o){r&1&&Vu(0,"router-outlet")},dependencies:[cS],encapsulation:2})}return e})();function Wl(e){let t=e.children&&e.children.map(Wl),n=t?z(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==R&&(n.component=eT),n}var Hs=new w(""),Zl=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(ps);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return b(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Ht(n.loadComponent()).pipe(O(fy),ee(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Tt(()=>{this.componentLoaders.delete(n)})),o=new En(r,()=>new Z).pipe(wn());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return b({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=tT(r,this.compiler,n,this.onLoadEndListener).pipe(Tt(()=>{this.childrenLoaders.delete(r)})),s=new En(i,()=>new Z).pipe(wn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tT(e,t,n,r){return Ht(e.loadChildren()).pipe(O(fy),Y(o=>o instanceof Rr||Array.isArray(o)?b(o):q(t.compileModuleAsync(o))),O(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(Hs,[],{optional:!0,self:!0}).flat()),{routes:s.map(Wl),injector:i}}))}function nT(e){return e&&typeof e=="object"&&"default"in e}function fy(e){return nT(e)?e.default:e}var Yl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>p(rT),providedIn:"root"})}return e})(),rT=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hy=new w(""),py=new w("");function oT(e,t,n){let r=e.get(py),o=e.get(ie);return e.get(U).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),iT(e))),{onViewTransitionCreated:c}=r;return c&&De(e,()=>c({transition:a,from:t,to:n})),s})}function iT(e){return new Promise(t=>{fu({read:()=>setTimeout(t)},{injector:e})})}var gy=new w(""),Ql=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Z;transitionAbortSubject=new Z;configLoader=p(Zl);environmentInjector=p(le);urlSerializer=p(co);rootContexts=p(lo);location=p(tr);inputBindingEnabled=p(qs,{optional:!0})!==null;titleStrategy=p(dy);options=p(ho,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Yl);createViewTransition=p(hy,{optional:!0});navigationErrorHandler=p(gy,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>b(void 0);rootComponentType=null;constructor(){let n=o=>this.events.next(new Nl(o)),r=o=>this.events.next(new xl(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(z(y(y({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new re({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Jr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(he(i=>i.id!==0),O(i=>z(y({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),pe(i=>{let s=!1,a=!1;return b(i).pipe(pe(c=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",xe.SupersededByNewNavigation),ae;this.currentTransition=i,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?z(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new $t(c.id,this.urlSerializer.serialize(c.rawUrl),d,Ps.IgnoredSameUrlNavigation)),c.resolve(!1),ae}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return b(c).pipe(pe(d=>{let h=this.transitions?.getValue();return this.events.next(new ur(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?ae:Promise.resolve(d)}),ZS(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=z(y({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new ks(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:g,extras:m}=c,I=new ur(d,this.urlSerializer.serialize(h),f,g);this.events.next(I);let S=ey(this.rootComponentType).snapshot;return this.currentTransition=i=z(y({},c),{targetSnapshot:S,urlAfterRedirects:h,extras:z(y({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,b(i)}else{let d="";return this.events.next(new $t(c.id,this.urlSerializer.serialize(c.extractedUrl),d,Ps.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ae}}),ee(c=>{let u=new Ml(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),O(c=>(this.currentTransition=i=z(y({},c),{guards:pS(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),i)),MS(this.environmentInjector,c=>this.events.next(c)),ee(c=>{if(i.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Us(this.urlSerializer,c.guardsResult);let u=new Sl(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),he(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",xe.GuardRejected),!1)),Dl(c=>{if(c.guards.canActivateChecks.length)return b(c).pipe(ee(u=>{let l=new Tl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),pe(u=>{let l=!1;return b(u).pipe(YS(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",xe.NoDataFromResolver)}}))}),ee(u=>{let l=new _l(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),Dl(c=>{let u=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(ee(h=>{l.component=h}),O(()=>{})));for(let h of l.children)d.push(...u(h));return d};return wr(u(c.targetSnapshot.root)).pipe(St(null),it(1))}),Dl(()=>this.afterPreactivation()),pe(()=>{let{currentSnapshot:c,targetSnapshot:u}=i,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?q(l).pipe(O(()=>i)):b(i)}),O(c=>{let u=uS(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i=z(y({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,i}),ee(()=>{this.events.next(new no)}),hS(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),it(1),ee({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $e(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Ca(this.transitionAbortSubject.pipe(ee(c=>{throw c}))),Tt(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",xe.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),Mt(c=>{if(a=!0,iy(c))this.events.next(new It(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),fS(c)?this.events.next(new lr(c.url,c.navigationBehaviorOptions)):i.resolve(!1);else{let u=new to(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0);try{let l=De(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof oo){let{message:d,cancellationCode:h}=Us(this.urlSerializer,l);this.events.next(new It(i.id,this.urlSerializer.serialize(i.extractedUrl),d,h)),this.events.next(new lr(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),c}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return ae}))}))}cancelNavigationTransition(n,r,o){let i=new It(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sT(e){return e!==Jr}var aT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>p(cT),providedIn:"root"})}return e})(),ql=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},cT=(()=>{class e extends ql{static \u0275fac=(()=>{let n;return function(o){return(n||(n=nu(e)))(o||e)}})();static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),my=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>p(uT),providedIn:"root"})}return e})(),uT=(()=>{class e extends my{location=p(tr);urlSerializer=p(co);options=p(ho,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=p(Yl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ct;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=ey(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ur)this.stateMemento=this.createStateMemento();else if(n instanceof $t)this.rawUrlTree=r.initialUrl;else if(n instanceof ks){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??o,r)}}else n instanceof no?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof It&&(n.code===xe.GuardRejected||n.code===xe.NoDataFromResolver)?this.restoreHistory(r):n instanceof to?this.restoreHistory(r,!0):n instanceof $e&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=n instanceof Ct?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let i=this.browserPageId,s=y(y({},r.extras.state),this.generateNgRouterState(r.id,i));this.location.replaceState(o,"",s)}else{let i=y(y({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&i===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=nu(e)))(o||e)}})();static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Qr||{});function yy(e,t){e.events.pipe(he(n=>n instanceof $e||n instanceof It||n instanceof to||n instanceof $t),O(n=>n instanceof $e||n instanceof $t?Qr.COMPLETE:(n instanceof It?n.code===xe.Redirect||n.code===xe.SupersededByNewNavigation:!1)?Qr.REDIRECTING:Qr.FAILED),he(n=>n!==Qr.REDIRECTING),it(1)).subscribe(()=>{t()})}var lT={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},dT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},bt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(cs);stateManager=p(my);options=p(ho,{optional:!0})||{};pendingTasks=p(gt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Ql);urlSerializer=p(co);location=p(tr);urlHandlingStrategy=p(Yl);_events=new Z;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(aT);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(Hs,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(qs,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new G;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof It&&r.code!==xe.Redirect&&r.code!==xe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof $e)this.navigated=!0;else if(r instanceof lr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||sT(o.source)},s);this.scheduleNavigation(a,Jr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}hT(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Jr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Wl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=y(y({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=Qm(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Km(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=pn(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Jr,null,r)}navigate(n,r={skipLocationChange:!1}){return fT(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},lT):r===!1?o=y({},dT):o=r,pn(n))return Nm(this.currentUrlTree,n,o);let i=this.parseUrl(n);return Nm(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return yy(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fT(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new v(4008,!1)}function hT(e){return!(e instanceof no)&&!(e instanceof lr)}var Lm=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Z;constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof $e&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(pn(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:pp(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return this.routerLinkInput===null?null:pn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(j(bt),j(gn),ru("tabindex"),j(Jn),j(Xe),j(wt))};static \u0275dir=Oe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&Bu("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Lu("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Br],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Br],replaceUrl:[2,"replaceUrl","replaceUrl",Br],routerLink:"routerLink"},features:[xu,Yn]})}return e})(),rF=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ye;constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof $e&&this.update()})}ngAfterContentInit(){b(this.links.changes,b(null)).pipe(ze()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=q(n).pipe(ze()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let r=pT(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?n.isActive(i,r):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static \u0275fac=function(r){return new(r||e)(j(bt),j(Xe),j(Jn),j(ln),j(Lm,8))};static \u0275dir=Oe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&Rg(i,Lm,5),r&2){let s;Og(s=Pg())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Yn]})}return e})();function pT(e){return!!e.paths}var zs=class{};var gT=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(he(n=>n instanceof $e),ot(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=as(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return q(o).pipe(ze())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=b(null);let i=o.pipe(Y(s=>s===null?b(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return q([i,s]).pipe(ze())}else return i})}static \u0275fac=function(r){return new(r||e)(E(bt),E(ps),E(le),E(zs),E(Zl))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vy=new w(""),mT=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ur?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof $e?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof $t&&n.code===Ps.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Fs&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Fs(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ap()};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();function yT(e){return e.routerState.root}function po(e,t){return{\u0275kind:e,\u0275providers:t}}function vT(){let e=p(Te);return t=>{let n=e.get(Je);if(t!==n.components[0])return;let r=e.get(bt),o=e.get(Dy);e.get(Kl)===1&&r.initialNavigation(),e.get(wy,null,P.Optional)?.setUpPreloading(),e.get(vy,null,P.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Dy=new w("",{factory:()=>new Z}),Kl=new w("",{providedIn:"root",factory:()=>1});function DT(){return po(2,[{provide:Kl,useValue:0},{provide:ds,multi:!0,deps:[Te],useFactory:t=>{let n=t.get(Xg,Promise.resolve());return()=>n.then(()=>new Promise(r=>{let o=t.get(bt),i=t.get(Dy);yy(o,()=>{r(!0)}),t.get(Ql).afterPreactivation=()=>(r(!0),i.closed?b(void 0):i),o.initialNavigation()}))}}])}function wT(){return po(3,[{provide:ds,multi:!0,useFactory:()=>{let t=p(bt);return()=>{t.setUpLocationChangeListener()}}},{provide:Kl,useValue:2}])}var wy=new w("");function ET(e){return po(0,[{provide:wy,useExisting:gT},{provide:zs,useExisting:e}])}function IT(){return po(8,[Om,{provide:qs,useExisting:Om}])}function CT(e){let t=[{provide:hy,useValue:oT},{provide:py,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return po(9,t)}var jm=new w("ROUTER_FORROOT_GUARD"),bT=[tr,{provide:co,useClass:cr},bt,lo,{provide:gn,useFactory:yT,deps:[bt]},Zl,[]],oF=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[bT,[],{provide:Hs,multi:!0,useValue:n},{provide:jm,useFactory:_T,deps:[[bt,new kr,new Li]]},r?.errorHandler?{provide:gy,useValue:r.errorHandler}:[],{provide:ho,useValue:r||{}},r?.useHash?ST():TT(),MT(),r?.preloadingStrategy?ET(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?NT(r):[],r?.bindToComponentInputs?IT().\u0275providers:[],r?.enableViewTransitions?CT().\u0275providers:[],xT()]}}static forChild(n){return{ngModule:e,providers:[{provide:Hs,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)(E(jm,8))};static \u0275mod=jt({type:e});static \u0275inj=kt({})}return e})();function MT(){return{provide:vy,useFactory:()=>{let e=p(om),t=p(U),n=p(ho),r=p(Ql),o=p(co);return n.scrollOffset&&e.setOffset(n.scrollOffset),new mT(o,r,e,t,n)}}}function ST(){return{provide:wt,useClass:tm}}function TT(){return{provide:wt,useClass:el}}function _T(e){return"guarded"}function NT(e){return[e.initialNavigation==="disabled"?wT().\u0275providers:[],e.initialNavigation==="enabledBlocking"?DT().\u0275providers:[]]}var Vm=new w("");function xT(){return[{provide:Vm,useFactory:vT},{provide:fs,multi:!0,useExisting:Vm}]}export{y as a,z as b,_y as c,AT as d,RT as e,G as f,k as g,Z as h,re as i,vr as j,Uy as k,M0 as l,q as m,b as n,O as o,wr as p,rv as q,ya as r,Er as s,lv as t,dv as u,he as v,fv as w,hv as x,it as y,gv as z,Ia as A,pe as B,Ca as C,mv as D,ee as E,v as F,Ff as G,D as H,kt as I,w as J,E as K,p as L,le as M,Yn as N,eP as O,tP as P,nP as Q,rP as R,nu as S,Te as T,ye as U,U as V,Xe as W,cu as X,mt as Y,oP as Z,lw as _,fu as $,iP as aa,Aw as ba,sP as ca,j as da,ft as ea,zn as fa,qn as ga,Jn as ha,Be as ia,lP as ja,Pt as ka,sg as la,jt as ma,Oe as na,ag as oa,GI as pa,xu as qa,rC as ra,Xn as sa,Je as ta,Lu as ua,SC as va,Dg as wa,TC as xa,dP as ya,fP as za,hP as Aa,pP as Ba,gP as Ca,Sg as Da,Tg as Ea,Vu as Fa,_g as Ga,Ng as Ha,BC as Ia,mP as Ja,Bu as Ka,yP as La,vP as Ma,DP as Na,ZC as Oa,Rg as Pa,wP as Qa,Og as Ra,Pg as Sa,EP as Ta,IP as Ua,KC as Va,kg as Wa,JC as Xa,XC as Ya,CP as Za,eb as _a,bP as $a,MP as ab,SP as bb,TP as cb,_P as db,NP as eb,xP as fb,ln as gb,Br as hb,Sb as ib,AP as jb,qu as kb,RP as lb,dn as mb,ie as nb,wt as ob,tm as pb,tr as qb,tk as rb,nk as sb,nm as tb,rk as ub,ok as vb,ik as wb,sk as xb,ak as yb,rm as zb,kb as Ab,Hb as Bb,wk as Cb,Ek as Db,Em as Eb,Lk as Fb,jk as Gb,NM as Hb,ur as Ib,$e as Jb,It as Kb,to as Lb,cS as Mb,bt as Nb,Lm as Ob,rF as Pb,oF as Qb};