
static.chunk-7FNOC45H.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-web Show documentation
Show all versions of yamcs-web Show documentation
Web UI for managing and monitoring Yamcs
var YU=Object.defineProperty,qU=Object.defineProperties;var GU=Object.getOwnPropertyDescriptors;var fm=Object.getOwnPropertySymbols;var lT=Object.prototype.hasOwnProperty,cT=Object.prototype.propertyIsEnumerable;var aT=(n,t,e)=>t in n?YU(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,E=(n,t)=>{for(var e in t||={})lT.call(t,e)&&aT(n,e,t[e]);if(fm)for(var e of fm(t))cT.call(t,e)&&aT(n,e,t[e]);return n},Pe=(n,t)=>qU(n,GU(t));var e0=(n,t)=>{var e={};for(var i in n)lT.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&fm)for(var i of fm(n))t.indexOf(i)<0&&cT.call(n,i)&&(e[i]=n[i]);return e};function dT(n,t){return Object.is(n,t)}var Ei=null,mu=!1,mm=1,Tn=Symbol("SIGNAL");function ot(n){let t=Ei;return Ei=n,t}function uT(){return Ei}function QU(){return mu}var fc={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 gu(n){if(mu)throw new Error("");if(Ei===null)return;Ei.consumerOnSignalRead(n);let t=Ei.nextProducerIndex++;if(ym(Ei),tn.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function _m(n){ym(n);for(let t=0;t0}function ym(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function _T(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function bT(n){return n.producerNode!==void 0}function r0(n){let t=Object.create(ZU);t.computation=n;let e=()=>{if(hT(t),gu(t),t.value===pm)throw t.error;return t.value};return e[Tn]=t,e}var t0=Symbol("UNSET"),i0=Symbol("COMPUTING"),pm=Symbol("ERRORED"),ZU=Pe(E({},fc),{value:t0,dirty:!0,error:null,equal:dT,producerMustRecompute(n){return n.value===t0||n.value===i0},producerRecomputeValue(n){if(n.value===i0)throw new Error("Detected cycle in computations.");let t=n.value;n.value=i0;let e=_u(n),i;try{i=n.computation()}catch(r){i=pm,n.error=r}finally{gm(n,e)}if(t!==t0&&t!==pm&&i!==pm&&n.equal(t,i)){n.value=t;return}n.value=i,n.version++}});function XU(){throw new Error}var vT=XU;function yT(){vT()}function wT(n){vT=n}var JU=null;function CT(n){let t=Object.create(o0);t.value=n;let e=()=>(gu(t),t.value);return e[Tn]=t,e}function bu(n,t){mT()||yT(),n.equal(n.value,t)||(n.value=t,e3(n))}function DT(n,t){mT()||yT(),bu(n,t(n.value))}var o0=Pe(E({},fc),{equal:dT,value:void 0});function e3(n){n.version++,KU(),fT(n),JU?.()}function xT(n,t,e){let i=Object.create(t3);e&&(i.consumerAllowSignalWrites=!0),i.fn=n,i.schedule=t;let r=l=>{i.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(bm(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=n0)}let a=()=>{if(i.fn===null)return;if(QU())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!_m(i))return;i.hasRun=!0;let l=_u(i);try{i.cleanupFn(),i.cleanupFn=n0,i.fn(r)}finally{gm(i,l)}};return i.ref={notify:()=>pT(i),run:a,cleanup:()=>i.cleanupFn(),destroy:()=>s(i),[Tn]:i},i.ref}var n0=()=>{},t3=Pe(E({},fc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule!==null&&n.schedule(n.ref)},hasRun:!1,cleanupFn:n0});function Fe(n){return typeof n=="function"}function Fs(n){let e=n(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var wm=Fs(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:
${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function qa(n,t){if(n){let e=n.indexOf(t);0<=e&&n.splice(e,1)}}var pe=class n{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:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(Fe(i))try{i()}catch(o){t=o instanceof wm?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{ST(o)}catch(s){t=t??[],s instanceof wm?t=[...t,...s.errors]:t.push(s)}}if(t)throw new wm(t)}}add(t){var e;if(t&&t!==this)if(this.closed)ST(t);else{if(t instanceof n){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}}_hasParent(t){let{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){let{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&qa(e,t)}remove(t){let{_finalizers:e}=this;e&&qa(e,t),t instanceof n&&t._removeParent(this)}};pe.EMPTY=(()=>{let n=new pe;return n.closed=!0,n})();var s0=pe.EMPTY;function Cm(n){return n instanceof pe||n&&"closed"in n&&Fe(n.remove)&&Fe(n.add)&&Fe(n.unsubscribe)}function ST(n){Fe(n)?n():n.unsubscribe()}var Lr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var mc={setTimeout(n,t,...e){let{delegate:i}=mc;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){let{delegate:t}=mc;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Dm(n){mc.setTimeout(()=>{let{onUnhandledError:t}=Lr;if(t)t(n);else throw n})}function Go(){}var kT=a0("C",void 0,void 0);function ET(n){return a0("E",void 0,n)}function IT(n){return a0("N",n,void 0)}function a0(n,t,e){return{kind:n,value:t,error:e}}var Ga=null;function pc(n){if(Lr.useDeprecatedSynchronousErrorHandling){let t=!Ga;if(t&&(Ga={errorThrown:!1,error:null}),n(),t){let{errorThrown:e,error:i}=Ga;if(Ga=null,e)throw i}}else n()}function MT(n){Lr.useDeprecatedSynchronousErrorHandling&&Ga&&(Ga.errorThrown=!0,Ga.error=n)}var Qo=class extends pe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cm(t)&&t.add(this)):this.destination=r3}static create(t,e,i){return new Ko(t,e,i)}next(t){this.isStopped?c0(IT(t),this):this._next(t)}error(t){this.isStopped?c0(ET(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?c0(kT,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()}}},i3=Function.prototype.bind;function l0(n,t){return i3.call(n,t)}var d0=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){xm(i)}}error(t){let{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){xm(i)}else xm(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){xm(e)}}},Ko=class extends Qo{constructor(t,e,i){super();let r;if(Fe(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Lr.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&l0(t.next,o),error:t.error&&l0(t.error,o),complete:t.complete&&l0(t.complete,o)}):r=t}this.destination=new d0(r)}};function xm(n){Lr.useDeprecatedSynchronousErrorHandling?MT(n):Dm(n)}function n3(n){throw n}function c0(n,t){let{onStoppedNotification:e}=Lr;e&&mc.setTimeout(()=>e(n,t))}var r3={closed:!0,next:Go,error:n3,complete:Go};var gc=typeof Symbol=="function"&&Symbol.observable||"@@observable";function pn(n){return n}function u0(...n){return h0(n)}function h0(n){return n.length===0?pn:n.length===1?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}var Se=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=s3(e)?e:new Ko(e,i,r);return pc(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=TT(i),new i((r,o)=>{let s=new Ko({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[gc](){return this}pipe(...e){return h0(e)(this)}toPromise(e){return e=TT(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function TT(n){var t;return(t=n??Lr.Promise)!==null&&t!==void 0?t:Promise}function o3(n){return n&&Fe(n.next)&&Fe(n.error)&&Fe(n.complete)}function s3(n){return n&&n instanceof Qo||o3(n)&&Cm(n)}function f0(n){return Fe(n?.lift)}function Be(n){return t=>{if(f0(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function $e(n,t,e,i,r){return new m0(n,t,e,i,r)}var m0=class extends Qo{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function _c(){return Be((n,t)=>{let e=null;n._refCount++;let i=$e(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount){e=null;return}let r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}var fo=class extends Se{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,f0(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 pe;let e=this.getSubject();t.add(this.source.subscribe($e(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=pe.EMPTY)}return t}refCount(){return _c()(this)}};var bc={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=bc;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);let r=t(o=>{e=void 0,n(o)});return new pe(()=>e?.(r))},requestAnimationFrame(...n){let{delegate:t}=bc;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){let{delegate:t}=bc;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};var AT=Fs(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=(()=>{class n extends Se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new vc(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new AT}next(e){pc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){pc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){pc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?s0:(this.currentObservers=null,o.push(e),new pe(()=>{this.currentObservers=null,qa(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Se;return e.source=this,e}}return n.create=(t,e)=>new vc(t,e),n})(),vc=class extends k{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,t)}error(t){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,t)}complete(){var t,e;(e=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||e===void 0||e.call(t)}_subscribe(t){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(t))!==null&&i!==void 0?i:s0}};var Ee=class extends k{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){let{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}};var vu={now(){return(vu.delegate||Date).now()},delegate:void 0};var qn=class extends k{constructor(t=1/0,e=1/0,i=vu){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sOT(t)&&n()),t},clearImmediate(n){OT(n)}};var{setImmediate:l3,clearImmediate:c3}=RT,wu={setImmediate(...n){let{delegate:t}=wu;return(t?.setImmediate||l3)(...n)},clearImmediate(n){let{delegate:t}=wu;return(t?.clearImmediate||c3)(n)},delegate:void 0};var km=class extends Ns{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return i!==null&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=wu.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);let{actions:o}=t;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(wu.clearImmediate(e),t._scheduled===e&&(t._scheduled=void 0))}};var yc=class n{constructor(t,e=n.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}};yc.now=vu.now;var Ls=class extends yc{constructor(t,e=yc.now){super(t,e),this.actions=[],this._active=!1}flush(t){let{actions:e}=this;if(this._active){e.push(t);return}let i;this._active=!0;do if(i=t.execute(t.state,t.delay))break;while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}};var Em=class extends Ls{flush(t){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,r;t=t||i.shift();do if(r=t.execute(t.state,t.delay))break;while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}};var Cu=new Em(km);var Vr=new Ls(Ns),PT=Vr;var Im=class extends Ns{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return i!==null&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=bc.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);let{actions:o}=t;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(bc.cancelAnimationFrame(e),t._scheduled=void 0)}};var Mm=class extends Ls{flush(t){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,r;t=t||i.shift();do if(r=t.execute(t.state,t.delay))break;while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}};var Tm=new Mm(Im);var Ui=new Se(n=>n.complete());function Am(n){return n&&Fe(n.schedule)}function _0(n){return n[n.length-1]}function Om(n){return Fe(_0(n))?n.pop():void 0}function mo(n){return Am(_0(n))?n.pop():void 0}function FT(n,t){return typeof _0(n)=="number"?n.pop():t}function LT(n,t,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}function NT(n){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qa(n){return this instanceof Qa?(this.v=n,this):new Qa(n)}function VT(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(n,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(m){return Promise.resolve(m).then(f,u)}}function a(f,m){i[f]&&(r[f]=function(g){return new Promise(function(_,v){o.push([f,g,_,v])>1||l(f,g)})},m&&(r[f]=m(r[f])))}function l(f,m){try{c(i[f](m))}catch(g){h(o[0][3],g)}}function c(f){f.value instanceof Qa?Promise.resolve(f.value.v).then(d,u):h(o[0][2],f)}function d(f){l("next",f)}function u(f){l("throw",f)}function h(f,m){f(m),o.shift(),o.length&&l(o[0][0],o[0][1])}}function jT(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=n[Symbol.asyncIterator],e;return t?t.call(n):(n=typeof NT=="function"?NT(n):n[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){s=n[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var wc=n=>n&&typeof n.length=="number"&&typeof n!="function";function Rm(n){return Fe(n?.then)}function Pm(n){return Fe(n[gc])}function Fm(n){return Symbol.asyncIterator&&Fe(n?.[Symbol.asyncIterator])}function Nm(n){return new TypeError(`You provided ${n!==null&&typeof n=="object"?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function d3(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Lm=d3();function Vm(n){return Fe(n?.[Lm])}function jm(n){return VT(this,arguments,function*(){let e=n.getReader();try{for(;;){let{value:i,done:r}=yield Qa(e.read());if(r)return yield Qa(void 0);yield yield Qa(i)}}finally{e.releaseLock()}})}function Bm(n){return Fe(n?.getReader)}function mt(n){if(n instanceof Se)return n;if(n!=null){if(Pm(n))return u3(n);if(wc(n))return h3(n);if(Rm(n))return f3(n);if(Fm(n))return BT(n);if(Vm(n))return m3(n);if(Bm(n))return p3(n)}throw Nm(n)}function u3(n){return new Se(t=>{let e=n[gc]();if(Fe(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function h3(n){return new Se(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Dm)})}function m3(n){return new Se(t=>{for(let e of n)if(t.next(e),t.closed)return;t.complete()})}function BT(n){return new Se(t=>{g3(n,t).catch(e=>t.error(e))})}function p3(n){return BT(jm(n))}function g3(n,t){var e,i,r,o;return LT(this,void 0,void 0,function*(){try{for(e=jT(n);i=yield e.next(),!i.done;){let s=i.value;if(t.next(s),t.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})}function on(n,t,e,i=0,r=!1){let o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function $m(n,t=0){return Be((e,i)=>{e.subscribe($e(i,r=>on(i,n,()=>i.next(r),t),()=>on(i,n,()=>i.complete(),t),r=>on(i,n,()=>i.error(r),t)))})}function zm(n,t=0){return Be((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function $T(n,t){return mt(n).pipe(zm(t),$m(t))}function zT(n,t){return mt(n).pipe(zm(t),$m(t))}function HT(n,t){return new Se(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}function UT(n,t){return new Se(e=>{let i;return on(e,t,()=>{i=n[Lm](),on(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>Fe(i?.return)&&i.return()})}function Hm(n,t){if(!n)throw new Error("Iterable cannot be null");return new Se(e=>{on(e,t,()=>{let i=n[Symbol.asyncIterator]();on(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function WT(n,t){return Hm(jm(n),t)}function YT(n,t){if(n!=null){if(Pm(n))return $T(n,t);if(wc(n))return HT(n,t);if(Rm(n))return zT(n,t);if(Fm(n))return Hm(n,t);if(Vm(n))return UT(n,t);if(Bm(n))return WT(n,t)}throw Nm(n)}function Lt(n,t){return t?YT(n,t):mt(n)}function oe(...n){let t=mo(n);return Lt(n,t)}function Vs(n,t){let e=Fe(n)?n:()=>n,i=r=>r.error(e());return new Se(t?r=>t.schedule(i,0,r):i)}function js(n){return!!n&&(n instanceof Se||Fe(n.lift)&&Fe(n.subscribe))}var Zo=Fs(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function Um(n){return n instanceof Date&&!isNaN(n)}var qT=Fs(n=>function(e=null){n(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function _3(n,t){let{first:e,each:i,with:r=b3,scheduler:o=t??Vr,meta:s=null}=Um(n)?{first:n}:typeof n=="number"?{each:n}:n;if(e==null&&i==null)throw new TypeError("No timeout provided.");return Be((a,l)=>{let c,d,u=null,h=0,f=m=>{d=on(l,o,()=>{try{c.unsubscribe(),mt(r({meta:s,lastValue:u,seen:h})).subscribe(l)}catch(g){l.error(g)}},m)};c=a.subscribe($e(l,m=>{d?.unsubscribe(),h++,l.next(u=m),i>0&&f(i)},void 0,void 0,()=>{d?.closed||d?.unsubscribe(),u=null})),!h&&f(e!=null?typeof e=="number"?e:+e-o.now():i)})}function b3(n){throw new qT(n)}function fe(n,t){return Be((e,i)=>{let r=0;e.subscribe($e(i,o=>{i.next(n.call(t,o,r++))}))})}var{isArray:v3}=Array;function y3(n,t){return v3(t)?n(...t):n(t)}function Cc(n){return fe(t=>y3(n,t))}var{isArray:w3}=Array,{getPrototypeOf:C3,prototype:D3,keys:x3}=Object;function Wm(n){if(n.length===1){let t=n[0];if(w3(t))return{args:t,keys:null};if(S3(t)){let e=x3(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}function S3(n){return n&&typeof n=="object"&&C3(n)===D3}function Ym(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function jr(...n){let t=mo(n),e=Om(n),{args:i,keys:r}=Wm(n);if(i.length===0)return Lt([],t);let o=new Se(k3(i,t,r?s=>Ym(r,s):pn));return e?o.pipe(Cc(e)):o}function k3(n,t,e=pn){return i=>{GT(t,()=>{let{length:r}=n,o=new Array(r),s=r,a=r;for(let l=0;l{let c=Lt(n[l],t),d=!1;c.subscribe($e(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function GT(n,t,e){n?on(e,n,t):t()}function QT(n,t,e,i,r,o,s,a){let l=[],c=0,d=0,u=!1,h=()=>{u&&!l.length&&!c&&t.complete()},f=g=>c{o&&t.next(g),c++;let _=!1;mt(e(g,d++)).subscribe($e(t,v=>{r?.(v),o?f(v):t.next(v)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cm(v)):m(v)}h()}catch(v){t.error(v)}}))};return n.subscribe($e(t,f,()=>{u=!0,h()})),()=>{a?.()}}function ti(n,t,e=1/0){return Fe(t)?ti((i,r)=>fe((o,s)=>t(i,o,r,s))(mt(n(i,r))),e):(typeof t=="number"&&(e=t),Be((i,r)=>QT(i,r,n,e)))}function po(n=1/0){return ti(pn,n)}function KT(){return po(1)}function go(...n){return KT()(Lt(n,mo(n)))}function _r(n){return new Se(t=>{mt(n()).subscribe(t)})}function Du(...n){let t=Om(n),{args:e,keys:i}=Wm(n),r=new Se(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?Ym(i,a):a),o.complete())}))}});return t?r.pipe(Cc(t)):r}var E3=["addListener","removeListener"],I3=["addEventListener","removeEventListener"],M3=["on","off"];function Ri(n,t,e,i){if(Fe(e)&&(i=e,e=void 0),i)return Ri(n,t,e).pipe(Cc(i));let[r,o]=O3(n)?I3.map(s=>a=>n[s](t,a,e)):T3(n)?E3.map(ZT(n,t)):A3(n)?M3.map(ZT(n,t)):[];if(!r&&wc(n))return ti(s=>Ri(s,t,e))(mt(n));if(!r)throw new TypeError("Invalid event target");return new Se(s=>{let a=(...l)=>s.next(1o(a)})}function ZT(n,t){return e=>i=>n[e](t,i)}function T3(n){return Fe(n.addListener)&&Fe(n.removeListener)}function A3(n){return Fe(n.on)&&Fe(n.off)}function O3(n){return Fe(n.addEventListener)&&Fe(n.removeEventListener)}function Gn(n=0,t,e=PT){let i=-1;return t!=null&&(Am(t)?e=t:i=t),new Se(r=>{let o=Um(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function b0(n=0,t=Vr){return n<0&&(n=0),Gn(n,n,t)}function et(...n){let t=mo(n),e=FT(n,1/0),i=n;return i.length?i.length===1?mt(i[0]):po(e)(Lt(i,t)):Ui}var R3=new Se(Go);function Ae(n,t){return Be((e,i)=>{let r=0;e.subscribe($e(i,o=>n.call(t,o,r++)&&i.next(o)))})}function XT(n){return Be((t,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe($e(e,c=>{i=!0,r=c,o||mt(n(c)).subscribe(o=$e(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}function qm(n,t=Vr){return XT(()=>Gn(n,t))}function _o(n){return Be((t,e)=>{let i=null,r=!1,o;i=t.subscribe($e(e,void 0,void 0,s=>{o=mt(n(s,_o(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function JT(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe($e(s,d=>{let u=c++;l=a?n(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function Xo(n,t){return Fe(t)?ti(n,t,1):ti(n,1)}function e1(n){return new Se(t=>n.subscribe(t))}var P3={connector:()=>new k};function Gm(n,t=P3){let{connector:e}=t;return Be((i,r)=>{let o=e();mt(n(e1(o))).subscribe(r),r.add(i.subscribe(o))})}function sn(n,t=Vr){return Be((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+n,d=t.now();if(d{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function Bs(n){return Be((t,e)=>{let i=!1;t.subscribe($e(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function pt(n){return n<=0?()=>Ui:Be((t,e)=>{let i=0;t.subscribe($e(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function t1(){return Be((n,t)=>{n.subscribe($e(t,Go))})}function $s(n){return fe(()=>n)}function v0(n,t){return t?e=>go(t.pipe(pt(1),t1()),e.pipe(v0(n))):ti((e,i)=>mt(n(e,i)).pipe(pt(1),$s(e)))}function Ka(n,t=Vr){let e=Gn(n,t);return v0(()=>e)}function Jo(n,t=pn){return n=n??F3,Be((e,i)=>{let r,o=!0;e.subscribe($e(i,s=>{let a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}function F3(n,t){return n===t}function Qm(n=N3){return Be((t,e)=>{let i=!1;t.subscribe($e(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function N3(){return new Zo}function zs(n){return Be((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}function Br(n,t){let e=arguments.length>=2;return i=>i.pipe(n?Ae((r,o)=>n(r,o,i)):pn,pt(1),e?Bs(t):Qm(()=>new Zo))}function Dc(n){return n<=0?()=>Ui:Be((t,e)=>{let i=[];t.subscribe($e(e,r=>{i.push(r),n{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function y0(n,t){let e=arguments.length>=2;return i=>i.pipe(n?Ae((r,o)=>n(r,o,i)):pn,Dc(1),e?Bs(t):Qm(()=>new Zo))}function i1(n,t){let e=Fe(n)?n:()=>n;return Fe(t)?Gm(t,{connector:e}):i=>new fo(i,e)}function L3(n){return n?t=>Gm(n)(t):t=>i1(new k)(t)}function w0(n,t){return Be(JT(n,t,arguments.length>=2,!0))}function es(n={}){let{connector:t=()=>new k,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,d=!1,u=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},m=()=>{let g=s;f(),g?.unsubscribe()};return Be((g,_)=>{c++,!u&&!d&&h();let v=l=l??t();_.add(()=>{c--,c===0&&!u&&!d&&(a=C0(m,r))}),v.subscribe(_),!s&&c>0&&(s=new Ko({next:x=>v.next(x),error:x=>{u=!0,h(),a=C0(f,e,x),v.error(x)},complete:()=>{d=!0,h(),a=C0(f,i),v.complete()}}),mt(g).subscribe(s))})(o)}}function C0(n,t,...e){if(t===!0){n();return}if(t===!1)return;let i=new Ko({next:()=>{i.unsubscribe(),n()}});return mt(t(...e)).subscribe(i)}function Km(n,t,e){let i,r=!1;return n&&typeof n=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:e}=n:i=n??1/0,es({connector:()=>new qn(i,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Za(n){return Ae((t,e)=>n<=e)}function yt(...n){let t=mo(n);return Be((e,i)=>{(t?go(n,e,t):go(n,e)).subscribe(i)})}function Rt(n,t){return Be((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe($e(i,l=>{r?.unsubscribe();let c=0,d=o++;mt(n(l,d)).subscribe(r=$e(i,u=>i.next(t?t(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Ce(n){return Be((t,e)=>{mt(n).subscribe($e(e,()=>e.complete(),Go)),!e.closed&&t.subscribe(e)})}function D0(n,t=!1){return Be((e,i)=>{let r=0;e.subscribe($e(i,o=>{let s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}function Et(n,t,e){let i=Fe(n)||t||e?{next:n,error:t,complete:e}:n;return i?Be((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe($e(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):pn}var J1="https://g.co/ng/security#xss",ee=class extends Error{constructor(t,e){super(Xw(t,e)),this.code=t}};function Xw(n,t){return`${`NG0${Math.abs(n)}`}${t?": "+t:""}`}var jp=Symbol("InputSignalNode#UNSET"),eA=Pe(E({},o0),{transformFn:void 0,applyValueToInputSignal(n,t){bu(n,t)}});function tA(n,t){let e=Object.create(eA);e.value=n,e.transformFn=t?.transform;function i(){if(gu(e),e.value===jp)throw new ee(-950,!1);return e.value}return i[Tn]=e,i}function Pu(n){return{toString:n}.toString()}var Zm="__parameters__";function V3(n){return function(...e){if(n){let i=n(...e);for(let r in i)this[r]=i[r]}}}function iA(n,t,e){return Pu(()=>{let i=V3(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(Zm)?l[Zm]:Object.defineProperty(l,Zm,{value:[]})[Zm];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}var ts=globalThis;function Vt(n){for(let t in n)if(n[t]===Vt)return t;throw Error("Could not find renamed property on target object.")}function j3(n,t){for(let e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function On(n){if(typeof n=="string")return n;if(Array.isArray(n))return"["+n.map(On).join(", ")+"]";if(n==null)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;let t=n.toString();if(t==null)return""+t;let e=t.indexOf(`
`);return e===-1?t:t.substring(0,e)}function V0(n,t){return n==null||n===""?t===null?"":t:t==null||t===""?n:n+" "+t}var B3=Vt({__forward_ref__:Vt});function Ye(n){return n.__forward_ref__=Ye,n.toString=function(){return On(this())},n}function Wi(n){return nA(n)?n():n}function nA(n){return typeof n=="function"&&n.hasOwnProperty(B3)&&n.__forward_ref__===Ye}function T(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function se(n){return{providers:n.providers||[],imports:n.imports||[]}}function Bp(n){return n1(n,oA)||n1(n,sA)}function rA(n){return Bp(n)!==null}function n1(n,t){return n.hasOwnProperty(t)?n[t]:null}function $3(n){let t=n&&(n[oA]||n[sA]);return t||null}function r1(n){return n&&(n.hasOwnProperty(o1)||n.hasOwnProperty(z3))?n[o1]:null}var oA=Vt({\u0275prov:Vt}),o1=Vt({\u0275inj:Vt}),sA=Vt({ngInjectableDef:Vt}),z3=Vt({ngInjectorDef:Vt}),I=class{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=T({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function aA(n){return n&&!!n.\u0275providers}var H3=Vt({\u0275cmp:Vt}),U3=Vt({\u0275dir:Vt}),W3=Vt({\u0275pipe:Vt}),Y3=Vt({\u0275mod:Vt}),up=Vt({\u0275fac:Vt}),Su=Vt({__NG_ELEMENT_ID__:Vt}),s1=Vt({__NG_ENV_ID__:Vt});function yo(n){return typeof n=="string"?n:n==null?"":String(n)}function q3(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():yo(n)}function G3(n,t){let e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new ee(-200,n)}function Jw(n,t){throw new ee(-201,!1)}var st=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(st||{}),j0;function lA(){return j0}function An(n){let t=j0;return j0=n,t}function cA(n,t,e){let i=Bp(n);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&st.Optional)return null;if(t!==void 0)return t;Jw(n,"Injector")}var Q3={},ku=Q3,B0="__NG_DI_FLAG__",hp="ngTempTokenPath",K3="ngTokenPath",Z3=/\n/gm,X3="\u0275",a1="__source",Ec;function J3(){return Ec}function Hs(n){let t=Ec;return Ec=n,t}function e4(n,t=st.Default){if(Ec===void 0)throw new ee(-203,!1);return Ec===null?cA(n,void 0,t):Ec.get(n,t&st.Optional?null:void 0,t)}function D(n,t=st.Default){return(lA()||e4)(Wi(n),t)}function C(n,t=st.Default){return D(n,$p(t))}function $p(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function $0(n){let t=[];for(let e=0;e ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):On(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(Z3,`
`)}`}var yr=dA(iA("Optional"),8);var Ur=dA(iA("SkipSelf"),4);function el(n,t){let e=n.hasOwnProperty(up);return e?n[up]:null}function r4(n,t,e){if(n.length!==t.length)return!1;for(let i=0;iArray.isArray(e)?eC(e,t):t(e))}function uA(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function fp(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function s4(n,t){let e=[];for(let i=0;it;){let o=r-2;n[r]=n[o],r--}n[t]=e,n[t+1]=i}}function zp(n,t,e){let i=Fu(n,t);return i>=0?n[i|1]=e:(i=~i,a4(n,i,t,e)),i}function x0(n,t){let e=Fu(n,t);if(e>=0)return n[e|1]}function Fu(n,t){return l4(n,t,1)}function l4(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<t){s=o-1;break}}}for(;o-1){let o;for(;++ro?u="":u=r[d+1].toLowerCase(),i&2&&c!==u){if($r(i))return!1;s=!0}}}}return $r(i)||s}function $r(n){return(n&1)===0}function m4(n,t,e,i){if(t===null)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!$r(s)&&(t+=c1(o,r),r=""),i=s,o=o||!$r(i);e++}return r!==""&&(t+=c1(o,r)),t}function y4(n){return n.map(v4).join(",")}function w4(n){let t=[],e=[],i=1,r=2;for(;i{let t=wA(n),e=Pe(E({},t),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===mA.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||wo.Emulated,styles:n.styles||gn,_:null,schemas:n.schemas||null,tView:null,id:""});CA(e);let i=n.dependencies;return e.directiveDefs=u1(i,!1),e.pipeDefs=u1(i,!0),e.id=x4(e),e})}function C4(n){return ns(n)||iC(n)}function D4(n){return n!==null}function ae(n){return Pu(()=>({type:n.type,bootstrap:n.bootstrap||gn,declarations:n.declarations||gn,imports:n.imports||gn,exports:n.exports||gn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function d1(n,t){if(n==null)return is;let e={};for(let i in n)if(n.hasOwnProperty(i)){let r=n[i],o,s,a=qs.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),t?(e[o]=a!==qs.None?[i,a]:i,t[o]=s):e[o]=i}return e}function M(n){return Pu(()=>{let t=wA(n);return CA(t),t})}function rt(n){return{type:n.type,name:n.name,factory:null,pure:n.pure!==!1,standalone:n.standalone===!0,onDestroy:n.type.prototype.ngOnDestroy||null}}function ns(n){return n[H3]||null}function iC(n){return n[U3]||null}function bA(n){return n[W3]||null}function vA(n){let t=ns(n)||iC(n)||bA(n);return t!==null?t.standalone:!1}function yA(n,t){let e=n[Y3]||null;if(!e&&t===!0)throw new Error(`Type ${On(n)} does not have '\u0275mod' property.`);return e}function wA(n){let t={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:n.inputs||is,exportAs:n.exportAs||null,standalone:n.standalone===!0,signals:n.signals===!0,selectors:n.selectors||gn,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:d1(n.inputs,t),outputs:d1(n.outputs),debugInfo:null}}function CA(n){n.features?.forEach(t=>t(n))}function u1(n,t){if(!n)return null;let e=t?bA:C4;return()=>(typeof n=="function"?n():n).map(i=>e(i)).filter(D4)}function x4(n){let t=0,e=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(let r of e)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Hp(n){return{\u0275providers:n}}function S4(...n){return{\u0275providers:DA(!0,n),\u0275fromNgModule:!0}}function DA(n,...t){let e=[],i=new Set,r,o=s=>{e.push(s)};return eC(t,s=>{let a=s;H0(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&xA(r,o),e}function xA(n,t){for(let e=0;e{t(o,i)})}}function H0(n,t,e,i){if(n=Wi(n),!n)return!1;let r=null,o=r1(n),s=!o&&ns(n);if(!o&&!s){let l=n.ngModule;if(o=r1(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=n}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)H0(c,t,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{eC(o.imports,d=>{H0(d,t,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&xA(c,t)}if(!a){let c=el(r)||(()=>new r);t({provide:r,useFactory:c,deps:gn},r),t({provide:fA,useValue:r,multi:!0},r),t({provide:Mc,useValue:()=>D(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=n;nC(l,d=>{t(d,c)})}}else return!1;return r!==n&&n.providers!==void 0}function nC(n,t){for(let e of n)aA(e)&&(e=e.\u0275providers),Array.isArray(e)?nC(e,t):t(e)}var k4=Vt({provide:String,useValue:Vt});function SA(n){return n!==null&&typeof n=="object"&&k4 in n}function E4(n){return!!(n&&n.useExisting)}function I4(n){return!!(n&&n.useFactory)}function Tc(n){return typeof n=="function"}function M4(n){return!!n.useClass}var Up=new I(""),rp={},T4={},S0;function Wp(){return S0===void 0&&(S0=new mp),S0}var Pi=class{},Iu=class extends Pi{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,W0(t,s=>this.processProvider(s)),this.records.set(hA,xc(void 0,this)),r.has("environment")&&this.records.set(Pi,xc(void 0,this));let o=this.records.get(Up);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(fA,gn,st.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=ot(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ot(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let e=Hs(this),i=An(void 0),r;try{return t()}finally{Hs(e),An(i)}}get(t,e=ku,i=st.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(s1))return t[s1](this);i=$p(i);let r,o=Hs(this),s=An(void 0);try{if(!(i&st.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=F4(t)&&Bp(t);c&&this.injectableDefInScope(c)?l=xc(U0(t),rp):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l)}let a=i&st.Self?Wp():this.parent;return e=i&st.Optional&&e===ku?null:e,a.get(t,e)}catch(a){if(a.name==="NullInjectorError"){if((a[hp]=a[hp]||[]).unshift(On(t)),o)throw a;return i4(a,t,"R3InjectorError",this.source)}else throw a}finally{An(s),Hs(o)}}resolveInjectorInitializers(){let t=ot(null),e=Hs(this),i=An(void 0),r;try{let o=this.get(Mc,gn,st.Self);for(let s of o)s()}finally{Hs(e),An(i),ot(t)}}toString(){let t=[],e=this.records;for(let i of e.keys())t.push(On(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processProvider(t){t=Wi(t);let e=Tc(t)?t:Wi(t&&t.provide),i=O4(t);if(!Tc(t)&&t.multi===!0){let r=this.records.get(e);r||(r=xc(void 0,rp,!0),r.factory=()=>$0(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){let i=ot(null);try{return e.value===rp&&(e.value=T4,e.value=e.factory()),typeof e.value=="object"&&e.value&&P4(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ot(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=Wi(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};function U0(n){let t=Bp(n),e=t!==null?t.factory:el(n);if(e!==null)return e;if(n instanceof I)throw new ee(204,!1);if(n instanceof Function)return A4(n);throw new ee(204,!1)}function A4(n){if(n.length>0)throw new ee(204,!1);let e=$3(n);return e!==null?()=>e.factory(n):()=>new n}function O4(n){if(SA(n))return xc(void 0,n.useValue);{let t=kA(n);return xc(t,rp)}}function kA(n,t,e){let i;if(Tc(n)){let r=Wi(n);return el(r)||U0(r)}else if(SA(n))i=()=>Wi(n.useValue);else if(I4(n))i=()=>n.useFactory(...$0(n.deps||[]));else if(E4(n))i=()=>D(Wi(n.useExisting));else{let r=Wi(n&&(n.useClass||n.provide));if(R4(n))i=()=>new r(...$0(n.deps));else return el(r)||U0(r)}return i}function xc(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function R4(n){return!!n.deps}function P4(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function F4(n){return typeof n=="function"||typeof n=="object"&&n instanceof I}function W0(n,t){for(let e of n)Array.isArray(e)?W0(e,t):e&&aA(e)?W0(e.\u0275providers,t):t(e)}function So(n,t){n instanceof Iu&&n.assertNotDestroyed();let e,i=Hs(n),r=An(void 0);try{return t()}finally{Hs(i),An(r)}}function EA(){return lA()!==void 0||J3()!=null}function rC(n){if(!EA())throw new ee(-203,!1)}function N4(n){return typeof n=="function"}var ko=0,Ze=1,We=2,cn=3,Hr=4,Fn=5,Ac=6,pp=7,an=8,Oc=9,Co=10,ii=11,Mu=12,h1=13,Lc=14,Qn=15,tl=16,Sc=17,rs=18,Yp=19,IA=20,Ws=21,op=22,br=23,Fi=25,oC=1;var il=7,gp=8,Rc=9,ln=10,_p=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(_p||{});function Ys(n){return Array.isArray(n)&&typeof n[oC]=="object"}function as(n){return Array.isArray(n)&&n[oC]===!0}function sC(n){return(n.flags&4)!==0}function qp(n){return n.componentOffset>-1}function Gp(n){return(n.flags&1)===1}function os(n){return!!n.template}function Y0(n){return(n[We]&512)!==0}var q0=class{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function MA(n,t,e,i){t!==null?t.applyValueToInputSignal(t,i):n[e]=i}function ze(){return TA}function TA(n){return n.type.prototype.ngOnChanges&&(n.setInput=V4),L4}ze.ngInherit=!0;function L4(){let n=OA(this),t=n?.current;if(t){let e=n.previous;if(e===is)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function V4(n,t,e,i,r){let o=this.declaredInputs[i],s=OA(n)||j4(n,{previous:is,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new q0(c&&c.currentValue,e,l===is),MA(n,t,r,e)}var AA="__ngSimpleChanges__";function OA(n){return n[AA]||null}function j4(n,t){return n[AA]=t}var f1=null;var bo=function(n,t,e){f1?.(n,t,e)},RA="svg",B4="math";function Do(n){for(;Array.isArray(n);)n=n[ko];return n}function $4(n){for(;Array.isArray(n);){if(typeof n[oC]=="object")return n;n=n[ko]}return null}function PA(n,t){return Do(t[n])}function wr(n,t){return Do(t[n.index])}function aC(n,t){return n.data[t]}function lC(n,t){return n[t]}function Xs(n,t){let e=t[n];return Ys(e)?e:e[ko]}function z4(n){return(n[We]&4)===4}function cC(n){return(n[We]&128)===128}function H4(n){return as(n[cn])}function Gs(n,t){return t==null?null:n[t]}function FA(n){n[Sc]=0}function NA(n){n[We]&1024||(n[We]|=1024,cC(n)&&Kp(n))}function U4(n,t){for(;n>0;)t=t[Lc],n--;return t}function Qp(n){return!!(n[We]&9216||n[br]?.dirty)}function G0(n){n[Co].changeDetectionScheduler?.notify(8),n[We]&64&&(n[We]|=1024),Qp(n)&&Kp(n)}function Kp(n){n[Co].changeDetectionScheduler?.notify(0);let t=nl(n);for(;t!==null&&!(t[We]&8192||(t[We]|=8192,!cC(t)));)t=nl(t)}function LA(n,t){if((n[We]&256)===256)throw new ee(911,!1);n[Ws]===null&&(n[Ws]=[]),n[Ws].push(t)}function W4(n,t){if(n[Ws]===null)return;let e=n[Ws].indexOf(t);e!==-1&&n[Ws].splice(e,1)}function nl(n){let t=n[cn];return as(t)?t[cn]:t}var tt={lFrame:YA(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var VA=!1;function Y4(){return tt.lFrame.elementDepthCount}function q4(){tt.lFrame.elementDepthCount++}function G4(){tt.lFrame.elementDepthCount--}function jA(){return tt.bindingsEnabled}function BA(){return tt.skipHydrationRootTNode!==null}function Q4(n){return tt.skipHydrationRootTNode===n}function K4(){tt.skipHydrationRootTNode=null}function Le(){return tt.lFrame.lView}function Kt(){return tt.lFrame.tView}function N(n){return tt.lFrame.contextLView=n,n[an]}function L(n){return tt.lFrame.contextLView=null,n}function Ni(){let n=$A();for(;n!==null&&n.type===64;)n=n.parent;return n}function $A(){return tt.lFrame.currentTNode}function Z4(){let n=tt.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}function ul(n,t){let e=tt.lFrame;e.currentTNode=n,e.isParent=t}function dC(){return tt.lFrame.isParent}function uC(){tt.lFrame.isParent=!1}function X4(){return tt.lFrame.contextLView}function zA(){return VA}function m1(n){VA=n}function hl(){let n=tt.lFrame,t=n.bindingRootIndex;return t===-1&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function HA(){return tt.lFrame.bindingIndex}function J4(n){return tt.lFrame.bindingIndex=n}function Js(){return tt.lFrame.bindingIndex++}function Zp(n){let t=tt.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function e8(){return tt.lFrame.inI18n}function t8(n,t){let e=tt.lFrame;e.bindingIndex=e.bindingRootIndex=n,Q0(t)}function i8(){return tt.lFrame.currentDirectiveIndex}function Q0(n){tt.lFrame.currentDirectiveIndex=n}function hC(n){let t=tt.lFrame.currentDirectiveIndex;return t===-1?null:n[t]}function fC(){return tt.lFrame.currentQueryIndex}function Xp(n){tt.lFrame.currentQueryIndex=n}function n8(n){let t=n[Ze];return t.type===2?t.declTNode:t.type===1?n[Fn]:null}function UA(n,t,e){if(e&st.SkipSelf){let r=t,o=n;for(;r=r.parent,r===null&&!(e&st.Host);)if(r=n8(o),r===null||(o=o[Lc],r.type&10))break;if(r===null)return!1;t=r,n=o}let i=tt.lFrame=WA();return i.currentTNode=t,i.lView=n,!0}function mC(n){let t=WA(),e=n[Ze];tt.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function WA(){let n=tt.lFrame,t=n===null?null:n.child;return t===null?YA(n):t}function YA(n){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:n,child:null,inI18n:!1};return n!==null&&(n.child=t),t}function qA(){let n=tt.lFrame;return tt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var GA=qA;function pC(){let n=qA();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function r8(n){return(tt.lFrame.contextLView=U4(n,tt.lFrame.contextLView))[an]}function Eo(){return tt.lFrame.selectedIndex}function rl(n){tt.lFrame.selectedIndex=n}function Nu(){let n=tt.lFrame;return aC(n.tView,n.selectedIndex)}function Yi(){tt.lFrame.currentNamespace=RA}function Vc(){o8()}function o8(){tt.lFrame.currentNamespace=null}function s8(){return tt.lFrame.currentNamespace}var QA=!0;function Jp(){return QA}function eg(n){QA=n}function a8(n,t,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let s=TA(t);(e.preOrderHooks??=[]).push(n,s),(e.preOrderCheckHooks??=[]).push(n,s)}r&&(e.preOrderHooks??=[]).push(0-n,r),o&&((e.preOrderHooks??=[]).push(n,o),(e.preOrderCheckHooks??=[]).push(n,o))}function tg(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[Sc]+=65536),(a>14>16&&(n[We]&3)===t&&(n[We]+=16384,p1(a,o)):p1(a,o)}var Ic=-1,ol=class{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function c8(n){return n instanceof ol}function d8(n){return(n.flags&8)!==0}function u8(n){return(n.flags&16)!==0}var E0={},K0=class{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=$p(i);let r=this.injector.get(t,E0,i);return r!==E0||e===E0?r:this.parentInjector.get(t,e,i)}};function ZA(n){return n!==Ic}function bp(n){return n&32767}function h8(n){return n>>16}function vp(n,t){let e=h8(n),i=t;for(;e>0;)i=i[Lc],e--;return i}var Z0=!0;function yp(n){let t=Z0;return Z0=n,t}var f8=256,XA=f8-1,JA=5,m8=0,vo={};function p8(n,t,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Su)&&(i=e[Su]),i==null&&(i=e[Su]=m8++);let r=i&XA,o=1<>JA)]|=o}function wp(n,t){let e=eO(n,t);if(e!==-1)return e;let i=t[Ze];i.firstCreatePass&&(n.injectorIndex=t.length,I0(i.data,n),I0(t,null),I0(i.blueprint,null));let r=gC(n,t),o=n.injectorIndex;if(ZA(r)){let s=bp(r),a=vp(r,t),l=a[Ze].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function I0(n,t){n.push(0,0,0,0,0,0,0,0,t)}function eO(n,t){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||t[n.injectorIndex+8]===null?-1:n.injectorIndex}function gC(n,t){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;r!==null;){if(i=oO(r),i===null)return Ic;if(e++,r=r[Lc],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Ic}function X0(n,t,e){p8(n,t,e)}function g8(n,t){if(t==="class")return n.classes;if(t==="style")return n.styles;let e=n.attrs;if(e){let i=e.length,r=0;for(;r>20,u=i?a:a+d,h=r?a+d:c;for(let f=u;f=l&&m.type===e)return f}if(r){let f=s[l];if(f&&os(f)&&f.type===e)return l}return null}function sl(n,t,e,i){let r=n[e],o=t.data;if(c8(r)){let s=r;s.resolving&&G3(q3(o[e]));let a=yp(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?An(s.injectImpl):null,d=UA(n,i,st.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&a8(e,o[e],t)}finally{c!==null&&An(c),yp(a),s.resolving=!1,GA()}}return r}function b8(n){if(typeof n=="string")return n.charCodeAt(0)||0;let t=n.hasOwnProperty(Su)?n[Su]:void 0;return typeof t=="number"?t>=0?t&XA:v8:t}function g1(n,t,e){let i=1<>JA)]&i)}function _1(n,t){return!(n&st.Self)&&!(n&st.Host&&t)}var Ja=class{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return nO(this._tNode,this._lView,t,$p(i),e)}};function v8(){return new Ja(Ni(),Le())}function Xe(n){return Pu(()=>{let t=n.prototype.constructor,e=t[up]||J0(t),i=Object.prototype,r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){let o=r[up]||J0(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function J0(n){return nA(n)?()=>{let t=J0(Wi(n));return t&&t()}:el(n)}function y8(n,t,e,i,r){let o=n,s=t;for(;o!==null&&s!==null&&s[We]&2048&&!(s[We]&512);){let a=rO(o,s,e,i|st.Self,vo);if(a!==vo)return a;let l=o.parent;if(!l){let c=s[IA];if(c){let d=c.get(e,vo,i);if(d!==vo)return d}l=oO(s),s=s[Lc]}o=l}return r}function oO(n){let t=n[Ze],e=t.type;return e===2?t.declTNode:e===1?n[Fn]:null}function dn(n){return g8(Ni(),n)}function b1(n,t=null,e=null,i){let r=sO(n,t,e,i);return r.resolveInjectorInitializers(),r}function sO(n,t=null,e=null,i,r=new Set){let o=[e||gn,S4(n)];return i=i||(typeof n=="object"?void 0:On(n)),new Iu(o,t||Wp(),i||null,r)}var Oe=class n{static{this.THROW_IF_NOT_FOUND=ku}static{this.NULL=new mp}static create(t,e){if(Array.isArray(t))return b1({name:""},e,t,"");{let i=t.name??"";return b1({name:i},t.parent,t.providers,i)}}static{this.\u0275prov=T({token:n,providedIn:"any",factory:()=>D(hA)})}static{this.__NG_ELEMENT_ID__=-1}};var w8=new I("");w8.__NG_ELEMENT_ID__=n=>{let t=Ni();if(t===null)throw new ee(204,!1);if(t.type&2)return t.value;if(n&st.Optional)return null;throw new ee(204,!1)};var C8="ngOriginalError";function M0(n){return n[C8]}var aO=!0,Lu=(()=>{class n{static{this.__NG_ELEMENT_ID__=D8}static{this.__NG_ENV_ID__=e=>e}}return n})(),ew=class extends Lu{constructor(t){super(),this._lView=t}onDestroy(t){return LA(this._lView,t),()=>W4(this._lView,t)}};function D8(){return new ew(Le())}var fl=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ee(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=T({token:n,providedIn:"root",factory:()=>new n})}}return n})();var tw=class extends k{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,EA()&&(this.destroyRef=C(Lu,{optional:!0})??void 0,this.pendingTasks=C(fl,{optional:!0})??void 0)}emit(t){let e=ot(null);try{super.next(t)}finally{ot(e)}}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&typeof t=="object"){let l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return t instanceof pe&&t.add(a),a}wrapInTimeout(t){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{t(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},P=tw;function Cp(...n){}function lO(n){let t,e;function i(){n=Cp;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{n(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{n(),i()})),()=>i()}function v1(n){return queueMicrotask(()=>n()),()=>{n=Cp}}var _C="isAngularZone",Dp=_C+"_ID",x8=0,X=class n{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new P(!1),this.onMicrotaskEmpty=new P(!1),this.onStable=new P(!1),this.onError=new P(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=aO}=t;if(typeof Zone>"u")throw new ee(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)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,E8(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(_C)===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new ee(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new ee(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,S8,Cp,Cp);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}},S8={};function bC(n){if(n._nesting==0&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function k8(n){if(n.isCheckStableRunning||n.callbackScheduled)return;n.callbackScheduled=!0;function t(){lO(()=>{n.callbackScheduled=!1,iw(n),n.isCheckStableRunning=!0,bC(n),n.isCheckStableRunning=!1})}n.scheduleInRootZone?Zone.root.run(()=>{t()}):n._outer.run(()=>{t()}),iw(n)}function E8(n){let t=()=>{k8(n)},e=x8++;n._inner=n._inner.fork({name:"angular",properties:{[_C]:!0,[Dp]:e,[Dp+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(I8(l))return i.invokeTask(o,s,a,l);try{return y1(n),i.invokeTask(o,s,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&t(),w1(n)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return y1(n),i.invoke(o,s,a,l,c)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!M8(l)&&t(),w1(n)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(n._hasPendingMicrotasks=s.microTask,iw(n),bC(n)):s.change=="macroTask"&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}function iw(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function y1(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function w1(n){n._nesting--,bC(n)}var xp=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new P,this.onMicrotaskEmpty=new P,this.onStable=new P,this.onError=new P}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}};function I8(n){return cO(n,"__ignore_ng_zone__")}function M8(n){return cO(n,"__scheduler_tick__")}function cO(n,t){return!Array.isArray(n)||n.length!==1?!1:n[0]?.data?.[t]===!0}var _n=class{constructor(){this._console=console}handleError(t){let e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&M0(t);for(;e&&M0(e);)e=M0(e);return e||null}},T8=new I("",{providedIn:"root",factory:()=>{let n=C(X),t=C(_n);return e=>n.runOutsideAngular(()=>t.handleError(e))}}),Sp=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=C(_n,{optional:!0}),this.destroyRef=C(Lu),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new ee(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let e=this.listeners?.indexOf(t);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(t){if(this.destroyed)throw new ee(953,!1);if(this.listeners===null)return;let e=ot(null);try{for(let i of this.listeners)try{i(t)}catch(r){this.errorHandler?.handleError(r)}}finally{ot(e)}}};function ml(n){return new Sp}function C1(n,t){return tA(n,t)}function A8(n){return tA(jp,n)}var Ve=(C1.required=A8,C1);function O8(){return jc(Ni(),Le())}function jc(n,t){return new H(wr(n,t))}var H=(()=>{class n{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=O8}}return n})();function dO(n){return n instanceof H?n.nativeElement:n}function R8(){return this._results[Symbol.iterator]()}var vr=class n{get changes(){return this._changes??=new P}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=n.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=R8)}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,e){return this._results.reduce(t,e)}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,e){this.dirty=!1;let i=o4(t);(this._changesDetected=!r4(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function uO(n){return(n.flags&128)===128}var hO=new Map,P8=0;function F8(){return P8++}function N8(n){hO.set(n[Yp],n)}function nw(n){hO.delete(n[Yp])}var D1="__ngContext__";function Qs(n,t){Ys(t)?(n[D1]=t[Yp],N8(t)):n[D1]=t}function fO(n){return pO(n[Mu])}function mO(n){return pO(n[Hr])}function pO(n){for(;n!==null&&!as(n);)n=n[Hr];return n}var rw;function gO(n){rw=n}function _O(){if(rw!==void 0)return rw;if(typeof document<"u")return document;throw new ee(210,!1)}var Vu=new I("",{providedIn:"root",factory:()=>L8}),L8="ng",vC=new I(""),Io=new I("",{providedIn:"platform",factory:()=>"unknown"});var Dt=new I(""),ju=new I("",{providedIn:"root",factory:()=>_O().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var V8="h",j8="b";var B8=()=>null;function yC(n,t,e=!1){return B8(n,t,e)}var bO=!1,$8=new I("",{providedIn:"root",factory:()=>bO});var Xm;function z8(){if(Xm===void 0&&(Xm=null,ts.trustedTypes))try{Xm=ts.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Xm}function ig(n){return z8()?.createHTML(n)||n}var Jm;function vO(){if(Jm===void 0&&(Jm=null,ts.trustedTypes))try{Jm=ts.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Jm}function x1(n){return vO()?.createHTML(n)||n}function S1(n){return vO()?.createScriptURL(n)||n}var ss=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${J1})`}},ow=class extends ss{getTypeName(){return"HTML"}},sw=class extends ss{getTypeName(){return"Style"}},aw=class extends ss{getTypeName(){return"Script"}},lw=class extends ss{getTypeName(){return"URL"}},cw=class extends ss{getTypeName(){return"ResourceURL"}};function Cr(n){return n instanceof ss?n.changingThisBreaksApplicationSecurity:n}function ls(n,t){let e=H8(n);if(e!=null&&e!==t){if(e==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${J1})`)}return e===t}function H8(n){return n instanceof ss&&n.getTypeName()||null}function yO(n){return new ow(n)}function wO(n){return new sw(n)}function CO(n){return new aw(n)}function DO(n){return new lw(n)}function xO(n){return new cw(n)}function U8(n){let t=new uw(n);return W8()?new dw(t):t}var dw=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=" "+t;try{let e=new window.DOMParser().parseFromString(ig(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},uw=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=ig(t),e}};function W8(){try{return!!new window.DOMParser().parseFromString(ig(""),"text/html")}catch{return!1}}var Y8=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ng(n){return n=String(n),n.match(Y8)?n:"unsafe:"+n}function cs(n){let t={};for(let e of n.split(","))t[e]=!0;return t}function Bu(...n){let t={};for(let e of n)for(let i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}var SO=cs("area,br,col,hr,img,wbr"),kO=cs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),EO=cs("rp,rt"),q8=Bu(EO,kO),G8=Bu(kO,cs("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")),Q8=Bu(EO,cs("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")),k1=Bu(SO,G8,Q8,q8),IO=cs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),K8=cs("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"),Z8=cs("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"),X8=Bu(IO,K8,Z8),J8=cs("script,style,template"),hw=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=i5(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=t5(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=E1(t).toLowerCase();if(!k1.hasOwnProperty(e))return this.sanitizedSomething=!0,!J8.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=t.attributes;for(let r=0;r"),!0}endElement(t){let e=E1(t).toLowerCase();k1.hasOwnProperty(e)&&!SO.hasOwnProperty(e)&&(this.buf.push(""),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(I1(t))}};function e5(n,t){return(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function t5(n){let t=n.nextSibling;if(t&&n!==t.previousSibling)throw MO(t);return t}function i5(n){let t=n.firstChild;if(t&&e5(n,t))throw MO(t);return t}function E1(n){let t=n.nodeName;return typeof t=="string"?t:"FORM"}function MO(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}var n5=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r5=/([^\#-~ |!])/g;function I1(n){return n.replace(/&/g,"&").replace(n5,function(t){let e=t.charCodeAt(0),i=t.charCodeAt(1);return""+((e-55296)*1024+(i-56320)+65536)+";"}).replace(r5,function(t){return""+t.charCodeAt(0)+";"}).replace(//g,">")}var ep;function wC(n,t){let e=null;try{ep=ep||U8(n);let i=t?String(t):"";e=ep.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=ep.getInertBodyElement(i)}while(i!==o);let a=new hw().sanitizeChildren(M1(e)||e);return ig(a)}finally{if(e){let i=M1(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function M1(n){return"content"in n&&o5(n)?n.content:null}function o5(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}var pi=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(pi||{});function rg(n){let t=DC();return t?x1(t.sanitize(pi.HTML,n)||""):ls(n,"HTML")?x1(Cr(n)):wC(_O(),yo(n))}function og(n){let t=DC();return t?t.sanitize(pi.URL,n)||"":ls(n,"URL")?Cr(n):ng(yo(n))}function s5(n){let t=DC();if(t)return S1(t.sanitize(pi.RESOURCE_URL,n)||"");if(ls(n,"ResourceURL"))return S1(Cr(n));throw new ee(904,!1)}function a5(n,t){return t==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||t==="href"&&(n==="base"||n==="link")?s5:og}function CC(n,t,e){return a5(t,e)(n)}function DC(){let n=Le();return n&&n[Co].sanitizer}var l5=/^>|^->||--!>|)/g,d5="\u200B$1\u200B";function u5(n){return n.replace(l5,t=>t.replace(c5,d5))}function i0e(n){return n.ownerDocument}function TO(n){return n instanceof Function?n():n}function AO(n){return(n??C(Oe)).get(Io)==="browser"}var xo=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(xo||{}),h5;function xC(n,t){return h5(n,t)}function kc(n,t,e,i,r){if(i!=null){let o,s=!1;as(i)?o=i:Ys(i)&&(s=!0,i=i[ko]);let a=Do(i);n===0&&e!==null?r==null?NO(t,e,a):kp(t,e,a,r||null,!0):n===1&&e!==null?kp(t,e,a,r||null,!0):n===2?k5(t,a,s):n===3&&t.destroyNode(a),o!=null&&I5(t,n,o,e,r)}}function f5(n,t){return n.createText(t)}function m5(n,t,e){n.setValue(t,e)}function p5(n,t){return n.createComment(u5(t))}function OO(n,t,e){return n.createElement(t,e)}function g5(n,t){RO(n,t),t[ko]=null,t[Fn]=null}function _5(n,t,e,i,r,o){i[ko]=r,i[Fn]=t,lg(n,i,e,1,r,o)}function RO(n,t){t[Co].changeDetectionScheduler?.notify(9),lg(n,t,t[ii],2,null,null)}function b5(n){let t=n[Mu];if(!t)return T0(n[Ze],n);for(;t;){let e=null;if(Ys(t))e=t[Mu];else{let i=t[ln];i&&(e=i)}if(!e){for(;t&&!t[Hr]&&t!==n;)Ys(t)&&T0(t[Ze],t),t=t[cn];t===null&&(t=n),Ys(t)&&T0(t[Ze],t),e=t&&t[Hr]}t=e}}function v5(n,t,e,i){let r=ln+i,o=e.length;i>0&&(e[r-1][Hr]=t),i0&&(n[e-1][Hr]=i[Hr]);let o=fp(n,ln+t);g5(i[Ze],i);let s=o[rs];s!==null&&s.detachView(o[Ze]),i[cn]=null,i[Hr]=null,i[We]&=-129}return i}function sg(n,t){if(!(t[We]&256)){let e=t[ii];e.destroyNode&&lg(n,t,e,3,null,null),b5(t)}}function T0(n,t){if(t[We]&256)return;let e=ot(null);try{t[We]&=-129,t[We]|=256,t[br]&&bm(t[br]),w5(n,t),y5(n,t),t[Ze].type===1&&t[ii].destroy();let i=t[tl];if(i!==null&&as(t[cn])){i!==t[cn]&&SC(i,t);let r=t[rs];r!==null&&r.detachView(n)}nw(t)}finally{ot(e)}}function y5(n,t){let e=n.cleanup,i=t[pp];if(e!==null)for(let o=0;o=0?i[s]():i[-s].unsubscribe(),o+=2}else{let s=i[e[o+1]];e[o].call(s)}i!==null&&(t[pp]=null);let r=t[Ws];if(r!==null){t[Ws]=null;for(let o=0;o-1){let{encapsulation:o}=n.data[i.directiveStart+r];if(o===wo.None||o===wo.Emulated)return null}return wr(i,e)}}function kp(n,t,e,i,r){n.insertBefore(t,e,i,r)}function NO(n,t,e){n.appendChild(t,e)}function T1(n,t,e,i,r){i!==null?kp(n,t,e,i,r):NO(n,t,e)}function LO(n,t){return n.parentNode(t)}function D5(n,t){return n.nextSibling(t)}function VO(n,t,e){return S5(n,t,e)}function x5(n,t,e){return n.type&40?wr(n,e):null}var S5=x5,A1;function ag(n,t,e,i){let r=FO(n,i,t),o=t[ii],s=i.parent||t[Fn],a=VO(s,i,t);if(r!=null)if(Array.isArray(e))for(let l=0;lFi&&HO(n,t,Fi,!1),bo(s?2:0,r),e(i,r)}finally{rl(o),bo(s?3:1,r)}}function EC(n,t,e){if(sC(t)){let i=ot(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let s=r;snull;function L5(n,t,e,i){let r=XO(t);r.push(e),n.firstCreatePass&&JO(n).push(i,r.length-1)}function V5(n,t,e,i,r,o){let s=t?t.injectorIndex:-1,a=0;return BA()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,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 O1(n,t,e,i,r){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;i??={};let a,l=qs.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}n===0?R1(i,e,c,a,l):R1(i,e,c,a)}return i}function R1(n,t,e,i,r){let o;n.hasOwnProperty(e)?(o=n[e]).push(t,i):o=n[e]=[t,i],r!==void 0&&o.push(r)}function j5(n,t,e){let i=t.directiveStart,r=t.directiveEnd,o=n.data,s=t.attrs,a=[],l=null,c=null;for(let d=i;d0;){let e=n[--t];if(typeof e=="number"&&e<0)return e}return 0}function U5(n,t,e,i){let r=e.directiveStart,o=e.directiveEnd;qp(e)&&Z5(t,e,n.data[r+e.componentOffset]),n.firstCreatePass||wp(e,t),Qs(i,t);let s=e.initialInputs;for(let a=r;a{Kp(n.lView)},consumerOnSignalRead(){this.lView[br]=this}});function dW(n){let t=n[br]??Object.create(uW);return t.lView=n,t}var uW=Pe(E({},fc),{consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let t=nl(n.lView);for(;t&&!oR(t[Ze]);)t=nl(t);t&&NA(t)},consumerOnSignalRead(){this.lView[br]=this}});function oR(n){return n.type!==2}var hW=100;function sR(n,t=!0,e=0){let i=n[Co],r=i.rendererFactory,o=!1;o||r.begin?.();try{fW(n,e)}catch(s){throw t&&tR(n,s),s}finally{o||(r.end?.(),i.inlineEffectRunner?.flush())}}function fW(n,t){let e=zA();try{m1(!0),gw(n,t);let i=0;for(;Qp(n);){if(i===hW)throw new ee(103,!1);i++,gw(n,1)}}finally{m1(e)}}function mW(n,t,e,i){let r=t[We];if((r&256)===256)return;let o=!1,s=!1;!o&&t[Co].inlineEffectRunner?.flush(),mC(t);let a=!0,l=null,c=null;o||(oR(n)?(c=sW(t),l=_u(c)):uT()===null?(a=!1,c=dW(t),l=_u(c)):t[br]&&(bm(t[br]),t[br]=null));try{FA(t),J4(n.bindingStartIndex),e!==null&&YO(n,t,e,2,i);let d=(r&3)===3;if(!o)if(d){let f=n.preOrderCheckHooks;f!==null&&sp(t,f,null)}else{let f=n.preOrderHooks;f!==null&&ap(t,f,0,null),k0(t,0)}if(s||pW(t),aR(t,0),n.contentQueries!==null&&ZO(n,t),!o)if(d){let f=n.contentCheckHooks;f!==null&&sp(t,f)}else{let f=n.contentHooks;f!==null&&ap(t,f,1),k0(t,1)}A5(n,t);let u=n.components;u!==null&&cR(t,u,0);let h=n.viewQuery;if(h!==null&&pw(2,h,i),!o)if(d){let f=n.viewCheckHooks;f!==null&&sp(t,f)}else{let f=n.viewHooks;f!==null&&ap(t,f,2),k0(t,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),t[op]){for(let f of t[op])f();t[op]=null}o||(t[We]&=-73)}catch(d){throw o||Kp(t),d}finally{c!==null&&(gm(c,l),a&&lW(c)),pC()}}function aR(n,t){for(let e=fO(n);e!==null;e=mO(e))for(let i=ln;i-1&&(Tu(t,i),fp(e,i))}this._attachedToViewContainer=!1}sg(this._lView[Ze],this._lView)}onDestroy(t){LA(this._lView,t)}markForCheck(){FC(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[We]&=-129}reattach(){G0(this._lView),this._lView[We]|=128}detectChanges(){this._lView[We]|=1024,sR(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Y0(this._lView),e=this._lView[tl];e!==null&&!t&&SC(e,this._lView),RO(this._lView[Ze],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ee(902,!1);this._appRef=t;let e=Y0(this._lView),i=this._lView[tl];i!==null&&!e&&PO(i,this._lView),G0(this._lView)}},ct=(()=>{class n{static{this.__NG_ELEMENT_ID__=vW}}return n})(),_W=ct,bW=class extends _W{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,i){let r=$u(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:i});return new al(r)}};function vW(){return hg(Ni(),Le())}function hg(n,t){return n.type&4?new bW(t,n,jc(n,t)):null}var r0e=new RegExp(`^(\\d+)*(${j8}|${V8})*(.*)`);var yW=()=>null;function Fc(n,t){return yW(n,t)}var ll=class{},fg=new I("",{providedIn:"root",factory:()=>!1});var dR=new I(""),NC=new I(""),_w=class{},Ip=class{};function wW(n){let t=Error(`No component factory found for ${On(n)}.`);return t[CW]=n,t}var CW="ngComponent";var bw=class{resolveComponentFactory(t){throw wW(t)}},Rn=class{static{this.NULL=new bw}},Ks=class{},vn=(()=>{class n{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>DW()}}return n})();function DW(){let n=Le(),t=Ni(),e=Xs(t.index,n);return(Ys(e)?e:n)[ii]}var xW=(()=>{class n{static{this.\u0275prov=T({token:n,providedIn:"root",factory:()=>null})}}return n})();function Mp(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(t!==null)for(let s=0;s0&&$O(n,e,o.join(" "))}}function AW(n,t,e){let i=n.projection=[];for(let r=0;r{class n{static{this.__NG_ELEMENT_ID__=RW}}return n})();function RW(){let n=Ni();return hR(n,Le())}var PW=ht,uR=class extends PW{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return jc(this._hostTNode,this._hostLView)}get injector(){return new Ja(this._hostTNode,this._hostLView)}get parentInjector(){let t=gC(this._hostTNode,this._hostLView);if(ZA(t)){let e=vp(t,this._hostLView),i=bp(t),r=e[Ze].data[i+8];return new Ja(r,e)}else return new Ja(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let e=F1(this._lContainer);return e!==null&&e[t]||null}get length(){return this._lContainer.length-ln}createEmbeddedView(t,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=Fc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Pc(this._hostTNode,s)),a}createComponent(t,e,i,r,o){let s=t&&!N4(t),a;if(s)a=e;else{let m=e||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let l=s?t:new cl(ns(t)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let g=(s?c:this.parentInjector).get(Pi,null);g&&(o=g)}let d=ns(l.componentType??{}),u=Fc(this._lContainer,d?.id??null),h=u?.firstChild??null,f=l.create(c,r,h,o);return this.insertImpl(f.hostView,a,Pc(this._hostTNode,u)),f}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,i){let r=t._lView;if(H4(r)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let l=r[cn],c=new uR(l,l[Fn],l[cn]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(e),s=this._lContainer;return zu(s,r,o,i),t.attachToViewContainerRef(),uA(A0(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){let e=F1(this._lContainer);return e!==null?e.indexOf(t):-1}remove(t){let e=this._adjustIndex(t,-1),i=Tu(this._lContainer,e);i&&(fp(A0(this._lContainer),e),sg(i[Ze],i))}detach(t){let e=this._adjustIndex(t,-1),i=Tu(this._lContainer,e);return i&&fp(A0(this._lContainer),e)!=null?new al(i):null}_adjustIndex(t,e=0){return t??this.length+e}};function F1(n){return n[gp]}function A0(n){return n[gp]||(n[gp]=[])}function hR(n,t){let e,i=t[n.index];return as(i)?e=i:(e=KO(i,t,null,n),t[n.index]=e,ug(t,e)),NW(e,t,n,i),new uR(e,n,t)}function FW(n,t){let e=n[ii],i=e.createComment(""),r=wr(t,n),o=LO(e,r);return kp(e,o,i,D5(e,r),!1),i}var NW=jW,LW=()=>!1;function VW(n,t,e){return LW(n,t,e)}function jW(n,t,e,i){if(n[il])return;let r;e.type&8?r=Do(i):r=FW(t,e),n[il]=r}var yw=class n{constructor(t){this.queryList=t,this.matches=null}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},ww=class n{constructor(t=[]){this.queries=t}createEmbeddedView(t){let e=t.queries;if(e!==null){let i=t.contentQueries!==null?t.contentQueries[0]:e.length,r=[];for(let o=0;o0)i.push(s[a/2]);else{let c=o[a+1],d=t[-l];for(let u=ln;ut.trim())}function _R(n,t,e){n.queries===null&&(n.queries=new Cw),n.queries.track(new Dw(t,e))}function WW(n,t){let e=n.contentQueries||(n.contentQueries=[]),i=e.length?e[e.length-1]:-1;t!==i&&e.push(n.queries.length-1,t)}function VC(n,t){return n.queries.getByIndex(t)}function bR(n,t){let e=n[Ze],i=VC(e,t);return i.crossesNgTemplate?xw(e,n,t,[]):fR(e,n,i,t)}var N1=new Set;function Wr(n){N1.has(n)||(N1.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}function mg(n){return typeof n=="function"&&n[Tn]!==void 0}function di(n,t){Wr("NgSignals");let e=CT(n),i=e[Tn];return t?.equal&&(i.equal=t.equal),e.set=r=>bu(i,r),e.update=r=>DT(i,r),e.asReadonly=vR.bind(e),e}function vR(){let n=this[Tn];if(n.readonlyFn===void 0){let t=()=>this();t[Tn]=n,n.readonlyFn=t}return n.readonlyFn}function yR(n){return mg(n)&&typeof n.set=="function"}function jC(n,t){let e,i=r0(()=>{e._dirtyCounter();let r=qW(e,n);if(t&&r===void 0)throw new ee(-951,!1);return r});return e=i[Tn],e._dirtyCounter=di(0),e._flatValue=void 0,i}function wR(){return jC(!0,!1)}function CR(){return jC(!0,!0)}function YW(){return jC(!1,!1)}function DR(n,t){let e=n[Tn];e._lView=Le(),e._queryIndex=t,e._queryList=LC(e._lView,t),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function qW(n,t){let e=n._lView,i=n._queryIndex;if(e===void 0||i===void 0||e[We]&4)return t?void 0:gn;let r=LC(e,i),o=bR(e,i);return r.reset(o,dO),t?r.first:r._changesDetected||n._flatValue===void 0?n._flatValue=r.toArray():n._flatValue}function L1(n,t){return wR()}function GW(n,t){return CR()}var pg=(L1.required=GW,L1);function V1(n,t){return wR()}function QW(n,t){return CR()}var xR=(V1.required=QW,V1);function SR(n,t){return YW()}function kR(n){let t=Object.create(eA),e=new Sp;t.value=n;function i(){return gu(t),j1(t.value),t.value}return i[Tn]=t,i.asReadonly=vR.bind(i),i.set=r=>{t.equal(t.value,r)||(bu(t,r),e.emit(r))},i.update=r=>{j1(t.value),i.set(r(t.value))},i.subscribe=e.subscribe.bind(e),i.destroyRef=e.destroyRef,i}function j1(n){if(n===jp)throw new ee(952,!1)}function B1(n){return kR(n)}function KW(){return kR(jp)}var ER=(B1.required=KW,B1);function ZW(n){return Object.getPrototypeOf(n.prototype).constructor}function ne(n){let t=ZW(n.type),e=!0,i=[n];for(;t;){let r;if(os(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ee(903,!1);r=t.\u0275dir}if(r){if(e){i.push(r);let s=n;s.inputs=tp(n.inputs),s.inputTransforms=tp(n.inputTransforms),s.declaredInputs=tp(n.declaredInputs),s.outputs=tp(n.outputs);let a=r.hostBindings;a&&iY(n,a);let l=r.viewQuery,c=r.contentQueries;if(l&&eY(n,l),c&&tY(n,c),XW(n,r),j3(n.outputs,r.outputs),os(r)&&r.data.animation){let d=n.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s=0;i--){let r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Eu(r.hostAttrs,e=Eu(e,r.hostAttrs))}}function tp(n){return n===is?{}:n===gn?[]:n}function eY(n,t){let e=n.viewQuery;e?n.viewQuery=(i,r)=>{t(i,r),e(i,r)}:n.viewQuery=t}function tY(n,t){let e=n.contentQueries;e?n.contentQueries=(i,r,o)=>{t(i,r,o),e(i,r,o)}:n.contentQueries=t}function iY(n,t){let e=n.hostBindings;e?n.hostBindings=(i,r)=>{t(i,r),e(i,r)}:n.hostBindings=t}function IR(n){let t=e=>{let i=Array.isArray(n);e.hostDirectives===null?(e.findHostDirectiveDefs=MR,e.hostDirectives=i?n.map(Sw):[n]):i?e.hostDirectives.unshift(...n.map(Sw)):e.hostDirectives.unshift(n)};return t.ngInherit=!0,t}function MR(n,t,e){if(n.hostDirectives!==null)for(let i of n.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)$1(Sw(o),t,e)}else $1(i,t,e)}function $1(n,t,e){let i=iC(n.directive);nY(i.declaredInputs,n.inputs),MR(i,t,e),e.set(i,n),t.push(i)}function Sw(n){return typeof n=="function"?{directive:Wi(n),inputs:is,outputs:is}:{directive:Wi(n.directive),inputs:z1(n.inputs),outputs:z1(n.outputs)}}function z1(n){if(n===void 0||n.length===0)return is;let t={};for(let e=0;ee()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ew=class extends Au{constructor(t){super(),this.moduleType=t}create(t){return new kw(this.moduleType,t,[])}};var Op=class extends Zs{constructor(t){super(),this.componentFactoryResolver=new Tp(this),this.instance=null;let e=new Iu([...t.providers,{provide:Zs,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver}],t.parent||Wp(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function gg(n,t,e=null){return new Op({providers:n,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector}function TR(n){return BC(n)?Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n:!1}function rY(n,t){if(Array.isArray(n))for(let e=0;e{class n{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=T({token:n,providedIn:"root",factory:()=>new n})}}return n})(),Iw=class n{constructor(){this.ngZone=C(X),this.scheduler=C(ll),this.errorHandler=C(_n,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Us.EarlyRead,Us.Write,Us.MixedReadWrite,Us.Read]}execute(){this.executing=!0;for(let t of n.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[t]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[t](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=T({token:n,providedIn:"root",factory:()=>new n})}},Mw=class{constructor(t,e,i,r){this.impl=t,this.hooks=e,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Uu(n,t){!t?.injector&&rC(Uu);let e=t?.injector??C(Oe);return AO(e)?(Wr("NgAfterRender"),RR(n,e,t,!1)):PR}function jt(n,t){!t?.injector&&rC(jt);let e=t?.injector??C(Oe);return AO(e)?(Wr("NgAfterNextRender"),RR(n,e,t,!0)):PR}function uY(n,t){if(n instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[t]=n,e}else return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}function RR(n,t,e,i){let r=t.get(OR);r.impl??=t.get(Iw);let o=e?.phase??Us.MixedReadWrite,s=e?.manualCleanup!==!0?t.get(Lu):null,a=new Mw(r.impl,uY(n,o),i,s);return r.impl.register(a),a}var PR={destroy(){}};function re(n,t,e,i){let r=Le(),o=Js();if(Pn(r,o,t)){let s=Kt(),a=Nu();X5(a,r,n,t,e,i)}return re}function FR(n,t,e,i){return Pn(n,Js(),e)?t+yo(e)+i:bn}function hY(n,t,e,i,r,o){let s=HA(),a=Ou(n,s,e,r);return Zp(2),a?t+yo(e)+i+yo(r)+o:bn}function fY(n,t,e,i,r,o,s,a){let l=HA(),c=AR(n,l,e,r,s);return Zp(3),c?t+yo(e)+i+yo(r)+o+yo(s)+a:bn}function ip(n,t){return n<<17|t<<2}function dl(n){return n>>17&32767}function mY(n){return(n&2)==2}function pY(n,t){return n&131071|t<<17}function Tw(n){return n|2}function Nc(n){return(n&131068)>>2}function O0(n,t){return n&-131069|t<<2}function gY(n){return(n&1)===1}function Aw(n){return n|1}function _Y(n,t,e,i,r,o){let s=o?t.classBindings:t.styleBindings,a=dl(s),l=Nc(s);n[i]=e;let c=!1,d;if(Array.isArray(e)){let u=e;d=u[1],(d===null||Fu(u,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let h=dl(n[a+1]);n[i+1]=ip(h,a),h!==0&&(n[h+1]=O0(n[h+1],i)),n[a+1]=pY(n[a+1],i)}else n[i+1]=ip(a,0),a!==0&&(n[a+1]=O0(n[a+1],i)),a=i;else n[i+1]=ip(l,0),a===0?a=i:n[l+1]=O0(n[l+1],i),l=i;c&&(n[i+1]=Tw(n[i+1])),H1(n,d,i,!0),H1(n,d,i,!1),bY(t,d,n,i,o),s=ip(a,l),o?t.classBindings=s:t.styleBindings=s}function bY(n,t,e,i,r){let o=r?n.residualClasses:n.residualStyles;o!=null&&typeof t=="string"&&Fu(o,t)>=0&&(e[i+1]=Aw(e[i+1]))}function H1(n,t,e,i){let r=n[e+1],o=t===null,s=i?dl(r):Nc(r),a=!1;for(;s!==0&&(a===!1||o);){let l=n[s],c=n[s+1];vY(l,t)&&(a=!0,n[s+1]=i?Aw(c):Tw(c)),s=i?dl(c):Nc(c)}a&&(n[e+1]=i?Tw(r):Aw(r))}function vY(n,t){return n===null||t==null||(Array.isArray(n)?n[1]:n)===t?!0:Array.isArray(n)&&typeof t=="string"?Fu(n,t)>=0:!1}var zr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function yY(n){return n.substring(zr.key,zr.keyEnd)}function wY(n){return CY(n),NR(n,LR(n,0,zr.textEnd))}function NR(n,t){let e=zr.textEnd;return e===t?-1:(t=zr.keyEnd=DY(n,zr.key=t,e),LR(n,t,e))}function CY(n){zr.key=0,zr.keyEnd=0,zr.value=0,zr.valueEnd=0,zr.textEnd=n.length}function LR(n,t,e){for(;t32;)t++;return t}function q(n,t,e){let i=Le(),r=Js();if(Pn(i,r,t)){let o=Kt(),s=Nu();dg(o,s,i,n,t,i[ii],e,!1)}return q}function Ow(n,t,e,i,r){let o=t.inputs,s=r?"class":"style";OC(n,e,o[s],s,i)}function wt(n,t,e){return jR(n,t,e,!1),wt}function Q(n,t){return jR(n,t,null,!0),Q}function ui(n){BR(MY,VR,n,!0)}function VR(n,t){for(let e=wY(t);e>=0;e=NR(t,e))zp(n,yY(t),!0)}function jR(n,t,e,i){let r=Le(),o=Kt(),s=Zp(2);if(o.firstUpdatePass&&zR(o,n,s,i),t!==bn&&Pn(r,s,t)){let a=o.data[Eo()];HR(o,a,r,r[ii],n,r[s+1]=AY(t,e),i,s)}}function BR(n,t,e,i){let r=Kt(),o=Zp(2);r.firstUpdatePass&&zR(r,null,o,i);let s=Le();if(e!==bn&&Pn(s,o,e)){let a=r.data[Eo()];if(UR(a,i)&&!$R(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=V0(l,e||"")),Ow(r,a,s,e,i)}else TY(r,a,s,s[ii],s[o+1],s[o+1]=IY(n,t,e),i,o)}}function $R(n,t){return t>=n.expandoStartIndex}function zR(n,t,e,i){let r=n.data;if(r[e+1]===null){let o=r[Eo()],s=$R(n,e);UR(o,i)&&t===null&&!s&&(t=!1),t=xY(r,o,t,i),_Y(r,o,t,e,s,i)}}function xY(n,t,e,i){let r=hC(n),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(e=R0(null,n,t,e,i),e=Ru(e,t.attrs,i),o=null);else{let s=t.directiveStylingLast;if(s===-1||n[s]!==r)if(e=R0(r,n,t,e,i),o===null){let l=SY(n,t,i);l!==void 0&&Array.isArray(l)&&(l=R0(null,n,t,l[1],i),l=Ru(l,t.attrs,i),kY(n,t,i,l))}else o=EY(n,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),e}function SY(n,t,e){let i=e?t.classBindings:t.styleBindings;if(Nc(i)!==0)return n[dl(i)]}function kY(n,t,e,i){let r=e?t.classBindings:t.styleBindings;n[dl(r)]=i}function EY(n,t,e){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let l=n[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,h=e[r+1];h===bn&&(h=u?gn:void 0);let f=u?x0(h,i):d===i?h:void 0;if(c&&!Pp(f)&&(f=x0(l,i)),Pp(f)&&(a=f,s))return a;let m=n[r+1];r=s?dl(m):Nc(m)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=x0(l,i))}return a}function Pp(n){return n!==void 0}function AY(n,t){return n==null||n===""||(typeof t=="string"?n=n+t:typeof n=="object"&&(n=On(Cr(n)))),n}function UR(n,t){return(n.flags&(t?8:16))!==0}function WR(n,t,e){let i=Le(),r=FR(i,n,t,e);BR(zp,VR,r,!0)}var Rw=class{destroy(t){}updateValue(t,e){}swap(t,e){let i=Math.min(t,e),r=Math.max(t,e),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(t,e){this.attach(e,this.detach(t))}};function P0(n,t,e,i,r){return n===e&&Object.is(t,i)?1:Object.is(r(n,t),r(e,i))?-1:0}function OY(n,t,e){let i,r,o=0,s=n.length-1,a=void 0;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let c=n.at(o),d=t[o],u=P0(o,c,o,d,e);if(u!==0){u<0&&n.updateValue(o,d),o++;continue}let h=n.at(s),f=t[l],m=P0(s,h,l,f,e);if(m!==0){m<0&&n.updateValue(s,f),s--,l--;continue}let g=e(o,c),_=e(s,h),v=e(o,d);if(Object.is(v,_)){let x=e(l,f);Object.is(x,g)?(n.swap(o,s),n.updateValue(s,f),l--,s--):n.move(s,o),n.updateValue(o,d),o++;continue}if(i??=new Fp,r??=Y1(n,o,s,e),Pw(n,i,o,v))n.updateValue(o,d),o++,s++;else if(r.has(v))i.set(g,n.detach(o)),s--;else{let x=n.create(o,t[o]);n.attach(o,x),o++,s++}}for(;o<=l;)W1(n,i,e,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=n.at(o),u=c.value,h=P0(o,d,o,u,e);if(h!==0)h<0&&n.updateValue(o,u),o++,c=l.next();else{i??=new Fp,r??=Y1(n,o,s,e);let f=e(o,u);if(Pw(n,i,o,f))n.updateValue(o,u),o++,s++,c=l.next();else if(!r.has(f))n.attach(o,n.create(o,u)),o++,s++,c=l.next();else{let m=e(o,d);i.set(m,n.detach(o)),s--}}}for(;!c.done;)W1(n,i,e,n.length,c.value),c=l.next()}for(;o<=s;)n.destroy(n.detach(s--));i?.forEach(l=>{n.destroy(l)})}function Pw(n,t,e,i){return t!==void 0&&t.has(i)?(n.attach(e,t.get(i)),t.delete(i),!0):!1}function W1(n,t,e,i,r){if(Pw(n,t,i,e(i,r)))n.updateValue(i,r);else{let o=n.create(i,r);n.attach(i,o)}}function Y1(n,t,e,i){let r=new Set;for(let o=t;o<=e;o++)r.add(i(o,n.at(o)));return r}var Fp=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let i=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,i]of this.kvMap)if(t(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,e)}}};function Y(n,t){Wr("NgControlFlow");let e=Le(),i=Js(),r=e[i]!==bn?e[i]:-1,o=r!==-1?Np(e,Fi+r):void 0,s=0;if(Pn(e,i,n)){let a=ot(null);try{if(o!==void 0&&nR(o,s),n!==-1){let l=Fi+n,c=Np(e,l),d=Vw(e[Ze],l),u=Fc(c,d.tView.ssrId),h=$u(e,d,t,{dehydratedView:u});zu(c,h,s,Pc(d,u))}}finally{ot(a)}}else if(o!==void 0){let a=iR(o,s);a!==void 0&&(a[an]=t)}}var Fw=class{constructor(t,e,i){this.lContainer=t,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-ln}};function Kn(n,t){return t}var Nw=class{constructor(t,e,i){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=i}};function qi(n,t,e,i,r,o,s,a,l,c,d,u,h){Wr("NgControlFlow");let f=Le(),m=Kt(),g=l!==void 0,_=Le(),v=a?s.bind(_[Qn][an]):s,x=new Nw(g,v);_[Fi+n]=x,Rp(f,m,n+1,t,e,i,r,Gs(m.consts,o)),g&&Rp(f,m,n+2,l,c,d,u,Gs(m.consts,h))}var Lw=class extends Rw{constructor(t,e,i){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ln}at(t){return this.getLView(t)[an].$implicit}attach(t,e){let i=e[Ac];this.needsIndexUpdate||=t!==this.length,zu(this.lContainer,e,t,Pc(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,RY(this.lContainer,t)}create(t,e){let i=Fc(this.lContainer,this.templateTNode.tView.ssrId),r=$u(this.hostLView,this.templateTNode,new Fw(this.lContainer,e,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){sg(t[Ze],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[an].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(eg(!0),OO(i,r,s8()));function LY(n,t,e,i,r){let o=t.consts,s=Gs(o,i),a=Bc(t,n,8,"ng-container",s);s!==null&&Mp(a,s,!0);let l=Gs(o,r);return AC(t,e,a,l),t.queries!==null&&t.queries.elementStart(t,a),a}function _g(n,t,e){let i=Le(),r=Kt(),o=n+Fi,s=r.firstCreatePass?LY(o,r,i,t,e):r.data[o];ul(s,!0);let a=VY(r,i,s,n);return i[o]=a,Jp()&&ag(r,i,a,s),Qs(a,i),Gp(s)&&(IC(r,i,s),EC(r,s,i)),e!=null&&MC(i,s),_g}function bg(){let n=Ni(),t=Kt();return dC()?uC():(n=n.parent,ul(n,!1)),t.firstCreatePass&&(tg(t,n),sC(n)&&t.queries.elementEnd(n)),bg}function Qi(n,t,e){return _g(n,t,e),bg(),Qi}var VY=(n,t,e,i)=>(eg(!0),p5(t[ii],""));function ye(){return Le()}function Dr(n,t,e){let i=Le(),r=Js();if(Pn(i,r,t)){let o=Kt(),s=Nu();dg(o,s,i,n,t,i[ii],e,!0)}return Dr}function gl(n,t,e){let i=Le(),r=Js();if(Pn(i,r,t)){let o=Kt(),s=Nu(),a=hC(o.data),l=eR(a,s,i);dg(o,s,i,n,t,l,e,!0)}return gl}var Xa=void 0;function jY(n){let t=n,e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&i===0?1:5}var BY=["en",[["a","p"],["AM","PM"],Xa],[["AM","PM"],Xa,Xa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Xa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Xa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Xa,"{1} 'at' {0}",Xa],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",jY],F0={};function Zn(n){let t=$Y(n),e=q1(t);if(e)return e;let i=t.split("-")[0];if(e=q1(i),e)return e;if(i==="en")return BY;throw new ee(701,!1)}function q1(n){return n in F0||(F0[n]=ts.ng&&ts.ng.common&&ts.ng.common.locales&&ts.ng.common.locales[n]),F0[n]}var si=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData",n}(si||{});function $Y(n){return n.toLowerCase().replace(/_/g,"-")}var Lp="en-US";var zY=Lp;function HY(n){typeof n=="string"&&(zY=n.toLowerCase().replace(/_/g,"-"))}var UY=(n,t,e)=>{};function F(n,t,e,i){let r=Le(),o=Kt(),s=Ni();return $C(o,r,r[ii],s,n,t,i),F}function _l(n,t){let e=Ni(),i=Le(),r=Kt(),o=hC(r.data),s=eR(o,e,i);return $C(r,i,s,e,n,t),_l}function WY(n,t,e,i){let r=n.cleanup;if(r!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function $C(n,t,e,i,r,o,s){let a=Gp(i),c=n.firstCreatePass&&JO(n),d=t[an],u=XO(t),h=!0;if(i.type&3||s){let g=wr(i,t),_=s?s(g):g,v=u.length,x=s?V=>s(Do(V[i.index])):i.index,R=null;if(!s&&a&&(R=WY(n,t,r,i.index)),R!==null){let V=R.__ngLastListenerFn__||R;V.__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1}else{o=Q1(i,t,d,o),UY(g,r,o);let V=e.listen(_,r,o);u.push(o,V),c&&c.push(r,x,v,v+1)}}else o=Q1(i,t,d,o);let f=i.outputs,m;if(h&&f!==null&&(m=f[r])){let g=m.length;if(g)for(let _=0;_-1?Xs(n.index,t):t;FC(s,5);let a=G1(t,e,i,o),l=r.__ngNextListenerFn__;for(;l;)a=G1(t,e,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function S(n=1){return r8(n)}function YY(n,t){let e=null,i=p4(n);for(let r=0;r=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}function Zt(n){let t=X4();return lC(t,Fi+n)}function z(n,t=""){let e=Le(),i=Kt(),r=n+Fi,o=i.firstCreatePass?Bc(i,r,1,t,null):i.data[r],s=QY(i,e,o,t,n);e[r]=s,Jp()&&ag(i,e,s,o),ul(o,!1)}var QY=(n,t,e,i,r)=>(eg(!0),f5(t[ii],i));function ft(n){return qe("",n,""),ft}function qe(n,t,e){let i=Le(),r=FR(i,n,t,e);return r!==bn&&RC(i,Eo(),r),qe}function KY(n,t,e,i,r){let o=Le(),s=hY(o,n,t,e,i,r);return s!==bn&&RC(o,Eo(),s),KY}function ZY(n,t,e,i,r,o,s){let a=Le(),l=fY(a,n,t,e,i,r,o,s);return l!==bn&&RC(a,Eo(),l),ZY}function Wu(n,t,e){yR(t)&&(t=t());let i=Le(),r=Js();if(Pn(i,r,t)){let o=Kt(),s=Nu();dg(o,s,i,n,t,i[ii],e,!1)}return Wu}function wg(n,t){let e=yR(n);return e&&n.set(t),e}function Yu(n,t){let e=Le(),i=Kt(),r=Ni();return $C(i,e,e[ii],r,n,t),Yu}function XY(n,t,e){let i=Kt();if(i.firstCreatePass){let r=os(n);jw(e,i.data,i.blueprint,r,!0),jw(t,i.data,i.blueprint,r,!1)}}function jw(n,t,e,i,r){if(n=Wi(n),Array.isArray(n))for(let o=0;o>20;if(Tc(n)||!n.multi){let f=new ol(c,r,p),m=L0(l,t,r?d:d+h,u);m===-1?(X0(wp(a,s),o,l),N0(o,n,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(f),s.push(f)):(e[m]=f,s[m]=f)}else{let f=L0(l,t,d+h,u),m=L0(l,t,d,d+h),g=f>=0&&e[f],_=m>=0&&e[m];if(r&&!_||!r&&!g){X0(wp(a,s),o,l);let v=tq(r?eq:JY,e.length,r,i,c);!r&&_&&(e[m].providerFactory=v),N0(o,n,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(v),s.push(v)}else{let v=YR(e[r?m:f],c,!r&&i);N0(o,n,f>-1?f:m,v)}!r&&i&&_&&e[m].componentProviders++}}}function N0(n,t,e,i){let r=Tc(t),o=M4(t);if(r||o){let l=(o?Wi(t.useClass):t).prototype.ngOnDestroy;if(l){let c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function YR(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function L0(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>XY(i,r?r(n):n,t)}}var iq=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=DA(!1,e.type),r=i.length>0?gg([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=T({token:n,providedIn:"environment",factory:()=>new n(D(Pi))})}}return n})();function O(n){Wr("NgStandalone"),n.getStandaloneInjector=t=>t.get(iq).getOrCreateStandaloneInjector(n)}function qR(n,t,e){let i=hl()+n,r=Le();return r[i]===bn?Hu(r,i,e?t.call(e):t()):oY(r,i)}function GR(n,t,e,i){return KR(Le(),hl(),n,t,e,i)}function QR(n,t,e,i,r){return ZR(Le(),hl(),n,t,e,i,r)}function s0e(n,t,e,i,r,o){return nq(Le(),hl(),n,t,e,i,r,o)}function a0e(n,t,e,i,r,o,s){return rq(Le(),hl(),n,t,e,i,r,o,s)}function Cg(n,t){let e=n[t];return e===bn?void 0:e}function KR(n,t,e,i,r,o){let s=t+e;return Pn(n,s,r)?Hu(n,s+1,o?i.call(o,r):i(r)):Cg(n,s+1)}function ZR(n,t,e,i,r,o,s){let a=t+e;return Ou(n,a,r,o)?Hu(n,a+2,s?i.call(s,r,o):i(r,o)):Cg(n,a+2)}function nq(n,t,e,i,r,o,s,a){let l=t+e;return AR(n,l,r,o,s)?Hu(n,l+3,a?i.call(a,r,o,s):i(r,o,s)):Cg(n,l+3)}function rq(n,t,e,i,r,o,s,a,l){let c=t+e;return sY(n,c,r,o,s,a)?Hu(n,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):Cg(n,c+4)}function Wt(n,t){let e=Kt(),i,r=n+Fi;e.firstCreatePass?(i=oq(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=el(i.type,!0)),s,a=An(p);try{let l=yp(!1),c=o();return yp(l),GY(e,Le(),r,c),c}finally{An(a)}}function oq(n,t){if(t)for(let e=t.length-1;e>=0;e--){let i=t[e];if(n===i.name)return i}}function Xt(n,t,e){let i=n+Fi,r=Le(),o=lC(r,i);return JR(r,i)?KR(r,hl(),t,o.transform,e,o):o.transform(e)}function XR(n,t,e,i){let r=n+Fi,o=Le(),s=lC(o,r);return JR(o,r)?ZR(o,hl(),t,s.transform,e,i,s):s.transform(e,i)}function JR(n,t){return n[Ze].data[t].pure}function zC(n,t){return hg(n,t)}var Dg=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})();var eP=new I("");function ea(n){return!!n&&typeof n.then=="function"}function HC(n){return!!n&&typeof n.subscribe=="function"}var vl=new I(""),tP=(()=>{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=C(vl,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=r();if(ea(o))e.push(o);else if(HC(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),xg=new I("");function sq(){wT(()=>{throw new ee(600,!1)})}function aq(n){return n.isBoundToModule}var lq=10;function cq(n,t,e){try{let i=e();return ea(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}var Xn=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(T8),this.afterRenderManager=C(OR),this.zonelessEnabled=C(fg),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new k,this.afterTick=new k,this.componentTypes=[],this.components=[],this.isStable=C(fl).hasPendingTasks.pipe(fe(e=>!e)),this._injector=C(Pi)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let r=e instanceof Ip;if(!this._injector.get(tP).done){let h=!r&&vA(e),f=!1;throw new ee(405,f)}let s;r?s=e:s=this._injector.get(Rn).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=aq(s)?void 0:this._injector.get(Zs),l=i||s.selector,c=s.create(Oe.NULL,[],l,a),d=c.location.nativeElement,u=c.injector.get(eP,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),cp(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new ee(101,!1);let e=ot(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ot(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(Ks,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++Qp(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;cp(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(xg,[]);[...this._bootstrapListeners,...i].forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>cp(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ee(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function cp(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function dq(n,t,e,i){if(!e&&!Qp(n))return;sR(n,t,e&&!i?0:1)}var $w=class{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}},Sg=(()=>{class n{compileModuleSync(e){return new Ew(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=yA(e),o=TO(r.declarations).reduce((s,a)=>{let l=ns(a);return l&&s.push(new cl(l)),s},[]);return new $w(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var uq=(()=>{class n{constructor(){this.zone=C(X),this.changeDetectionScheduler=C(ll),this.applicationRef=C(Xn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function hq({ngZoneFactory:n,ignoreChangesOutsideZone:t,scheduleInRootZone:e}){return n??=()=>new X(Pe(E({},fq()),{scheduleInRootZone:e})),[{provide:X,useFactory:n},{provide:Mc,multi:!0,useFactory:()=>{let i=C(uq,{optional:!0});return()=>i.initialize()}},{provide:Mc,multi:!0,useFactory:()=>{let i=C(mq);return()=>{i.initialize()}}},t===!0?{provide:dR,useValue:!0}:[],{provide:NC,useValue:e??aO}]}function fq(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}var mq=(()=>{class n{constructor(){this.subscription=new pe,this.initialized=!1,this.zone=C(X),this.pendingTasks=C(fl)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var iP=(()=>{class n{constructor(){this.appRef=C(Xn),this.taskService=C(fl),this.ngZone=C(X),this.zonelessEnabled=C(fg),this.disableScheduling=C(dR,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new pe,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Dp):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(NC,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 xp||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?v1:lO;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Dp+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,v1(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function pq(){return Wr("NgZoneless"),Hp([{provide:ll,useExisting:iP},{provide:X,useClass:xp},{provide:fg,useValue:!0},{provide:NC,useValue:!1},[]])}function gq(){return typeof $localize<"u"&&$localize.locale||Lp}var ta=new I("",{providedIn:"root",factory:()=>C(ta,st.Optional|st.SkipSelf)||gq()});var zw=new I("");function np(n){return!n.moduleRef}function _q(n){let t=np(n)?n.r3Injector:n.moduleRef.injector,e=t.get(X);return e.run(()=>{np(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();let i=t.get(_n,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),np(n)){let o=()=>t.destroy(),s=n.platformInjector.get(zw);s.add(o),t.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>n.moduleRef.destroy(),s=n.platformInjector.get(zw);s.add(o),n.moduleRef.onDestroy(()=>{cp(n.allPlatformModules,n.moduleRef),r.unsubscribe(),s.delete(o)})}return cq(i,e,()=>{let o=t.get(tP);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(ta,Lp);if(HY(s||Lp),np(n)){let a=t.get(Xn);return n.rootComponent!==void 0&&a.bootstrap(n.rootComponent),a}else return bq(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}function bq(n,t){let e=n.injector.get(Xn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(e);else throw new ee(-403,!1);t.push(n)}var dp=null;function vq(n=[],t){return Oe.create({name:t,providers:[{provide:Up,useValue:"platform"},{provide:zw,useValue:new Set([()=>dp=null])},...n]})}function yq(n=[]){if(dp)return dp;let t=vq(n);return dp=t,sq(),wq(t),t}function wq(n){n.get(vC,null)?.forEach(e=>e())}var _e=(()=>{class n{static{this.__NG_ELEMENT_ID__=Cq}}return n})();function Cq(n){return Dq(Ni(),Le(),(n&16)===16)}function Dq(n,t,e){if(qp(n)&&!e){let i=Xs(n.index,t);return new al(i,i)}else if(n.type&175){let i=t[Qn];return new al(i,t)}return null}var Hw=class{constructor(){}supports(t){return TR(t)}create(t){return new Uw(t)}},xq=(n,t)=>t,Uw=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||xq}forEachItem(t){let e;for(e=this._itHead;e!==null;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),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,e,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new Ww(e,i),o,r)),t}_verifyReinsertion(t,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let e=t._next;this._addToRemovals(this._unlink(t)),t=e}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,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){let r=e===null?this._itHead:e._next;return t._next=r,t._prev=e,r===null?this._itTail=t:r._prev=t,e===null?this._itHead=t:e._next=t,this._linkedRecords===null&&(this._linkedRecords=new Vp),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let e=t._prev,i=t._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Vp),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,e){return t.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Ww=class{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Yw=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let e=t._prevDup,i=t._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Vp=class{constructor(){this.map=new Map}put(t){let e=t.trackById,i=this.map.get(e);i||(i=new Yw,this.map.set(e,i)),i.add(t)}get(t,e){let i=t,r=this.map.get(i);return r?r.get(t,e):null}remove(t){let e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function K1(n,t,e){let i=n.previousIndex;if(i===null)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){let i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){let r=this._records.get(t);this._maybeAddToChanges(r,e);let o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}let i=new Qw(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_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,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,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,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}},Qw=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Z1(){return new ds([new Hw])}var ds=(()=>{class n{static{this.\u0275prov=T({token:n,providedIn:"root",factory:Z1})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||Z1()),deps:[[n,new Ur,new yr]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new ee(901,!1)}}return n})();function X1(){return new kg([new qw])}var kg=(()=>{class n{static{this.\u0275prov=T({token:n,providedIn:"root",factory:X1})}constructor(e){this.factories=e}static create(e,i){if(i){let r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||X1()),deps:[[n,new Ur,new yr]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ee(901,!1)}}return n})();function nP(n){try{let{rootComponent:t,appProviders:e,platformProviders:i}=n,r=yq(i),o=[hq({}),{provide:ll,useExisting:iP},...e||[]],s=new Op({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return _q({r3Injector:s.injector,platformInjector:r,rootComponent:t})}catch(t){return Promise.reject(t)}}function W(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function gi(n,t=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):t}function Jn(n,t){Wr("NgSignals");let e=r0(n);return t?.equal&&(e[Tn].equal=t.equal),e}function Nn(n){let t=ot(null);try{return n()}finally{ot(t)}}var Sq=new I("",{providedIn:"root",factory:()=>C(kq)}),kq=(()=>{class n{static{this.\u0275prov=T({token:n,providedIn:"root",factory:()=>new Kw})}}return n})(),Kw=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=C(fl),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null})}}enqueue(t){let e=t.creationZone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(t)||(this.queuedEffectCount++,i.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,e]of this.queues)t===null?this.flushQueue(e):t.run(()=>this.flushQueue(e))}flushQueue(t){for(let e of t)t.delete(e),this.queuedEffectCount--,e.run()}},Zw=class{constructor(t,e,i,r,o,s){this.scheduler=t,this.effectFn=e,this.creationZone=i,this.injector=o,this.watcher=xT(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(e){this.injector.get(_n,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function yl(n,t){Wr("NgSignals"),!t?.injector&&rC(yl);let e=t?.injector??C(Oe),i=t?.manualCleanup!==!0?e.get(Lu):null,r=new Zw(e.get(Sq),n,typeof Zone>"u"?null:Zone.current,i,e,t?.allowSignalWrites??!1),o=e.get(_e,null,{optional:!0});return!o||!(o._lView[We]&8)?r.watcher.notify():(o._lView[op]??=[]).push(r.watcher.notify),r}function rP(n,t){let e=ns(n),i=t.elementInjector||Wp();return new cl(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}function oP(n){let t=ns(n);if(!t)return null;let e=new cl(t);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var hP=null;function ms(){return hP}function fP(n){hP??=n}var Fg=class{};var ce=new I(""),eD=(()=>{class n{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:()=>C(Eq),providedIn:"platform"})}}return n})(),mP=new I(""),Eq=(()=>{class n extends eD{constructor(){super(),this._doc=C(ce),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ms().getBaseHref(this._doc)}onPopState(e){let i=ms().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=ms().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:()=>new n,providedIn:"platform"})}}return n})();function tD(n,t){if(n.length==0)return t;if(t.length==0)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,e==2?n+t.substring(1):e==1?n+t:n+"/"+t}function sP(n){let t=n.match(/#|\?|$/),e=t&&t.index||n.length,i=e-(n[e-1]==="/"?1:0);return n.slice(0,i)+n.slice(e)}function hs(n){return n&&n[0]!=="?"?"?"+n:n}var ps=(()=>{class n{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:()=>C(iD),providedIn:"root"})}}return n})(),gs=new I(""),iD=(()=>{class n extends ps{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??C(ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return tD(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+hs(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+hs(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+hs(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||n)(D(eD),D(gs,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),pP=(()=>{class n extends ps{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=tD(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+hs(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+hs(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||n)(D(eD),D(gs,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})(),Mo=(()=>{class n{constructor(e){this._subject=new P,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=Tq(sP(aP(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+hs(i))}normalize(e){return n.stripTrailingSlash(Mq(this._basePath,aP(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+hs(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+hs(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}static{this.normalizeQueryParams=hs}static{this.joinWithSlash=tD}static{this.stripTrailingSlash=sP}static{this.\u0275fac=function(i){return new(i||n)(D(ps))}}static{this.\u0275prov=T({token:n,factory:()=>Iq(),providedIn:"root"})}}return n})();function Iq(){return new Mo(D(ps))}function Mq(n,t){if(!n||!t.startsWith(n))return t;let e=t.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:t}function aP(n){return n.replace(/\/index.html$/,"")}function Tq(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}var nD=function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n}(nD||{});var yn=function(n){return n[n.Format=0]="Format",n[n.Standalone=1]="Standalone",n}(yn||{}),Bt=function(n){return n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short",n}(Bt||{}),er=function(n){return n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full",n}(er||{}),Ki={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Aq(n){return Zn(n)[si.LocaleId]}function Oq(n,t,e){let i=Zn(n),r=[i[si.DayPeriodsFormat],i[si.DayPeriodsStandalone]],o=xr(r,t);return xr(o,e)}function Rq(n,t,e){let i=Zn(n),r=[i[si.DaysFormat],i[si.DaysStandalone]],o=xr(r,t);return xr(o,e)}function Pq(n,t,e){let i=Zn(n),r=[i[si.MonthsFormat],i[si.MonthsStandalone]],o=xr(r,t);return xr(o,e)}function Fq(n,t){let i=Zn(n)[si.Eras];return xr(i,t)}function Eg(n,t){let e=Zn(n);return xr(e[si.DateFormat],t)}function Ig(n,t){let e=Zn(n);return xr(e[si.TimeFormat],t)}function Mg(n,t){let i=Zn(n)[si.DateTimeFormat];return xr(i,t)}function qr(n,t){let e=Zn(n),i=e[si.NumberSymbols][t];if(typeof i>"u"){if(t===Ki.CurrencyDecimal)return e[si.NumberSymbols][Ki.Decimal];if(t===Ki.CurrencyGroup)return e[si.NumberSymbols][Ki.Group]}return i}function gP(n,t){return Zn(n)[si.NumberFormats][t]}function _P(n){if(!n[si.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[si.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Nq(n){let t=Zn(n);return _P(t),(t[si.ExtraData][2]||[]).map(i=>typeof i=="string"?UC(i):[UC(i[0]),UC(i[1])])}function Lq(n,t,e){let i=Zn(n);_P(i);let r=[i[si.ExtraData][0],i[si.ExtraData][1]],o=xr(r,t)||[];return xr(o,e)||[]}function xr(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function UC(n){let[t,e]=n.split(":");return{hours:+t,minutes:+e}}var Vq=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Tg={},jq=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,fs=function(n){return n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended",n}(fs||{}),Mt=function(n){return n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day",n}(Mt||{}),It=function(n){return n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras",n}(It||{});function Bq(n,t,e,i){let r=Qq(n);t=us(e,t)||t;let s=[],a;for(;t;)if(a=jq.exec(t),a){s=s.concat(a.slice(1));let d=s.pop();if(!d)break;t=d}else{s.push(t);break}let l=r.getTimezoneOffset();i&&(l=vP(i,l),r=Gq(r,i,!0));let c="";return s.forEach(d=>{let u=Yq(d);c+=u?u(r,e,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Ng(n,t,e){let i=new Date(0);return i.setFullYear(n,t,e),i.setHours(0,0,0),i}function us(n,t){let e=Aq(n);if(Tg[e]??={},Tg[e][t])return Tg[e][t];let i="";switch(t){case"shortDate":i=Eg(n,er.Short);break;case"mediumDate":i=Eg(n,er.Medium);break;case"longDate":i=Eg(n,er.Long);break;case"fullDate":i=Eg(n,er.Full);break;case"shortTime":i=Ig(n,er.Short);break;case"mediumTime":i=Ig(n,er.Medium);break;case"longTime":i=Ig(n,er.Long);break;case"fullTime":i=Ig(n,er.Full);break;case"short":let r=us(n,"shortTime"),o=us(n,"shortDate");i=Ag(Mg(n,er.Short),[r,o]);break;case"medium":let s=us(n,"mediumTime"),a=us(n,"mediumDate");i=Ag(Mg(n,er.Medium),[s,a]);break;case"long":let l=us(n,"longTime"),c=us(n,"longDate");i=Ag(Mg(n,er.Long),[l,c]);break;case"full":let d=us(n,"fullTime"),u=us(n,"fullDate");i=Ag(Mg(n,er.Full),[d,u]);break}return i&&(Tg[e][t]=i),i}function Ag(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,i){return t!=null&&i in t?t[i]:e})),n}function Yr(n,t,e="-",i,r){let o="";(n<0||r&&n<=0)&&(r?n=-n+1:(n=-n,o=e));let s=String(n);for(;s.length0||a>-e)&&(a+=e),n===Mt.Hours)a===0&&e===-12&&(a=12);else if(n===Mt.FractionalSeconds)return $q(a,t);let l=qr(s,Ki.MinusSign);return Yr(a,t,l,i,r)}}function zq(n,t){switch(n){case Mt.FullYear:return t.getFullYear();case Mt.Month:return t.getMonth();case Mt.Date:return t.getDate();case Mt.Hours:return t.getHours();case Mt.Minutes:return t.getMinutes();case Mt.Seconds:return t.getSeconds();case Mt.FractionalSeconds:return t.getMilliseconds();case Mt.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${n}".`)}}function Yt(n,t,e=yn.Format,i=!1){return function(r,o){return Hq(r,o,n,t,e,i)}}function Hq(n,t,e,i,r,o){switch(e){case It.Months:return Pq(t,r,i)[n.getMonth()];case It.Days:return Rq(t,r,i)[n.getDay()];case It.DayPeriods:let s=n.getHours(),a=n.getMinutes();if(o){let c=Nq(t),d=Lq(t,r,i),u=c.findIndex(h=>{if(Array.isArray(h)){let[f,m]=h,g=s>=f.hours&&a>=f.minutes,_=s0?Math.floor(r/60):Math.ceil(r/60);switch(n){case fs.Short:return(r>=0?"+":"")+Yr(s,2,o)+Yr(Math.abs(r%60),2,o);case fs.ShortGMT:return"GMT"+(r>=0?"+":"")+Yr(s,1,o);case fs.Long:return"GMT"+(r>=0?"+":"")+Yr(s,2,o)+":"+Yr(Math.abs(r%60),2,o);case fs.Extended:return i===0?"Z":(r>=0?"+":"")+Yr(s,2,o)+":"+Yr(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}var Uq=0,Pg=4;function Wq(n){let t=Ng(n,Uq,1).getDay();return Ng(n,0,1+(t<=Pg?Pg:Pg+7)-t)}function bP(n){let t=n.getDay(),e=t===0?-3:Pg-t;return Ng(n.getFullYear(),n.getMonth(),n.getDate()+e)}function WC(n,t=!1){return function(e,i){let r;if(t){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{let o=bP(e),s=Wq(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return Yr(r,n,qr(i,Ki.MinusSign))}}function Rg(n,t=!1){return function(e,i){let o=bP(e).getFullYear();return Yr(o,n,qr(i,Ki.MinusSign),t)}}var YC={};function Yq(n){if(YC[n])return YC[n];let t;switch(n){case"G":case"GG":case"GGG":t=Yt(It.Eras,Bt.Abbreviated);break;case"GGGG":t=Yt(It.Eras,Bt.Wide);break;case"GGGGG":t=Yt(It.Eras,Bt.Narrow);break;case"y":t=_i(Mt.FullYear,1,0,!1,!0);break;case"yy":t=_i(Mt.FullYear,2,0,!0,!0);break;case"yyy":t=_i(Mt.FullYear,3,0,!1,!0);break;case"yyyy":t=_i(Mt.FullYear,4,0,!1,!0);break;case"Y":t=Rg(1);break;case"YY":t=Rg(2,!0);break;case"YYY":t=Rg(3);break;case"YYYY":t=Rg(4);break;case"M":case"L":t=_i(Mt.Month,1,1);break;case"MM":case"LL":t=_i(Mt.Month,2,1);break;case"MMM":t=Yt(It.Months,Bt.Abbreviated);break;case"MMMM":t=Yt(It.Months,Bt.Wide);break;case"MMMMM":t=Yt(It.Months,Bt.Narrow);break;case"LLL":t=Yt(It.Months,Bt.Abbreviated,yn.Standalone);break;case"LLLL":t=Yt(It.Months,Bt.Wide,yn.Standalone);break;case"LLLLL":t=Yt(It.Months,Bt.Narrow,yn.Standalone);break;case"w":t=WC(1);break;case"ww":t=WC(2);break;case"W":t=WC(1,!0);break;case"d":t=_i(Mt.Date,1);break;case"dd":t=_i(Mt.Date,2);break;case"c":case"cc":t=_i(Mt.Day,1);break;case"ccc":t=Yt(It.Days,Bt.Abbreviated,yn.Standalone);break;case"cccc":t=Yt(It.Days,Bt.Wide,yn.Standalone);break;case"ccccc":t=Yt(It.Days,Bt.Narrow,yn.Standalone);break;case"cccccc":t=Yt(It.Days,Bt.Short,yn.Standalone);break;case"E":case"EE":case"EEE":t=Yt(It.Days,Bt.Abbreviated);break;case"EEEE":t=Yt(It.Days,Bt.Wide);break;case"EEEEE":t=Yt(It.Days,Bt.Narrow);break;case"EEEEEE":t=Yt(It.Days,Bt.Short);break;case"a":case"aa":case"aaa":t=Yt(It.DayPeriods,Bt.Abbreviated);break;case"aaaa":t=Yt(It.DayPeriods,Bt.Wide);break;case"aaaaa":t=Yt(It.DayPeriods,Bt.Narrow);break;case"b":case"bb":case"bbb":t=Yt(It.DayPeriods,Bt.Abbreviated,yn.Standalone,!0);break;case"bbbb":t=Yt(It.DayPeriods,Bt.Wide,yn.Standalone,!0);break;case"bbbbb":t=Yt(It.DayPeriods,Bt.Narrow,yn.Standalone,!0);break;case"B":case"BB":case"BBB":t=Yt(It.DayPeriods,Bt.Abbreviated,yn.Format,!0);break;case"BBBB":t=Yt(It.DayPeriods,Bt.Wide,yn.Format,!0);break;case"BBBBB":t=Yt(It.DayPeriods,Bt.Narrow,yn.Format,!0);break;case"h":t=_i(Mt.Hours,1,-12);break;case"hh":t=_i(Mt.Hours,2,-12);break;case"H":t=_i(Mt.Hours,1);break;case"HH":t=_i(Mt.Hours,2);break;case"m":t=_i(Mt.Minutes,1);break;case"mm":t=_i(Mt.Minutes,2);break;case"s":t=_i(Mt.Seconds,1);break;case"ss":t=_i(Mt.Seconds,2);break;case"S":t=_i(Mt.FractionalSeconds,1);break;case"SS":t=_i(Mt.FractionalSeconds,2);break;case"SSS":t=_i(Mt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Og(fs.Short);break;case"ZZZZZ":t=Og(fs.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Og(fs.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Og(fs.Long);break;default:return null}return YC[n]=t,t}function vP(n,t){n=n.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function qq(n,t){return n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+t),n}function Gq(n,t,e){let i=e?-1:1,r=n.getTimezoneOffset(),o=vP(t,r);return qq(n,i*(o-r))}function Qq(n){if(lP(n))return n;if(typeof n=="number"&&!isNaN(n))return new Date(n);if(typeof n=="string"){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){let[r,o=1,s=1]=n.split("-").map(a=>+a);return Ng(r,o-1,s)}let e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let i;if(i=n.match(Vq))return Kq(i)}let t=new Date(n);if(!lP(t))throw new Error(`Unable to convert "${n}" into a date`);return t}function Kq(n){let t=new Date(0),e=0,i=0,r=n[8]?t.setUTCFullYear:t.setFullYear,o=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),i=Number(n[9]+n[11])),r.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));let s=Number(n[4]||0)-e,a=Number(n[5]||0)-i,l=Number(n[6]||0),c=Math.floor(parseFloat("0."+(n[7]||0))*1e3);return o.call(t,s,a,l,c),t}function lP(n){return n instanceof Date&&!isNaN(n.valueOf())}var Zq=/^(\d+)?\.((\d+)(-(\d+))?)?$/,cP=22,Lg=".",qu="0",Xq=";",Jq=",",qC="#";var e6="%";function yP(n,t,e,i,r,o,s=!1){let a="",l=!1;if(!isFinite(n))a=qr(e,Ki.Infinity);else{let c=r6(n);s&&(c=n6(c));let d=t.minInt,u=t.minFrac,h=t.maxFrac;if(o){let x=o.match(Zq);if(x===null)throw new Error(`${o} is not a valid digit info`);let R=x[1],V=x[3],j=x[5];R!=null&&(d=GC(R)),V!=null&&(u=GC(V)),j!=null?h=GC(j):V!=null&&u>h&&(h=u)}o6(c,u,h);let f=c.digits,m=c.integerLen,g=c.exponent,_=[];for(l=f.every(x=>!x);m0?_=f.splice(m,f.length):(_=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(qr(e,i)),_.length&&(a+=qr(e,r)+_.join("")),g&&(a+=qr(e,Ki.Exponential)+"+"+g)}return n<0&&!l?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function t6(n,t,e){let i=gP(t,nD.Percent),r=wP(i,qr(t,Ki.MinusSign));return yP(n,r,t,Ki.Group,Ki.Decimal,e,!0).replace(new RegExp(e6,"g"),qr(t,Ki.PercentSign))}function i6(n,t,e){let i=gP(t,nD.Decimal),r=wP(i,qr(t,Ki.MinusSign));return yP(n,r,t,Ki.Group,Ki.Decimal,e)}function wP(n,t="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=n.split(Xq),r=i[0],o=i[1],s=r.indexOf(Lg)!==-1?r.split(Lg):[r.substring(0,r.lastIndexOf(qu)+1),r.substring(r.lastIndexOf(qu)+1)],a=s[0],l=s[1]||"";e.posPre=a.substring(0,a.indexOf(qC));for(let d=0;d-1&&(t=t.replace(Lg,"")),(o=t.search(/e/i))>0?(r<0&&(r=o),r+=+t.slice(o+1),t=t.substring(0,o)):r<0&&(r=t.length),o=0;t.charAt(o)===qu;o++);if(o===(a=t.length))i=[0],r=1;else{for(a--;t.charAt(a)===qu;)a--;for(r-=o,i=[],s=0;o<=a;o++,s++)i[s]=Number(t.charAt(o))}return r>cP&&(i=i.splice(0,cP-1),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}function o6(n,t,e){if(t>e)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${e}).`);let i=n.digits,r=i.length-n.integerLen,o=Math.min(Math.max(t,r),e),s=o+n.integerLen,a=i[s];if(s>0){i.splice(Math.max(n.integerLen,s));for(let u=s;u=5)if(s-1<0){for(let u=0;u>s;u--)i.unshift(0),n.integerLen++;i.unshift(1),n.integerLen++}else i[s-1]++;for(;r=c?m.pop():l=!1),h>=10?1:0},0);d&&(i.unshift(d),n.integerLen++)}function GC(n){let t=parseInt(n);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+n);return t}function CP(n,t){t=encodeURIComponent(t);for(let e of n.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var QC=/\s+/,dP=[],$c=(()=>{class n{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=dP,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(QC):dP}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(QC):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(QC).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(vn))}}static{this.\u0275dir=M({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return n})();var I0e=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[r,o]=e.split("."),s=r.indexOf("-")===-1?void 0:xo.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(kg),p(vn))}}static{this.\u0275dir=M({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return n})(),rD=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static{this.\u0275fac=function(i){return new(i||n)(p(ht))}}static{this.\u0275dir=M({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ze]})}}return n})();function ia(n,t){return new ee(2100,!1)}var KC=class{createSubscription(t,e){return Nn(()=>t.subscribe({next:e,error:i=>{throw i}}))}dispose(t){Nn(()=>t.unsubscribe())}},ZC=class{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}},s6=new ZC,a6=new KC,tr=(()=>{class n{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(ea(e))return s6;if(HC(e))return a6;throw ia(n,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(i){return new(i||n)(p(_e,16))}}static{this.\u0275pipe=rt({name:"async",type:n,pure:!1,standalone:!0})}}return n})(),M0e=(()=>{class n{transform(e){if(e==null)return null;if(typeof e!="string")throw ia(n,e);return e.toLowerCase()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=rt({name:"lowercase",type:n,pure:!0,standalone:!0})}}return n})(),l6=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,T0e=(()=>{class n{transform(e){if(e==null)return null;if(typeof e!="string")throw ia(n,e);return e.replace(l6,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=rt({name:"titlecase",type:n,pure:!0,standalone:!0})}}return n})(),A0e=(()=>{class n{transform(e){if(e==null)return null;if(typeof e!="string")throw ia(n,e);return e.toUpperCase()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=rt({name:"uppercase",type:n,pure:!0,standalone:!0})}}return n})(),c6="mediumDate",d6=new I(""),u6=new I(""),O0e=(()=>{class n{constructor(e,i,r){this.locale=e,this.defaultTimezone=i,this.defaultOptions=r}transform(e,i,r,o){if(e==null||e===""||e!==e)return null;try{let s=i??this.defaultOptions?.dateFormat??c6,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Bq(e,s,o||this.locale,a)}catch(s){throw ia(n,s.message)}}static{this.\u0275fac=function(i){return new(i||n)(p(ta,16),p(d6,24),p(u6,24))}}static{this.\u0275pipe=rt({name:"date",type:n,pure:!0,standalone:!0})}}return n})();function h6(n,t){return{key:n,value:t}}var R0e=(()=>{class n{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=uP}transform(e,i=uP){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(h6(s.key,s.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static{this.\u0275fac=function(i){return new(i||n)(p(kg,16))}}static{this.\u0275pipe=rt({name:"keyvalue",type:n,pure:!1,standalone:!0})}}return n})();function uP(n,t){let e=n.key,i=t.key;if(e===i)return 0;if(e===void 0)return 1;if(i===void 0)return-1;if(e===null)return 1;if(i===null)return-1;if(typeof e=="string"&&typeof i=="string")return e{class n{constructor(e){this._locale=e}transform(e,i,r){if(!xP(e))return null;r||=this._locale;try{let o=SP(e);return i6(o,r,i)}catch(o){throw ia(n,o.message)}}static{this.\u0275fac=function(i){return new(i||n)(p(ta,16))}}static{this.\u0275pipe=rt({name:"number",type:n,pure:!0,standalone:!0})}}return n})(),DP=(()=>{class n{constructor(e){this._locale=e}transform(e,i,r){if(!xP(e))return null;r||=this._locale;try{let o=SP(e);return t6(o,r,i)}catch(o){throw ia(n,o.message)}}static{this.\u0275fac=function(i){return new(i||n)(p(ta,16))}}static{this.\u0275pipe=rt({name:"percent",type:n,pure:!0,standalone:!0})}}return n})();function xP(n){return!(n==null||n===""||n!==n)}function SP(n){if(typeof n=="string"&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if(typeof n!="number")throw new Error(`${n} is not a number`);return n}var F0e=(()=>{class n{transform(e,i,r){if(e==null)return null;if(!this.supports(e))throw ia(n,e);return e.slice(i,r)}supports(e){return typeof e=="string"||Array.isArray(e)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=rt({name:"slice",type:n,pure:!1,standalone:!0})}}return n})();var Li=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({})}}return n})(),oD="browser",f6="server";function sD(n){return n===oD}function aD(n){return n===f6}var kP=(()=>{class n{static{this.\u0275prov=T({token:n,providedIn:"root",factory:()=>sD(C(Io))?new XC(C(ce),window):new JC})}}return n})(),XC=class{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let e=m6(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};function m6(n,t){let e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}var JC=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Vg=class{};var dD=class{};var zc=class n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?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(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,e);let r=(t.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(t,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var uD=class{encodeKey(t){return EP(t)}encodeValue(t){return EP(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function p6(n,t){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var g6=/%(\d[a-f0-9])/gi,_6={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function EP(n){return encodeURIComponent(n).replace(g6,(t,e)=>_6[e]??t)}function Bg(n){return`${n}`}var na=class n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new uD,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=p6(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let i=t.fromObject[e],r=Array.isArray(i)?i.map(Bg):[Bg(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}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 e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(Bg(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(Bg(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var hD=class{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),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 b6(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function IP(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function MP(n){return typeof Blob<"u"&&n instanceof Blob}function TP(n){return typeof FormData<"u"&&n instanceof FormData}function v6(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Gu=class n{constructor(t,e,i,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(b6(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new zc,this.context??=new hD,!this.params)this.params=new na,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":ah.set(f,t.setHeaders[f]),c)),t.setParams&&(d=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),d)),new n(e,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},AP=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(AP||{}),fD=class{constructor(t,e=200,i="OK"){this.headers=t.headers||new zc,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}};var mD=class n extends fD{constructor(t={}){super(t),this.type=AP.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new n({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})}};function cD(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var OP=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Gu)o=e;else{let l;r.headers instanceof zc?l=r.headers:l=new zc(r.headers);let c;r.params&&(r.params instanceof na?c=r.params:c=new na({fromObject:r.params})),o=new Gu(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=oe(o).pipe(Xo(l=>this.handler.handle(l)));if(e instanceof Gu||r.observe==="events")return s;let a=s.pipe(Ae(l=>l instanceof mD));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(fe(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(fe(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(fe(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(fe(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new na().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,cD(r,i))}post(e,i,r={}){return this.request("POST",e,cD(r,i))}put(e,i,r={}){return this.request("PUT",e,cD(r,i))}static{this.\u0275fac=function(i){return new(i||n)(D(dD))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})();var _D=class extends Fg{constructor(){super(...arguments),this.supportsDOMEvents=!0}},bD=class n extends _D{static makeCurrent(){fP(new n)}onAndCancel(t,e,i){return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.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,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=w6();return e==null?null:C6(e)}resetBaseElement(){Qu=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return CP(document.cookie,t)}},Qu=null;function w6(){return Qu=Qu||document.querySelector("base"),Qu?Qu.getAttribute("href"):null}function C6(n){return new URL(n,document.baseURI).pathname}var D6=(()=>{class n{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})(),vD=new I(""),FP=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new ee(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||n)(D(vD),D(X))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})(),$g=class{constructor(t){this._doc=t}},pD="ng-app-id",NP=(()=>{class n{constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=aD(o),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${pD}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(r=>{r.textContent!=null&&i.set(r.textContent,r)}),i}return null}changeUsageCount(e,i){let r=this.styleRef;if(r.has(e)){let o=r.get(e);return o.usage+=i,o.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===e)return r.delete(i),o.removeAttribute(pD),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(pD,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let r=this.getStyleElement(e,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||n)(D(ce),D(Vu),D(ju,8),D(Io))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})(),gD={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"},wD=/%COMP%/g,LP="%COMP%",x6=`_nghost-${LP}`,S6=`_ngcontent-${LP}`,k6=!0,E6=new I("",{providedIn:"root",factory:()=>k6});function I6(n){return S6.replace(wD,n)}function M6(n){return x6.replace(wD,n)}function VP(n,t){return t.map(e=>e.replace(wD,n))}var zg=(()=>{class n{constructor(e,i,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=aD(a),this.defaultRenderer=new Ku(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===wo.ShadowDom&&(i=Pe(E({},i),{encapsulation:wo.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof Hg?r.applyToHost(e):r instanceof Zu&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case wo.Emulated:o=new Hg(l,c,i,this.appId,d,s,a,u);break;case wo.ShadowDom:return new yD(l,c,e,i,s,a,this.nonce,u);default:o=new Zu(l,c,i,d,s,a,u);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||n)(D(FP),D(NP),D(Vu),D(E6),D(ce),D(Io),D(X),D(ju))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})(),Ku=class{constructor(t,e,i,r){this.eventManager=t,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(gD[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(RP(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(RP(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){e.remove()}selectRootElement(t,e){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new ee(-5104,!1);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;let o=gD[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){let r=gD[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(xo.DashCase|xo.Important)?t.style.setProperty(e,i,r&xo.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&xo.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t!=null&&(t[e]=i)}setValue(t,e){t.nodeValue=e}listen(t,e,i){if(typeof t=="string"&&(t=ms().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(i))}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault()}}};function RP(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var yD=class extends Ku{constructor(t,e,i,r,o,s,a,l){super(t,o,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=VP(r.id,r.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Zu=class extends Ku{constructor(t,e,i,r,o,s,a,l){super(t,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?VP(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Hg=class extends Zu{constructor(t,e,i,r,o,s,a,l){let c=r+"-"+i.id;super(t,e,i,o,s,a,l,c),this.contentAttr=I6(c),this.hostAttr=M6(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}},T6=(()=>{class n extends $g{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}static{this.\u0275fac=function(i){return new(i||n)(D(ce))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})(),PP=["alt","control","meta","shift"],A6={"\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"},O6={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},R6=(()=>{class n extends $g{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,i,r){let o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ms().onAndCancel(e,o.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=n._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),PP.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=A6[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),PP.forEach(s=>{if(s!==r){let a=O6[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||n)(D(ce))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})();function nwe(n,t){return nP(E({rootComponent:n},P6(t)))}function P6(n){return{appProviders:[...j6,...n?.providers??[]],platformProviders:V6}}function F6(){bD.makeCurrent()}function N6(){return new _n}function L6(){return gO(document),document}var V6=[{provide:Io,useValue:oD},{provide:vC,useValue:F6,multi:!0},{provide:ce,useFactory:L6,deps:[]}];var j6=[{provide:Up,useValue:"root"},{provide:_n,useFactory:N6,deps:[]},{provide:vD,useClass:T6,multi:!0,deps:[ce,X,Io]},{provide:vD,useClass:R6,multi:!0,deps:[ce]},zg,NP,FP,{provide:Ks,useExisting:zg},{provide:Vg,useClass:D6,deps:[]},[]];var Ug=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(i){return new(i||n)(D(ce))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var ra=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:function(i){let r=null;return i?r=new(i||n):r=D(B6),r},providedIn:"root"})}}return n})(),B6=(()=>{class n extends ra{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case pi.NONE:return i;case pi.HTML:return ls(i,"HTML")?Cr(i):wC(this._doc,String(i)).toString();case pi.STYLE:return ls(i,"Style")?Cr(i):i;case pi.SCRIPT:if(ls(i,"Script"))return Cr(i);throw new ee(5200,!1);case pi.URL:return ls(i,"URL")?Cr(i):ng(String(i));case pi.RESOURCE_URL:if(ls(i,"ResourceURL"))return Cr(i);throw new ee(5201,!1);default:throw new ee(5202,!1)}}bypassSecurityTrustHtml(e){return yO(e)}bypassSecurityTrustStyle(e){return wO(e)}bypassSecurityTrustScript(e){return CO(e)}bypassSecurityTrustUrl(e){return DO(e)}bypassSecurityTrustResourceUrl(e){return xO(e)}static{this.\u0275fac=function(i){return new(i||n)(D(ce))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var it="primary",fh=Symbol("RouteTitle"),ED=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Gc(n){return new ED(n)}function $6(n,t,e){let i=e.path.split("/");if(i.length>n.length||e.pathMatch==="full"&&(t.hasChildren()||i.lengthi[o]===r)}else return n===t}function KP(n){return n.length>0?n[n.length-1]:null}function sa(n){return js(n)?n:ea(n)?Lt(Promise.resolve(n)):oe(n)}var H6={exact:XP,subset:JP},ZP={exact:U6,subset:W6,ignored:()=>!0};function jP(n,t,e){return H6[e.paths](n.root,t.root,e.matrixParams)&&ZP[e.queryParams](n.queryParams,t.queryParams)&&!(e.fragment==="exact"&&n.fragment!==t.fragment)}function U6(n,t){return To(n,t)}function XP(n,t,e){if(!Cl(n.segments,t.segments)||!qg(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let i in t.children)if(!n.children[i]||!XP(n.children[i],t.children[i],e))return!1;return!0}function W6(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>QP(n[e],t[e]))}function JP(n,t,e){return eF(n,t,t.segments,e)}function eF(n,t,e,i){if(n.segments.length>e.length){let r=n.segments.slice(0,e.length);return!(!Cl(r,e)||t.hasChildren()||!qg(r,e,i))}else if(n.segments.length===e.length){if(!Cl(n.segments,e)||!qg(n.segments,e,i))return!1;for(let r in t.children)if(!n.children[r]||!JP(n.children[r],t.children[r],i))return!1;return!0}else{let r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!Cl(n.segments,r)||!qg(n.segments,r,i)||!n.children[it]?!1:eF(n.children[it],t,o,i)}}function qg(n,t,e){return t.every((i,r)=>ZP[e](n[r].parameters,i.parameters))}var Ao=class{constructor(t=new At([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Gc(this.queryParams),this._queryParamMap}toString(){return G6.serialize(this)}},At=class{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gg(this)}},wl=class{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=Gc(this.parameters),this._parameterMap}toString(){return iF(this)}};function Y6(n,t){return Cl(n,t)&&n.every((e,i)=>To(e.parameters,t[i].parameters))}function Cl(n,t){return n.length!==t.length?!1:n.every((e,i)=>e.path===t[i].path)}function q6(n,t){let e=[];return Object.entries(n.children).forEach(([i,r])=>{i===it&&(e=e.concat(t(r,i)))}),Object.entries(n.children).forEach(([i,r])=>{i!==it&&(e=e.concat(t(r,i)))}),e}var mh=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:()=>new Qc,providedIn:"root"})}}return n})(),Qc=class{parse(t){let e=new TD(t);return new Ao(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){let e=`/${Xu(t.root,!0)}`,i=Z6(t.queryParams),r=typeof t.fragment=="string"?`#${Q6(t.fragment)}`:"";return`${e}${i}${r}`}},G6=new Qc;function Gg(n){return n.segments.map(t=>iF(t)).join("/")}function Xu(n,t){if(!n.hasChildren())return Gg(n);if(t){let e=n.children[it]?Xu(n.children[it],!1):"",i=[];return Object.entries(n.children).forEach(([r,o])=>{r!==it&&i.push(`${r}:${Xu(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=q6(n,(i,r)=>r===it?[Xu(n.children[it],!1)]:[`${r}:${Xu(i,!1)}`]);return Object.keys(n.children).length===1&&n.children[it]!=null?`${Gg(n)}/${e[0]}`:`${Gg(n)}/(${e.join("//")})`}}function tF(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wg(n){return tF(n).replace(/%3B/gi,";")}function Q6(n){return encodeURI(n)}function MD(n){return tF(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qg(n){return decodeURIComponent(n)}function BP(n){return Qg(n.replace(/\+/g,"%20"))}function iF(n){return`${MD(n.path)}${K6(n.parameters)}`}function K6(n){return Object.entries(n).map(([t,e])=>`;${MD(t)}=${MD(e)}`).join("")}function Z6(n){let t=Object.entries(n).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Wg(e)}=${Wg(r)}`).join("&"):`${Wg(e)}=${Wg(i)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}var X6=/^[^\/()?;#]+/;function DD(n){let t=n.match(X6);return t?t[0]:""}var J6=/^[^\/()?;=#]+/;function eG(n){let t=n.match(J6);return t?t[0]:""}var tG=/^[^=?]+/;function iG(n){let t=n.match(tG);return t?t[0]:""}var nG=/^[^]+/;function rG(n){let t=n.match(nG);return t?t[0]:""}var TD=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],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 e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[it]=new At(t,e)),i}parseSegment(){let t=DD(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new ee(4009,!1);return this.capture(t),new wl(Qg(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let e=eG(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=DD(this.remaining);r&&(i=r,this.capture(i))}t[Qg(e)]=Qg(i)}parseQueryParam(t){let e=iG(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=rG(this.remaining);s&&(i=s,this.capture(i))}let r=BP(e),o=BP(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=DD(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new ee(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=it);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[it]:new At([],s),this.consumeOptional("//")}return e}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 ee(4011,!1)}};function nF(n){return n.segments.length>0?new At([],{[it]:n}):n}function rF(n){let t={};for(let[i,r]of Object.entries(n.children)){let o=rF(r);if(i===it&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[i]=o)}let e=new At(n.segments,t);return oG(e)}function oG(n){if(n.numberOfChildren===1&&n.children[it]){let t=n.children[it];return new At(n.segments.concat(t.segments),t.children)}return n}function Dl(n){return n instanceof Ao}function sG(n,t,e=null,i=null){let r=oF(n);return sF(r,t,e,i)}function oF(n){let t;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new At(o.url,s);return o===n&&(t=a),a}let i=e(n.root),r=nF(i);return t??r}function sF(n,t,e,i){let r=n;for(;r.parent;)r=r.parent;if(t.length===0)return xD(r,r,r,e,i);let o=aG(t);if(o.toRoot())return xD(r,r,new At([],{}),e,i);let s=lG(o,r,n),a=s.processChildren?th(s.segmentGroup,s.index,o.commands):lF(s.segmentGroup,s.index,o.commands);return xD(r,s.segmentGroup,a,e,i)}function Kg(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function rh(n){return typeof n=="object"&&n!=null&&n.outlets}function xD(n,t,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;n===t?s=e:s=aF(n,t,e);let a=nF(rF(s));return new Ao(a,o,r)}function aF(n,t,e){let i={};return Object.entries(n.children).forEach(([r,o])=>{o===t?i[r]=e:i[r]=aF(o,t,e)}),new At(n.segments,i)}var Zg=class{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Kg(i[0]))throw new ee(4003,!1);let r=i.find(rh);if(r&&r!==KP(i))throw new ee(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function aG(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Zg(!0,0,n);let t=0,e=!1,i=n.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?t++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Zg(e,t,i)}var Wc=class{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}};function lG(n,t,e){if(n.isAbsolute)return new Wc(t,!0,0);if(!e)return new Wc(t,!1,NaN);if(e.parent===null)return new Wc(e,!0,0);let i=Kg(n.commands[0])?0:1,r=e.segments.length-1+i;return cG(e,r,n.numberOfDoubleDots)}function cG(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new ee(4005,!1);r=i.segments.length}return new Wc(i,!1,r-o)}function dG(n){return rh(n[0])?n[0].outlets:{[it]:n}}function lF(n,t,e){if(n??=new At([],{}),n.segments.length===0&&n.hasChildren())return th(n,t,e);let i=uG(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndexo!==it)&&n.children[it]&&n.numberOfChildren===1&&n.children[it].segments.length===0){let o=th(n.children[it],t,e);return new At(n.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=lF(n.children[o],t,s))}),Object.entries(n.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new At(n.segments,r)}}function uG(n,t,e){let i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;let s=n.segments[r],a=e[i];if(rh(a))break;let l=`${a}`,c=i0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!zP(l,c,s))return o;i+=2}else{if(!zP(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function AD(n,t,e){let i=n.segments.slice(0,t),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(t[e]=AD(new At([],{}),0,i))}),t}function $P(n){let t={};return Object.entries(n).forEach(([e,i])=>t[e]=`${i}`),t}function zP(n,t,e){return n==e.path&&To(t,e.parameters)}var ih="imperative",Vi=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Vi||{}),Sr=class{constructor(t,e){this.id=t,this.url=e}},Kc=class extends Sr{constructor(t,e,i="imperative",r=null){super(t,e),this.type=Vi.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},rr=class extends Sr{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=Vi.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},nr=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(nr||{}),Xg=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Xg||{}),_s=class extends Sr{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=Vi.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},oa=class extends Sr{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=Vi.NavigationSkipped}},oh=class extends Sr{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=Vi.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Jg=class extends Sr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=Vi.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},OD=class extends Sr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=Vi.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},RD=class extends Sr{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=Vi.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},PD=class extends Sr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=Vi.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},FD=class extends Sr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=Vi.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ND=class{constructor(t){this.route=t,this.type=Vi.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},LD=class{constructor(t){this.route=t,this.type=Vi.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},VD=class{constructor(t){this.snapshot=t,this.type=Vi.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jD=class{constructor(t){this.snapshot=t,this.type=Vi.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},BD=class{constructor(t){this.snapshot=t,this.type=Vi.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$D=class{constructor(t){this.snapshot=t,this.type=Vi.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},e_=class{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=Vi.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},sh=class{},Zc=class{constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}};function fG(n,t){return n.providers&&!n._injector&&(n._injector=gg(n.providers,t,`Route: ${n.path}`)),n._injector??t}function Gr(n){return n.outlet||it}function mG(n,t){let e=n.filter(i=>Gr(i)===t);return e.push(...n.filter(i=>Gr(i)!==t)),e}function ph(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var zD=class{get injector(){return ph(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new gh(this.rootInjector),this.attachRef=null}},gh=(()=>{class n{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new zD(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(i){return new(i||n)(D(Pi))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),t_=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){let e=HD(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){let e=HD(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){let e=UD(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return UD(t,this._root).map(e=>e.value)}};function HD(n,t){if(n===t.value)return t;for(let e of t.children){let i=HD(n,e);if(i)return i}return null}function UD(n,t){if(n===t.value)return[t];for(let e of t.children){let i=UD(n,e);if(i.length)return i.unshift(t),i}return[]}var ir=class{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}};function Uc(n){let t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}var i_=class extends t_{constructor(t,e){super(t),this.snapshot=e,JD(this,t)}toString(){return this.snapshot.toString()}};function cF(n){let t=pG(n),e=new Ee([new wl("",{})]),i=new Ee({}),r=new Ee({}),o=new Ee({}),s=new Ee(""),a=new Oo(e,i,o,s,r,it,n,t.root);return a.snapshot=t.root,new i_(new ir(a,[]),t)}function pG(n){let t={},e={},i={},r="",o=new Yc([],t,i,r,e,it,n,null,{});return new r_("",new ir(o,[]))}var Oo=class{constructor(t,e,i,r,o,s,a,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(fe(c=>c[fh]))??oe(void 0),this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(fe(t=>Gc(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(fe(t=>Gc(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function n_(n,t,e="emptyOnly"){let i,{routeConfig:r}=n;return t!==null&&(e==="always"||r?.path===""||!t.component&&!t.routeConfig?.loadComponent)?i={params:E(E({},t.params),n.params),data:E(E({},t.data),n.data),resolve:E(E(E(E({},n.data),t.data),r?.data),n._resolvedData)}:i={params:E({},n.params),data:E({},n.data),resolve:E(E({},n.data),n._resolvedData??{})},r&&uF(r)&&(i.resolve[fh]=r.title),i}var Yc=class{get title(){return this.data?.[fh]}constructor(t,e,i,r,o,s,a,l,c){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=Gc(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Gc(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${e}')`}},r_=class extends t_{constructor(t,e){super(e),this.url=t,JD(this,e)}toString(){return dF(this._root)}};function JD(n,t){t.value._routerState=n,t.children.forEach(e=>JD(n,e))}function dF(n){let t=n.children.length>0?` { ${n.children.map(dF).join(", ")} } `:"";return`${n.value}${t}`}function SD(n){if(n.snapshot){let t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,To(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),To(t.params,e.params)||n.paramsSubject.next(e.params),z6(t.url,e.url)||n.urlSubject.next(e.url),To(t.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function WD(n,t){let e=To(n.params,t.params)&&Y6(n.url,t.url),i=!n.parent!=!t.parent;return e&&!i&&(!n.parent||WD(n.parent,t.parent))}function uF(n){return typeof n.title=="string"||n.title===null}var gG=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=it,this.activateEvents=new P,this.deactivateEvents=new P,this.attachEvents=new P,this.detachEvents=new P,this.parentContexts=C(gh),this.location=C(ht),this.changeDetector=C(_e),this.inputBinder=C(l_,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ee(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ee(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ee(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new ee(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new YD(e,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=M({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ze]})}}return n})(),YD=class n{__ngOutletInjector(t){return new n(this.route,this.childContexts,t)}constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Oo?this.route:t===gh?this.childContexts:this.parent.get(t,e)}},l_=new I(""),HP=(()=>{class n{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=jr([i.queryParams,i.params,i.data]).pipe(Rt(([o,s,a],l)=>(a=E(E(E({},o),s),a),l===0?oe(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=oP(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})();function _G(n,t,e){let i=ah(n,t._root,e?e._root:void 0);return new i_(i,t)}function ah(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=t.value;let r=bG(n,t,e);return new ir(i,r)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ah(n,a)),s}}let i=vG(t.value),r=t.children.map(o=>ah(n,o));return new ir(i,r)}}function bG(n,t,e){return t.children.map(i=>{for(let r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return ah(n,i,r);return ah(n,i)})}function vG(n){return new Oo(new Ee(n.url),new Ee(n.params),new Ee(n.queryParams),new Ee(n.fragment),new Ee(n.data),n.outlet,n.component,n)}var lh=class{constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}},hF="ngNavigationCancelingError";function o_(n,t){let{redirectTo:e,navigationBehaviorOptions:i}=Dl(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=fF(!1,nr.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function fF(n,t){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[hF]=!0,e.cancellationCode=t,e}function yG(n){return mF(n)&&Dl(n.url)}function mF(n){return!!n&&n[hF]}var wG=(n,t,e,i)=>fe(r=>(new qD(t,r.targetRouterState,r.currentRouterState,e,i).activate(n),r)),qD=class{constructor(t,e,i,r,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),SD(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){let r=Uc(e);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){let r=t.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){let i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=Uc(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){let i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=Uc(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,e,i){let r=Uc(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new $D(o.value.snapshot))}),t.children.length&&this.forwardEvent(new jD(t.value.snapshot))}activateRoutes(t,e,i){let r=t.value,o=e?e.value:null;if(SD(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),SD(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,i)}},s_=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},qc=class{constructor(t,e){this.component=t,this.route=e}};function CG(n,t,e){let i=n._root,r=t?t._root:null;return Ju(i,r,e,[i.value])}function DG(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function Jc(n,t){let e=Symbol(),i=t.get(n,e);return i===e?typeof n=="function"&&!rA(n)?n:t.get(n):i}function Ju(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Uc(t);return n.children.forEach(s=>{xG(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>nh(a,e.getContext(s),r)),r}function xG(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=SG(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new s_(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ju(n,t,a?a.children:null,i,r):Ju(n,t,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new qc(a.outlet.component,s))}else s&&nh(t,a,r),r.canActivateChecks.push(new s_(i)),o.component?Ju(n,null,a?a.children:null,i,r):Ju(n,null,e,i,r);return r}function SG(n,t,e){if(typeof e=="function")return e(n,t);switch(e){case"pathParamsChange":return!Cl(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Cl(n.url,t.url)||!To(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!WD(n,t)||!To(n.queryParams,t.queryParams);case"paramsChange":default:return!WD(n,t)}}function nh(n,t,e){let i=Uc(n),r=n.value;Object.entries(i).forEach(([o,s])=>{r.component?t?nh(s,t.children.getContext(o),e):nh(s,null,e):nh(s,t,e)}),r.component?t&&t.outlet&&t.outlet.isActivated?e.canDeactivateChecks.push(new qc(t.outlet.component,r)):e.canDeactivateChecks.push(new qc(null,r)):e.canDeactivateChecks.push(new qc(null,r))}function _h(n){return typeof n=="function"}function kG(n){return typeof n=="boolean"}function EG(n){return n&&_h(n.canLoad)}function IG(n){return n&&_h(n.canActivate)}function MG(n){return n&&_h(n.canActivateChild)}function TG(n){return n&&_h(n.canDeactivate)}function AG(n){return n&&_h(n.canMatch)}function pF(n){return n instanceof Zo||n?.name==="EmptyError"}var Yg=Symbol("INITIAL_VALUE");function Xc(){return Rt(n=>jr(n.map(t=>t.pipe(pt(1),yt(Yg)))).pipe(fe(t=>{for(let e of t)if(e!==!0){if(e===Yg)return Yg;if(e===!1||OG(e))return e}return!0}),Ae(t=>t!==Yg),pt(1)))}function OG(n){return Dl(n)||n instanceof lh}function RG(n,t){return ti(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?oe(Pe(E({},e),{guardsResult:!0})):PG(s,i,r,n).pipe(ti(a=>a&&kG(a)?FG(i,o,n,t):oe(a)),fe(a=>Pe(E({},e),{guardsResult:a})))})}function PG(n,t,e,i){return Lt(n).pipe(ti(r=>BG(r.component,r.route,e,t,i)),Br(r=>r!==!0,!0))}function FG(n,t,e,i){return Lt(t).pipe(Xo(r=>go(LG(r.route.parent,i),NG(r.route,i),jG(n,r.path,e),VG(n,r.route,e))),Br(r=>r!==!0,!0))}function NG(n,t){return n!==null&&t&&t(new BD(n)),oe(!0)}function LG(n,t){return n!==null&&t&&t(new VD(n)),oe(!0)}function VG(n,t,e){let i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||i.length===0)return oe(!0);let r=i.map(o=>_r(()=>{let s=ph(t)??e,a=Jc(o,s),l=IG(a)?a.canActivate(t,n):So(s,()=>a(t,n));return sa(l).pipe(Br())}));return oe(r).pipe(Xc())}function jG(n,t,e){let i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>DG(s)).filter(s=>s!==null).map(s=>_r(()=>{let a=s.guards.map(l=>{let c=ph(s.node)??e,d=Jc(l,c),u=MG(d)?d.canActivateChild(i,n):So(c,()=>d(i,n));return sa(u).pipe(Br())});return oe(a).pipe(Xc())}));return oe(o).pipe(Xc())}function BG(n,t,e,i,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return oe(!0);let s=o.map(a=>{let l=ph(t)??r,c=Jc(a,l),d=TG(c)?c.canDeactivate(n,t,e,i):So(l,()=>c(n,t,e,i));return sa(d).pipe(Br())});return oe(s).pipe(Xc())}function $G(n,t,e,i){let r=t.canLoad;if(r===void 0||r.length===0)return oe(!0);let o=r.map(s=>{let a=Jc(s,n),l=EG(a)?a.canLoad(t,e):So(n,()=>a(t,e));return sa(l)});return oe(o).pipe(Xc(),gF(i))}function gF(n){return u0(Et(t=>{if(typeof t!="boolean")throw o_(n,t)}),fe(t=>t===!0))}function zG(n,t,e,i){let r=t.canMatch;if(!r||r.length===0)return oe(!0);let o=r.map(s=>{let a=Jc(s,n),l=AG(a)?a.canMatch(t,e):So(n,()=>a(t,e));return sa(l)});return oe(o).pipe(Xc(),gF(i))}var ch=class{constructor(t){this.segmentGroup=t||null}},dh=class extends Error{constructor(t){super(),this.urlTree=t}};function Hc(n){return Vs(new ch(n))}function HG(n){return Vs(new ee(4e3,!1))}function UG(n){return Vs(fF(!1,nr.GuardRejected))}var GD=class{constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return oe(i);if(r.numberOfChildren>1||!r.children[it])return HG(`${t.redirectTo}`);r=r.children[it]}}applyRedirectCommands(t,e,i,r,o){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:h,params:f,data:m,title:g}=r,_=So(o,()=>a({params:f,data:m,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:h,title:g}));if(_ instanceof Ao)throw new dh(_);e=_}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i);if(e[0]==="/")throw new dh(s);return s}applyRedirectCreateUrlTree(t,e,i,r){let o=this.createSegmentGroup(t,e.root,i,r);return new Ao(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){let i={};return Object.entries(t).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(t,e,i,r){let o=this.createSegments(t,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,i,r)}),new At(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){let r=i[e.path.substring(1)];if(!r)throw new ee(4001,!1);return r}findOrReturn(t,e){let i=0;for(let r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}},QD={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function WG(n,t,e,i,r){let o=_F(n,t,e);return o.matched?(i=fG(t,i),zG(i,t,e,r).pipe(fe(s=>s===!0?o:E({},QD)))):oe(o)}function _F(n,t,e){if(t.path==="**")return YG(e);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||e.length>0)?E({},QD):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(t.matcher||$6)(e,n,t);if(!r)return E({},QD);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?E(E({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function YG(n){return{matched:!0,parameters:n.length>0?KP(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function UP(n,t,e,i){return e.length>0&&QG(n,e,i)?{segmentGroup:new At(t,GG(i,new At(e,n.children))),slicedSegments:[]}:e.length===0&&KG(n,e,i)?{segmentGroup:new At(n.segments,qG(n,e,i,n.children)),slicedSegments:e}:{segmentGroup:new At(n.segments,n.children),slicedSegments:e}}function qG(n,t,e,i){let r={};for(let o of e)if(c_(n,t,o)&&!i[Gr(o)]){let s=new At([],{});r[Gr(o)]=s}return E(E({},i),r)}function GG(n,t){let e={};e[it]=t;for(let i of n)if(i.path===""&&Gr(i)!==it){let r=new At([],{});e[Gr(i)]=r}return e}function QG(n,t,e){return e.some(i=>c_(n,t,i)&&Gr(i)!==it)}function KG(n,t,e){return e.some(i=>c_(n,t,i))}function c_(n,t,e){return(n.hasChildren()||t.length>0)&&e.pathMatch==="full"?!1:e.path===""}function ZG(n,t,e){return t.length===0&&!n.children[e]}var KD=class{};function XG(n,t,e,i,r,o,s="emptyOnly"){return new ZD(n,t,e,i,r,s,o).recognize()}var JG=31,ZD=class{constructor(t,e,i,r,o,s,a){this.injector=t,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new GD(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new ee(4002,`'${t.segmentGroup}'`)}recognize(){let t=UP(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(fe(({children:e,rootSnapshot:i})=>{let r=new ir(i,e),o=new r_("",r),s=sG(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let e=new Yc([],Object.freeze({}),Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),it,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,it,e).pipe(fe(i=>({children:i,rootSnapshot:e})),_o(i=>{if(i instanceof dh)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof ch?this.noMatchError(i):i}))}processSegmentGroup(t,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(t,e,i,o):this.processSegment(t,e,i,i.segments,r,!0,o).pipe(fe(s=>s instanceof ir?[s]:[]))}processChildren(t,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Lt(o).pipe(Xo(s=>{let a=i.children[s],l=mG(e,s);return this.processSegmentGroup(t,l,a,s,r)}),w0((s,a)=>(s.push(...a),s)),Bs(null),y0(),ti(s=>{if(s===null)return Hc(i);let a=bF(s);return e9(a),oe(a)}))}processSegment(t,e,i,r,o,s,a){return Lt(e).pipe(Xo(l=>this.processSegmentAgainstRoute(l._injector??t,e,l,i,r,o,s,a).pipe(_o(c=>{if(c instanceof ch)return oe(null);throw c}))),Br(l=>!!l),_o(l=>{if(pF(l))return ZG(i,r,o)?oe(new KD):Hc(i);throw l}))}processSegmentAgainstRoute(t,e,i,r,o,s,a,l){return Gr(i)!==s&&(s===it||!c_(r,o,i))?Hc(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(t,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,s,l):Hc(r)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:h}=_F(e,r,o);if(!l)return Hc(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>JG&&(this.allowRedirects=!1));let f=new Yc(o,c,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,WP(r),Gr(r),r.component??r._loadedComponent??null,r,YP(r)),m=n_(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let g=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,u,f,t);return this.applyRedirects.lineralizeSegments(r,g).pipe(ti(_=>this.processSegment(t,i,e,_.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,e,i,r,o,s){let a=WG(e,i,r,t,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(Rt(l=>l.matched?(t=i._injector??t,this.getChildConfig(t,i,r).pipe(Rt(({routes:c})=>{let d=i._loadedInjector??t,{parameters:u,consumedSegments:h,remainingSegments:f}=l,m=new Yc(h,u,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,WP(i),Gr(i),i.component??i._loadedComponent??null,i,YP(i)),g=n_(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(g.params),m.data=Object.freeze(g.data);let{segmentGroup:_,slicedSegments:v}=UP(e,h,f,c);if(v.length===0&&_.hasChildren())return this.processChildren(d,c,_,m).pipe(fe(R=>new ir(m,R)));if(c.length===0&&v.length===0)return oe(new ir(m,[]));let x=Gr(i)===o;return this.processSegment(d,c,_,v,x?it:o,!0,m).pipe(fe(R=>new ir(m,R instanceof ir?[R]:[])))}))):Hc(e)))}getChildConfig(t,e,i){return e.children?oe({routes:e.children,injector:t}):e.loadChildren?e._loadedRoutes!==void 0?oe({routes:e._loadedRoutes,injector:e._loadedInjector}):$G(t,e,i,this.urlSerializer).pipe(ti(r=>r?this.configLoader.loadChildren(t,e).pipe(Et(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):UG(e))):oe({routes:[],injector:t})}};function e9(n){n.sort((t,e)=>t.value.outlet===it?-1:e.value.outlet===it?1:t.value.outlet.localeCompare(e.value.outlet))}function t9(n){let t=n.value.routeConfig;return t&&t.path===""}function bF(n){let t=[],e=new Set;for(let i of n){if(!t9(i)){t.push(i);continue}let r=t.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):t.push(i)}for(let i of e){let r=bF(i.children);t.push(new ir(i.value,r))}return t.filter(i=>!e.has(i))}function WP(n){return n.data||{}}function YP(n){return n.resolve||{}}function i9(n,t,e,i,r,o){return ti(s=>XG(n,t,e,i,s.extractedUrl,r,o).pipe(fe(({state:a,tree:l})=>Pe(E({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function n9(n,t){return ti(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return oe(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of vF(l))s.add(c);let a=0;return Lt(s).pipe(Xo(l=>o.has(l)?r9(l,i,n,t):(l.data=n_(l,l.parent,n).resolve,oe(void 0))),Et(()=>a++),Dc(1),ti(l=>a===s.size?oe(e):Ui))})}function vF(n){let t=n.children.map(e=>vF(e)).flat();return[n,...t]}function r9(n,t,e,i){let r=n.routeConfig,o=n._resolve;return r?.title!==void 0&&!uF(r)&&(o[fh]=r.title),o9(o,n,t,i).pipe(fe(s=>(n._resolvedData=s,n.data=n_(n,n.parent,e).resolve,null)))}function o9(n,t,e,i){let r=ID(n);if(r.length===0)return oe({});let o={};return Lt(r).pipe(ti(s=>s9(n[s],t,e,i).pipe(Br(),Et(a=>{if(a instanceof lh)throw o_(new Qc,a);o[s]=a}))),Dc(1),$s(o),_o(s=>pF(s)?Ui:Vs(s)))}function s9(n,t,e,i){let r=ph(t)??i,o=Jc(n,r),s=o.resolve?o.resolve(t,e):So(r,()=>o(t,e));return sa(s)}function kD(n){return Rt(t=>{let e=n(t);return e?Lt(e).pipe(fe(()=>t)):oe(t)})}var yF=(()=>{class n{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===it);return i}getResolvedTitleForRoute(e){return e.data[fh]}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:()=>C(a9),providedIn:"root"})}}return n})(),a9=(()=>{class n extends yF{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||n)(D(Ug))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),ed=new I("",{providedIn:"root",factory:()=>({})}),l9=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=A({type:n,selectors:[["ng-component"]],standalone:!0,features:[O],decls:1,vars:0,template:function(i,r){i&1&&ie(0,"router-outlet")},dependencies:[gG],encapsulation:2})}}return n})();function ex(n){let t=n.children&&n.children.map(ex),e=t?Pe(E({},n),{children:t}):E({},n);return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==it&&(e.component=l9),e}var uh=new I(""),tx=(()=>{class n{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(Sg)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return oe(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=sa(e.loadComponent()).pipe(fe(wF),Et(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),zs(()=>{this.componentLoaders.delete(e)})),r=new fo(i,()=>new k).pipe(_c());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return oe({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=c9(i,this.compiler,e,this.onLoadEndListener).pipe(zs(()=>{this.childrenLoaders.delete(i)})),s=new fo(o,()=>new k).pipe(_c());return this.childrenLoaders.set(i,s),s}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function c9(n,t,e,i){return sa(n.loadChildren()).pipe(fe(wF),ti(r=>r instanceof Au||Array.isArray(r)?oe(r):Lt(t.compileModuleAsync(r))),fe(r=>{i&&i(n);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(uh,[],{optional:!0,self:!0}).flat()),{routes:s.map(ex),injector:o}}))}function d9(n){return n&&typeof n=="object"&&"default"in n}function wF(n){return d9(n)?n.default:n}var ix=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:()=>C(u9),providedIn:"root"})}}return n})(),u9=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),CF=new I(""),DF=new I("");function h9(n,t,e){let i=n.get(DF),r=n.get(ce);return n.get(X).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),f9(n))),{onViewTransitionCreated:l}=i;return l&&So(n,()=>l({transition:a,from:t,to:e})),s})}function f9(n){return new Promise(t=>{jt({read:()=>setTimeout(t)},{injector:n})})}var m9=new I(""),nx=(()=>{class n{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new k,this.transitionAbortSubject=new k,this.configLoader=C(tx),this.environmentInjector=C(Pi),this.urlSerializer=C(mh),this.rootContexts=C(gh),this.location=C(Mo),this.inputBindingEnabled=C(l_,{optional:!0})!==null,this.titleStrategy=C(yF),this.options=C(ed,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(ix),this.createViewTransition=C(CF,{optional:!0}),this.navigationErrorHandler=C(m9,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>oe(void 0),this.rootComponentType=null;let e=r=>this.events.next(new ND(r)),i=r=>this.events.next(new LD(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(Pe(E(E({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new Ee({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ih,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ae(o=>o.id!==0),fe(o=>Pe(E({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Rt(o=>{let s=!1,a=!1;return oe(o).pipe(Rt(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",nr.SupersededByNewNavigation),Ui;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?Pe(E({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&d!=="reload"){let u="";return this.events.next(new oa(l.id,this.urlSerializer.serialize(l.rawUrl),u,Xg.IgnoredSameUrlNavigation)),l.resolve(!1),Ui}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return oe(l).pipe(Rt(u=>{let h=this.transitions?.getValue();return this.events.next(new Kc(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),h!==this.transitions?.getValue()?Ui:Promise.resolve(u)}),i9(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Et(u=>{o.targetSnapshot=u.targetSnapshot,o.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=Pe(E({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let h=new Jg(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:u,extractedUrl:h,source:f,restoredState:m,extras:g}=l,_=new Kc(u,this.urlSerializer.serialize(h),f,m);this.events.next(_);let v=cF(this.rootComponentType).snapshot;return this.currentTransition=o=Pe(E({},l),{targetSnapshot:v,urlAfterRedirects:h,extras:Pe(E({},g),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,oe(o)}else{let u="";return this.events.next(new oa(l.id,this.urlSerializer.serialize(l.extractedUrl),u,Xg.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Ui}}),Et(l=>{let c=new OD(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),fe(l=>(this.currentTransition=o=Pe(E({},l),{guards:CG(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),RG(this.environmentInjector,l=>this.events.next(l)),Et(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw o_(this.urlSerializer,l.guardsResult);let c=new RD(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Ae(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",nr.GuardRejected),!1)),kD(l=>{if(l.guards.canActivateChecks.length)return oe(l).pipe(Et(c=>{let d=new PD(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Rt(c=>{let d=!1;return oe(c).pipe(n9(this.paramsInheritanceStrategy,this.environmentInjector),Et({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",nr.NoDataFromResolver)}}))}),Et(c=>{let d=new FD(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),kD(l=>{let c=d=>{let u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(Et(h=>{d.component=h}),fe(()=>{})));for(let h of d.children)u.push(...c(h));return u};return jr(c(l.targetSnapshot.root)).pipe(Bs(null),pt(1))}),kD(()=>this.afterPreactivation()),Rt(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?Lt(d).pipe(fe(()=>o)):oe(o)}),fe(l=>{let c=_G(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=Pe(E({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),Et(()=>{this.events.next(new sh)}),wG(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),pt(1),Et({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new rr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Ce(this.transitionAbortSubject.pipe(Et(l=>{throw l}))),zs(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",nr.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),_o(l=>{if(a=!0,mF(l))this.events.next(new _s(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),yG(l)?this.events.next(new Zc(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new oh(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let d=So(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof lh){let{message:u,cancellationCode:h}=o_(this.urlSerializer,d);this.events.next(new _s(o.id,this.urlSerializer.serialize(o.extractedUrl),u,h)),this.events.next(new Zc(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(c);let u=e.errorHandler(l);o.resolve(!!u)}}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return Ui}))}))}cancelNavigationTransition(e,i,r){let o=new _s(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function p9(n){return n!==ih}var g9=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:()=>C(_9),providedIn:"root"})}}return n})(),XD=class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}},_9=(()=>{class n extends XD{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),xF=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:()=>C(b9),providedIn:"root"})}}return n})(),b9=(()=>{class n extends xF{constructor(){super(...arguments),this.location=C(Mo),this.urlSerializer=C(mh),this.options=C(ed,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(ix),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ao,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=cF(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof Kc)this.stateMemento=this.createStateMemento();else if(e instanceof oa)this.rawUrlTree=i.initialUrl;else if(e instanceof Jg){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else e instanceof sh?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof _s&&(e.code===nr.GuardRejected||e.code===nr.NoDataFromResolver)?this.restoreHistory(i):e instanceof oh?this.restoreHistory(i,!0):e instanceof rr&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof Ao?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let o=this.browserPageId,s=E(E({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(r,"",s)}else{let o=E(E({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",o)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),eh=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(eh||{});function SF(n,t){n.events.pipe(Ae(e=>e instanceof rr||e instanceof _s||e instanceof oh||e instanceof oa),fe(e=>e instanceof rr||e instanceof oa?eh.COMPLETE:(e instanceof _s?e.code===nr.Redirect||e.code===nr.SupersededByNewNavigation:!1)?eh.REDIRECTING:eh.FAILED),Ae(e=>e!==eh.REDIRECTING),pt(1)).subscribe(()=>{t()})}function v9(n){throw n}var y9={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},w9={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},bi=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=C(Dg),this.stateManager=C(xF),this.options=C(ed,{optional:!0})||{},this.pendingTasks=C(fl),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(nx),this.urlSerializer=C(mh),this.location=C(Mo),this.urlHandlingStrategy=C(ix),this._events=new k,this.errorHandler=this.options.errorHandler||v9,this.navigated=!1,this.routeReuseStrategy=C(g9),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=C(uh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!C(l_,{optional:!0}),this.eventsSubscription=new pe,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof _s&&i.code!==nr.Redirect&&i.code!==nr.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof rr)this.navigated=!0;else if(i instanceof Zc){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=E({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||p9(r.source)},s);this.scheduleNavigation(a,ih,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}D9(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ih,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=E({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(ex),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(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=E(E({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let u;try{let h=r?r.snapshot:this.routerState.snapshot.root;u=oF(h)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),u=this.currentUrlTree.root}return sF(u,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Dl(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,ih,null,i)}navigate(e,i={skipLocationChange:!1}){return C9(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=E({},y9):i===!1?r=E({},w9):r=i,Dl(e))return jP(this.currentUrlTree,e,r);let o=this.parseUrl(e);return jP(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,h)=>{a=u,l=h});let d=this.pendingTasks.add();return SF(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function C9(n){for(let t=0;t{class n{constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new k,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof rr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Dl(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:CC(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Dl(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{this.\u0275fac=function(i){return new(i||n)(p(bi),p(Oo),dn("tabindex"),p(vn),p(H),p(ps))}}static{this.\u0275dir=M({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&F("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&re("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",W],skipLocationChange:[2,"skipLocationChange","skipLocationChange",W],replaceUrl:[2,"replaceUrl","replaceUrl",W],routerLink:"routerLink"},standalone:!0,features:[Ie,ze]})}}return n})(),kF=(()=>{class n{get isActive(){return this._isActive}constructor(e,i,r,o,s){this.router=e,this.element=i,this.renderer=r,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new P,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof rr&&this.update()})}ngAfterContentInit(){oe(this.links.changes,oe(null)).pipe(po()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Lt(e).pipe(po()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){let i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),e&&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!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let i=x9(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>{let o=r.urlTree;return o?e.isActive(o,i):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static{this.\u0275fac=function(i){return new(i||n)(p(bi),p(H),p(vn),p(_e),p(hh,8))}}static{this.\u0275dir=M({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(i,r,o){if(i&1&&He(o,hh,5),i&2){let s;B(s=$())&&(r.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ze]})}}return n})();function x9(n){return!!n.paths}var a_=class{};var S9=(()=>{class n{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Ae(e=>e instanceof rr),Xo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=gg(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Lt(r).pipe(po())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=oe(null);let o=r.pipe(ti(s=>s===null?oe(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Lt([o,s]).pipe(po())}else return o})}static{this.\u0275fac=function(i){return new(i||n)(D(bi),D(Sg),D(Pi),D(a_),D(tx))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),EF=new I(""),k9=(()=>{class n{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},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(e=>{e instanceof Kc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof rr?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof oa&&e.code===Xg.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof e_&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new e_(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){pl()}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})();function wwe(n,...t){return Hp([{provide:uh,multi:!0,useValue:n},[],{provide:Oo,useFactory:IF,deps:[bi]},{provide:xg,multi:!0,useFactory:MF},t.map(e=>e.\u0275providers)])}function IF(n){return n.routerState.root}function td(n,t){return{\u0275kind:n,\u0275providers:t}}function MF(){let n=C(Oe);return t=>{let e=n.get(Xn);if(t!==e.components[0])return;let i=n.get(bi),r=n.get(TF);n.get(rx)===1&&i.initialNavigation(),n.get(AF,null,st.Optional)?.setUpPreloading(),n.get(EF,null,st.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var TF=new I("",{factory:()=>new k}),rx=new I("",{providedIn:"root",factory:()=>1});function E9(){return td(2,[{provide:rx,useValue:0},{provide:vl,multi:!0,deps:[Oe],useFactory:t=>{let e=t.get(mP,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let r=t.get(bi),o=t.get(TF);SF(r,()=>{i(!0)}),t.get(nx).afterPreactivation=()=>(i(!0),o.closed?oe(void 0):o),r.initialNavigation()}))}}])}function I9(){return td(3,[{provide:vl,multi:!0,useFactory:()=>{let t=C(bi);return()=>{t.setUpLocationChangeListener()}}},{provide:rx,useValue:2}])}var AF=new I("");function M9(n){return td(0,[{provide:AF,useExisting:S9},{provide:a_,useExisting:n}])}function Cwe(n){return td(5,[{provide:ed,useValue:n}])}function T9(){return td(8,[HP,{provide:l_,useExisting:HP}])}function A9(n){let t=[{provide:CF,useValue:h9},{provide:DF,useValue:E({skipNextTransition:!!n?.skipInitialTransition},n)}];return td(9,t)}var qP=new I("ROUTER_FORROOT_GUARD"),O9=[Mo,{provide:mh,useClass:Qc},bi,gh,{provide:Oo,useFactory:IF,deps:[bi]},tx,[]],ox=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[O9,[],{provide:uh,multi:!0,useValue:e},{provide:qP,useFactory:N9,deps:[[bi,new yr,new Ur]]},{provide:ed,useValue:i||{}},i?.useHash?P9():F9(),R9(),i?.preloadingStrategy?M9(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?L9(i):[],i?.bindToComponentInputs?T9().\u0275providers:[],i?.enableViewTransitions?A9().\u0275providers:[],V9()]}}static forChild(e){return{ngModule:n,providers:[{provide:uh,multi:!0,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||n)(D(qP,8))}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({})}}return n})();function R9(){return{provide:EF,useFactory:()=>{let n=C(kP),t=C(X),e=C(ed),i=C(nx),r=C(mh);return e.scrollOffset&&n.setOffset(e.scrollOffset),new k9(r,i,n,t,e)}}}function P9(){return{provide:ps,useClass:pP}}function F9(){return{provide:ps,useClass:iD}}function N9(n){return"guarded"}function L9(n){return[n.initialNavigation==="disabled"?I9().\u0275providers:[],n.initialNavigation==="enabledBlocking"?E9().\u0275providers:[]]}var GP=new I("");function V9(){return[{provide:GP,useFactory:MF},{provide:xg,multi:!0,useExisting:GP}]}var lx;try{lx=typeof Intl<"u"&&Intl.v8BreakIterator}catch{lx=!1}var Ne=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?sD(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||lx)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||n)(D(Io))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var bh;function j9(){if(bh==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>bh=!0}))}finally{bh=bh||!1}return bh}function hi(n){return j9()?n:!!n.capture}var Qr=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(Qr||{}),d_,xl;function u_(){if(xl==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return xl=!1,xl;if("scrollBehavior"in document.documentElement.style)xl=!0;else{let n=Element.prototype.scrollTo;n?xl=!/\{\s*\[native code\]\s*\}/.test(n.toString()):xl=!1}}return xl}function id(){if(typeof document!="object"||!document)return Qr.NORMAL;if(d_==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),d_=Qr.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,d_=n.scrollLeft===0?Qr.NEGATED:Qr.INVERTED),n.remove()}return d_}var ax;function B9(){if(ax==null){let n=typeof document<"u"?document.head:null;ax=!!(n&&(n.createShadowRoot||n.attachShadow))}return ax}function nd(n){if(B9()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function aa(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function vi(n){return n.composedPath?n.composedPath()[0]:n.target}function vh(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function xt(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function ai(n){return n!=null&&`${n}`!="false"}function ji(n,t=0){return cx(n)?Number(n):arguments.length===2?t:0}function cx(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function la(n){return Array.isArray(n)?n:[n]}function fi(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Ii(n){return n instanceof H?n.nativeElement:n}function OF(n,t=/\s+/){let e=[];if(n!=null){let i=Array.isArray(n)?n:`${n}`.split(t);for(let r of i){let o=`${r}`.trim();o&&e.push(o)}}return e}function $9(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let t=0;t{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),z9=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=C(X)}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=Ii(e);return new Se(r=>{let s=this._observeElement(i).pipe(fe(a=>a.filter(l=>!$9(l))),Ae(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{r.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new k,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static{this.\u0275fac=function(i){return new(i||n)(D(RF))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),yh=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=ji(e),this._subscribe()}constructor(e,i){this._contentObserver=e,this._elementRef=i,this.event=new P,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(sn(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(p(z9),p(H))}}static{this.\u0275dir=M({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",W],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[Ie]})}}return n})(),rd=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({providers:[RF]})}}return n})();var PF=new Set,Sl,H9=(()=>{class n{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):W9}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&U9(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||n)(D(Ne),D(ju,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function U9(n,t){if(!PF.has(n))try{Sl||(Sl=document.createElement("style"),t&&Sl.setAttribute("nonce",t),Sl.setAttribute("type","text/css"),document.head.appendChild(Sl)),Sl.sheet&&(Sl.sheet.insertRule(`@media ${n} {body{ }}`,0),PF.add(n))}catch(e){console.error(e)}}function W9(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var od=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return FF(la(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=FF(la(e)).map(s=>this._registerQuery(s).observable),o=jr(r);return o=go(o.pipe(pt(1)),o.pipe(Za(1),sn(0))),o.pipe(fe(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new Se(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(yt(i),fe(({matches:s})=>({query:e,matches:s})),Ce(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static{this.\u0275fac=function(i){return new(i||n)(D(H9),D(X))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function FF(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var h_={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var BF=" ";function ud(n,t,e){let i=g_(n,t);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),n.setAttribute(t,i.join(BF)))}function ca(n,t,e){let i=g_(n,t);e=e.trim();let r=i.filter(o=>o!==e);r.length?n.setAttribute(t,r.join(BF)):n.removeAttribute(t)}function g_(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}var $F="cdk-describedby-message",f_="cdk-describedby-host",hx=0,b_=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${hx++}`,this._document=e,this._id=C(Vu)+"-"+hx++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=dx(i,r);typeof i!="string"?(NF(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=dx(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${f_}="${this._id}"]`);for(let i=0;ir.indexOf($F)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);ud(e,"aria-describedby",r.messageElement.id),e.setAttribute(f_,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,ca(e,"aria-describedby",r.messageElement.id),e.removeAttribute(f_)}_isElementDescribedByMessage(e,i){let r=g_(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(i){return new(i||n)(D(ce),D(Ne))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function dx(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function NF(n,t){n.id||(n.id=`${$F}-${t}-${hx++}`)}var tQ=200,fx=class{constructor(t,e){this._letterKeyStream=new k,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new k,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:tQ;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(t),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){let e=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(Et(e=>this._pressedLetters.push(e)),sn(t),Ae(()=>this._pressedLetters.length>0),fe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;ii.disabled,this.tabOut=new k,this.change=new k,t instanceof vr?this._itemChangesSubscription=t.changes.subscribe(i=>this._itemsChanged(i.toArray())):mg(t)&&(this._effectRef=yl(()=>this._itemsChanged(t()),{injector:e}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new fx(e,{debounceInterval:typeof t=="number"?t:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,e=10){return this._pageUpAndDown={enabled:t,delta:e},this}setActiveItem(t){let e=this._activeItem();this.updateActiveItem(t),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){let e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}},ad=class extends __{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},ld=class extends __{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var da=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return nQ(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=iQ(uQ(e));if(i&&(LF(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=LF(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!cQ(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return dQ(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(i){return new(i||n)(D(Ne))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function iQ(n){try{return n.frameElement}catch{return null}}function nQ(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function rQ(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function oQ(n){return aQ(n)&&n.type=="hidden"}function sQ(n){return lQ(n)&&n.hasAttribute("href")}function aQ(n){return n.nodeName.toLowerCase()=="input"}function lQ(n){return n.nodeName.toLowerCase()=="a"}function zF(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function LF(n){if(!zF(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function cQ(n){let t=n.nodeName.toLowerCase(),e=t==="input"&&n.type;return e==="text"||e==="password"||t==="select"||t==="textarea"}function dQ(n){return oQ(n)?!1:rQ(n)||sQ(n)||n.hasAttribute("contenteditable")||zF(n)}function uQ(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var mx=class{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,e,i,r,o=!1,s){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){let e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let i=0;i=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._injector?jt(t,{injector:this._injector}):setTimeout(t)}},El=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._injector=C(Oe),this._document=r}create(e,i=!1){return new mx(e,this._checker,this._ngZone,this._document,i,this._injector)}static{this.\u0275fac=function(i){return new(i||n)(D(da),D(X),D(ce))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),HF=(()=>{class n{get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}constructor(e,i,r){this._elementRef=e,this._focusTrapFactory=i,this._previouslyFocusedElement=null,C(Ne).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=aa(),this.focusTrap?.focusInitialElementWhenReady()}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(El),p(ce))}}static{this.\u0275dir=M({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",W],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",W]},exportAs:["cdkTrapFocus"],standalone:!0,features:[Ie,ze]})}}return n})();function Il(n){return n.buttons===0||n.detail===0}function Ml(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var hQ=new I("cdk-input-modality-detector-options"),fQ={ignoreKeys:[18,17,224,91,16]},UF=650,sd=hi({passive:!0,capture:!0}),mQ=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Ee(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=vi(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Ml(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=vi(s)},this._options=E(E({},fQ),o),this.modalityDetected=this._modality.pipe(Za(1)),this.modalityChanged=this.modalityDetected.pipe(Jo()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,sd),r.addEventListener("mousedown",this._onMousedown,sd),r.addEventListener("touchstart",this._onTouchstart,sd)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,sd),document.removeEventListener("mousedown",this._onMousedown,sd),document.removeEventListener("touchstart",this._onTouchstart,sd))}static{this.\u0275fac=function(i){return new(i||n)(D(Ne),D(X),D(ce),D(hQ,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),pQ=new I("liveAnnouncerElement",{providedIn:"root",factory:gQ});function gQ(){return null}var _Q=new I("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),bQ=0,v_=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new k,this._rootNodeFocusAndBlurListener=a=>{let l=vi(a);for(let c=l;c;c=c.parentElement)a.type==="focus"?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||p_.IMMEDIATE}monitor(e,i=!1){let r=Ii(e);if(!this._platform.isBrowser||r.nodeType!==1)return oe();let o=nd(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new k,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Ii(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=Ii(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===p_.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===p_.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?UF:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=vi(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,m_),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,m_)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ce(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,m_),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,m_),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new P}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(yi))}}static{this.\u0275dir=M({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return n})(),kl=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(kl||{}),VF="cdk-high-contrast-black-on-white",jF="cdk-high-contrast-white-on-black",ux="cdk-high-contrast-active",_x=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=C(od).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return kl.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return kl.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return kl.BLACK_ON_WHITE}return kl.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(ux,VF,jF),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===kl.BLACK_ON_WHITE?e.add(ux,VF):i===kl.WHITE_ON_BLACK&&e.add(ux,jF)}}static{this.\u0275fac=function(i){return new(i||n)(D(Ne),D(ce))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),ua=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(i){return new(i||n)(D(_x))}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({imports:[rd]})}}return n})();var yQ=new I("cdk-dir-doc",{providedIn:"root",factory:wQ});function wQ(){return C(ce)}var CQ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function DQ(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?CQ.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var gt=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new P,e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=DQ(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||n)(D(yQ,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var ha=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({})}}return n})();var xQ=["text"],SQ=[[["mat-icon"]],"*"],kQ=["mat-icon","*"];function EQ(n,t){if(n&1&&ie(0,"mat-pseudo-checkbox",1),n&2){let e=S();q("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function IQ(n,t){if(n&1&&ie(0,"mat-pseudo-checkbox",3),n&2){let e=S();q("disabled",e.disabled)}}function MQ(n,t){if(n&1&&(b(0,"span",4),z(1),y()),n&2){let e=S();w(),qe("(",e.group.label,")")}}var TQ=["mat-internal-form-field",""],AQ=["*"];var eN=(()=>{class n{static{this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"}static{this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"}static{this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"}static{this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}}return n})(),tN=(()=>{class n{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return n})();function OQ(){return!0}var RQ=new I("mat-sanity-checks",{providedIn:"root",factory:OQ}),Me=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return vh()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||n)(D(_x),D(RQ,8),D(ce))}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({imports:[ha,ha]})}}return n})();var Dh=class{constructor(t,e,i,r,o){this._defaultMatcher=t,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let t=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var WF=new I("MAT_DATE_LOCALE",{providedIn:"root",factory:PQ});function PQ(){return C(ta)}var wi=class{constructor(){this._localeChanges=new k,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return t==null||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),r=this.isValid(e);return i&&r?!this.compareDate(t,e):i==r}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}},fa=new I("mat-date-formats"),FQ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function bx(n,t){let e=Array(n);for(let i=0;i{class n extends wi{constructor(e){super(),this.useUtcForDisplay=!1,this._matDateLocale=C(WF,{optional:!0}),e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return bx(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return bx(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){let i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return bx(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),i=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return i===7?0:i}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let o=this._createDateWithOverflow(e,i,r);return o.getMonth()!=i,o}today(){return new Date}parse(e,i){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,Pe(E({},i),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,i*12)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(FQ.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,i,r){let o=new Date;return o.setFullYear(e,i,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,i){let r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}static{this.\u0275fac=function(i){return new(i||n)(D(WF,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac})}}return n})(),LQ={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};var Dx=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({providers:[VQ()]})}}return n})();function VQ(n=LQ){return[{provide:wi,useClass:NQ},{provide:fa,useValue:n}]}var xx=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Er=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(Er||{}),wx=class{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=Er.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},YF=hi({passive:!0,capture:!0}),Cx=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let e=vi(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,YF)})}removeHandler(t,e,i){let r=this._events.get(t);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,YF)))}},qF={enterDuration:225,exitDuration:150},jQ=800,GF=hi({passive:!0,capture:!0}),QF=["mousedown","touchstart"],KF=["mouseup","mouseleave","touchend","touchcancel"],xh=class n{static{this._eventManager=new Cx}constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Ii(i))}fadeInRipple(t,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=E(E({},qF),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||BQ(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),h=u.transitionProperty,f=u.transitionDuration,m=h==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,g=new wx(this,d,i,m);d.style.transform="scale3d(1, 1, 1)",g.state=Er.FADING_IN,i.persistent||(this._mostRecentTransientRipple=g);let _=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let v=()=>{_&&(_.fallbackTimer=null),clearTimeout(R),this._finishRippleTransition(g)},x=()=>this._destroyRipple(g),R=setTimeout(x,c+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",x),_={onTransitionEnd:v,onTransitionCancel:x,fallbackTimer:R}}),this._activeRipples.set(g,_),(m||!c)&&this._finishRippleTransition(g),g}fadeOutRipple(t){if(t.state===Er.FADING_OUT||t.state===Er.HIDDEN)return;let e=t.element,i=E(E({},qF),t.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=Er.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let e=Ii(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,QF.forEach(i=>{n._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{KF.forEach(e=>{this._triggerElement.addEventListener(e,this,GF)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Er.FADING_IN?this._startFadeOutTransition(t):t.state===Er.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=Er.VISIBLE,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Er.HIDDEN,e!==null&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),t.element.remove()}_onMousedown(t){let e=Il(t),i=this._lastTouchStartEvent&&Date.now(){let e=t.state===Er.VISIBLE||t.config.terminateOnPointerUp&&t.state===Er.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(QF.forEach(e=>n._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&(KF.forEach(e=>t.removeEventListener(e,this,GF)),this._pointerUpEventsRegistered=!1))}};function BQ(n,t,e){let i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}var Tl=new I("mat-ripple-global-options"),Jr=(()=>{class n{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new xh(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:E(E(E({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,E(E({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,E(E({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(X),p(Ne),p(Tl,8),p(Dt,8))}}static{this.\u0275dir=M({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return n})(),Al=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({imports:[Me,Me]})}}return n})(),$Q=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(i){return new(i||n)(p(Dt,8))}}static{this.\u0275cmp=A({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&Q("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[O],decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return n})(),Sx=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({imports:[Me]})}}return n})(),kh=new I("MAT_OPTION_PARENT_COMPONENT");var Eh=new I("MatOptgroup");var zQ=0,Sh=class{constructor(t,e=!1){this.source=t,this.isUserInput=e}},hd=(()=>{class n{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${zQ++}`,this.onSelectionChange=new P,this._stateChanges=new k}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!xt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Sh(this,e))}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(_e),p(kh,8),p(Eh,8))}}static{this.\u0275cmp=A({type:n,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&le(xQ,7),i&2){let o;B(o=$())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&F("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(Dr("id",r.id),re("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),Q("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",W]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Ie,O],ngContentSelectors:kQ,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(ge(SQ),U(0,EQ,1,2,"mat-pseudo-checkbox",1),Z(1),b(2,"span",2,0),Z(4,1),y(),U(5,IQ,1,1,"mat-pseudo-checkbox",3)(6,MQ,2,1,"span",4),ie(7,"div",5)),i&2&&(Y(r.multiple?0:-1),w(5),Y(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),w(),Y(r.group&&r.group._inert?6:-1),w(),q("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[$Q,Jr],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return n})();function C_(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;se+i?Math.max(0,n-i+t):e}var fd=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({imports:[Al,Me,Sx]})}}return n})(),ZF={capture:!0},XF=["focus","mousedown","mouseenter","touchstart"],vx="mat-ripple-loader-uninitialized",yx="mat-ripple-loader-class-name",JF="mat-ripple-loader-centered",w_="mat-ripple-loader-disabled",iN=(()=>{class n{constructor(){this._document=C(ce,{optional:!0}),this._animationMode=C(Dt,{optional:!0}),this._globalRippleOptions=C(Tl,{optional:!0}),this._platform=C(Ne),this._ngZone=C(X),this._hosts=new Map,this._onInteraction=e=>{let i=vi(e);if(i instanceof HTMLElement){let r=i.closest(`[${vx}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of XF)this._document?.addEventListener(e,this._onInteraction,ZF)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of XF)this._document?.removeEventListener(i,this._onInteraction,ZF)}configureRipple(e,i){e.setAttribute(vx,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(yx))&&e.setAttribute(yx,i.className||""),i.centered&&e.setAttribute(JF,""),i.disabled&&e.setAttribute(w_,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let r=this._hosts.get(e);if(r){r.disabled=i;return}i?e.setAttribute(w_,""):e.removeAttribute(w_)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(yx)),e.append(r);let o=new Jr(new H(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(JF),o.disabled=e.hasAttribute(w_),this.attachRipple(e,o),o}attachRipple(e,i){e.removeAttribute(vx),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),nN=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=A({type:n,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[O],attrs:TQ,ngContentSelectors:AQ,decls:1,vars:0,template:function(i,r){i&1&&(ge(),Z(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return n})();var oN=["mat-button",""],sN=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],aN=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],HQ='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',lN=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var UQ=["mat-icon-button",""],WQ=["*"];var YQ=new I("MAT_BUTTON_CONFIG");var qQ=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],kx=(()=>{class n{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,r,o){this._elementRef=e,this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=C(yi),this._rippleLoader=C(iN),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=C(YQ,{optional:!0}),a=e.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:c,mdcClasses:d}of qQ)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){pl()}}static{this.\u0275dir=M({type:n,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",W],disabled:[2,"disabled","disabled",W],ariaDisabled:[2,"aria-disabled","ariaDisabled",W],disabledInteractive:[2,"disabledInteractive","disabledInteractive",W]},features:[Ie]})}}return n})();var GQ=(()=>{class n extends kx{constructor(e,i,r,o){super(e,i,r,o),this._haltDisabledEvents=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static{this.\u0275fac=function(i){pl()}}static{this.\u0275dir=M({type:n,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:gi(e)]},features:[Ie,ne]})}}return n})(),Ol=(()=>{class n extends kx{constructor(e,i,r,o){super(e,i,r,o)}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(Ne),p(X),p(Dt,8))}}static{this.\u0275cmp=A({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(re("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),ui(r.color?"mat-"+r.color:""),Q("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,O],attrs:oN,ngContentSelectors:aN,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(ge(sN),ie(0,"span",0),Z(1),b(2,"span",1),Z(3,1),y(),Z(4,2),ie(5,"span",2)(6,"span",3)),i&2&&Q("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return n})(),JCe=(()=>{class n extends GQ{constructor(e,i,r,o){super(e,i,r,o)}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(Ne),p(X),p(Dt,8))}}static{this.\u0275cmp=A({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,r){i&2&&(re("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),ui(r.color?"mat-"+r.color:""),Q("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,O],attrs:oN,ngContentSelectors:aN,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(ge(sN),ie(0,"span",0),Z(1),b(2,"span",1),Z(3,1),y(),Z(4,2),ie(5,"span",2)(6,"span",3)),i&2&&Q("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[HQ,lN],encapsulation:2,changeDetection:0})}}return n})();var ma=(()=>{class n extends kx{constructor(e,i,r,o){super(e,i,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(Ne),p(X),p(Dt,8))}}static{this.\u0275cmp=A({type:n,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(re("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),ui(r.color?"mat-"+r.color:""),Q("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,O],attrs:UQ,ngContentSelectors:WQ,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(ge(),ie(0,"span",0),Z(1),ie(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',lN],encapsulation:2,changeDetection:0})}}return n})();var bs=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({imports:[Me,Al,Me]})}}return n})();var Ge=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(Ge||{}),Ro="*";function qt(n,t){return{type:Ge.Trigger,name:n,definitions:t,options:{}}}function lt(n,t=null){return{type:Ge.Animate,styles:t,timings:n}}function cN(n,t=null){return{type:Ge.Group,steps:n,options:t}}function dN(n,t=null){return{type:Ge.Sequence,steps:n,options:t}}function De(n){return{type:Ge.Style,styles:n,offset:null}}function _t(n,t,e){return{type:Ge.State,name:n,styles:t,options:e}}function ga(n){return{type:Ge.Keyframes,steps:n}}function at(n,t,e=null){return{type:Ge.Transition,expr:n,animation:t,options:e}}function x_(n=null){return{type:Ge.AnimateChild,options:n}}function S_(n,t,e=null){return{type:Ge.Query,selector:n,animation:t,options:e}}var pa=class{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Ih=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let e=t*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let t=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},k_="!";var Mh=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},Vn=class extends Mh{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}},$i=class extends Mh{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}},Ex=class extends Mh{constructor(t){super(),this.element=t instanceof H?t.nativeElement:t}},_a=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof Vn)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof $i)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof Ex)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var md=class extends _a{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){let i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Oe.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var uN=(()=>{class n extends $i{constructor(e,i){super(e,i)}static{this.\u0275fac=function(i){return new(i||n)(p(ct),p(ht))}}static{this.\u0275dir=M({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[ne]})}}return n})();var Dn=(()=>{class n extends _a{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new P,this.attachDomPortal=o=>{this._document;let s=o.element;s.parentNode;let a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(i){return new(i||n)(p(Rn),p(ht),p(ce))}}static{this.\u0275dir=M({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ne]})}}return n})();var eo=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({})}}return n})();var Th=class{};function E_(n){return n&&typeof n.connect=="function"&&!(n instanceof fo)}var pd=function(n){return n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED",n}(pd||{}),Ah=new I("_ViewRepeater"),gd=class{applyChanges(t,e,i,r,o){t.forEachOperation((s,a,l)=>{let c,d;if(s.previousIndex==null){let u=i(s,a,l);c=e.createEmbeddedView(u.templateRef,u.context,u.index),d=pd.INSERTED}else l==null?(e.remove(a),d=pd.REMOVED):(c=e.get(a),e.move(c,l),d=pd.MOVED);o&&o({context:c?.context,operation:d,record:s})})}detach(){}};var _d=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);let e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(t,i))return i;return t}else return t}};var QQ=20,to=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=QQ){return this._platform.isBrowser?new Se(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(qm(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):oe()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Ae(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Ii(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Ri(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||n)(D(X),D(Ne),D(ce,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),io=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new k,this._elementScrolled=new Se(s=>this.ngZone.runOutsideAngular(()=>Ri(this.elementRef.nativeElement,"scroll").pipe(Ce(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&id()!=Qr.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),id()==Qr.INVERTED?e.left=e.right:id()==Qr.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;u_()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&id()==Qr.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&id()==Qr.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(to),p(X),p(gt,8))}}static{this.\u0275dir=M({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return n})(),KQ=20,zi=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new k,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=KQ){return e>0?this._change.pipe(qm(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||n)(D(Ne),D(X),D(ce,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Zi=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({})}}return n})(),Oh=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({imports:[ha,Zi,ha,Zi]})}}return n})();var hN=u_(),Ix=class{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=fi(-this._previousScrollPosition.left),t.style.top=fi(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,i=t.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),hN&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),hN&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};var Mx=class{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(Ae(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},I_=class{enable(){}disable(){}attach(){}};function Tx(n,t){return t.some(e=>{let i=n.bottome.bottom,o=n.righte.right;return i||r||o||s})}function fN(n,t){return t.some(e=>{let i=n.tope.bottom,o=n.lefte.right;return i||r||o||s})}var Ax=class{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Tx(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ZQ=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new I_,this.close=s=>new Mx(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Ix(this._viewportRuler,this._document),this.reposition=s=>new Ax(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static{this.\u0275fac=function(i){return new(i||n)(D(to),D(zi),D(X),D(ce))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),jn=class{constructor(t){if(this.scrollStrategy=new I_,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let e=Object.keys(t);for(let i of e)t[i]!==void 0&&(this[i]=t[i])}}};var Ox=class{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}};var vN=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(i){return new(i||n)(D(ce))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),XQ=(()=>{class n extends vN{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{let o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){let a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(i){return new(i||n)(D(ce),D(X,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),JQ=(()=>{class n extends vN{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=vi(o)},this._clickListener=o=>{let s=vi(o),a=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){let d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(mN(d.overlayElement,s)||mN(d.overlayElement,a))break;let u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(i){return new(i||n)(D(ce),D(Ne),D(X,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function mN(n,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===n)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var ys=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||vh()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(h),this._backdropTransitionendHandler=h=>{this._disposeBackdrop(h.target)},this._keydownEvents=new k,this._outsidePointerEvents=new k,this._renders=new k,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=Nn(()=>Uu(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=jt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=E(E({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Pe(E({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=fi(this._config.width),t.height=fi(this._config.height),t.minWidth=fi(this._config.minWidth),t.minHeight=fi(this._config.minHeight),t.maxWidth=fi(this._config.maxWidth),t.maxHeight=fi(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){let r=la(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(Ce(et(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},pN="cdk-overlay-connected-position-bounding-box",e7=/([A-Za-z%]+)$/,Rh=class{get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new k,this._resizeSubscription=pe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(pN),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Rl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(pN),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r;if(i.originX=="center")r=t.left+t.width/2;else{let s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=t.top+t.height/2:o=i.originY=="top"?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){let o=_N(e),{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-i.width,h=0-a,f=a+o.height-i.height,m=this._subtractOverflows(o.width,d,u),g=this._subtractOverflows(o.height,h,f),_=m*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=gN(this._overlayRef.getConfig().minHeight),a=gN(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||s!=null&&s<=r,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let r=_N(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=t.xm&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-m/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,u,h;if(c)h=i.width-t.x+this._viewportMargin*2,d=t.x-this._viewportMargin;else if(l)u=t.x,d=i.right-t.x;else{let f=Math.min(i.right-t.x+i.left,t.x),m=this._lastBoundingBoxSize.width;d=f*2,u=t.x-f,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-m/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(t,e){let i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=fi(i.height),r.top=fi(i.top),r.bottom=fi(i.bottom),r.width=fi(i.width),r.left=fi(i.left),r.right=fi(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=fi(o)),s&&(r.maxWidth=fi(s))}this._lastBoundingBoxSize=i,Rl(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Rl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Rl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Rl(i,this._getExactOverlayY(e,t,d)),Rl(i,this._getExactOverlayX(e,t,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=fi(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=fi(s.maxWidth):o&&(i.maxWidth="")),Rl(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),t.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=fi(o.y);return r}_getExactOverlayX(t,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=t.overlayX==="end"?"left":"right":s=t.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=fi(o.x);return r}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fN(t,i),isOriginOutsideView:Tx(t,i),isOverlayClipped:fN(e,i),isOverlayOutsideView:Tx(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&la(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof H)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}};function Rl(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function gN(n){if(typeof n!="number"&&n!=null){let[t,e]=n.split(e7);return!e||e==="px"?parseFloat(t):null}return n||null}function _N(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function t7(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var bN="cdk-global-overlay-wrapper",Rx=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(bN),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",f="",m="",g="";l?g="flex-start":d==="center"?(g="center",h?m=u:f=u):h?d==="left"||d==="end"?(g="flex-end",f=u):(d==="right"||d==="start")&&(g="flex-start",m=u):d==="left"||d==="start"?(g="flex-start",f=u):(d==="right"||d==="end")&&(g="flex-end",m=u),t.position=this._cssPosition,t.marginLeft=l?"0":f,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":m,e.justifyContent=g,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(bN),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},i7=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new Rx}flexibleConnectedTo(e){return new Rh(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||n)(D(zi),D(ce),D(Ne),D(ys))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),n7=0,dt=(()=>{class n{constructor(e,i,r,o,s,a,l,c,d,u,h,f){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(e){let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new jn(e);return s.direction=s.direction||this._directionality.value,new vs(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Pi))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${n7++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Xn)),new md(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||n)(D(ZQ),D(ys),D(Rn),D(i7),D(XQ),D(Oe),D(X),D(ce),D(gt),D(Mo),D(JQ),D(Dt,8))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),r7=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],yN=new I("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=C(dt);return()=>n.scrollStrategies.reposition()}}),Ph=(()=>{class n{constructor(e){this.elementRef=e}static{this.\u0275fac=function(i){return new(i||n)(p(H))}}static{this.\u0275dir=M({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return n})(),Px=(()=>{class n{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._backdropSubscription=pe.EMPTY,this._attachSubscription=pe.EMPTY,this._detachSubscription=pe.EMPTY,this._positionSubscription=pe.EMPTY,this._disposeOnNavigation=!1,this._ngZone=C(X),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new P,this.positionChange=new P,this.attach=new P,this.detach=new P,this.overlayKeydown=new P,this.overlayOutsideClick=new P,this._templatePortal=new $i(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=r7);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!xt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=vi(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new jn({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Ph?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ph?this.origin.elementRef.nativeElement:this.origin instanceof H?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(D0(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(p(dt),p(ct),p(ht),p(yN),p(gt,8))}}static{this.\u0275dir=M({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",W],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",W],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",W],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",W],push:[2,"cdkConnectedOverlayPush","push",W],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",W]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Ie,ze]})}}return n})();function o7(n){return()=>n.scrollStrategies.reposition()}var s7={provide:yN,deps:[dt],useFactory:o7},Ti=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({providers:[dt,s7],imports:[ha,eo,Oh,Oh]})}}return n})(),wN=(()=>{class n extends ys{constructor(e,i){super(e,i)}ngOnDestroy(){super.ngOnDestroy(),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)}_createContainer(){super._createContainer(),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(()=>this._adjustParentForFullscreenChange())}_adjustParentForFullscreenChange(){if(!this._containerElement)return;(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}_addFullscreenChangeListener(e){let i=this._getEventName();i&&(this._fullScreenListener&&this._document.removeEventListener(i,this._fullScreenListener),this._document.addEventListener(i,e),this._fullScreenListener=e)}_getEventName(){if(!this._fullScreenEventName){let e=this._document;e.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":e.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":e.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":e.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}getFullscreenElement(){let e=this._document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||null}static{this.\u0275fac=function(i){return new(i||n)(D(ce),D(Ne))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function a7(n,t){if(n&1){let e=ye();b(0,"div",1)(1,"button",2),F("click",function(){N(e);let r=S();return L(r.action())}),z(2),y()()}if(n&2){let e=S();w(2),qe(" ",e.data.action," ")}}var l7=["label"];function c7(n,t){}var d7=Math.pow(2,31)-1,Fh=class{constructor(t,e){this._overlayRef=e,this._afterDismissed=new k,this._afterOpened=new k,this._onAction=new k,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,d7))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},CN=new I("MatSnackBarData"),bd=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},u7=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=M({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return n})(),h7=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=M({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return n})(),f7=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=M({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return n})(),DN=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(i){return new(i||n)(p(Fh),p(CN))}}static{this.\u0275cmp=A({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[O],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(b(0,"div",0),z(1),y(),U(2,a7,3,1,"div",1)),i&2&&(w(),qe(" ",r.data.message,`
`),w(),Y(r.hasAction?2:-1))},dependencies:[Ol,u7,h7,f7],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return n})(),m7={snackBarState:qt("state",[_t("void, hidden",De({transform:"scale(0.8)",opacity:0})),_t("visible",De({transform:"scale(1)",opacity:1})),at("* => visible",lt("150ms cubic-bezier(0, 0, 0.2, 1)")),at("* => void, * => hidden",lt("75ms cubic-bezier(0.4, 0.0, 1, 1)",De({opacity:0})))])},p7=0,g7=(()=>{class n extends _a{constructor(e,i,r,o,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=s,this._document=C(ce),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new k,this._onExit=new k,this._onEnter=new k,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${p7++}`,this.attachDomPortal=a=>{this._assertNotAttached();let l=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),l},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:r}=e;if((r==="void"&&i!=="void"||r==="hidden")&&this._completeExit(),r==="visible"){let o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,o="mdc-snackbar__label";r.classList.toggle(o,!r.querySelector(`.${o}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{let i=e.getAttribute("aria-owns");if(i){let r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(i){return new(i||n)(p(X),p(H),p(_e),p(Ne),p(bd))}}static{this.\u0275cmp=A({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&(le(Dn,7),le(l7,7)),i&2){let o;B(o=$())&&(r._portalOutlet=o.first),B(o=$())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(i,r){i&1&&_l("@state.done",function(s){return r.onAnimationEnd(s)}),i&2&&gl("@state",r._animationState)},standalone:!0,features:[ne,O],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(b(0,"div",1)(1,"div",2,0)(3,"div",3),U(4,c7,0,0,"ng-template",4),y(),ie(5,"div"),y()()),i&2&&(w(5),re("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Dn],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[m7.snackBarState]}})}}return n})();function _7(){return new bd}var b7=new I("mat-snack-bar-default-options",{providedIn:"root",factory:_7}),Fx=(()=>{class n{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,r,o,s,a){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=DN,this.snackBarContainerComponent=g7,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){let o=E(E({},this._defaultConfig),r);return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,o=Oe.create({parent:r||this._injector,providers:[{provide:bd,useValue:i}]}),s=new Vn(this.snackBarContainerComponent,i.viewContainerRef,o),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){let r=E(E(E({},new bd),this._defaultConfig),i),o=this._createOverlay(r),s=this._attachSnackBarContainer(o,r),a=new Fh(s,o);if(e instanceof ct){let l=new $i(e,null,{$implicit:r.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{let l=this._createInjector(r,a),c=new Vn(e,void 0,l),d=s.attachComponentPortal(c);a.instance=d.instance}return this._breakpointObserver.observe(h_.HandsetPortrait).pipe(Ce(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(a,r),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new jn;i.direction=e.direction;let r=this._overlay.position().global(),o=e.direction==="rtl",s=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,a=!s&&e.horizontalPosition!=="center";return s?r.left("0"):a?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Oe.create({parent:r||this._injector,providers:[{provide:Fh,useValue:i},{provide:CN,useValue:e.data}]})}static{this.\u0275fac=function(i){return new(i||n)(D(dt),D(v_),D(Oe),D(od),D(n,12),D(b7))}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Nx=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({providers:[Fx],imports:[Ti,eo,bs,Me,DN,Me]})}}return n})();var y7={url:"",deserializer:n=>JSON.parse(n.data),serializer:n=>JSON.stringify(n)},w7="WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }",M_=class n extends vc{constructor(t,e){if(super(),this._socket=null,t instanceof Se)this.destination=e,this.source=t;else{let i=this._config=Object.assign({},y7);if(this._output=new k,typeof t=="string")i.url=t;else for(let r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new qn}}lift(t){let e=new n(this._config,this.destination);return e.operator=t,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new qn),this._output=new k}multiplex(t,e,i){let r=this;return new Se(o=>{try{r.next(t())}catch(a){o.error(a)}let s=r.subscribe({next:a=>{try{i(a)&&o.next(a)}catch(l){o.error(l)}},error:a=>o.error(a),complete:()=>o.complete()});return()=>{try{r.next(e())}catch(a){o.error(a)}s.unsubscribe()}})}_connectSocket(){let{WebSocketCtor:t,protocol:e,url:i,binaryType:r}=this._config,o=this._output,s=null;try{s=e?new t(i,e):new t(i),this._socket=s,r&&(this._socket.binaryType=r)}catch(l){o.error(l);return}let a=new pe(()=>{this._socket=null,s&&s.readyState===1&&s.close()});s.onopen=l=>{let{_socket:c}=this;if(!c){s.close(),this._resetState();return}let{openObserver:d}=this._config;d&&d.next(l);let u=this.destination;this.destination=Qo.create(h=>{if(s.readyState===1)try{let{serializer:f}=this._config;s.send(f(h))}catch(f){this.destination.error(f)}},h=>{let{closingObserver:f}=this._config;f&&f.next(void 0),h&&h.code?s.close(h.code,h.reason):o.error(new TypeError(w7)),this._resetState()},()=>{let{closingObserver:h}=this._config;h&&h.next(void 0),s.close(),this._resetState()}),u&&u instanceof qn&&a.add(u.subscribe(this.destination))},s.onerror=l=>{this._resetState(),o.error(l)},s.onclose=l=>{s===this._socket&&this._resetState();let{closeObserver:c}=this._config;c&&c.next(l),l.wasClean?o.complete():o.error(l)},s.onmessage=l=>{try{let{deserializer:c}=this._config;o.next(c(l))}catch(c){o.error(c)}}}_subscribe(t){let{source:e}=this;return e?e.subscribe(t):(this._socket||this._connectSocket(),this._output.subscribe(t),t.add(()=>{let{_socket:i}=this;this._output.observers.length===0&&(i&&(i.readyState===1||i.readyState===0)&&i.close(),this._resetState())}),t)}unsubscribe(){let{_socket:t}=this;t&&(t.readyState===1||t.readyState===0)&&t.close(),this._resetState(),super.unsubscribe()}};function Lx(n){return new M_(n)}var AN=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||n)(p(vn),p(H))}}static{this.\u0275dir=M({type:n})}}return n})(),Dd=(()=>{class n extends AN{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275dir=M({type:n,features:[ne]})}}return n})(),$t=new I(""),C7={provide:$t,useExisting:Ye(()=>D7),multi:!0},D7=(()=>{class n extends Dd{writeValue(e){this.setProperty("checked",e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275dir=M({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){i&1&&F("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[de([C7]),ne]})}}return n})(),x7={provide:$t,useExisting:Ye(()=>B_),multi:!0};function S7(){let n=ms()?ms().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var k7=new I(""),B_=(()=>{class n extends AN{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!S7())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||n)(p(vn),p(H),p(k7,8))}}static{this.\u0275dir=M({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&F("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[de([x7]),ne]})}}return n})();function ya(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function ON(n){return n!=null&&typeof n.length=="number"}var Ji=new I(""),xd=new I(""),E7=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,wa=class{static min(t){return RN(t)}static max(t){return I7(t)}static required(t){return M7(t)}static requiredTrue(t){return T7(t)}static email(t){return A7(t)}static minLength(t){return O7(t)}static maxLength(t){return R7(t)}static pattern(t){return PN(t)}static nullValidator(t){return A_(t)}static compose(t){return BN(t)}static composeAsync(t){return $N(t)}};function RN(n){return t=>{if(ya(t.value)||ya(n))return null;let e=parseFloat(t.value);return!isNaN(e)&&e{if(ya(t.value)||ya(n))return null;let e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function M7(n){return ya(n.value)?{required:!0}:null}function T7(n){return n.value===!0?null:{required:!0}}function A7(n){return ya(n.value)||E7.test(n.value)?null:{email:!0}}function O7(n){return t=>ya(t.value)||!ON(t.value)?null:t.value.lengthON(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function PN(n){if(!n)return A_;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(ya(i.value))return null;let r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function A_(n){return null}function FN(n){return n!=null}function NN(n){return ea(n)?Lt(n):n}function LN(n){let t={};return n.forEach(e=>{t=e!=null?E(E({},t),e):t}),Object.keys(t).length===0?null:t}function VN(n,t){return t.map(e=>e(n))}function P7(n){return!n.validate}function jN(n){return n.map(t=>P7(t)?t:e=>t.validate(e))}function BN(n){if(!n)return null;let t=n.filter(FN);return t.length==0?null:function(e){return LN(VN(e,t))}}function zx(n){return n!=null?BN(jN(n)):null}function $N(n){if(!n)return null;let t=n.filter(FN);return t.length==0?null:function(e){let i=VN(e,t).map(NN);return Du(i).pipe(fe(LN))}}function Hx(n){return n!=null?$N(jN(n)):null}function xN(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function zN(n){return n._rawValidators}function HN(n){return n._rawAsyncValidators}function Vx(n){return n?Array.isArray(n)?n:[n]:[]}function O_(n,t){return Array.isArray(n)?n.includes(t):n===t}function SN(n,t){let e=Vx(t);return Vx(n).forEach(r=>{O_(e,r)||e.push(r)}),e}function kN(n,t){return Vx(t).filter(e=>!O_(n,e))}var R_=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=zx(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Hx(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},un=class extends R_{get formDirective(){return null}get path(){return null}},no=class extends R_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},P_=class{constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},F7={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Oxe=Pe(E({},F7),{"[class.ng-submitted]":"isSubmitted"}),Sd=(()=>{class n extends P_{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||n)(p(no,2))}}static{this.\u0275dir=M({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&Q("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ne]})}}return n})(),Rxe=(()=>{class n extends P_{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||n)(p(un,10))}}static{this.\u0275dir=M({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&Q("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ne]})}}return n})();var Nh="VALID",T_="INVALID",vd="PENDING",Lh="DISABLED",Ca=class{},F_=class extends Ca{constructor(t,e){super(),this.value=t,this.source=e}},jh=class extends Ca{constructor(t,e){super(),this.pristine=t,this.source=e}},Bh=class extends Ca{constructor(t,e){super(),this.touched=t,this.source=e}},yd=class extends Ca{constructor(t,e){super(),this.status=t,this.source=e}},jx=class extends Ca{constructor(t){super(),this.source=t}},Bx=class extends Ca{constructor(t){super(),this.source=t}};function Ux(n){return($_(n)?n.validators:n)||null}function N7(n){return Array.isArray(n)?zx(n):n||null}function Wx(n,t){return($_(t)?t.asyncValidators:n)||null}function L7(n){return Array.isArray(n)?Hx(n):n||null}function $_(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function UN(n,t,e){let i=n.controls;if(!(t?Object.keys(i):i).length)throw new ee(1e3,"");if(!i[e])throw new ee(1001,"")}function WN(n,t,e){n._forEachChild((i,r)=>{if(e[r]===void 0)throw new ee(1002,"")})}var wd=class{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Jn(()=>this.statusReactive()),this.statusReactive=di(void 0),this._pristine=Jn(()=>this.pristineReactive()),this.pristineReactive=di(!0),this._touched=Jn(()=>this.touchedReactive()),this.touchedReactive=di(!1),this._events=new k,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return Nn(this.statusReactive)}set status(t){Nn(()=>this.statusReactive.set(t))}get valid(){return this.status===Nh}get invalid(){return this.status===T_}get pending(){return this.status==vd}get disabled(){return this.status===Lh}get enabled(){return this.status!==Lh}get pristine(){return Nn(this.pristineReactive)}set pristine(t){Nn(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return Nn(this.touchedReactive)}set touched(t){Nn(()=>this.touchedReactive.set(t))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(SN(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(SN(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(kN(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(kN(t,this._rawAsyncValidators))}hasValidator(t){return O_(this._rawValidators,t)}hasAsyncValidator(t){return O_(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(Pe(E({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new Bh(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&t.emitEvent!==!1&&this._events.next(new Bh(!1,i))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(Pe(E({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new jh(!1,i))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&t.emitEvent!==!1&&this._events.next(new jh(!0,i))}markAsPending(t={}){this.status=vd;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new yd(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(Pe(E({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=Lh,this.errors=null,this._forEachChild(r=>{r.disable(Pe(E({},t),{onlySelf:!0}))}),this._updateValue();let i=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new F_(this.value,i)),this._events.next(new yd(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Pe(E({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=Nh,this._forEachChild(i=>{i.enable(Pe(E({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Pe(E({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Nh||this.status===vd)&&this._runAsyncValidator(i,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new F_(this.value,e)),this._events.next(new yd(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(Pe(E({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Lh:Nh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=vd,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=NN(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new yd(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new P,this.statusChanges=new P}_calculateStatus(){return this._allControlsDisabled()?Lh:this.errors?T_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vd)?vd:this._anyControlsHaveStatus(T_)?T_:Nh}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new jh(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new Bh(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){$_(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=N7(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=L7(this._rawAsyncValidators)}},Fl=class extends wd{constructor(t,e,i){super(Ux(e),Wx(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){WN(this,!0,t),Object.keys(t).forEach(i=>{UN(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(i=>{let r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Pxe=Fl;var $x=class extends Fl{};var $h=new I("CallSetDisabledState",{providedIn:"root",factory:()=>z_}),z_="always";function Yx(n,t){return[...t.path,n]}function N_(n,t,e=z_){qx(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),j7(n,t),$7(n,t),B7(n,t),V7(n,t)}function L_(n,t,e=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),j_(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function V_(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function V7(n,t){if(t.valueAccessor.setDisabledState){let e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function qx(n,t){let e=zN(n);t.validator!==null?n.setValidators(xN(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let i=HN(n);t.asyncValidator!==null?n.setAsyncValidators(xN(i,t.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();V_(t._rawValidators,r),V_(t._rawAsyncValidators,r)}function j_(n,t){let e=!1;if(n!==null){if(t.validator!==null){let r=zN(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let r=HN(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}let i=()=>{};return V_(t._rawValidators,i),V_(t._rawAsyncValidators,i),e}function j7(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&YN(n,t)})}function B7(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&YN(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function YN(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function $7(n,t){let e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function qN(n,t){n==null,qx(n,t)}function z7(n,t){return j_(n,t)}function GN(n,t){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function H7(n){return Object.getPrototypeOf(n.constructor)===Dd}function QN(n,t){n._syncPendingControls(),t.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function KN(n,t){if(!t)return null;Array.isArray(t);let e,i,r;return t.forEach(o=>{o.constructor===B_?e=o:H7(o)?i=o:r=o}),r||i||e||null}function U7(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}var W7={provide:un,useExisting:Ye(()=>Gx)},Vh=Promise.resolve(),Gx=(()=>{class n extends un{get submitted(){return Nn(this.submittedReactive)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Jn(()=>this.submittedReactive()),this.submittedReactive=di(!1),this._directives=new Set,this.ngSubmit=new P,this.form=new Fl({},zx(e),Hx(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Vh.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),N_(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Vh.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Vh.then(()=>{let i=this._findContainer(e.path),r=new Fl({});qN(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Vh.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Vh.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),QN(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(i){return new(i||n)(p(Ji,10),p(xd,10),p($h,8))}}static{this.\u0275dir=M({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&F("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([W7]),ne]})}}return n})();function EN(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function IN(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var va=class extends wd{constructor(t=null,e,i){super(Ux(e),Wx(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$_(e)&&(e.nonNullable||e.initialValueIsDefault)&&(IN(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){EN(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){EN(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){IN(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},kd=va,Y7=n=>n instanceof va,q7=(()=>{class n extends un{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Yx(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275dir=M({type:n,features:[ne]})}}return n})();var Nxe=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=M({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return n})(),G7={provide:$t,useExisting:Ye(()=>Q7),multi:!0},Q7=(()=>{class n extends Dd{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275dir=M({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&F("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[de([G7]),ne]})}}return n})(),K7={provide:$t,useExisting:Ye(()=>X7),multi:!0};var Z7=(()=>{class n{constructor(){this._accessors=[]}add(e,i){this._accessors.push([e,i])}remove(e){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===e){this._accessors.splice(i,1);return}}select(e){this._accessors.forEach(i=>{this._isSameGroup(i,e)&&i[1]!==e&&i[1].fireUncheck(e.value)})}_isSameGroup(e,i){return e[0].control?e[0]._parent===i._control._parent&&e[1].name===i.name:!1}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),X7=(()=>{class n extends Dd{constructor(e,i,r,o){super(e,i),this._registry=r,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=C($h,{optional:!0})??z_}ngOnInit(){this._control=this._injector.get(no),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.\u0275fac=function(i){return new(i||n)(p(vn),p(H),p(Z7),p(Oe))}}static{this.\u0275dir=M({type:n,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){i&1&&F("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[de([K7]),ne]})}}return n})();var Qx=new I(""),J7={provide:no,useExisting:Ye(()=>Nl)},Nl=(()=>{class n extends no{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this.update=new P,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=KN(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&L_(i,this,!1),N_(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}GN(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&L_(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(i){return new(i||n)(p(Ji,10),p(xd,10),p($t,10),p(Qx,8),p($h,8))}}static{this.\u0275dir=M({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[de([J7]),ne,ze]})}}return n})(),eK={provide:un,useExisting:Ye(()=>Ed)},Ed=(()=>{class n extends un{get submitted(){return Nn(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Jn(()=>this._submittedReactive()),this._submittedReactive=di(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new P,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(j_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return N_(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){L_(e.control||null,e,!1),U7(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),QN(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new jx(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Bx(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(L_(i||null,e),Y7(r)&&(N_(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);qN(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&z7(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qx(this.form,this),this._oldForm&&j_(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(i){return new(i||n)(p(Ji,10),p(xd,10),p($h,8))}}static{this.\u0275dir=M({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&F("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([eK]),ne,ze]})}}return n})(),tK={provide:un,useExisting:Ye(()=>H_)},H_=(()=>{class n extends q7{constructor(e,i,r){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}_checkParentType(){ZN(this._parent)}static{this.\u0275fac=function(i){return new(i||n)(p(un,13),p(Ji,10),p(xd,10))}}static{this.\u0275dir=M({type:n,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[de([tK]),ne]})}}return n})(),iK={provide:un,useExisting:Ye(()=>U_)},U_=(()=>{class n extends un{constructor(e,i,r){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Yx(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){ZN(this._parent)}static{this.\u0275fac=function(i){return new(i||n)(p(un,13),p(Ji,10),p(xd,10))}}static{this.\u0275dir=M({type:n,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[de([iK]),ne]})}}return n})();function ZN(n){return!(n instanceof H_)&&!(n instanceof Ed)&&!(n instanceof U_)}var nK={provide:no,useExisting:Ye(()=>rK)},rK=(()=>{class n extends no{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new P,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=KN(this,o)}ngOnChanges(e){this._added||this._setUpControl(),GN(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Yx(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(i){return new(i||n)(p(un,13),p(Ji,10),p(xd,10),p($t,10),p(Qx,8))}}static{this.\u0275dir=M({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[de([nK]),ne,ze]})}}return n})(),oK={provide:$t,useExisting:Ye(()=>JN),multi:!0};function XN(n,t){return n==null?`${t}`:(t&&typeof t=="object"&&(t="Object"),`${n}: ${t}`.slice(0,50))}function sK(n){return n.split(":")[0]}var JN=(()=>{class n extends Dd{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;let i=this._getOptionId(e),r=XN(i,e);this.setProperty("value",r)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){let i=sK(e);return this._optionMap.has(i)?this._optionMap.get(i):e}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275dir=M({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){i&1&&F("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[de([oK]),ne]})}}return n})(),Lxe=(()=>{class n{constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(XN(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(vn),p(JN,9))}}static{this.\u0275dir=M({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return n})(),aK={provide:$t,useExisting:Ye(()=>eL),multi:!0};function MN(n,t){return n==null?`${t}`:(typeof t=="string"&&(t=`'${t}'`),t&&typeof t=="object"&&(t="Object"),`${n}: ${t}`.slice(0,50))}function lK(n){return n.split(":")[0]}var eL=(()=>{class n extends Dd{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;let i;if(Array.isArray(e)){let r=e.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{let r=[],o=i.selectedOptions;if(o!==void 0){let s=o;for(let a=0;a{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275dir=M({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){i&1&&F("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[de([aK]),ne]})}}return n})(),Vxe=(()=>{class n{constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(MN(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(MN(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(i){return new(i||n)(p(H),p(vn),p(eL,9))}}static{this.\u0275dir=M({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return n})();function cK(n){return typeof n=="number"?n:parseFloat(n)}var tL=(()=>{class n{constructor(){this._validator=A_}ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):A_,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=M({type:n,features:[ze]})}}return n})();var dK={provide:Ji,useExisting:Ye(()=>uK),multi:!0},uK=(()=>{class n extends tL{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>cK(e),this.createValidator=e=>RN(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275dir=M({type:n,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&re("min",r._enabled?r.min:null)},inputs:{min:"min"},features:[de([dK]),ne]})}}return n})();var hK={provide:Ji,useExisting:Ye(()=>fK),multi:!0},fK=(()=>{class n extends tL{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>PN(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275dir=M({type:n,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&re("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[de([hK]),ne]})}}return n})();var mK=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({})}}return n})(),Cd=class extends wd{constructor(t,e,i){super(Ux(e),Wx(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){WN(this,!1,t),t.forEach((i,r)=>{UN(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}},jxe=Cd;function TN(n){return!!n&&(n.asyncValidators!==void 0||n.validators!==void 0||n.updateOn!==void 0)}var pK=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){let e=new n;return e.useNonNullable=!0,e}group(e,i=null){let r=this._reduceControls(e),o={};return TN(i)?o=i:i!==null&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new Fl(r,o)}record(e,i=null){let r=this._reduceControls(e);return new $x(r,i)}control(e,i,r){let o={};return this.useNonNullable?(TN(i)?o=i:(o.validators=i,o.asyncValidators=r),new va(e,Pe(E({},o),{nonNullable:!0}))):new va(e,i,r)}array(e,i,r){let o=e.map(s=>this._createControl(s));return new Cd(o,i,r)}_reduceControls(e){let i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){if(e instanceof va)return e;if(e instanceof wd)return e;if(Array.isArray(e)){let i=e[0],r=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(i,r,o)}else return this.control(e)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Bxe=(()=>{class n extends pK{group(e,i=null){return super.group(e,i)}control(e,i,r){return super.control(e,i,r)}array(e,i,r){return super.array(e,i,r)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(n)))(r||n)}})()}static{this.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Da=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Qx,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:$h,useValue:e.callSetDisabledState??z_}]}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ae({type:n})}static{this.\u0275inj=se({imports:[mK]})}}return n})();var gK=["*"],W_;function _K(){if(W_===void 0&&(W_=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(W_=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return W_}function zh(n){return _K()?.createHTML(n)||n}function nL(n){return Error(`Unable to find icon with the name "${n}"`)}function bK(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function rL(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function oL(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var ws=class{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}},vK=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new ws(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let s=this._sanitizer.sanitize(pi.HTML,r);if(!s)throw oL(r);let a=zh(s);return this._addSvgIconConfig(e,i,new ws("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new ws(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(pi.HTML,i);if(!o)throw oL(i);let s=zh(o);return this._addSvgIconSetConfig(e,new ws("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(pi.RESOURCE_URL,e);if(!i)throw rL(e);let r=this._cachedIconsByUrl.get(i);return r?oe(Y_(r)):this._loadSvgIconFromConfig(new ws(e,null)).pipe(Et(o=>this._cachedIconsByUrl.set(i,o)),fe(o=>Y_(o)))}getNamedSvgIcon(e,i=""){let r=sL(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Vs(nL(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?oe(Y_(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(fe(i=>Y_(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return oe(r);let o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(_o(a=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(pi.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),oe(null)})));return Du(o).pipe(fe(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw nL(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Et(i=>e.svgText=i),fe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?oe(null):this._fetchIcon(e).pipe(Et(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,r);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),r);let a=this._svgElementFromString(zh(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("