diff --git a/404.html b/404.html index 3005cee..f196c11 100644 --- a/404.html +++ b/404.html @@ -12,5 +12,5 @@ Loading... - + diff --git a/chunk-2B4O5LJH.js b/chunk-2B4O5LJH.js new file mode 100644 index 0000000..ac65d4b --- /dev/null +++ b/chunk-2B4O5LJH.js @@ -0,0 +1,7 @@ +var hf=Object.create;var To=Object.defineProperty,pf=Object.defineProperties,gf=Object.getOwnPropertyDescriptor,mf=Object.getOwnPropertyDescriptors,yf=Object.getOwnPropertyNames,Pn=Object.getOwnPropertySymbols,vf=Object.getPrototypeOf,No=Object.prototype.hasOwnProperty,Ta=Object.prototype.propertyIsEnumerable;var Sa=(e,t,n)=>t in e?To(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,We=(e,t)=>{for(var n in t||={})No.call(t,n)&&Sa(e,n,t[n]);if(Pn)for(var n of Pn(t))Ta.call(t,n)&&Sa(e,n,t[n]);return e},qe=(e,t)=>pf(e,mf(t));var wI=(e,t)=>{var n={};for(var r in e)No.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Pn)for(var r of Pn(e))t.indexOf(r)<0&&Ta.call(e,r)&&(n[r]=e[r]);return n};var CI=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Df=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yf(t))!No.call(e,o)&&o!==n&&To(e,o,{get:()=>t[o],enumerable:!(r=gf(t,o))||r.enumerable});return e};var bI=(e,t,n)=>(n=e!=null?hf(vf(e)):{},Df(t||!e||!e.__esModule?To(n,"default",{value:e,enumerable:!0}):n,e));function Na(e,t){return Object.is(e,t)}var z=null,kn=!1,Ln=1,ve=Symbol("SIGNAL");function b(e){let t=z;return z=e,t}function Aa(){return z}var un={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 Fo(e){if(kn)throw new Error("");if(z===null)return;z.consumerOnSignalRead(e);let t=z.nextProducerIndex++;if($n(z),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Po(e){$n(e);for(let t=0;t0}function $n(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ka(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function La(e){return e.producerNode!==void 0}function Lo(e){let t=Object.create(wf);t.computation=e;let n=()=>{if(Oa(t),Fo(t),t.value===jn)throw t.error;return t.value};return n[ve]=t,n}var Ao=Symbol("UNSET"),Oo=Symbol("COMPUTING"),jn=Symbol("ERRORED"),wf=qe(We({},un),{value:Ao,dirty:!0,error:null,equal:Na,producerMustRecompute(e){return e.value===Ao||e.value===Oo},producerRecomputeValue(e){if(e.value===Oo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Oo;let n=Vn(e),r;try{r=e.computation()}catch(o){r=jn,e.error=o}finally{Ro(e,n)}if(t!==Ao&&t!==jn&&r!==jn&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Cf(){throw new Error}var ja=Cf;function Va(){ja()}function Ba(e){ja=e}var bf=null;function $a(e){let t=Object.create(Ua);t.value=e;let n=()=>(Fo(t),t.value);return n[ve]=t,n}function jo(e,t){Ra()||Va(),e.equal(e.value,t)||(e.value=t,_f(e))}function Ha(e,t){Ra()||Va(),jo(e,t(e.value))}var Ua=qe(We({},un),{equal:Na,value:void 0});function _f(e){e.version++,If(),Fa(e),bf?.()}function m(e){return typeof e=="function"}function Ot(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Hn=Ot(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function at(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var $=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(m(r))try{r()}catch(i){t=i instanceof Hn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{za(i)}catch(s){t=t??[],s instanceof Hn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Hn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)za(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&at(n,t)}remove(t){let{_finalizers:n}=this;n&&at(n,t),t instanceof e&&t._removeParent(this)}};$.EMPTY=(()=>{let e=new $;return e.closed=!0,e})();var Vo=$.EMPTY;function Un(e){return e instanceof $||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function za(e){m(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zn(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=De;if(t)t(e);else throw e})}function cn(){}var Ga=Bo("C",void 0,void 0);function Wa(e){return Bo("E",void 0,e)}function qa(e){return Bo("N",e,void 0)}function Bo(e,t,n){return{kind:e,value:t,error:n}}var ut=null;function Rt(e){if(De.useDeprecatedSynchronousErrorHandling){let t=!ut;if(t&&(ut={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ut;if(ut=null,n)throw r}}else e()}function Za(e){De.useDeprecatedSynchronousErrorHandling&&ut&&(ut.errorThrown=!0,ut.error=e)}var ct=class extends ${constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Un(t)&&t.add(this)):this.destination=Sf}static create(t,n,r){return new Fe(t,n,r)}next(t){this.isStopped?Ho(qa(t),this):this._next(t)}error(t){this.isStopped?Ho(Wa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ho(Ga,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()}}},Mf=Function.prototype.bind;function $o(e,t){return Mf.call(e,t)}var Uo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Gn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Gn(r)}else Gn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gn(n)}}},Fe=class extends ct{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&De.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&$o(t.next,i),error:t.error&&$o(t.error,i),complete:t.complete&&$o(t.complete,i)}):o=t}this.destination=new Uo(o)}};function Gn(e){De.useDeprecatedSynchronousErrorHandling?Za(e):zn(e)}function xf(e){throw e}function Ho(e,t){let{onStoppedNotification:n}=De;n&&Ft.setTimeout(()=>n(e,t))}var Sf={closed:!0,next:cn,error:xf,complete:cn};var Pt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function Tf(...e){return zo(e)}function zo(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Af(n)?n:new Fe(n,r,o);return Rt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ya(r),new r((o,i)=>{let s=new Fe({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Pt](){return this}pipe(...n){return zo(n)(this)}toPromise(n){return n=Ya(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ya(e){var t;return(t=e??De.Promise)!==null&&t!==void 0?t:Promise}function Nf(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function Af(e){return e&&e instanceof ct||Nf(e)&&Un(e)}function Go(e){return m(e?.lift)}function I(e){return t=>{if(Go(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function D(e,t,n,r,o){return new Wo(e,t,n,r,o)}var Wo=class extends ct{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function qo(){return I((e,t)=>{let n=null;e._refCount++;let r=D(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Zo=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Go(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 $;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=$.EMPTY)}return t}refCount(){return qo()(this)}};var Qa=Ot(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Wn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Qa}next(n){Rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Vo:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,at(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new Wn(t,n),e})(),Wn=class extends de{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Vo}};var ln=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var dn={now(){return(dn.delegate||Date).now()},delegate:void 0};var qn=class extends de{constructor(t=1/0,n=1/0,r=dn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function Kn(e){return e&&m(e.schedule)}function Yo(e){return e[e.length-1]}function Jn(e){return m(Yo(e))?e.pop():void 0}function _e(e){return Kn(Yo(e))?e.pop():void 0}function Ja(e,t){return typeof Yo(e)=="number"?e.pop():t}function eu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Xa(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function tu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){r[f]&&(o[f]=function(g){return new Promise(function(T,C){i.push([f,g,T,C])>1||u(f,g)})},p&&(o[f]=p(o[f])))}function u(f,p){try{c(r[f](p))}catch(g){h(i[0][3],g)}}function c(f){f.value instanceof dt?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function h(f,p){f(p),i.shift(),i.length&&u(i[0][0],i[0][1])}}function nu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Xa=="function"?Xa(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Lt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Xn(e){return m(e?.then)}function er(e){return m(e[Pt])}function tr(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function nr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Of(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var rr=Of();function or(e){return m(e?.[rr])}function ir(e){return tu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function sr(e){return m(e?.getReader)}function F(e){if(e instanceof x)return e;if(e!=null){if(er(e))return Ff(e);if(Lt(e))return Rf(e);if(Xn(e))return Pf(e);if(tr(e))return ru(e);if(or(e))return kf(e);if(sr(e))return Lf(e)}throw nr(e)}function Ff(e){return new x(t=>{let n=e[Pt]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Rf(e){return new x(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zn)})}function kf(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ru(e){return new x(t=>{jf(e,t).catch(n=>t.error(n))})}function Lf(e){return ru(ir(e))}function jf(e,t){var n,r,o,i;return eu(this,void 0,void 0,function*(){try{for(n=nu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ie(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ar(e,t=0){return I((n,r)=>{n.subscribe(D(r,o=>ie(r,e,()=>r.next(o),t),()=>ie(r,e,()=>r.complete(),t),o=>ie(r,e,()=>r.error(o),t)))})}function ur(e,t=0){return I((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ou(e,t){return F(e).pipe(ur(t),ar(t))}function iu(e,t){return F(e).pipe(ur(t),ar(t))}function su(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function au(e,t){return new x(n=>{let r;return ie(n,t,()=>{r=e[rr](),ie(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>m(r?.return)&&r.return()})}function cr(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{ie(n,t,()=>{let r=e[Symbol.asyncIterator]();ie(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function uu(e,t){return cr(ir(e),t)}function cu(e,t){if(e!=null){if(er(e))return ou(e,t);if(Lt(e))return su(e,t);if(Xn(e))return iu(e,t);if(tr(e))return cr(e,t);if(or(e))return au(e,t);if(sr(e))return uu(e,t)}throw nr(e)}function Me(e,t){return t?cu(e,t):F(e)}function Vf(...e){let t=_e(e);return Me(e,t)}function Bf(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function $f(e){return!!e&&(e instanceof x||m(e.lift)&&m(e.subscribe))}var ft=Ot(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function lu(e){return e instanceof Date&&!isNaN(e)}function Re(e,t){return I((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Hf}=Array;function Uf(e,t){return Hf(t)?e(...t):e(t)}function jt(e){return Re(t=>Uf(e,t))}var{isArray:zf}=Array,{getPrototypeOf:Gf,prototype:Wf,keys:qf}=Object;function lr(e){if(e.length===1){let t=e[0];if(zf(t))return{args:t,keys:null};if(Zf(t)){let n=qf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Zf(e){return e&&typeof e=="object"&&Gf(e)===Wf}function dr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Yf(...e){let t=_e(e),n=Jn(e),{args:r,keys:o}=lr(e);if(r.length===0)return Me([],t);let i=new x(Qf(r,t,o?s=>dr(o,s):J));return n?i.pipe(jt(n)):i}function Qf(e,t,n=J){return r=>{du(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=Me(e[u],t),l=!1;c.subscribe(D(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function du(e,t,n){e?ie(n,e,t):t()}function fu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,h=()=>{d&&!u.length&&!c&&t.complete()},f=g=>c{i&&t.next(g),c++;let T=!1;F(n(g,l++)).subscribe(D(t,C=>{o?.(C),i?f(C):t.next(C)},()=>{T=!0},void 0,()=>{if(T)try{for(c--;u.length&&cp(C)):p(C)}h()}catch(C){t.error(C)}}))};return e.subscribe(D(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Pe(e,t,n=1/0){return m(t)?Pe((r,o)=>Re((i,s)=>t(r,i,o,s))(F(e(r,o))),n):(typeof t=="number"&&(n=t),I((r,o)=>fu(r,o,e,n)))}function pn(e=1/0){return Pe(J,e)}function hu(){return pn(1)}function fr(...e){return hu()(Me(e,_e(e)))}function Kf(e){return new x(t=>{F(e()).subscribe(t)})}function Jf(...e){let t=Jn(e),{args:n,keys:r}=lr(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=h},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?dr(r,a):a),i.complete())}))}});return t?o.pipe(jt(t)):o}var Xf=["addListener","removeListener"],eh=["addEventListener","removeEventListener"],th=["on","off"];function Qo(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return Qo(e,t,n).pipe(jt(r));let[o,i]=oh(e)?eh.map(s=>a=>e[s](t,a,n)):nh(e)?Xf.map(pu(e,t)):rh(e)?th.map(pu(e,t)):[];if(!o&&Lt(e))return Pe(s=>Qo(s,t,n))(F(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...u)=>s.next(1i(a)})}function pu(e,t){return n=>r=>e[n](t,r)}function nh(e){return m(e.addListener)&&m(e.removeListener)}function rh(e){return m(e.on)&&m(e.off)}function oh(e){return m(e.addEventListener)&&m(e.removeEventListener)}function gu(e=0,t,n=Ka){let r=-1;return t!=null&&(Kn(t)?n=t:r=t),new x(o=>{let i=lu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function ih(...e){let t=_e(e),n=Ja(e,1/0),r=e;return r.length?r.length===1?F(r[0]):pn(n)(Me(r,t)):lt}function ht(e,t){return I((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function mu(e){return I((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(D(n,c=>{r=!0,o=c,i||F(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function sh(e,t=hn){return mu(()=>gu(e,t))}function yu(e){return I((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=F(e(s,yu(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function vu(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(D(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function ah(e,t){return m(t)?Pe(e,t,1):Pe(e,1)}function uh(e,t=hn){return I((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function gn(e){return I((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ko(e){return e<=0?()=>lt:I((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ch(e){return Re(()=>e)}function lh(e,t=J){return e=e??dh,I((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function dh(e,t){return e===t}function hr(e=fh){return I((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function fh(){return new ft}function hh(e){return I((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Du(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ht((o,i)=>e(o,i,r)):J,Ko(1),n?gn(t):hr(()=>new ft))}function Jo(e){return e<=0?()=>lt:I((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function ph(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ht((o,i)=>e(o,i,r)):J,Jo(1),n?gn(t):hr(()=>new ft))}function gh(e,t){return I(vu(e,t,arguments.length>=2,!0))}function ei(e={}){let{connector:t=()=>new de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=u=void 0,l=d=!1},p=()=>{let g=s;f(),g?.unsubscribe()};return I((g,T)=>{c++,!d&&!l&&h();let C=u=u??t();T.add(()=>{c--,c===0&&!d&&!l&&(a=Xo(p,o))}),C.subscribe(T),!s&&c>0&&(s=new Fe({next:G=>C.next(G),error:G=>{d=!0,h(),a=Xo(f,n,G),C.error(G)},complete:()=>{l=!0,h(),a=Xo(f,r),C.complete()}}),F(g).subscribe(s))})(i)}}function Xo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Fe({next:()=>{r.unsubscribe(),e()}});return F(t(...n)).subscribe(r)}function mh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ei({connector:()=>new qn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function yh(e){return ht((t,n)=>e<=n)}function vh(...e){let t=_e(e);return I((n,r)=>{(t?fr(e,n,t):fr(e,n)).subscribe(r)})}function Dh(e,t){return I((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,u=>{o?.unsubscribe();let c=0,l=i++;F(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ih(e){return I((t,n)=>{F(e).subscribe(D(n,()=>n.complete(),cn)),!n.closed&&t.subscribe(n)})}function Eh(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?I((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):J}var uc="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(cc(t,n)),this.code=t}};function cc(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function Mn(e){return{toString:e}.toString()}var pr="__parameters__";function wh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function lc(e,t,n){return Mn(()=>{let r=wh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(pr)?u[pr]:Object.defineProperty(u,pr,{value:[]})[pr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Vt=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function Ch(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(te).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function mi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var bh=R({__forward_ref__:R});function dc(e){return e.__forward_ref__=dc,e.toString=function(){return te(this())},e}function W(e){return fc(e)?e():e}function fc(e){return typeof e=="function"&&e.hasOwnProperty(bh)&&e.__forward_ref__===dc}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ms(e){return{providers:e.providers||[],imports:e.imports||[]}}function eo(e){return Iu(e,hc)||Iu(e,pc)}function A0(e){return eo(e)!==null}function Iu(e,t){return e.hasOwnProperty(t)?e[t]:null}function _h(e){let t=e&&(e[hc]||e[pc]);return t||null}function Eu(e){return e&&(e.hasOwnProperty(wu)||e.hasOwnProperty(Mh))?e[wu]:null}var hc=R({\u0275prov:R}),wu=R({\u0275inj:R}),pc=R({ngInjectableDef:R}),Mh=R({ngInjectorDef:R}),N=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=L({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gc(e){return e&&!!e.\u0275providers}var xh=R({\u0275cmp:R}),Sh=R({\u0275dir:R}),Th=R({\u0275pipe:R}),Nh=R({\u0275mod:R}),Mr=R({\u0275fac:R}),yn=R({__NG_ELEMENT_ID__:R}),Cu=R({__NG_ENV_ID__:R});function xs(e){return typeof e=="string"?e:e==null?"":String(e)}function Ah(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():xs(e)}function Oh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function Ss(e,t){throw new S(-201,!1)}var _=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_||{}),yi;function mc(){return yi}function se(e){let t=yi;return yi=e,t}function yc(e,t,n){let r=eo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;Ss(e,"Injector")}var Fh={},vn=Fh,vi="__NG_DI_FLAG__",xr="ngTempTokenPath",Rh="ngTokenPath",Ph=/\n/gm,kh="\u0275",bu="__source",Ut;function Lh(){return Ut}function Ze(e){let t=Ut;return Ut=e,t}function jh(e,t=_.Default){if(Ut===void 0)throw new S(-203,!1);return Ut===null?yc(e,void 0,t):Ut.get(e,t&_.Optional?null:void 0,t)}function H(e,t=_.Default){return(mc()||jh)(W(e),t)}function M(e,t=_.Default){return H(e,to(t))}function to(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Di(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ph,` + `)}`}var Hh=vc(lc("Optional"),8);var Uh=vc(lc("SkipSelf"),4);function yt(e,t){let n=e.hasOwnProperty(Mr);return n?e[Mr]:null}function zh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ts(n,t):t(n))}function Dc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Sr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Wh(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Ns(e,t,n){let r=xn(e,t);return r>=0?e[r|1]=n:(r=~r,qh(e,r,t,n)),r}function ti(e,t){let n=xn(e,t);if(n>=0)return e[n|1]}function xn(e,t){return Zh(e,t,1)}function Zh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function ep(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=Mu(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=Mu(i,o)),t}function sp(e){return e.map(ip).join(",")}function ap(e){let t=[],n=[],r=1,o=2;for(;r{let t=Tc(e),n=qe(We({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Dn.Emulated,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null,id:""});Nc(n);let r=e.dependencies;return n.directiveDefs=Su(r,!1),n.pipeDefs=Su(r,!0),n.id=dp(n),n})}function up(e){return Je(e)||Fs(e)}function cp(e){return e!==null}function Os(e){return Mn(()=>({type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xu(e,t){if(e==null)return ke;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ke.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ke.None?[r,a]:r,t[i]=s):n[i]=r}return n}function no(e){return Mn(()=>{let t=Tc(e);return Nc(t),t})}function Mc(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Je(e){return e[xh]||null}function Fs(e){return e[Sh]||null}function xc(e){return e[Th]||null}function lp(e){let t=Je(e)||Fs(e)||xc(e);return t!==null?t.standalone:!1}function Sc(e,t){let n=e[Nh]||null;if(!n&&t===!0)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}function Tc(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ke,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xu(e.inputs,t),outputs:xu(e.outputs),debugInfo:null}}function Nc(e){e.features?.forEach(t=>t(e))}function Su(e,t){if(!e)return null;let n=t?xc:up;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(cp)}function dp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function F0(e){return{\u0275providers:e}}function fp(...e){return{\u0275providers:Ac(!0,e),\u0275fromNgModule:!0}}function Ac(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ts(t,s=>{let a=s;Ei(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Oc(o,i),n}function Oc(e,t){for(let n=0;n{t(i,r)})}}function Ei(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=Eu(e),s=!i&&Je(e);if(!i&&!s){let u=e.ngModule;if(i=Eu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Ei(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ts(i.imports,l=>{Ei(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Oc(c,t)}if(!a){let c=yt(o)||(()=>new o);t({provide:o,useFactory:c,deps:X},o),t({provide:Ec,useValue:o,multi:!0},o),t({provide:Tr,useValue:()=>H(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Rs(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Rs(e,t){for(let n of e)gc(n)&&(n=n.\u0275providers),Array.isArray(n)?Rs(n,t):t(n)}var hp=R({provide:String,useValue:R});function Fc(e){return e!==null&&typeof e=="object"&&hp in e}function pp(e){return!!(e&&e.useExisting)}function gp(e){return!!(e&&e.useFactory)}function Gt(e){return typeof e=="function"}function mp(e){return!!e.useClass}var Rc=new N(""),Ir={},yp={},ni;function Ps(){return ni===void 0&&(ni=new Nr),ni}var Xe=class{},En=class extends Xe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ci(t,s=>this.processProvider(s)),this.records.set(Ic,Bt(void 0,this)),o.has("environment")&&this.records.set(Xe,Bt(void 0,this));let i=this.records.get(Rc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ec,X,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ze(this),r=se(void 0),o;try{return t()}finally{Ze(n),se(r)}}get(t,n=vn,r=_.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Cu))return t[Cu](this);r=to(r);let o,i=Ze(this),s=se(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=wp(t)&&eo(t);c&&this.injectableDefInScope(c)?u=Bt(wi(t),Ir):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?Ps():this.parent;return n=r&_.Optional&&n===vn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[xr]=a[xr]||[]).unshift(te(t)),i)throw a;return Bh(a,t,"R3InjectorError",this.source)}else throw a}finally{se(s),Ze(i)}}resolveInjectorInitializers(){let t=b(null),n=Ze(this),r=se(void 0),o;try{let i=this.get(Tr,X,_.Self);for(let s of i)s()}finally{Ze(n),se(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(te(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=W(t);let n=Gt(t)?t:W(t&&t.provide),r=Dp(t);if(!Gt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Bt(void 0,Ir,!0),o.factory=()=>Di(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===Ir&&(n.value=yp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Ep(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function wi(e){let t=eo(e),n=t!==null?t.factory:yt(e);if(n!==null)return n;if(e instanceof N)throw new S(204,!1);if(e instanceof Function)return vp(e);throw new S(204,!1)}function vp(e){if(e.length>0)throw new S(204,!1);let n=_h(e);return n!==null?()=>n.factory(e):()=>new e}function Dp(e){if(Fc(e))return Bt(void 0,e.useValue);{let t=Pc(e);return Bt(t,Ir)}}function Pc(e,t,n){let r;if(Gt(e)){let o=W(e);return yt(o)||wi(o)}else if(Fc(e))r=()=>W(e.useValue);else if(gp(e))r=()=>e.useFactory(...Di(e.deps||[]));else if(pp(e))r=()=>H(W(e.useExisting));else{let o=W(e&&(e.useClass||e.provide));if(Ip(e))r=()=>new o(...Di(e.deps));else return yt(o)||wi(o)}return r}function Bt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ip(e){return!!e.deps}function Ep(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function wp(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function Ci(e,t){for(let n of e)Array.isArray(n)?Ci(n,t):n&&gc(n)?Ci(n.\u0275providers,t):t(n)}function Cp(e,t){e instanceof En&&e.assertNotDestroyed();let n,r=Ze(e),o=se(void 0);try{return t()}finally{Ze(r),se(o)}}function kc(){return mc()!==void 0||Lh()!=null}function Lc(e){if(!kc())throw new S(-203,!1)}function bp(e){return typeof e=="function"}var Ne=0,v=1,y=2,Q=3,Ce=4,ae=5,Wt=6,Ar=7,Z=8,qt=9,Le=10,j=11,wn=12,Tu=13,rn=14,ce=15,vt=16,$t=17,je=18,ro=19,jc=20,Ye=21,ri=22,fe=23,K=25,ks=1;var Dt=7,Or=8,Zt=9,Y=10,Fr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Fr||{});function Qe(e){return Array.isArray(e)&&typeof e[ks]=="object"}function $e(e){return Array.isArray(e)&&e[ks]===!0}function Vc(e){return(e.flags&4)!==0}function oo(e){return e.componentOffset>-1}function Ls(e){return(e.flags&1)===1}function Ve(e){return!!e.template}function bi(e){return(e[y]&512)!==0}var _i=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Bc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function js(){return $c}function $c(e){return e.type.prototype.ngOnChanges&&(e.setInput=Mp),_p}js.ngInherit=!0;function _p(){let e=Uc(this),t=e?.current;if(t){let n=e.previous;if(n===ke)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Mp(e,t,n,r,o){let i=this.declaredInputs[r],s=Uc(e)||xp(e,{previous:ke,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new _i(c&&c.currentValue,n,u===ke),Bc(e,t,o,n)}var Hc="__ngSimpleChanges__";function Uc(e){return e[Hc]||null}function xp(e,t){return e[Hc]=t}var Nu=null;var xe=function(e,t,n){Nu?.(e,t,n)},Sp="svg",Tp="math";function Te(e){for(;Array.isArray(e);)e=e[Ne];return e}function Np(e){for(;Array.isArray(e);){if(typeof e[ks]=="object")return e;e=e[Ne]}return null}function zc(e,t){return Te(t[e])}function pe(e,t){return Te(t[e.index])}function Vs(e,t){return e.data[t]}function Gc(e,t){return e[t]}function nt(e,t){let n=t[e];return Qe(n)?n:n[Ne]}function Ap(e){return(e[y]&4)===4}function Bs(e){return(e[y]&128)===128}function Op(e){return $e(e[Q])}function Yt(e,t){return t==null?null:e[t]}function Wc(e){e[$t]=0}function qc(e){e[y]&1024||(e[y]|=1024,Bs(e)&&io(e))}function Fp(e,t){for(;e>0;)t=t[rn],e--;return t}function Cn(e){return!!(e[y]&9216||e[fe]?.dirty)}function Mi(e){e[Le].changeDetectionScheduler?.notify(7),e[y]&64&&(e[y]|=1024),Cn(e)&&io(e)}function io(e){e[Le].changeDetectionScheduler?.notify(0);let t=It(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!Bs(t)));)t=It(t)}function Zc(e,t){if((e[y]&256)===256)throw new S(911,!1);e[Ye]===null&&(e[Ye]=[]),e[Ye].push(t)}function Rp(e,t){if(e[Ye]===null)return;let n=e[Ye].indexOf(t);n!==-1&&e[Ye].splice(n,1)}function It(e){let t=e[Q];return $e(t)?t[Q]:t}var w={lFrame:il(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Yc=!1;function Pp(){return w.lFrame.elementDepthCount}function kp(){w.lFrame.elementDepthCount++}function Lp(){w.lFrame.elementDepthCount--}function Qc(){return w.bindingsEnabled}function Kc(){return w.skipHydrationRootTNode!==null}function jp(e){return w.skipHydrationRootTNode===e}function Vp(){w.skipHydrationRootTNode=null}function E(){return w.lFrame.lView}function V(){return w.lFrame.tView}function R0(e){return w.lFrame.contextLView=e,e[Z]}function P0(e){return w.lFrame.contextLView=null,e}function q(){let e=Jc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Jc(){return w.lFrame.currentTNode}function Bp(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Sn(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function Xc(){return w.lFrame.isParent}function el(){w.lFrame.isParent=!1}function $p(){return w.lFrame.contextLView}function tl(){return Yc}function Au(e){Yc=e}function Hp(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Up(e){return w.lFrame.bindingIndex=e}function rt(){return w.lFrame.bindingIndex++}function nl(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function zp(){return w.lFrame.inI18n}function Gp(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,xi(t)}function Wp(){return w.lFrame.currentDirectiveIndex}function xi(e){w.lFrame.currentDirectiveIndex=e}function $s(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Hs(){return w.lFrame.currentQueryIndex}function so(e){w.lFrame.currentQueryIndex=e}function qp(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ae]:null}function rl(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=qp(i),o===null||(i=i[rn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=ol();return r.currentTNode=t,r.lView=e,!0}function Us(e){let t=ol(),n=e[v];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ol(){let e=w.lFrame,t=e===null?null:e.child;return t===null?il(e):t}function il(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function sl(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var al=sl;function zs(){let e=sl();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Zp(e){return(w.lFrame.contextLView=Fp(e,w.lFrame.contextLView))[Z]}function ot(){return w.lFrame.selectedIndex}function Et(e){w.lFrame.selectedIndex=e}function Tn(){let e=w.lFrame;return Vs(e.tView,e.selectedIndex)}function Yp(){return w.lFrame.currentNamespace}var ul=!0;function Gs(){return ul}function Ws(e){ul=e}function Qp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=$c(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function qs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[$t]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,Ou(a,i)):Ou(a,i)}var zt=-1,wt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Jp(e){return e instanceof wt}function Xp(e){return(e.flags&8)!==0}function eg(e){return(e.flags&16)!==0}var ii={},Si=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=to(r);let o=this.injector.get(t,ii,r);return o!==ii||n===ii?o:this.parentInjector.get(t,n,r)}};function ll(e){return e!==zt}function Rr(e){return e&32767}function tg(e){return e>>16}function Pr(e,t){let n=tg(e),r=t;for(;n>0;)r=r[rn],n--;return r}var Ti=!0;function kr(e){let t=Ti;return Ti=e,t}var ng=256,dl=ng-1,fl=5,rg=0,Se={};function og(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(yn)&&(r=n[yn]),r==null&&(r=n[yn]=rg++);let o=r&dl,i=1<>fl)]|=i}function Lr(e,t){let n=hl(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,si(r.data,e),si(t,null),si(r.blueprint,null));let o=Zs(e,t),i=e.injectorIndex;if(ll(o)){let s=Rr(o),a=Pr(o,t),u=a[v].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function si(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Zs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=vl(o),r===null)return zt;if(n++,o=o[rn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return zt}function Ni(e,t,n){og(e,t,n)}function ig(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,h=o?a+l:c;for(let f=d;f=u&&p.type===n)return f}if(o){let f=s[u];if(f&&Ve(f)&&f.type===n)return u}return null}function Ct(e,t,n,r){let o=e[n],i=t.data;if(Jp(o)){let s=o;s.resolving&&Oh(Ah(i[n]));let a=kr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?se(s.injectImpl):null,l=rl(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Qp(n,i[n],t)}finally{c!==null&&se(c),kr(a),s.resolving=!1,al()}}return o}function ag(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(yn)?e[yn]:void 0;return typeof t=="number"?t>=0?t&dl:ug:t}function Fu(e,t,n){let r=1<>fl)]&r)}function Ru(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var mt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ml(this._tNode,this._lView,t,to(r),n)}};function ug(){return new mt(q(),E())}function k0(e){return Mn(()=>{let t=e.prototype.constructor,n=t[Mr]||Ai(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Mr]||Ai(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ai(e){return fc(e)?()=>{let t=Ai(W(e));return t&&t()}:yt(e)}function cg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=yl(i,s,n,r|_.Self,Se);if(a!==Se)return a;let u=i.parent;if(!u){let c=s[jc];if(c){let l=c.get(n,Se,r);if(l!==Se)return l}u=vl(s),s=s[rn]}i=u}return o}function vl(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[ae]:null}function lg(e){return ig(q(),e)}function Pu(e,t=null,n=null,r){let o=Dl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Dl(e,t=null,n=null,r,o=new Set){let i=[n||X,fp(e)];return r=r||(typeof e=="object"?void 0:te(e)),new En(i,t||Ps(),r||null,o)}var gt=class gt{static create(t,n){if(Array.isArray(t))return Pu({name:""},n,t,"");{let r=t.name??"";return Pu({name:r},t.parent,t.providers,r)}}};gt.THROW_IF_NOT_FOUND=vn,gt.NULL=new Nr,gt.\u0275prov=L({token:gt,providedIn:"any",factory:()=>H(Ic)}),gt.__NG_ELEMENT_ID__=-1;var et=gt;var dg=new N("");dg.__NG_ELEMENT_ID__=e=>{let t=q();if(t===null)throw new S(204,!1);if(t.type&2)return t.value;if(e&_.Optional)return null;throw new S(204,!1)};var fg="ngOriginalError";function ai(e){return e[fg]}var Ys=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=hg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Oi=class extends Ys{constructor(t){super(),this._lView=t}onDestroy(t){return Zc(this._lView,t),()=>Rp(this._lView,t)}};function hg(){return new Oi(E())}var ao=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ln(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=L({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Fi=class extends de{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,kc()&&(this.destroyRef=M(Ys,{optional:!0})??void 0,this.pendingTasks=M(ao,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof $&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},we=Fi;function jr(...e){}function Il(e){let t,n;function r(){e=jr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ku(e){return queueMicrotask(()=>e()),()=>{e=jr}}var Qs="isAngularZone",Vr=Qs+"_ID",pg=0,ne=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new we(!1),this.onMicrotaskEmpty=new we(!1),this.onStable=new we(!1),this.onError=new we(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,yg(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,gg,jr,jr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},gg={};function Ks(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function mg(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Il(()=>{e.callbackScheduled=!1,Ri(e),e.isCheckStableRunning=!0,Ks(e),e.isCheckStableRunning=!1})}),Ri(e))}function yg(e){let t=()=>{mg(e)},n=pg++;e._inner=e._inner.fork({name:"angular",properties:{[Qs]:!0,[Vr]:n,[Vr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(vg(u))return r.invokeTask(i,s,a,u);try{return Lu(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ju(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Lu(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Dg(u)&&t(),ju(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ri(e),Ks(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ri(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Lu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ju(e){e._nesting--,Ks(e)}var Pi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new we,this.onMicrotaskEmpty=new we,this.onStable=new we,this.onError=new we}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function vg(e){return El(e,"__ignore_ng_zone__")}function Dg(e){return El(e,"__scheduler_tick__")}function El(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Qt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ai(t);for(;n&&ai(n);)n=ai(n);return n||null}},Ig=new N("",{providedIn:"root",factory:()=>{let e=M(ne),t=M(Qt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Eg(){return on(q(),E())}function on(e,t){return new sn(pe(e,t))}var sn=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Eg;let e=t;return e})();function wl(e){return e instanceof sn?e.nativeElement:e}function wg(){return this._results[Symbol.iterator]()}var ki=class e{get changes(){return this._changes??=new we}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=wg)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Gh(t);(this._changesDetected=!zh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Cl(e){return(e.flags&128)===128}var bl=new Map,Cg=0;function bg(){return Cg++}function _g(e){bl.set(e[ro],e)}function Mg(e){bl.delete(e[ro])}var Vu="__ngContext__";function bt(e,t){Qe(t)?(e[Vu]=t[ro],_g(t)):e[Vu]=t}function _l(e){return xl(e[wn])}function Ml(e){return xl(e[Ce])}function xl(e){for(;e!==null&&!$e(e);)e=e[Ce];return e}var Li;function L0(e){Li=e}function xg(){if(Li!==void 0)return Li;if(typeof document<"u")return document;throw new S(210,!1)}var j0=new N("",{providedIn:"root",factory:()=>Sg}),Sg="ng",Tg=new N(""),Js=new N("",{providedIn:"platform",factory:()=>"unknown"});var V0=new N(""),B0=new N("",{providedIn:"root",factory:()=>xg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ng="h",Ag="b";var Og=()=>null;function Xs(e,t,n=!1){return Og(e,t,n)}var Sl=!1,Fg=new N("",{providedIn:"root",factory:()=>Sl});var gr;function Rg(){if(gr===void 0&&(gr=null,Vt.trustedTypes))try{gr=Vt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return gr}function uo(e){return Rg()?.createHTML(e)||e}var Be=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${uc})`}},ji=class extends Be{getTypeName(){return"HTML"}},Vi=class extends Be{getTypeName(){return"Style"}},Bi=class extends Be{getTypeName(){return"Script"}},$i=class extends Be{getTypeName(){return"URL"}},Hi=class extends Be{getTypeName(){return"ResourceURL"}};function ea(e){return e instanceof Be?e.changingThisBreaksApplicationSecurity:e}function $0(e,t){let n=Pg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${uc})`)}return n===t}function Pg(e){return e instanceof Be&&e.getTypeName()||null}function H0(e){return new ji(e)}function U0(e){return new Vi(e)}function z0(e){return new Bi(e)}function G0(e){return new $i(e)}function W0(e){return new Hi(e)}function kg(e){let t=new zi(e);return Lg()?new Ui(t):t}var Ui=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(uo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},zi=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=uo(t),n}};function Lg(){try{return!!new window.DOMParser().parseFromString(uo(""),"text/html")}catch{return!1}}var jg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vg(e){return e=String(e),e.match(jg)?e:"unsafe:"+e}function He(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Nn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Tl=He("area,br,col,hr,img,wbr"),Nl=He("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Al=He("rp,rt"),Bg=Nn(Al,Nl),$g=Nn(Nl,He("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")),Hg=Nn(Al,He("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Bu=Nn(Tl,$g,Hg,Bg),Ol=He("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ug=He("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"),zg=He("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"),Gg=Nn(Ol,Ug,zg),Wg=He("script,style,template"),Gi=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Yg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Zg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=$u(t).toLowerCase();if(!Bu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Wg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=$u(t).toLowerCase();Bu.hasOwnProperty(n)&&!Tl.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Hu(t))}};function qg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Zg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Fl(t);return t}function Yg(e){let t=e.firstChild;if(t&&qg(e,t))throw Fl(t);return t}function $u(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Fl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Qg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Kg=/([^\#-~ |!])/g;function Hu(e){return e.replace(/&/g,"&").replace(Qg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Kg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var mr;function q0(e,t){let n=null;try{mr=mr||kg(e);let r=t?String(t):"";n=mr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=mr.getInertBodyElement(r)}while(r!==i);let a=new Gi().sanitizeChildren(Uu(n)||n);return uo(a)}finally{if(n){let r=Uu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Uu(e){return"content"in e&&Jg(e)?e.content:null}function Jg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Xg=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Xg||{});function Rl(e){return e instanceof Function?e():e}function Pl(e){return(e??M(et)).get(Js)==="browser"}var Br=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Br||{}),em;function ta(e,t){return em(e,t)}function Ht(e,t,n,r,o){if(r!=null){let i,s=!1;$e(r)?i=r:Qe(r)&&(s=!0,r=r[Ne]);let a=Te(r);e===0&&n!==null?o==null?Bl(t,n,a):$r(t,n,a,o||null,!0):e===1&&n!==null?$r(t,n,a,o||null,!0):e===2?hm(t,a,s):e===3&&t.destroyNode(a),i!=null&&gm(t,e,i,n,o)}}function tm(e,t){return e.createText(t)}function nm(e,t,n){e.setValue(t,n)}function kl(e,t,n){return e.createElement(t,n)}function rm(e,t){Ll(e,t),t[Ne]=null,t[ae]=null}function om(e,t,n,r,o,i){r[Ne]=o,r[ae]=t,lo(e,r,n,1,o,i)}function Ll(e,t){t[Le].changeDetectionScheduler?.notify(8),lo(e,t,t[j],2,null,null)}function im(e){let t=e[wn];if(!t)return ui(e[v],e);for(;t;){let n=null;if(Qe(t))n=t[wn];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[Ce]&&t!==e;)Qe(t)&&ui(t[v],t),t=t[Q];t===null&&(t=e),Qe(t)&&ui(t[v],t),n=t&&t[Ce]}t=n}}function sm(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][Ce]=t),r0&&(e[n-1][Ce]=r[Ce]);let i=Sr(e,Y+t);rm(r[v],r);let s=i[je];s!==null&&s.detachView(i[v]),r[Q]=null,r[Ce]=null,r[y]&=-129}return r}function co(e,t){if(!(t[y]&256)){let n=t[j];n.destroyNode&&lo(e,t,n,3,null,null),im(t)}}function ui(e,t){if(t[y]&256)return;let n=b(null);try{t[y]&=-129,t[y]|=256,t[fe]&&ko(t[fe]),um(e,t),am(e,t),t[v].type===1&&t[j].destroy();let r=t[vt];if(r!==null&&$e(t[Q])){r!==t[Q]&&na(r,t);let o=t[je];o!==null&&o.detachView(e)}Mg(t)}finally{b(n)}}function am(e,t){let n=e.cleanup,r=t[Ar];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Ar]=null);let o=t[Ye];if(o!==null){t[Ye]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Dn.None||i===Dn.Emulated)return null}return pe(r,n)}}function $r(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Bl(e,t,n){e.appendChild(t,n)}function zu(e,t,n,r,o){r!==null?$r(e,t,n,r,o):Bl(e,t,n)}function $l(e,t){return e.parentNode(t)}function lm(e,t){return e.nextSibling(t)}function Hl(e,t,n){return fm(e,t,n)}function dm(e,t,n){return e.type&40?pe(e,n):null}var fm=dm,Gu;function ra(e,t,n,r){let o=Vl(e,r,t),i=t[j],s=r.parent||t[ae],a=Hl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uK&&ql(e,t,K,!1),xe(s?2:0,o),n(r,o)}finally{Et(i),xe(s?3:1,o)}}function Kl(e,t,n){if(Vc(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function bm(e,t,n,r){let o=sd(t);o.push(n),e.firstCreatePass&&ad(e).push(r,o.length-1)}function _m(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Kc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Wu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ke.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?qu(r,n,c,a,u):qu(r,n,c,a)}return r}function qu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Mm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Am(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;oo(n)&&jm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Lr(n,t),bt(r,t);let s=n.initialInputs;for(let a=o;a{io(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function Jm(e){let t=e[fe]??Object.create(Xm);return t.lView=e,t}var Xm=qe(We({},un),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=It(e.lView);for(;t&&!hd(t[v]);)t=It(t);t&&qc(t)},consumerOnSignalRead(){this.lView[fe]=this}});function hd(e){return e.type!==2}var ey=100;function pd(e,t=!0,n=0){let r=e[Le],o=r.rendererFactory,i=!1;i||o.begin?.();try{ty(e,n)}catch(s){throw t&&cd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function ty(e,t){let n=tl();try{Au(!0),Yi(e,t);let r=0;for(;Cn(e);){if(r===ey)throw new S(103,!1);r++,Yi(e,1)}}finally{Au(n)}}function ny(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Le].inlineEffectRunner?.flush(),Us(t);let a=!0,u=null,c=null;i||(hd(e)?(c=Zm(t),u=Vn(c)):Aa()===null?(a=!1,c=Jm(t),u=Vn(c)):t[fe]&&(ko(t[fe]),t[fe]=null));try{Wc(t),Up(e.bindingStartIndex),n!==null&&Ql(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Er(t,f,null)}else{let f=e.preOrderHooks;f!==null&&wr(t,f,0,null),oi(t,0)}if(s||ry(t),gd(t,0),e.contentQueries!==null&&id(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Er(t,f)}else{let f=e.contentHooks;f!==null&&wr(t,f,1),oi(t,1)}vm(e,t);let d=e.components;d!==null&&yd(t,d,0);let h=e.viewQuery;if(h!==null&&Zi(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Er(t,f)}else{let f=e.viewHooks;f!==null&&wr(t,f,2),oi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ri]){for(let f of t[ri])f();t[ri]=null}i||(t[y]&=-73)}catch(l){throw i||io(t),l}finally{c!==null&&(Ro(c,u),a&&Qm(c)),zs()}}function gd(e,t){for(let n=_l(e);n!==null;n=Ml(n))for(let r=Y;r-1&&(bn(t,r),Sr(n,r))}this._attachedToViewContainer=!1}co(this._lView[v],this._lView)}onDestroy(t){Zc(this._lView,t)}markForCheck(){ua(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[y]&=-129}reattach(){Mi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,pd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=bi(this._lView),n=this._lView[vt];n!==null&&!t&&na(n,this._lView),Ll(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t;let n=bi(this._lView),r=this._lView[vt];r!==null&&!n&&jl(r,this._lView),Mi(this._lView)}},Mt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ay;let e=t;return e})(),iy=Mt,sy=class extends iy{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=On(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _t(o)}};function ay(){return go(q(),E())}function go(e,t){return e.type&4?new sy(t,e,on(e,t)):null}var K0=new RegExp(`^(\\d+)*(${Ag}|${Ng})*(.*)`);var uy=()=>null;function Jt(e,t){return uy(e,t)}var Xt=class{},vd=new N("",{providedIn:"root",factory:()=>!1});var Dd=new N(""),Qi=class{},Ur=class{};function cy(e){let t=Error(`No component factory found for ${te(e)}.`);return t[ly]=e,t}var ly="ngComponent";var Ki=class{resolveComponentFactory(t){throw cy(t)}},ma=class ma{};ma.NULL=new Ki;var en=ma,zr=class{},Id=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>dy();let e=t;return e})();function dy(){let e=E(),t=q(),n=nt(t.index,e);return(Qe(n)?n:e)[j]}var fy=(()=>{let t=class t{};t.\u0275prov=L({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var Zu=new Set;function it(e){Zu.has(e)||(Zu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ee=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ee||{}),Ed={destroy(){}};function hy(e,t){!t&&Lc(hy);let n=t?.injector??M(et);return Pl(n)?(it("NgAfterRender"),wd(e,n,!1,t?.phase??ee.MixedReadWrite)):Ed}function py(e,t){!t&&Lc(py);let n=t?.injector??M(et);return Pl(n)?(it("NgAfterNextRender"),wd(e,n,!0,t?.phase??ee.MixedReadWrite)):Ed}function gy(e,t){if(e instanceof Function)switch(t){case ee.EarlyRead:return{earlyRead:e};case ee.Write:return{write:e};case ee.MixedReadWrite:return{mixedReadWrite:e};case ee.Read:return{read:e}}return e}function wd(e,t,n,r){let o=gy(e,r),i=t.get(ca),s=i.handler??=new Xi,a=[],u=[],c=()=>{for(let f of u)s.unregister(f);l()},l=t.get(Ys).onDestroy(c),d=0,h=(f,p)=>{if(!p)return;let g=n?(...C)=>(d--,d<1&&c(),p(...C)):p,T=Cp(t,()=>new Ji(f,a,g));s.register(T),u.push(T),d++};return h(ee.EarlyRead,o.earlyRead),h(ee.Write,o.write),h(ee.MixedReadWrite,o.mixedReadWrite),h(ee.Read,o.read),{destroy:c}}var Ji=class{constructor(t,n,r){this.phase=t,this.pipelinedArgs=n,this.callbackFn=r,this.zone=M(ne),this.errorHandler=M(Qt,{optional:!0}),M(Xt,{optional:!0})?.notify(6)}invoke(){try{let t=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,t)}catch(t){this.errorHandler?.handleError(t)}}},Xi=class{constructor(){this.executingCallbacks=!1,this.buckets={[ee.EarlyRead]:new Set,[ee.Write]:new Set,[ee.MixedReadWrite]:new Set,[ee.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},ca=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=L({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function es(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Gl(e,n,i.join(" "))}}function wy(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=by;let e=t;return e})();function by(){let e=q();return bd(e,E())}var _y=St,Cd=class extends _y{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return on(this._hostTNode,this._hostLView)}get injector(){return new mt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Zs(this._hostTNode,this._hostLView);if(ll(t)){let n=Pr(t,this._hostLView),r=Rr(t),o=n[v].data[r+8];return new mt(o,n)}else return new mt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Qu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Kt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!bp(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let u=s?t:new tn(Je(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(Xe,null);g&&(i=g)}let l=Je(u.componentType??{}),d=Jt(this._lContainer,l?.id??null),h=d?.firstChild??null,f=u.create(c,o,h,i);return this.insertImpl(f.hostView,a,Kt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Op(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[Q],c=new Cd(u,u[ae],u[Q]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Fn(s,o,i,r),t.attachToViewContainerRef(),Dc(ci(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Qu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=bn(this._lContainer,n);r&&(Sr(ci(this._lContainer),n),co(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=bn(this._lContainer,n);return r&&Sr(ci(this._lContainer),n)!=null?new _t(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Qu(e){return e[Or]}function ci(e){return e[Or]||(e[Or]=[])}function bd(e,t){let n,r=t[e.index];return $e(r)?n=r:(n=od(r,t,null,e),t[e.index]=n,po(t,n)),xy(n,t,e,r),new Cd(n,e,t)}function My(e,t){let n=e[j],r=n.createComment(""),o=pe(t,e),i=$l(n,o);return $r(n,i,r,lm(n,o),!1),r}var xy=Ny,Sy=()=>!1;function Ty(e,t,n){return Sy(e,t,n)}function Ny(e,t,n,r){if(e[Dt])return;let o;n.type&8?o=Te(r):o=My(t,n),e[Dt]=o}var ns=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},rs=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=Y;dt.trim())}function Sd(e,t,n){e.queries===null&&(e.queries=new os),e.queries.track(new is(t,n))}function Ly(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function da(e,t){return e.queries.getByIndex(t)}function Td(e,t){let n=e[v],r=da(n,t);return r.crossesNgTemplate?ss(n,e,t,[]):_d(n,e,r,t)}function jy(e){return typeof e=="function"&&e[ve]!==void 0}function Vy(e,t){it("NgSignals");let n=$a(e),r=n[ve];return t?.equal&&(r.equal=t.equal),n.set=o=>jo(r,o),n.update=o=>Ha(r,o),n.asReadonly=By.bind(n),n}function By(){let e=this[ve];if(e.readonlyFn===void 0){let t=()=>this();t[ve]=e,e.readonlyFn=t}return e.readonlyFn}function Nd(e){return jy(e)&&typeof e.set=="function"}function Ad(e,t){let n,r=Lo(()=>{n._dirtyCounter();let o=zy(n,e);if(t&&o===void 0)throw new S(-951,!1);return o});return n=r[ve],n._dirtyCounter=Vy(0),n._flatValue=void 0,r}function $y(){return Ad(!0,!1)}function Hy(){return Ad(!0,!0)}function Uy(e,t){let n=e[ve];n._lView=E(),n._queryIndex=t,n._queryList=la(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function zy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[y]&4)return t?void 0:X;let o=la(n,r),i=Td(n,r);return o.reset(i,wl),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Ku(e,t){return $y()}function Gy(e,t){return Hy()}var X0=(Ku.required=Gy,Ku);function Wy(e){return Object.getPrototypeOf(e.prototype).constructor}function qy(e){let t=Wy(e.type),n=!0,r=[e];for(;t;){let o;if(Ve(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=yr(e.inputs),s.inputTransforms=yr(e.inputTransforms),s.declaredInputs=yr(e.declaredInputs),s.outputs=yr(e.outputs);let a=o.hostBindings;a&&Jy(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Qy(e,u),c&&Ky(e,c),Zy(e,o),Ch(e.outputs,o.outputs),Ve(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=In(o.hostAttrs,n=In(n,o.hostAttrs))}}function yr(e){return e===ke?{}:e===X?[]:e}function Qy(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Ky(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Jy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function ex(e){let t=n=>{let r=(Array.isArray(e)?e:e()).map(o=>typeof o=="function"?{directive:W(o),inputs:ke,outputs:ke}:{directive:W(o.directive),inputs:Ju(o.inputs),outputs:Ju(o.outputs)});n.hostDirectives===null?(n.findHostDirectiveDefs=Od,n.hostDirectives=r):n.hostDirectives.unshift(...r)};return t.ngInherit=!0,t}function Od(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives){let o=Fs(r.directive);Xy(o.declaredInputs,r.inputs),Od(o,t,n),n.set(o,r),t.push(o)}}function Ju(e){if(e===void 0||e.length===0)return ke;let t={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},cs=class extends as{constructor(t){super(),this.moduleType=t}create(t){return new us(this.moduleType,t,[])}};var qr=class extends tt{constructor(t){super(),this.componentFactoryResolver=new Gr(this),this.instance=null;let n=new En([...t.providers,{provide:tt,useValue:this},{provide:en,useValue:this.componentFactoryResolver}],t.parent||Ps(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function tv(e,t,n=null){return new qr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Fd(e){return rv(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function nv(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function hv(e){return(e&2)==2}function pv(e,t){return e&131071|t<<17}function ls(e){return e|2}function nn(e){return(e&131068)>>2}function li(e,t){return e&-131069|t<<2}function gv(e){return(e&1)===1}function ds(e){return e|1}function mv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),u=nn(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||xn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let h=xt(e[a+1]);e[r+1]=vr(h,a),h!==0&&(e[h+1]=li(e[h+1],r)),e[a+1]=pv(e[a+1],r)}else e[r+1]=vr(a,0),a!==0&&(e[a+1]=li(e[a+1],r)),a=r;else e[r+1]=vr(u,0),a===0?a=r:e[u+1]=li(e[u+1],r),u=r;c&&(e[r+1]=ls(e[r+1])),Xu(e,l,r,!0),Xu(e,l,r,!1),yv(t,l,e,r,i),s=vr(a,u),i?t.classBindings=s:t.styleBindings=s}function yv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&xn(i,t)>=0&&(n[r+1]=ds(n[r+1]))}function Xu(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):nn(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];vv(u,t)&&(a=!0,e[s+1]=r?ds(c):ls(c)),s=r?xt(c):nn(c)}a&&(e[n+1]=r?ls(o):ds(o))}function vv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?xn(e,t)>=0:!1}var Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Dv(e){return e.substring(Ee.key,Ee.keyEnd)}function Iv(e){return Ev(e),Rd(e,Pd(e,0,Ee.textEnd))}function Rd(e,t){let n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=wv(e,Ee.key=t,n),Pd(e,t,n))}function Ev(e){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=e.length}function Pd(e,t,n){for(;t32;)t++;return t}function Cv(e,t,n){let r=E(),o=rt();if(he(r,o,t)){let i=V(),s=Tn();ho(i,s,r,e,t,r[j],n,!1)}return Cv}function fs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";sa(e,n,i[s],s,r)}function kd(e,t,n){return Ld(e,t,n,!1),kd}function bv(e,t){return Ld(e,t,null,!0),bv}function tx(e){Mv(Ov,_v,e,!0)}function _v(e,t){for(let n=Iv(t);n>=0;n=Rd(t,n))Ns(e,Dv(t),!0)}function Ld(e,t,n,r){let o=E(),i=V(),s=nl(2);if(i.firstUpdatePass&&Vd(i,e,s,r),t!==Ae&&he(o,s,t)){let a=i.data[ot()];Bd(i,a,o,o[j],e,o[s+1]=Rv(t,n),r,s)}}function Mv(e,t,n,r){let o=V(),i=nl(2);o.firstUpdatePass&&Vd(o,null,i,r);let s=E();if(n!==Ae&&he(s,i,n)){let a=o.data[ot()];if($d(a,r)&&!jd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=mi(u,n||"")),fs(o,a,s,n,r)}else Fv(o,a,s,s[j],s[i+1],s[i+1]=Av(e,t,n),r,i)}}function jd(e,t){return t>=e.expandoStartIndex}function Vd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ot()],s=jd(e,n);$d(i,r)&&t===null&&!s&&(t=!1),t=xv(o,i,t,r),mv(o,i,t,n,s,r)}}function xv(e,t,n,r){let o=$s(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=di(null,e,t,n,r),n=_n(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=di(o,e,t,n,r),i===null){let u=Sv(e,t,r);u!==void 0&&Array.isArray(u)&&(u=di(null,e,t,u[1],r),u=_n(u,t.attrs,r),Tv(e,t,r,u))}else i=Nv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Sv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(nn(r)!==0)return e[xt(r)]}function Tv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function Nv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,h=n[o+1];h===Ae&&(h=d?X:void 0);let f=d?ti(h,r):l===r?h:void 0;if(c&&!Yr(f)&&(f=ti(u,r)),Yr(f)&&(a=f,s))return a;let p=e[o+1];o=s?xt(p):nn(p)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=ti(u,r))}return a}function Yr(e){return e!==void 0}function Rv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=te(ea(e)))),e}function $d(e,t){return(e.flags&(t?8:16))!==0}var hs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function fi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Pv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=fi(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[u],p=fi(s,h,u,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,u--;continue}let g=n(i,c),T=n(s,h),C=n(i,l);if(Object.is(C,T)){let G=n(u,f);Object.is(G,g)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Qr,o??=nc(e,i,s,n),ps(e,r,i,C))e.updateValue(i,l),i++,s++;else if(o.has(C))r.set(g,e.detach(i)),s--;else{let G=e.create(i,t[i]);e.attach(i,G),i++,s++}}for(;i<=u;)tc(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,h=fi(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new Qr,o??=nc(e,i,s,n);let f=n(i,d);if(ps(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!c.done;)tc(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function ps(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function tc(e,t,n,r,o){if(ps(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function nc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Qr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function nx(e,t){it("NgControlFlow");let n=E(),r=rt(),o=n[r]!==Ae?n[r]:-1,i=o!==-1?Kr(n,K+o):void 0,s=0;if(he(n,r,e)){let a=b(null);try{if(i!==void 0&&dd(i,s),e!==-1){let u=K+e,c=Kr(n,u),l=vs(n[v],u),d=Jt(c,l.tView.ssrId),h=On(n,l,t,{dehydratedView:d});Fn(c,h,s,Kt(l,d))}}finally{b(a)}}else if(i!==void 0){let a=ld(i,s);a!==void 0&&(a[Z]=t)}}var gs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};var ms=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function rx(e,t,n,r,o,i,s,a,u,c,l,d,h){it("NgControlFlow");let f=E(),p=V(),g=u!==void 0,T=E(),C=a?s.bind(T[ce][Z]):s,G=new ms(g,C);T[K+e]=G,Zr(f,p,e+1,t,n,r,o,Yt(p.consts,i)),g&&Zr(f,p,e+2,u,c,l,d,Yt(p.consts,h))}var ys=class extends hs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Y}at(t){return this.getLView(t)[Z].$implicit}attach(t,n){let r=n[Wt];this.needsIndexUpdate||=t!==this.length,Fn(this.lContainer,n,t,Kt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,kv(this.lContainer,t)}create(t,n){let r=Jt(this.lContainer,this.templateTNode.tView.ssrId),o=On(this.hostLView,this.templateTNode,new gs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){co(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Z].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Ws(!0),kl(r,o,Yp()));function ix(){return E()}function $v(e,t,n){let r=E(),o=rt();if(he(r,o,t)){let i=V(),s=Tn();ho(i,s,r,e,t,r[j],n,!0)}return $v}function Hv(e,t,n){let r=E(),o=rt();if(he(r,o,t)){let i=V(),s=Tn(),a=$s(i.data),u=ud(a,s,r);ho(i,s,r,e,t,u,n,!0)}return Hv}var pt=void 0;function Uv(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var zv=["en",[["a","p"],["AM","PM"],pt],[["AM","PM"],pt,pt],[["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"]],pt,[["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"]],pt,[["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}",pt,"{1} 'at' {0}",pt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Uv],hi={};function ge(e){let t=Gv(e),n=rc(t);if(n)return n;let r=t.split("-")[0];if(n=rc(r),n)return n;if(r==="en")return zv;throw new S(701,!1)}function rc(e){return e in hi||(hi[e]=Vt.ng&&Vt.ng.common&&Vt.ng.common.locales&&Vt.ng.common.locales[e]),hi[e]}var B=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(B||{});function Gv(e){return e.toLowerCase().replace(/_/g,"-")}var Jr="en-US";var Wv=Jr;function qv(e){typeof e=="string"&&(Wv=e.toLowerCase().replace(/_/g,"-"))}var Zv=(e,t,n)=>{};function Yv(e,t,n,r){let o=E(),i=V(),s=q();return fa(i,o,o[j],s,e,t,r),Yv}function Qv(e,t){let n=q(),r=E(),o=V(),i=$s(o.data),s=ud(i,n,r);return fa(o,r,s,n,e,t),Qv}function Kv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function fa(e,t,n,r,o,i,s){let a=Ls(r),c=e.firstCreatePass&&ad(e),l=t[Z],d=sd(t),h=!0;if(r.type&3||s){let g=pe(r,t),T=s?s(g):g,C=d.length,G=s?Oe=>s(Te(Oe[r.index])):r.index,oe=null;if(!s&&a&&(oe=Kv(e,t,o,r.index)),oe!==null){let Oe=oe.__ngLastListenerFn__||oe;Oe.__ngNextListenerFn__=i,oe.__ngLastListenerFn__=i,h=!1}else{i=ic(r,t,l,i),Zv(g,o,i);let Oe=n.listen(T,o,i);d.push(i,Oe),c&&c.push(o,G,C,C+1)}}else i=ic(r,t,l,i);let f=r.outputs,p;if(h&&f!==null&&(p=f[o])){let g=p.length;if(g)for(let T=0;T-1?nt(e.index,t):t;ua(s,5);let a=oc(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=oc(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function sx(e=1){return Zp(e)}function Jv(e,t){let n=null,r=tp(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function gx(e){let t=$p();return Gc(t,K+e)}function mx(e,t=""){let n=E(),r=V(),o=e+K,i=r.firstCreatePass?An(r,o,1,t,null):r.data[o],s=tD(r,n,i,t,e);n[o]=s,Gs()&&ra(r,n,s,i),Sn(i,!1)}var tD=(e,t,n,r,o)=>(Ws(!0),tm(t[j],r));function nD(e){return zd("",e,""),nD}function zd(e,t,n){let r=E(),o=fv(r,e,t,n);return o!==Ae&&Um(r,ot(),o),zd}function rD(e,t,n){Nd(t)&&(t=t());let r=E(),o=rt();if(he(r,o,t)){let i=V(),s=Tn();ho(i,s,r,e,t,r[j],n,!1)}return rD}function yx(e,t){let n=Nd(e);return n&&e.set(t),n}function oD(e,t){let n=E(),r=V(),o=q();return fa(r,n,n[j],o,e,t),oD}function iD(e,t,n){let r=V();if(r.firstCreatePass){let o=Ve(e);Ds(n,r.data,r.blueprint,o,!0),Ds(t,r.data,r.blueprint,o,!1)}}function Ds(e,t,n,r,o){if(e=W(e),Array.isArray(e))for(let i=0;i>20;if(Gt(e)||!e.multi){let f=new wt(c,o,ue),p=gi(u,t,o?l:l+h,d);p===-1?(Ni(Lr(a,s),i,u),pi(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=gi(u,t,l+h,d),p=gi(u,t,l,l+h),g=f>=0&&n[f],T=p>=0&&n[p];if(o&&!T||!o&&!g){Ni(Lr(a,s),i,u);let C=uD(o?aD:sD,n.length,o,r,c);!o&&T&&(n[p].providerFactory=C),pi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else{let C=Gd(n[o?p:f],c,!o&&r);pi(i,e,f>-1?f:p,C)}!o&&r&&T&&n[p].componentProviders++}}}function pi(e,t,n,r){let o=Gt(t),i=mp(t);if(o||i){let u=(i?W(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Gd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gi(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>iD(r,o?o(e):e,t)}}var cD=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Ac(!1,r.type),i=o.length>0?tv([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=L({token:t,providedIn:"environment",factory:()=>new t(H(Xe))});let e=t;return e})();function Dx(e){it("NgStandalone"),e.getStandaloneInjector=t=>t.get(cD).getOrCreateStandaloneInjector(e)}function lD(e,t){let n=e[t];return n===Ae?void 0:n}function dD(e,t,n,r,o,i,s){let a=t+n;return iv(e,a,o,i)?ov(e,a+2,s?r.call(s,o,i):r(o,i)):lD(e,a+2)}function Ix(e,t){let n=V(),r,o=e+K;n.firstCreatePass?(r=fD(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=yt(r.type,!0)),s,a=se(ue);try{let u=kr(!1),c=i();return kr(u),eD(n,E(),o,c),c}finally{se(a)}}function fD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Ex(e,t,n,r){let o=e+K,i=E(),s=Gc(i,o);return hD(i,o)?dD(i,Hp(),t,s.transform,n,r,s):s.transform(n,r)}function hD(e,t){return e[v].data[t].pure}function wx(e,t){return go(e,t)}var Cx=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var pD=new N(""),gD=new N(""),bx=(()=>{let t=class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ha||(yD(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r()},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,i),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(H(ne),H(mD),H(gD))},t.\u0275prov=L({token:t,factory:t.\u0275fac});let e=t;return e})(),mD=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return ha?.findTestabilityInTree(this,r,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function yD(e){ha=e}var ha;function pa(e){return!!e&&typeof e.then=="function"}function Wd(e){return!!e&&typeof e.subscribe=="function"}var vD=new N(""),qd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=M(vD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(pa(s))r.push(s);else if(Wd(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),DD=new N("");function ID(){Ba(()=>{throw new S(600,!1)})}function ED(e){return e.isBoundToModule}var wD=10;function CD(e,t,n){try{let r=n();return pa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Rn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=M(Ig),this.afterRenderEffectManager=M(ca),this.zonelessEnabled=M(vd),this.externalTestViews=new Set,this.beforeRender=new de,this.afterTick=new de,this.componentTypes=[],this.components=[],this.isStable=M(ao).hasPendingTasks.pipe(Re(r=>!r)),this._injector=M(Xe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let r;return new Promise(o=>{r=this.isStable.subscribe({next:i=>{i&&o()}})}).finally(()=>{r.unsubscribe()})}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Ur;if(!this._injector.get(qd).done){let f=!i&&lp(r),p=!1;throw new S(405,p)}let a;i?a=r:a=this._injector.get(en).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=ED(a)?void 0:this._injector.get(tt),c=o||a.selector,l=a.create(et.NULL,[],c,u),d=l.location.nativeElement,h=l.injector.get(pD,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),br(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,b(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(zr,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iCn(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>Cn(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;br(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(DD,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>br(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function br(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function bD(e,t,n,r){if(!n&&!Cn(e))return;pd(e,t,n&&!r?0:1)}var Es=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},_x=(()=>{let t=class t{compileModuleSync(r){return new cs(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Sc(r),s=Rl(i.declarations).reduce((a,u)=>{let c=Je(u);return c&&a.push(new tn(c)),a},[]);return new Es(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var _D=(()=>{let t=class t{constructor(){this.zone=M(ne),this.changeDetectionScheduler=M(Xt),this.applicationRef=M(Rn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function MD({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new ne(xD()),[{provide:ne,useFactory:e},{provide:Tr,multi:!0,useFactory:()=>{let n=M(_D,{optional:!0});return()=>n.initialize()}},{provide:Tr,multi:!0,useFactory:()=>{let n=M(SD);return()=>{n.initialize()}}},t===!0?{provide:Dd,useValue:!0}:[]]}function xD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var SD=(()=>{let t=class t{constructor(){this.subscription=new $,this.initialized=!1,this.zone=M(ne),this.pendingTasks=M(ao)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ne.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var TD=(()=>{let t=class t{constructor(){this.appRef=M(Rn),this.taskService=M(ao),this.ngZone=M(ne),this.zonelessEnabled=M(vd),this.disableScheduling=M(Dd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new $,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Vr):null,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,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 Pi||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?ku:Il;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Vr+this.angularZoneId))}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ku(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ND(){return typeof $localize<"u"&&$localize.locale||Jr}var mo=new N("",{providedIn:"root",factory:()=>M(mo,_.Optional|_.SkipSelf)||ND()});var Zd=new N("");function Dr(e){return!!e.platformInjector}function AD(e){let t=Dr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ne);return n.run(()=>{Dr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Qt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Dr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Zd);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else e.moduleRef.onDestroy(()=>{br(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return CD(r,n,()=>{let i=t.get(qd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(mo,Jr);if(qv(s||Jr),Dr(e)){let a=t.get(Rn);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return OD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function OD(e,t){let n=e.injector.get(Rn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new S(-403,!1);t.push(e)}var _r=null;function FD(e=[],t){return et.create({name:t,providers:[{provide:Rc,useValue:"platform"},{provide:Zd,useValue:new Set([()=>_r=null])},...e]})}function RD(e=[]){if(_r)return _r;let t=FD(e);return _r=t,ID(),PD(t),t}function PD(e){e.get(Tg,null)?.forEach(n=>n())}var Yd=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=kD;let e=t;return e})();function kD(e){return LD(q(),E(),(e&16)===16)}function LD(e,t,n){if(oo(e)&&!n){let r=nt(e.index,t);return new _t(r,r)}else if(e.type&175){let r=t[ce];return new _t(r,t)}return null}var ws=class{constructor(){}supports(t){return Fd(t)}create(t){return new Cs(t)}},jD=(e,t)=>t,Cs=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||jD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new bs(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Xr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Xr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},bs=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},_s=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Xr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new _s,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function sc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||ac()),deps:[[t,new Uh,new Hh]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new S(901,!1)}};t.\u0275prov=L({token:t,providedIn:"root",factory:ac});let e=t;return e})();var Mx=(()=>{let t=class t{constructor(r){}};t.\u0275fac=function(o){return new(o||t)(H(Rn))},t.\u0275mod=Os({type:t}),t.\u0275inj=Ms({});let e=t;return e})();function xx(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=RD(r),i=[MD({}),{provide:Xt,useExisting:TD},...n||[]],s=new qr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return AD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}var Sx=new N("");function VD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Tx(e,t){it("NgSignals");let n=Lo(e);return t?.equal&&(n[ve].equal=t.equal),n}function BD(e){let t=b(null);try{return e()}finally{b(t)}}function Nx(e){let t=Je(e);if(!t)return null;let n=new tn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var rf=null;function ya(){return rf}function tS(e){rf??=e}var Qd=class{};var _a=new N(""),Ma=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:()=>M(HD),providedIn:"platform"});let e=t;return e})(),nS=new N(""),HD=(()=>{let t=class t extends Ma{constructor(){super(),this._doc=M(_a),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ya().getBaseHref(this._doc)}onPopState(r){let o=ya().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=ya().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function xa(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Kd(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function ze(e){return e&&e[0]!=="?"?"?"+e:e}var Mo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=L({token:t,factory:()=>M(UD),providedIn:"root"});let e=t;return e})(),of=new N(""),UD=(()=>{let t=class t extends Mo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??M(_a).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return xa(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+ze(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ze(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ze(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(H(Ma),H(of,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),rS=(()=>{let t=class t extends Mo{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=xa(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ze(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ze(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(H(Ma),H(of,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac});let e=t;return e})(),zD=(()=>{let t=class t{constructor(r){this._subject=new we,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=qD(Kd(Jd(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+ze(o))}normalize(r){return t.stripTrailingSlash(WD(this._basePath,Jd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ze(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ze(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=ze,t.joinWithSlash=xa,t.stripTrailingSlash=Kd,t.\u0275fac=function(o){return new(o||t)(H(Mo))},t.\u0275prov=L({token:t,factory:()=>GD(),providedIn:"root"});let e=t;return e})();function GD(){return new zD(H(Mo))}function WD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Jd(e){return e.replace(/\/index.html$/,"")}function qD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var re=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(re||{}),P=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(P||{}),le=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(le||{}),st={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 ZD(e){return ge(e)[B.LocaleId]}function YD(e,t,n){let r=ge(e),o=[r[B.DayPeriodsFormat],r[B.DayPeriodsStandalone]],i=me(o,t);return me(i,n)}function QD(e,t,n){let r=ge(e),o=[r[B.DaysFormat],r[B.DaysStandalone]],i=me(o,t);return me(i,n)}function KD(e,t,n){let r=ge(e),o=[r[B.MonthsFormat],r[B.MonthsStandalone]],i=me(o,t);return me(i,n)}function JD(e,t){let r=ge(e)[B.Eras];return me(r,t)}function yo(e,t){let n=ge(e);return me(n[B.DateFormat],t)}function vo(e,t){let n=ge(e);return me(n[B.TimeFormat],t)}function Do(e,t){let r=ge(e)[B.DateTimeFormat];return me(r,t)}function xo(e,t){let n=ge(e),r=n[B.NumberSymbols][t];if(typeof r>"u"){if(t===st.CurrencyDecimal)return n[B.NumberSymbols][st.Decimal];if(t===st.CurrencyGroup)return n[B.NumberSymbols][st.Group]}return r}function sf(e){if(!e[B.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[B.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function XD(e){let t=ge(e);return sf(t),(t[B.ExtraData][2]||[]).map(r=>typeof r=="string"?va(r):[va(r[0]),va(r[1])])}function eI(e,t,n){let r=ge(e);sf(r);let o=[r[B.ExtraData][0],r[B.ExtraData][1]],i=me(o,t)||[];return me(i,n)||[]}function me(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function va(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var tI=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Io={},nI=/((?:[^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]*)/,Ge=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Ge||{}),O=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(O||{}),A=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(A||{});function rI(e,t,n,r){let o=fI(e);t=Ue(n,t)||t;let s=[],a;for(;t;)if(a=nI.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=uf(r,u),o=dI(o,r,!0));let c="";return s.forEach(l=>{let d=cI(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function _o(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ue(e,t){let n=ZD(e);if(Io[n]??={},Io[n][t])return Io[n][t];let r="";switch(t){case"shortDate":r=yo(e,le.Short);break;case"mediumDate":r=yo(e,le.Medium);break;case"longDate":r=yo(e,le.Long);break;case"fullDate":r=yo(e,le.Full);break;case"shortTime":r=vo(e,le.Short);break;case"mediumTime":r=vo(e,le.Medium);break;case"longTime":r=vo(e,le.Long);break;case"fullTime":r=vo(e,le.Full);break;case"short":let o=Ue(e,"shortTime"),i=Ue(e,"shortDate");r=Eo(Do(e,le.Short),[o,i]);break;case"medium":let s=Ue(e,"mediumTime"),a=Ue(e,"mediumDate");r=Eo(Do(e,le.Medium),[s,a]);break;case"long":let u=Ue(e,"longTime"),c=Ue(e,"longDate");r=Eo(Do(e,le.Long),[u,c]);break;case"full":let l=Ue(e,"fullTime"),d=Ue(e,"fullDate");r=Eo(Do(e,le.Full),[l,d]);break}return r&&(Io[n][t]=r),r}function Eo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function be(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===O.Hours)a===0&&n===-12&&(a=12);else if(e===O.FractionalSeconds)return oI(a,t);let u=xo(s,st.MinusSign);return be(a,t,u,r,o)}}function iI(e,t){switch(e){case O.FullYear:return t.getFullYear();case O.Month:return t.getMonth();case O.Date:return t.getDate();case O.Hours:return t.getHours();case O.Minutes:return t.getMinutes();case O.Seconds:return t.getSeconds();case O.FractionalSeconds:return t.getMilliseconds();case O.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function k(e,t,n=re.Format,r=!1){return function(o,i){return sI(o,i,e,t,n,r)}}function sI(e,t,n,r,o,i){switch(n){case A.Months:return KD(t,o,r)[e.getMonth()];case A.Days:return QD(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=XD(t),l=eI(t,o,r),d=c.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,g=s>=f.hours&&a>=f.minutes,T=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Ge.Short:return(o>=0?"+":"")+be(s,2,i)+be(Math.abs(o%60),2,i);case Ge.ShortGMT:return"GMT"+(o>=0?"+":"")+be(s,1,i);case Ge.Long:return"GMT"+(o>=0?"+":"")+be(s,2,i)+":"+be(Math.abs(o%60),2,i);case Ge.Extended:return r===0?"Z":(o>=0?"+":"")+be(s,2,i)+":"+be(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var aI=0,bo=4;function uI(e){let t=_o(e,aI,1).getDay();return _o(e,0,1+(t<=bo?bo:bo+7)-t)}function af(e){let t=e.getDay(),n=t===0?-3:bo-t;return _o(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Da(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=af(n),s=uI(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return be(o,e,xo(r,st.MinusSign))}}function Co(e,t=!1){return function(n,r){let i=af(n).getFullYear();return be(i,e,xo(r,st.MinusSign),t)}}var Ia={};function cI(e){if(Ia[e])return Ia[e];let t;switch(e){case"G":case"GG":case"GGG":t=k(A.Eras,P.Abbreviated);break;case"GGGG":t=k(A.Eras,P.Wide);break;case"GGGGG":t=k(A.Eras,P.Narrow);break;case"y":t=U(O.FullYear,1,0,!1,!0);break;case"yy":t=U(O.FullYear,2,0,!0,!0);break;case"yyy":t=U(O.FullYear,3,0,!1,!0);break;case"yyyy":t=U(O.FullYear,4,0,!1,!0);break;case"Y":t=Co(1);break;case"YY":t=Co(2,!0);break;case"YYY":t=Co(3);break;case"YYYY":t=Co(4);break;case"M":case"L":t=U(O.Month,1,1);break;case"MM":case"LL":t=U(O.Month,2,1);break;case"MMM":t=k(A.Months,P.Abbreviated);break;case"MMMM":t=k(A.Months,P.Wide);break;case"MMMMM":t=k(A.Months,P.Narrow);break;case"LLL":t=k(A.Months,P.Abbreviated,re.Standalone);break;case"LLLL":t=k(A.Months,P.Wide,re.Standalone);break;case"LLLLL":t=k(A.Months,P.Narrow,re.Standalone);break;case"w":t=Da(1);break;case"ww":t=Da(2);break;case"W":t=Da(1,!0);break;case"d":t=U(O.Date,1);break;case"dd":t=U(O.Date,2);break;case"c":case"cc":t=U(O.Day,1);break;case"ccc":t=k(A.Days,P.Abbreviated,re.Standalone);break;case"cccc":t=k(A.Days,P.Wide,re.Standalone);break;case"ccccc":t=k(A.Days,P.Narrow,re.Standalone);break;case"cccccc":t=k(A.Days,P.Short,re.Standalone);break;case"E":case"EE":case"EEE":t=k(A.Days,P.Abbreviated);break;case"EEEE":t=k(A.Days,P.Wide);break;case"EEEEE":t=k(A.Days,P.Narrow);break;case"EEEEEE":t=k(A.Days,P.Short);break;case"a":case"aa":case"aaa":t=k(A.DayPeriods,P.Abbreviated);break;case"aaaa":t=k(A.DayPeriods,P.Wide);break;case"aaaaa":t=k(A.DayPeriods,P.Narrow);break;case"b":case"bb":case"bbb":t=k(A.DayPeriods,P.Abbreviated,re.Standalone,!0);break;case"bbbb":t=k(A.DayPeriods,P.Wide,re.Standalone,!0);break;case"bbbbb":t=k(A.DayPeriods,P.Narrow,re.Standalone,!0);break;case"B":case"BB":case"BBB":t=k(A.DayPeriods,P.Abbreviated,re.Format,!0);break;case"BBBB":t=k(A.DayPeriods,P.Wide,re.Format,!0);break;case"BBBBB":t=k(A.DayPeriods,P.Narrow,re.Format,!0);break;case"h":t=U(O.Hours,1,-12);break;case"hh":t=U(O.Hours,2,-12);break;case"H":t=U(O.Hours,1);break;case"HH":t=U(O.Hours,2);break;case"m":t=U(O.Minutes,1);break;case"mm":t=U(O.Minutes,2);break;case"s":t=U(O.Seconds,1);break;case"ss":t=U(O.Seconds,2);break;case"S":t=U(O.FractionalSeconds,1);break;case"SS":t=U(O.FractionalSeconds,2);break;case"SSS":t=U(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=wo(Ge.Short);break;case"ZZZZZ":t=wo(Ge.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=wo(Ge.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=wo(Ge.Long);break;default:return null}return Ia[e]=t,t}function uf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function lI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function dI(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=uf(t,o);return lI(e,r*(i-o))}function fI(e){if(Xd(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return _o(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(tI))return hI(r)}let t=new Date(e);if(!Xd(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function hI(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function Xd(e){return e instanceof Date&&!isNaN(e.valueOf())}function oS(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Ea=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},iS=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Ea(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),ef(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);ef(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(ue(St),ue(Mt),ue(ga))},t.\u0275dir=no({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function ef(e,t){e.context.$implicit=t.item}var sS=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new wa,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){tf("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){tf("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(ue(St),ue(Mt))},t.\u0275dir=no({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),wa=class{constructor(){this.$implicit=null,this.ngIf=null}};function tf(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}var aS=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(ue(St))},t.\u0275dir=no({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[js]});let e=t;return e})();function pI(e,t){return new S(2100,!1)}var gI="mediumDate",mI=new N(""),yI=new N(""),uS=(()=>{let t=class t{constructor(r,o,i){this.locale=r,this.defaultTimezone=o,this.defaultOptions=i}transform(r,o,i,s){if(r==null||r===""||r!==r)return null;try{let a=o??this.defaultOptions?.dateFormat??gI,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return rI(r,a,s||this.locale,u)}catch(a){throw pI(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(ue(mo,16),ue(mI,24),ue(yI,24))},t.\u0275pipe=Mc({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var cS=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Os({type:t}),t.\u0275inj=Ms({});let e=t;return e})(),vI="browser",DI="server";function II(e){return e===vI}function lS(e){return e===DI}var dS=(()=>{let t=class t{};t.\u0275prov=L({token:t,providedIn:"root",factory:()=>II(M(Js))?new Ca(M(_a),window):new ba});let e=t;return e})(),Ca=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=EI(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function EI(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var ba=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},nf=class{};var Tt=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Tt||{}),pS="*";function gS(e,t){return{type:Tt.Trigger,name:e,definitions:t,options:{}}}function mS(e,t=null){return{type:Tt.Animate,styles:t,timings:e}}function yS(e,t=null){return{type:Tt.Sequence,steps:e,options:t}}function vS(e){return{type:Tt.Style,styles:e,offset:null}}function DS(e,t,n){return{type:Tt.State,name:e,styles:t,options:n}}function IS(e,t,n=null){return{type:Tt.Transition,expr:e,animation:t,options:n}}var cf=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},lf=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},ES="!";export{We as a,qe as b,wI as c,CI as d,bI as e,$ as f,Tf as g,x as h,qo as i,Zo as j,de as k,ln as l,lt as m,Me as n,Vf as o,Bf as p,$f as q,ft as r,Re as s,Yf as t,Pe as u,pn as v,fr as w,Kf as x,Jf as y,Qo as z,ih as A,ht as B,sh as C,yu as D,ah as E,uh as F,gn as G,Ko as H,ch as I,lh as J,hh as K,Du as L,Jo as M,ph as N,gh as O,ei as P,mh as Q,yh as R,vh as S,Dh as T,Ih as U,Eh as V,S as W,Vt as X,dc as Y,L as Z,Ms as _,A0 as $,N as aa,_ as ba,H as ca,M as da,Hh as ea,Uh as fa,Dn as ga,O0 as ha,Os as ia,no as ja,F0 as ka,fp as la,Rc as ma,Xe as na,Cp as oa,js as pa,R0 as qa,P0 as ra,k0 as sa,lg as ta,et as ua,ao as va,we as wa,ne as xa,Qt as ya,sn as za,L0 as Aa,j0 as Ba,Tg as Ca,Js as Da,V0 as Ea,B0 as Fa,ea as Ga,$0 as Ha,H0 as Ia,U0 as Ja,z0 as Ka,G0 as La,W0 as Ma,Vg as Na,q0 as Oa,Xg as Pa,Br as Qa,Z0 as Ra,ue as Sa,Y0 as Ta,Mt as Ua,Xt as Va,en as Wa,zr as Xa,Id as Ya,it as Za,hy as _a,py as $a,St as ab,Vy as bb,X0 as cb,qy as db,ex as eb,ev as fb,as as gb,tv as hb,uv as ib,dv as jb,Cv as kb,kd as lb,bv as mb,tx as nb,nx as ob,rx as pb,ox as qb,Hd as rb,Ud as sb,Vv as tb,ix as ub,$v as vb,Hv as wb,Yv as xb,Qv as yb,sx as zb,ax as Ab,ux as Bb,cx as Cb,lx as Db,dx as Eb,fx as Fb,hx as Gb,px as Hb,gx as Ib,mx as Jb,nD as Kb,zd as Lb,rD as Mb,yx as Nb,oD as Ob,vx as Pb,Dx as Qb,Ix as Rb,Ex as Sb,wx as Tb,Cx as Ub,pD as Vb,gD as Wb,bx as Xb,mD as Yb,pa as Zb,vD as _b,DD as $b,Rn as ac,_x as bc,Yd as cc,Mx as dc,xx as ec,Sx as fc,VD as gc,Tx as hc,BD as ic,Nx as jc,ya as kc,tS as lc,Qd as mc,_a as nc,nS as oc,Mo as pc,UD as qc,rS as rc,zD as sc,oS as tc,iS as uc,sS as vc,aS as wc,uS as xc,cS as yc,vI as zc,II as Ac,lS as Bc,dS as Cc,nf as Dc,Tt as Ec,pS as Fc,gS as Gc,mS as Hc,yS as Ic,vS as Jc,DS as Kc,IS as Lc,cf as Mc,lf as Nc,ES as Oc}; diff --git a/chunk-NNKSX5RK.js b/chunk-NNKSX5RK.js new file mode 100644 index 0000000..7f52353 --- /dev/null +++ b/chunk-NNKSX5RK.js @@ -0,0 +1 @@ +import{Ec as E,Fc as B,Ic as yt,Jc as Me,Mc as x,Nc as Ce,Oc as ue,W as S,Z as gt,a as he,c as pt}from"./chunk-2B4O5LJH.js";function _t(n){return new S(3e3,!1)}function Ht(){return new S(3100,!1)}function Yt(){return new S(3101,!1)}function Xt(n){return new S(3001,!1)}function Zt(n){return new S(3003,!1)}function Jt(n){return new S(3004,!1)}function xt(n,e){return new S(3005,!1)}function es(){return new S(3006,!1)}function ts(){return new S(3007,!1)}function ss(n,e){return new S(3008,!1)}function is(n){return new S(3002,!1)}function ns(n,e,t,s,i){return new S(3010,!1)}function rs(){return new S(3011,!1)}function as(){return new S(3012,!1)}function os(){return new S(3200,!1)}function ls(){return new S(3202,!1)}function hs(){return new S(3013,!1)}function us(n){return new S(3014,!1)}function cs(n){return new S(3015,!1)}function fs(n){return new S(3016,!1)}function ds(n){return new S(3500,!1)}function ms(n){return new S(3501,!1)}function ps(n,e){return new S(3404,!1)}function gs(n){return new S(3502,!1)}function ys(n){return new S(3503,!1)}function _s(){return new S(3300,!1)}function Ss(n){return new S(3504,!1)}function Es(n){return new S(3301,!1)}function Ts(n,e){return new S(3302,!1)}function vs(n){return new S(3303,!1)}function ws(n,e){return new S(3400,!1)}function bs(n){return new S(3401,!1)}function As(n){return new S(3402,!1)}function Ps(n,e){return new S(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function St(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,Et=!1;function ks(n){H||(H=Ds()||{},Et=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&Et&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case E.Trigger:return n.visitTrigger(e,t);case E.State:return n.visitState(e,t);case E.Transition:return n.visitTransition(e,t);case E.Sequence:return n.visitSequence(e,t);case E.Group:return n.visitGroup(e,t);case E.Animate:return n.visitAnimate(e,t);case E.Keyframes:return n.visitKeyframes(e,t);case E.Style:return n.visitStyle(e,t);case E.Reference:return n.visitReference(e,t);case E.AnimateChild:return n.visitAnimateChild(e,t);case E.AnimateRef:return n.visitAnimateRef(e,t);case E.Query:return n.visitQuery(e,t);case E.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Se="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Se&&a==Se;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Se||n==i,o=e==Se||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:E.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==E.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==E.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ee);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ee);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Ee={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ee,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ee,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Ss(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Es(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new Ze(e.body,t,s),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=St(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=St(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e){return n==="noop"?new we(e,new qt,new ze):new we(e,new xe,new Qe)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Si(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Ei(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Si(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ei(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty}; diff --git a/index.html b/index.html index 3005cee..f196c11 100644 --- a/index.html +++ b/index.html @@ -12,5 +12,5 @@ Loading... - + diff --git a/main-JC4WJKWR.js b/main-JC4WJKWR.js new file mode 100644 index 0000000..0d29358 --- /dev/null +++ b/main-JC4WJKWR.js @@ -0,0 +1,9 @@ +import{$ as _c,$a as Se,$b as Gc,A as gi,Aa as Cc,Ab as bt,Ac as ol,B as st,Ba as Ki,Bb as q,Bc as ds,C as Xo,Ca as Ec,Cb as ne,Cc as sl,D as xe,Da as Ke,Db as _t,Dc as al,E as Ce,Ea as vt,Eb as tt,F as Ko,Fa as Qi,Fb as et,G as Qo,Ga as vi,Gb as Vc,Gc as Er,H as gt,Ha as bi,Hb as Bc,Hc as en,I as pc,Ia as Dc,Ib as ss,J as Jo,Ja as Ic,Jb as T,Jc as ei,K as Ze,Ka as Ac,Kb as re,Kc as nn,L as Ee,La as Sc,Lb as oe,Lc as rn,M as ts,Ma as Mc,Mb as se,N as gc,Na as Rc,Nb as ae,O as vc,Oa as Tc,Ob as ce,P as bc,Pa as At,Pb as ot,Q as es,Qa as Ji,Qb as V,R as or,Ra as I,Rb as zc,S as ie,Sa as f,Sb as Uc,T as Dt,Ta as _i,Tb as Hc,U as mt,Ua as Qe,Ub as br,V as nt,Va as kc,Vb as $c,W,Wa as ur,Wb as _r,X as De,Xa as hr,Xb as yr,Y as Ie,Ya as mr,Yb as as,Z as b,Za as Oc,Zb as wr,_ as M,_a as fr,_b as cs,a as g,aa as w,ab as yi,ac as tn,b as $,ba as is,bb as wi,bc as xr,ca as h,cb as Fc,cc as St,d as Zt,da as v,db as J,dc as Wc,e as hc,ea as sr,eb as Pc,ec as qc,f as Ut,fa as ns,fb as Ht,fc as Yc,g as mc,ga as Xi,gb as Nc,gc as Mt,h as we,ha as j,hb as rs,hc as le,i as qo,ia as R,ib as H,ic as $t,j as Yo,ja as S,jb as ct,jc as Zc,k as A,ka as ar,kb as Q,kc as ti,l as xt,la as yc,lb as os,lc as Xc,m as Xt,ma as wc,mb as Y,mc as Kc,n as pt,na as Ae,nb as Je,nc as D,o as x,oa as Kt,ob as ft,oc as Qc,p as qe,pa as It,pb as pr,pc as ls,q as er,qa as cr,qb as gr,qc as Jc,r as fc,ra as lr,rb as _,rc as tl,s as k,sa as Qt,sb as y,sc as de,t as pi,ta as dr,tb as X,tc as el,u as Et,ua as K,ub as vr,uc as Cr,v as Zo,va as xc,vb as Me,vc as xi,w as ir,wa as at,wb as Lc,wc as il,x as Ye,xa as C,xb as U,xc as nl,y as nr,ya as Xe,yb as jc,yc as Re,z as rr,za as F,zb as rt,zc as rl}from"./chunk-2B4O5LJH.js";var zu=Zt((Bu,ic)=>{(function(n,t,o){function e(a){var c=this,l=s();c.next=function(){var d=2091639*c.s0+c.c*23283064365386963e-26;return c.s0=c.s1,c.s1=c.s2,c.s2=d-(c.c=d|0)},c.c=1,c.s0=l(" "),c.s1=l(" "),c.s2=l(" "),c.s0-=l(a),c.s0<0&&(c.s0+=1),c.s1-=l(a),c.s1<0&&(c.s1+=1),c.s2-=l(a),c.s2<0&&(c.s2+=1),l=null}function i(a,c){return c.c=a.c,c.s0=a.s0,c.s1=a.s1,c.s2=a.s2,c}function r(a,c){var l=new e(a),d=c&&c.state,u=l.next;return u.int32=function(){return l.next()*4294967296|0},u.double=function(){return u()+(u()*2097152|0)*11102230246251565e-32},u.quick=u,d&&(typeof d=="object"&&i(d,l),u.state=function(){return i(l,{})}),u}function s(){var a=4022871197,c=function(l){l=String(l);for(var d=0;d>>0,u-=a,u*=a,a=u>>>0,u-=a,a+=u*4294967296}return(a>>>0)*23283064365386963e-26};return c}t&&t.exports?t.exports=r:o&&o.amd?o(function(){return r}):this.alea=r})(Bu,typeof ic=="object"&&ic,typeof define=="function"&&define)});var Hu=Zt((Uu,nc)=>{(function(n,t,o){function e(s){var a=this,c="";a.x=0,a.y=0,a.z=0,a.w=0,a.next=function(){var d=a.x^a.x<<11;return a.x=a.y,a.y=a.z,a.z=a.w,a.w^=a.w>>>19^d^d>>>8},s===(s|0)?a.x=s:c+=s;for(var l=0;l>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,m=(c.next()>>>0)/4294967296,p=(u+m)/(1<<21);while(p===0);return p},d.int32=c.next,d.quick=d,l&&(typeof l=="object"&&i(l,c),d.state=function(){return i(c,{})}),d}t&&t.exports?t.exports=r:o&&o.amd?o(function(){return r}):this.xor128=r})(Uu,typeof nc=="object"&&nc,typeof define=="function"&&define)});var Gu=Zt(($u,rc)=>{(function(n,t,o){function e(s){var a=this,c="";a.next=function(){var d=a.x^a.x>>>2;return a.x=a.y,a.y=a.z,a.z=a.w,a.w=a.v,(a.d=a.d+362437|0)+(a.v=a.v^a.v<<4^(d^d<<1))|0},a.x=0,a.y=0,a.z=0,a.w=0,a.v=0,s===(s|0)?a.x=s:c+=s;for(var l=0;l>>4),a.next()}function i(s,a){return a.x=s.x,a.y=s.y,a.z=s.z,a.w=s.w,a.v=s.v,a.d=s.d,a}function r(s,a){var c=new e(s),l=a&&a.state,d=function(){return(c.next()>>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,m=(c.next()>>>0)/4294967296,p=(u+m)/(1<<21);while(p===0);return p},d.int32=c.next,d.quick=d,l&&(typeof l=="object"&&i(l,c),d.state=function(){return i(c,{})}),d}t&&t.exports?t.exports=r:o&&o.amd?o(function(){return r}):this.xorwow=r})($u,typeof rc=="object"&&rc,typeof define=="function"&&define)});var qu=Zt((Wu,oc)=>{(function(n,t,o){function e(s){var a=this;a.next=function(){var l=a.x,d=a.i,u,m,p;return u=l[d],u^=u>>>7,m=u^u<<24,u=l[d+1&7],m^=u^u>>>10,u=l[d+3&7],m^=u^u>>>3,u=l[d+4&7],m^=u^u<<7,u=l[d+7&7],u=u^u<<13,m^=u^u<<9,l[d]=m,a.i=d+1&7,m};function c(l,d){var u,m,p=[];if(d===(d|0))m=p[0]=d;else for(d=""+d,u=0;u0;--u)l.next()}c(a,s)}function i(s,a){return a.x=s.x.slice(),a.i=s.i,a}function r(s,a){s==null&&(s=+new Date);var c=new e(s),l=a&&a.state,d=function(){return(c.next()>>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,m=(c.next()>>>0)/4294967296,p=(u+m)/(1<<21);while(p===0);return p},d.int32=c.next,d.quick=d,l&&(l.x&&i(l,c),d.state=function(){return i(c,{})}),d}t&&t.exports?t.exports=r:o&&o.amd?o(function(){return r}):this.xorshift7=r})(Wu,typeof oc=="object"&&oc,typeof define=="function"&&define)});var Zu=Zt((Yu,sc)=>{(function(n,t,o){function e(s){var a=this;a.next=function(){var l=a.w,d=a.X,u=a.i,m,p;return a.w=l=l+1640531527|0,p=d[u+34&127],m=d[u=u+1&127],p^=p<<13,m^=m<<17,p^=p>>>15,m^=m>>>12,p=d[u]=p^m,a.i=u,p+(l^l>>>16)|0};function c(l,d){var u,m,p,E,O,L=[],yt=128;for(d===(d|0)?(m=d,d=null):(d=d+"\0",m=0,yt=Math.max(yt,d.length)),p=0,E=-32;E>>15,m^=m<<4,m^=m>>>13,E>=0&&(O=O+1640531527|0,u=L[E&127]^=m+O,p=u==0?p+1:0);for(p>=128&&(L[(d&&d.length||0)&127]=-1),p=127,E=4*128;E>0;--E)m=L[p+34&127],u=L[p=p+1&127],m^=m<<13,u^=u<<17,m^=m>>>15,u^=u>>>12,L[p]=m^u;l.w=O,l.X=L,l.i=p}c(a,s)}function i(s,a){return a.i=s.i,a.w=s.w,a.X=s.X.slice(),a}function r(s,a){s==null&&(s=+new Date);var c=new e(s),l=a&&a.state,d=function(){return(c.next()>>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,m=(c.next()>>>0)/4294967296,p=(u+m)/(1<<21);while(p===0);return p},d.int32=c.next,d.quick=d,l&&(l.X&&i(l,c),d.state=function(){return i(c,{})}),d}t&&t.exports?t.exports=r:o&&o.amd?o(function(){return r}):this.xor4096=r})(Yu,typeof sc=="object"&&sc,typeof define=="function"&&define)});var Ku=Zt((Xu,ac)=>{(function(n,t,o){function e(s){var a=this,c="";a.next=function(){var d=a.b,u=a.c,m=a.d,p=a.a;return d=d<<25^d>>>7^u,u=u-m|0,m=m<<24^m>>>8^p,p=p-d|0,a.b=d=d<<20^d>>>12^u,a.c=u=u-m|0,a.d=m<<16^u>>>16^p,a.a=p-d|0},a.a=0,a.b=0,a.c=-1640531527,a.d=1367130551,s===Math.floor(s)?(a.a=s/4294967296|0,a.b=s|0):c+=s;for(var l=0;l>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,m=(c.next()>>>0)/4294967296,p=(u+m)/(1<<21);while(p===0);return p},d.int32=c.next,d.quick=d,l&&(typeof l=="object"&&i(l,c),d.state=function(){return i(c,{})}),d}t&&t.exports?t.exports=r:o&&o.amd?o(function(){return r}):this.tychei=r})(Xu,typeof ac=="object"&&ac,typeof define=="function"&&define)});var Qu=Zt(()=>{});var th=Zt((Ju,Uo)=>{(function(n,t,o){var e=256,i=6,r=52,s="random",a=o.pow(e,i),c=o.pow(2,r),l=c*2,d=e-1,u;function m(N,Z,wt){var ut=[];Z=Z==!0?{entropy:!0}:Z||{};var dt=L(O(Z.entropy?[N,Ct(t)]:N??yt(),3),ut),Ot=new p(ut),zt=function(){for(var Ft=Ot.g(i),ee=a,Yt=0;Ft=l;)Ft/=2,ee/=2,Yt>>>=1;return(Ft+Yt)/ee};return zt.int32=function(){return Ot.g(4)|0},zt.quick=function(){return Ot.g(4)/4294967296},zt.double=zt,L(Ct(Ot.S),t),(Z.pass||wt||function(Ft,ee,Yt,ye){return ye&&(ye.S&&E(ye,Ot),Ft.state=function(){return E(Ot,{})}),Yt?(o[s]=Ft,ee):Ft})(zt,dt,"global"in Z?Z.global:this==o,Z.state)}function p(N){var Z,wt=N.length,ut=this,dt=0,Ot=ut.i=ut.j=0,zt=ut.S=[];for(wt||(N=[wt++]);dt{var Iv=zu(),Av=Hu(),Sv=Gu(),Mv=qu(),Rv=Zu(),Tv=Ku(),fi=th();fi.alea=Iv;fi.xor128=Av;fi.xorwow=Sv;fi.xorshift7=Mv;fi.xor4096=Rv;fi.tychei=Tv;eh.exports=fi});var rh=Zt(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.Md5=void 0;var nh=function(){function n(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}return n.hashStr=function(t,o){return o===void 0&&(o=!1),this.onePassHasher.start().appendStr(t).end(o)},n.hashAsciiStr=function(t,o){return o===void 0&&(o=!1),this.onePassHasher.start().appendAsciiStr(t).end(o)},n._hex=function(t){var o=n.hexChars,e=n.hexOut,i,r,s,a;for(a=0;a<4;a+=1)for(r=a*8,i=t[a],s=0;s<8;s+=2)e[r+1+s]=o.charAt(i&15),i>>>=4,e[r+0+s]=o.charAt(i&15),i>>>=4;return e.join("")},n._md5cycle=function(t,o){var e=t[0],i=t[1],r=t[2],s=t[3];e+=(i&r|~i&s)+o[0]-680876936|0,e=(e<<7|e>>>25)+i|0,s+=(e&i|~e&r)+o[1]-389564586|0,s=(s<<12|s>>>20)+e|0,r+=(s&e|~s&i)+o[2]+606105819|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&e)+o[3]-1044525330|0,i=(i<<22|i>>>10)+r|0,e+=(i&r|~i&s)+o[4]-176418897|0,e=(e<<7|e>>>25)+i|0,s+=(e&i|~e&r)+o[5]+1200080426|0,s=(s<<12|s>>>20)+e|0,r+=(s&e|~s&i)+o[6]-1473231341|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&e)+o[7]-45705983|0,i=(i<<22|i>>>10)+r|0,e+=(i&r|~i&s)+o[8]+1770035416|0,e=(e<<7|e>>>25)+i|0,s+=(e&i|~e&r)+o[9]-1958414417|0,s=(s<<12|s>>>20)+e|0,r+=(s&e|~s&i)+o[10]-42063|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&e)+o[11]-1990404162|0,i=(i<<22|i>>>10)+r|0,e+=(i&r|~i&s)+o[12]+1804603682|0,e=(e<<7|e>>>25)+i|0,s+=(e&i|~e&r)+o[13]-40341101|0,s=(s<<12|s>>>20)+e|0,r+=(s&e|~s&i)+o[14]-1502002290|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&e)+o[15]+1236535329|0,i=(i<<22|i>>>10)+r|0,e+=(i&s|r&~s)+o[1]-165796510|0,e=(e<<5|e>>>27)+i|0,s+=(e&r|i&~r)+o[6]-1069501632|0,s=(s<<9|s>>>23)+e|0,r+=(s&i|e&~i)+o[11]+643717713|0,r=(r<<14|r>>>18)+s|0,i+=(r&e|s&~e)+o[0]-373897302|0,i=(i<<20|i>>>12)+r|0,e+=(i&s|r&~s)+o[5]-701558691|0,e=(e<<5|e>>>27)+i|0,s+=(e&r|i&~r)+o[10]+38016083|0,s=(s<<9|s>>>23)+e|0,r+=(s&i|e&~i)+o[15]-660478335|0,r=(r<<14|r>>>18)+s|0,i+=(r&e|s&~e)+o[4]-405537848|0,i=(i<<20|i>>>12)+r|0,e+=(i&s|r&~s)+o[9]+568446438|0,e=(e<<5|e>>>27)+i|0,s+=(e&r|i&~r)+o[14]-1019803690|0,s=(s<<9|s>>>23)+e|0,r+=(s&i|e&~i)+o[3]-187363961|0,r=(r<<14|r>>>18)+s|0,i+=(r&e|s&~e)+o[8]+1163531501|0,i=(i<<20|i>>>12)+r|0,e+=(i&s|r&~s)+o[13]-1444681467|0,e=(e<<5|e>>>27)+i|0,s+=(e&r|i&~r)+o[2]-51403784|0,s=(s<<9|s>>>23)+e|0,r+=(s&i|e&~i)+o[7]+1735328473|0,r=(r<<14|r>>>18)+s|0,i+=(r&e|s&~e)+o[12]-1926607734|0,i=(i<<20|i>>>12)+r|0,e+=(i^r^s)+o[5]-378558|0,e=(e<<4|e>>>28)+i|0,s+=(e^i^r)+o[8]-2022574463|0,s=(s<<11|s>>>21)+e|0,r+=(s^e^i)+o[11]+1839030562|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^e)+o[14]-35309556|0,i=(i<<23|i>>>9)+r|0,e+=(i^r^s)+o[1]-1530992060|0,e=(e<<4|e>>>28)+i|0,s+=(e^i^r)+o[4]+1272893353|0,s=(s<<11|s>>>21)+e|0,r+=(s^e^i)+o[7]-155497632|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^e)+o[10]-1094730640|0,i=(i<<23|i>>>9)+r|0,e+=(i^r^s)+o[13]+681279174|0,e=(e<<4|e>>>28)+i|0,s+=(e^i^r)+o[0]-358537222|0,s=(s<<11|s>>>21)+e|0,r+=(s^e^i)+o[3]-722521979|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^e)+o[6]+76029189|0,i=(i<<23|i>>>9)+r|0,e+=(i^r^s)+o[9]-640364487|0,e=(e<<4|e>>>28)+i|0,s+=(e^i^r)+o[12]-421815835|0,s=(s<<11|s>>>21)+e|0,r+=(s^e^i)+o[15]+530742520|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^e)+o[2]-995338651|0,i=(i<<23|i>>>9)+r|0,e+=(r^(i|~s))+o[0]-198630844|0,e=(e<<6|e>>>26)+i|0,s+=(i^(e|~r))+o[7]+1126891415|0,s=(s<<10|s>>>22)+e|0,r+=(e^(s|~i))+o[14]-1416354905|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~e))+o[5]-57434055|0,i=(i<<21|i>>>11)+r|0,e+=(r^(i|~s))+o[12]+1700485571|0,e=(e<<6|e>>>26)+i|0,s+=(i^(e|~r))+o[3]-1894986606|0,s=(s<<10|s>>>22)+e|0,r+=(e^(s|~i))+o[10]-1051523|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~e))+o[1]-2054922799|0,i=(i<<21|i>>>11)+r|0,e+=(r^(i|~s))+o[8]+1873313359|0,e=(e<<6|e>>>26)+i|0,s+=(i^(e|~r))+o[15]-30611744|0,s=(s<<10|s>>>22)+e|0,r+=(e^(s|~i))+o[6]-1560198380|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~e))+o[13]+1309151649|0,i=(i<<21|i>>>11)+r|0,e+=(r^(i|~s))+o[4]-145523070|0,e=(e<<6|e>>>26)+i|0,s+=(i^(e|~r))+o[11]-1120210379|0,s=(s<<10|s>>>22)+e|0,r+=(e^(s|~i))+o[2]+718787259|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~e))+o[9]-343485551|0,i=(i<<21|i>>>11)+r|0,t[0]=e+t[0]|0,t[1]=i+t[1]|0,t[2]=r+t[2]|0,t[3]=s+t[3]|0},n.prototype.start=function(){return this._dataLength=0,this._bufferLength=0,this._state.set(n.stateIdentity),this},n.prototype.appendStr=function(t){var o=this._buffer8,e=this._buffer32,i=this._bufferLength,r,s;for(s=0;s>>6)+192,o[i++]=r&63|128;else if(r<55296||r>56319)o[i++]=(r>>>12)+224,o[i++]=r>>>6&63|128,o[i++]=r&63|128;else{if(r=(r-55296)*1024+(t.charCodeAt(++s)-56320)+65536,r>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");o[i++]=(r>>>18)+240,o[i++]=r>>>12&63|128,o[i++]=r>>>6&63|128,o[i++]=r&63|128}i>=64&&(this._dataLength+=64,n._md5cycle(this._state,e),i-=64,e[0]=e[16])}return this._bufferLength=i,this},n.prototype.appendAsciiStr=function(t){for(var o=this._buffer8,e=this._buffer32,i=this._bufferLength,r,s=0;;){for(r=Math.min(t.length-s,64-i);r--;)o[i++]=t.charCodeAt(s++);if(i<64)break;this._dataLength+=64,n._md5cycle(this._state,e),i=0}return this._bufferLength=i,this},n.prototype.appendByteArray=function(t){for(var o=this._buffer8,e=this._buffer32,i=this._bufferLength,r,s=0;;){for(r=Math.min(t.length-s,64-i);r--;)o[i++]=t[s++];if(i<64)break;this._dataLength+=64,n._md5cycle(this._state,e),i=0}return this._bufferLength=i,this},n.prototype.getState=function(){var t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}},n.prototype.setState=function(t){var o=t.buffer,e=t.state,i=this._state,r;for(this._dataLength=t.length,this._bufferLength=t.buflen,i[0]=e[0],i[1]=e[1],i[2]=e[2],i[3]=e[3],r=0;r>2)+1;this._dataLength+=o;var s=this._dataLength*8;if(e[o]=128,e[o+1]=e[o+2]=e[o+3]=0,i.set(n.buffer32Identity.subarray(r),r),o>55&&(n._md5cycle(this._state,i),i.set(n.buffer32Identity)),s<=4294967295)i[14]=s;else{var a=s.toString(16).match(/(.*?)(.{0,8})$/);if(a===null)return;var c=parseInt(a[2],16),l=parseInt(a[1],16)||0;i[14]=c,i[15]=l}return n._md5cycle(this._state,i),t?this._state:n._hex(this._state)},n.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),n.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),n.hexChars="0123456789abcdef",n.hexOut=[],n.onePassHasher=new n,n}();Ho.Md5=nh;if(nh.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.")});var fl=(()=>{let t=class t{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)}};t.\u0275fac=function(i){return new(i||t)(f(mr),f(F))},t.\u0275dir=S({type:t});let n=t;return n})(),pl=(()=>{let t=class t extends fl{};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Qt(t)))(r||t)}})(),t.\u0275dir=S({type:t,features:[J]});let n=t;return n})(),Nr=new w("");var Oh={provide:Nr,useExisting:Ie(()=>Jt),multi:!0};function Fh(){let n=ti()?ti().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var Ph=new w(""),Jt=(()=>{let t=class t extends fl{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Fh())}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)}};t.\u0275fac=function(i){return new(i||t)(f(mr),f(F),f(Ph,8))},t.\u0275dir=S({type:t,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&&U("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[ot([Oh]),J]});let n=t;return n})();function Te(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function gl(n){return n!=null&&typeof n.length=="number"}var un=new w(""),Lr=new w(""),Nh=/^(?=.{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])?)*$/,Ir=class{static min(t){return vl(t)}static max(t){return Lh(t)}static required(t){return jh(t)}static requiredTrue(t){return Vh(t)}static email(t){return Bh(t)}static minLength(t){return zh(t)}static maxLength(t){return Uh(t)}static pattern(t){return Hh(t)}static nullValidator(t){return Ar(t)}static compose(t){return Cl(t)}static composeAsync(t){return El(t)}};function vl(n){return t=>{if(Te(t.value)||Te(n))return null;let o=parseFloat(t.value);return!isNaN(o)&&o{if(Te(t.value)||Te(n))return null;let o=parseFloat(t.value);return!isNaN(o)&&o>n?{max:{max:n,actual:t.value}}:null}}function jh(n){return Te(n.value)?{required:!0}:null}function Vh(n){return n.value===!0?null:{required:!0}}function Bh(n){return Te(n.value)||Nh.test(n.value)?null:{email:!0}}function zh(n){return t=>Te(t.value)||!gl(t.value)?null:t.value.lengthgl(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function Hh(n){if(!n)return Ar;let t,o;return typeof n=="string"?(o="",n.charAt(0)!=="^"&&(o+="^"),o+=n,n.charAt(n.length-1)!=="$"&&(o+="$"),t=new RegExp(o)):(o=n.toString(),t=n),e=>{if(Te(e.value))return null;let i=e.value;return t.test(i)?null:{pattern:{requiredPattern:o,actualValue:i}}}}function Ar(n){return null}function bl(n){return n!=null}function _l(n){return wr(n)?pt(n):n}function yl(n){let t={};return n.forEach(o=>{t=o!=null?g(g({},t),o):t}),Object.keys(t).length===0?null:t}function wl(n,t){return t.map(o=>o(n))}function $h(n){return!n.validate}function xl(n){return n.map(t=>$h(t)?t:o=>t.validate(o))}function Cl(n){if(!n)return null;let t=n.filter(bl);return t.length==0?null:function(o){return yl(wl(o,t))}}function gs(n){return n!=null?Cl(xl(n)):null}function El(n){if(!n)return null;let t=n.filter(bl);return t.length==0?null:function(o){let e=wl(o,t).map(_l);return nr(e).pipe(k(yl))}}function vs(n){return n!=null?El(xl(n)):null}function cl(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function Dl(n){return n._rawValidators}function Il(n){return n._rawAsyncValidators}function us(n){return n?Array.isArray(n)?n:[n]:[]}function Sr(n,t){return Array.isArray(n)?n.includes(t):n===t}function ll(n,t){let o=us(t);return us(n).forEach(i=>{Sr(o,i)||o.push(i)}),o}function dl(n,t){return us(t).filter(o=>!Sr(n,o))}var Mr=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=gs(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=vs(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,o){return this.control?this.control.hasError(t,o):!1}getError(t,o){return this.control?this.control.getError(t,o):null}},ii=class extends Mr{get formDirective(){return null}get path(){return null}},ue=class extends Mr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},hs=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}},Gh={"[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"},c_=$(g({},Gh),{"[class.ng-submitted]":"isSubmitted"}),Oe=(()=>{let t=class t extends hs{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(f(ue,2))},t.\u0275dir=S({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&Y("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:[J]});let n=t;return n})();var on="VALID",Dr="INVALID",Ci="PENDING",sn="DISABLED",ke=class{},Rr=class extends ke{constructor(t,o){super(),this.value=t,this.source=o}},cn=class extends ke{constructor(t,o){super(),this.pristine=t,this.source=o}},ln=class extends ke{constructor(t,o){super(),this.touched=t,this.source=o}},Ei=class extends ke{constructor(t,o){super(),this.status=t,this.source=o}},ms=class extends ke{constructor(t){super(),this.source=t}},fs=class extends ke{constructor(t){super(),this.source=t}};function Al(n){return(jr(n)?n.validators:n)||null}function Wh(n){return Array.isArray(n)?gs(n):n||null}function Sl(n,t){return(jr(t)?t.asyncValidators:n)||null}function qh(n){return Array.isArray(n)?vs(n):n||null}function jr(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function Yh(n,t,o){let e=n.controls;if(!(t?Object.keys(e):e).length)throw new W(1e3,"");if(!e[o])throw new W(1001,"")}function Zh(n,t,o){n._forEachChild((e,i)=>{if(o[i]===void 0)throw new W(1002,"")})}var Tr=class{constructor(t,o){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=le(()=>this.statusReactive()),this.statusReactive=wi(void 0),this._pristine=le(()=>this.pristineReactive()),this.pristineReactive=wi(!0),this._touched=le(()=>this.touchedReactive()),this.touchedReactive=wi(!1),this._events=new A,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(o)}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 $t(this.statusReactive)}set status(t){$t(()=>this.statusReactive.set(t))}get valid(){return this.status===on}get invalid(){return this.status===Dr}get pending(){return this.status==Ci}get disabled(){return this.status===sn}get enabled(){return this.status!==sn}get pristine(){return $t(this.pristineReactive)}set pristine(t){$t(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return $t(this.touchedReactive)}set touched(t){$t(()=>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(ll(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ll(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(dl(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(dl(t,this._rawAsyncValidators))}hasValidator(t){return Sr(this._rawValidators,t)}hasAsyncValidator(t){return Sr(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let o=this.touched===!1;this.touched=!0;let e=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched($(g({},t),{sourceControl:e})),o&&t.emitEvent!==!1&&this._events.next(new ln(!0,e))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(o=>o.markAllAsTouched(t))}markAsUntouched(t={}){let o=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let e=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:e})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e),o&&t.emitEvent!==!1&&this._events.next(new ln(!1,e))}markAsDirty(t={}){let o=this.pristine===!0;this.pristine=!1;let e=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty($(g({},t),{sourceControl:e})),o&&t.emitEvent!==!1&&this._events.next(new cn(!1,e))}markAsPristine(t={}){let o=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let e=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),o&&t.emitEvent!==!1&&this._events.next(new cn(!0,e))}markAsPending(t={}){this.status=Ci;let o=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ei(this.status,o)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending($(g({},t),{sourceControl:o}))}disable(t={}){let o=this._parentMarkedDirty(t.onlySelf);this.status=sn,this.errors=null,this._forEachChild(i=>{i.disable($(g({},t),{onlySelf:!0}))}),this._updateValue();let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Rr(this.value,e)),this._events.next(new Ei(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors($(g({},t),{skipPristineCheck:o}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let o=this._parentMarkedDirty(t.onlySelf);this.status=on,this._forEachChild(e=>{e.enable($(g({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors($(g({},t),{skipPristineCheck:o}),this),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(t,o){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},o),this._parent._updateTouched({},o))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===on||this.status===Ci)&&this._runAsyncValidator(e,t.emitEvent)}let o=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Rr(this.value,o)),this._events.next(new Ei(this.status,o)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity($(g({},t),{sourceControl:o}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(o=>o._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?sn:on}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,o){if(this.asyncValidator){this.status=Ci,this._hasOwnPendingAsyncValidator={emitEvent:o!==!1};let e=_l(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:o,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,o={}){this.errors=t,this._updateControlsErrors(o.emitEvent!==!1,this,o.shouldHaveEmitted)}get(t){let o=t;return o==null||(Array.isArray(o)||(o=o.split(".")),o.length===0)?null:o.reduce((e,i)=>e&&e._find(i),this)}getError(t,o){let e=o?this.get(o):this;return e&&e.errors?e.errors[t]:null}hasError(t,o){return!!this.getError(t,o)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,o,e){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||e)&&this._events.next(new Ei(this.status,o)),this._parent&&this._parent._updateControlsErrors(t,o,e)}_initObservables(){this.valueChanges=new at,this.statusChanges=new at}_calculateStatus(){return this._allControlsDisabled()?sn:this.errors?Dr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ci)?Ci:this._anyControlsHaveStatus(Dr)?Dr:on}_anyControlsHaveStatus(t){return this._anyControls(o=>o.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,o){let e=!this._anyControlsDirty(),i=this.pristine!==e;this.pristine=e,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,o),i&&this._events.next(new cn(this.pristine,o))}_updateTouched(t={},o){this.touched=this._anyControlsTouched(),this._events.next(new ln(this.touched,o)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,o)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){jr(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let o=this._parent&&this._parent.dirty;return!t&&!!o&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Wh(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=qh(this._rawAsyncValidators)}},kr=class extends Tr{constructor(t,o,e){super(Al(o),Sl(e,o)),this.controls=t,this._initObservables(),this._setUpdateStrategy(o),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,o){return this.controls[t]?this.controls[t]:(this.controls[t]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}addControl(t,o,e={}){this.registerControl(t,o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,o={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}setControl(t,o,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],o&&this.registerControl(t,o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,o={}){Zh(this,!0,t),Object.keys(t).forEach(e=>{Yh(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o)}patchValue(t,o={}){t!=null&&(Object.keys(t).forEach(e=>{let i=this.controls[e];i&&i.patchValue(t[e],{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o))}reset(t={},o={}){this._forEachChild((e,i)=>{e.reset(t?t[i]:null,{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o,this),this._updateTouched(o,this),this.updateValueAndValidity(o)}getRawValue(){return this._reduceChildren({},(t,o,e)=>(t[e]=o.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(o,e)=>e._syncPendingControls()?!0:o);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(o=>{let e=this.controls[o];e&&t(e,o)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[o,e]of Object.entries(this.controls))if(this.contains(o)&&t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(o,e,i)=>((e.enabled||this.disabled)&&(o[i]=e.value),o))}_reduceChildren(t,o){let e=t;return this._forEachChild((i,r)=>{e=o(e,i,r)}),e}_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 Di=new w("CallSetDisabledState",{providedIn:"root",factory:()=>Vr}),Vr="always";function Xh(n,t){return[...t.path,n]}function dn(n,t,o=Vr){bs(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||o==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),Qh(n,t),tm(n,t),Jh(n,t),Kh(n,t)}function Or(n,t,o=!0){let e=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(e),t.valueAccessor.registerOnTouched(e)),Pr(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Fr(n,t){n.forEach(o=>{o.registerOnValidatorChange&&o.registerOnValidatorChange(t)})}function Kh(n,t){if(t.valueAccessor.setDisabledState){let o=e=>{t.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(o),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(o)})}}function bs(n,t){let o=Dl(n);t.validator!==null?n.setValidators(cl(o,t.validator)):typeof o=="function"&&n.setValidators([o]);let e=Il(n);t.asyncValidator!==null?n.setAsyncValidators(cl(e,t.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let i=()=>n.updateValueAndValidity();Fr(t._rawValidators,i),Fr(t._rawAsyncValidators,i)}function Pr(n,t){let o=!1;if(n!==null){if(t.validator!==null){let i=Dl(n);if(Array.isArray(i)&&i.length>0){let r=i.filter(s=>s!==t.validator);r.length!==i.length&&(o=!0,n.setValidators(r))}}if(t.asyncValidator!==null){let i=Il(n);if(Array.isArray(i)&&i.length>0){let r=i.filter(s=>s!==t.asyncValidator);r.length!==i.length&&(o=!0,n.setAsyncValidators(r))}}}let e=()=>{};return Fr(t._rawValidators,e),Fr(t._rawAsyncValidators,e),o}function Qh(n,t){t.valueAccessor.registerOnChange(o=>{n._pendingValue=o,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&Ml(n,t)})}function Jh(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&Ml(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function Ml(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function tm(n,t){let o=(e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)};n.registerOnChange(o),t._registerOnDestroy(()=>{n._unregisterOnChange(o)})}function Rl(n,t){n==null,bs(n,t)}function em(n,t){return Pr(n,t)}function Tl(n,t){if(!n.hasOwnProperty("model"))return!1;let o=n.model;return o.isFirstChange()?!0:!Object.is(t,o.currentValue)}function im(n){return Object.getPrototypeOf(n.constructor)===pl}function kl(n,t){n._syncPendingControls(),t.forEach(o=>{let e=o.control;e.updateOn==="submit"&&e._pendingChange&&(o.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Ol(n,t){if(!t)return null;Array.isArray(t);let o,e,i;return t.forEach(r=>{r.constructor===Jt?o=r:im(r)?e=r:i=r}),i||e||o||null}function nm(n,t){let o=n.indexOf(t);o>-1&&n.splice(o,1)}var rm={provide:ii,useExisting:Ie(()=>_s)},an=Promise.resolve(),_s=(()=>{let t=class t extends ii{get submitted(){return $t(this.submittedReactive)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=le(()=>this.submittedReactive()),this.submittedReactive=wi(!1),this._directives=new Set,this.ngSubmit=new at,this.form=new kr({},gs(e),vs(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){an.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),dn(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){an.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){an.then(()=>{let i=this._findContainer(e.path),r=new kr({});Rl(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){an.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){an.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),kl(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}};t.\u0275fac=function(i){return new(i||t)(f(un,10),f(Lr,10),f(Di,8))},t.\u0275dir=S({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&U("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ot([rm]),J]});let n=t;return n})();function ul(n,t){let o=n.indexOf(t);o>-1&&n.splice(o,1)}function hl(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var Br=class extends Tr{constructor(t=null,o,e){super(Al(o),Sl(e,o)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(o),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),jr(o)&&(o.nonNullable||o.initialValueIsDefault)&&(hl(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,o={}){this.value=this._pendingValue=t,this._onChange.length&&o.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,o.emitViewToModelChange!==!1)),this.updateValueAndValidity(o)}patchValue(t,o={}){this.setValue(t,o)}reset(t=this.defaultValue,o={}){this._applyFormState(t),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ul(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ul(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){hl(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}};var om=n=>n instanceof Br;var sm={provide:ue,useExisting:Ie(()=>ni)},ml=Promise.resolve(),ni=(()=>{let t=class t extends ue{constructor(e,i,r,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new Br,this._registered=!1,this.name="",this.update=new at,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=Ol(this,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Tl(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){dn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){ml.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Mt(i);ml.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Xh(e,this._parent):[e]}};t.\u0275fac=function(i){return new(i||t)(f(ii,9),f(un,10),f(Lr,10),f(Nr,10),f(St,8),f(Di,8))},t.\u0275dir=S({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ot([sm]),J,It]});let n=t;return n})();var am={provide:Nr,useExisting:Ie(()=>hn),multi:!0},hn=(()=>{let t=class t extends pl{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Qt(t)))(r||t)}})(),t.\u0275dir=S({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&U("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},features:[ot([am]),J]});let n=t;return n})();var Fl=new w(""),cm={provide:ue,useExisting:Ie(()=>ys)},ys=(()=>{let t=class t extends ue{set isDisabled(e){}constructor(e,i,r,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new at,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Ol(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&Or(i,this,!1),dn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Tl(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Or(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")}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(f(un,10),f(Lr,10),f(Nr,10),f(Fl,8),f(Di,8))},t.\u0275dir=S({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[ot([cm]),J,It]});let n=t;return n})(),lm={provide:ii,useExisting:Ie(()=>ws)},ws=(()=>{let t=class t extends ii{get submitted(){return $t(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=le(()=>this._submittedReactive()),this._submittedReactive=wi(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new at,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&&(Pr(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 dn(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Or(e.control||null,e,!1),nm(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),kl(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new ms(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 fs(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(Or(i||null,e),om(r)&&(dn(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);Rl(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&em(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){bs(this.form,this),this._oldForm&&Pr(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(i){return new(i||t)(f(un,10),f(Lr,10),f(Di,8))},t.\u0275dir=S({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&U("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ot([lm]),J,It]});let n=t;return n})();function dm(n){return typeof n=="number"?n:parseFloat(n)}var um=(()=>{let t=class t{constructor(){this._validator=Ar}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):Ar,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,features:[It]});let n=t;return n})();var hm={provide:un,useExisting:Ie(()=>xs),multi:!0},xs=(()=>{let t=class t extends um{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>dm(e),this.createValidator=e=>vl(e)}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Qt(t)))(r||t)}})(),t.\u0275dir=S({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&ct("min",r._enabled?r.min:null)},inputs:{min:"min"},features:[ot([hm]),J]});let n=t;return n})();var Pl=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({});let n=t;return n})();var Fe=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Di,useValue:e.callSetDisabledState??Vr}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[Pl]});let n=t;return n})(),Nl=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Fl,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Di,useValue:e.callSetDisabledState??Vr}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[Pl]});let n=t;return n})();var Es=class{};var Ii=class n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(o=>{let e=o.indexOf(":");if(e>0){let i=o.slice(0,e),r=i.toLowerCase(),s=o.slice(e+1).trim();this.maybeSetNormalizedName(i,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((o,e)=>{this.setHeaderEntries(e,o)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([o,e])=>{this.setHeaderEntries(o,e)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let o=this.headers.get(t.toLowerCase());return o&&o.length>0?o[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,o){return this.clone({name:t,value:o,op:"a"})}set(t,o){return this.clone({name:t,value:o,op:"s"})}delete(t,o){return this.clone({name:t,value:o,op:"d"})}maybeSetNormalizedName(t,o){this.normalizedNames.has(o)||this.normalizedNames.set(o,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(o=>{this.headers.set(o,t.headers.get(o)),this.normalizedNames.set(o,t.normalizedNames.get(o))})}clone(t){let o=new n;return o.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,o.lazyUpdate=(this.lazyUpdate||[]).concat([t]),o}applyUpdate(t){let o=t.name.toLowerCase();switch(t.op){case"a":case"s":let e=t.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(t.name,o);let i=(t.op==="a"?this.headers.get(o):void 0)||[];i.push(...e),this.headers.set(o,i);break;case"d":let r=t.value;if(!r)this.headers.delete(o),this.normalizedNames.delete(o);else{let s=this.headers.get(o);if(!s)return;s=s.filter(a=>r.indexOf(a)===-1),s.length===0?(this.headers.delete(o),this.normalizedNames.delete(o)):this.headers.set(o,s)}break}}setHeaderEntries(t,o){let e=(Array.isArray(o)?o:[o]).map(r=>r.toString()),i=t.toLowerCase();this.headers.set(i,e),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(o=>t(this.normalizedNames.get(o),this.headers.get(o)))}};var Ds=class{encodeKey(t){return Ll(t)}encodeValue(t){return Ll(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function mm(n,t){let o=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let r=i.indexOf("="),[s,a]=r==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,r)),t.decodeValue(i.slice(r+1))],c=o.get(s)||[];c.push(a),o.set(s,c)}),o}var fm=/%(\d[a-f0-9])/gi,pm={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ll(n){return encodeURIComponent(n).replace(fm,(t,o)=>pm[o]??t)}function zr(n){return`${n}`}var Pe=class n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Ds,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=mm(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(o=>{let e=t.fromObject[o],i=Array.isArray(e)?e.map(zr):[zr(e)];this.map.set(o,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let o=this.map.get(t);return o?o[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,o){return this.clone({param:t,value:o,op:"a"})}appendAll(t){let o=[];return Object.keys(t).forEach(e=>{let i=t[e];Array.isArray(i)?i.forEach(r=>{o.push({param:e,value:r,op:"a"})}):o.push({param:e,value:i,op:"a"})}),this.clone(o)}set(t,o){return this.clone({param:t,value:o,op:"s"})}delete(t,o){return this.clone({param:t,value:o,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let o=this.encoder.encodeKey(t);return this.map.get(t).map(e=>o+"="+this.encoder.encodeValue(e)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let o=new n({encoder:this.encoder});return o.cloneFrom=this.cloneFrom||this,o.updates=(this.updates||[]).concat(t),o}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 o=(t.op==="a"?this.map.get(t.param):void 0)||[];o.push(zr(t.value)),this.map.set(t.param,o);break;case"d":if(t.value!==void 0){let e=this.map.get(t.param)||[],i=e.indexOf(zr(t.value));i!==-1&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Is=class{constructor(){this.map=new Map}set(t,o){return this.map.set(t,o),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 gm(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function jl(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Vl(n){return typeof Blob<"u"&&n instanceof Blob}function Bl(n){return typeof FormData<"u"&&n instanceof FormData}function vm(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var fn=class n{constructor(t,o,e,i){this.url=o,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let r;if(gm(this.method)||i?(this.body=e!==void 0?e:null,r=i):r=e,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new Ii,this.context??=new Is,!this.params)this.params=new Pe,this.urlWithParams=o;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=o;else{let a=o.indexOf("?"),c=a===-1?"?":am.set(p,t.setHeaders[p]),l)),t.setParams&&(d=Object.keys(t.setParams).reduce((m,p)=>m.set(p,t.setParams[p]),d)),new n(o,e,s,{params:d,headers:l,context:u,reportProgress:c,responseType:i,withCredentials:a,transferCache:r})}},zl=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}(zl||{}),As=class{constructor(t,o=200,e="OK"){this.headers=t.headers||new Ii,this.status=t.status!==void 0?t.status:o,this.statusText=t.statusText||e,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}};var Ss=class n extends As{constructor(t={}){super(t),this.type=zl.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 Cs(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 Ul=(()=>{let t=class t{constructor(e){this.handler=e}request(e,i,r={}){let s;if(e instanceof fn)s=e;else{let l;r.headers instanceof Ii?l=r.headers:l=new Ii(r.headers);let d;r.params&&(r.params instanceof Pe?d=r.params:d=new Pe({fromObject:r.params})),s=new fn(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:d,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let a=x(s).pipe(Ce(l=>this.handler.handle(l)));if(e instanceof fn||r.observe==="events")return a;let c=a.pipe(st(l=>l instanceof Ss));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(k(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(k(l=>l.body))}case"response":return c;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 Pe().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,Cs(r,i))}post(e,i,r={}){return this.request("POST",e,Cs(r,i))}put(e,i,r={}){return this.request("PUT",e,Cs(r,i))}};t.\u0275fac=function(i){return new(i||t)(h(Es))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})();var Ts=class extends Kc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ks=class n extends Ts{static makeCurrent(){Xc(new n)}onAndCancel(t,o,e){return t.addEventListener(o,e),()=>{t.removeEventListener(o,e)}}dispatchEvent(t,o){t.dispatchEvent(o)}remove(t){t.remove()}createElement(t,o){return o=o||this.getDefaultDocument(),o.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,o){return o==="window"?window:o==="document"?t:o==="body"?t.body:null}getBaseHref(t){let o=ym();return o==null?null:wm(o)}resetBaseElement(){pn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return el(document.cookie,t)}},pn=null;function ym(){return pn=pn||document.querySelector("base"),pn?pn.getAttribute("href"):null}function wm(n){return new URL(n,document.baseURI).pathname}var Os=class{addToWindow(t){De.getAngularTestability=(e,i=!0)=>{let r=t.findTestabilityInTree(e,i);if(r==null)throw new W(5103,!1);return r},De.getAllAngularTestabilities=()=>t.getAllTestabilities(),De.getAllAngularRootElements=()=>t.getAllRootElements();let o=e=>{let i=De.getAllAngularTestabilities(),r=i.length,s=function(){r--,r==0&&e()};i.forEach(a=>{a.whenStable(s)})};De.frameworkStabilizers||(De.frameworkStabilizers=[]),De.frameworkStabilizers.push(o)}findTestabilityInTree(t,o,e){if(o==null)return null;let i=t.getTestability(o);return i??(e?ti().isShadowRoot(o)?this.findTestabilityInTree(t,o.host,!0):this.findTestabilityInTree(t,o.parentElement,!0):null)}},xm=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})(),Ur=new w(""),Gl=(()=>{let t=class t{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(s=>s.supports(e)),!i)throw new W(5101,!1);return this._eventNameToPlugin.set(e,i),i}};t.\u0275fac=function(i){return new(i||t)(h(Ur),h(C))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})(),gn=class{constructor(t){this._doc=t}},Ms="ng-app-id",Wl=(()=>{let t=class t{constructor(e,i,r,s={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ds(s),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[${Ms}="${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 s=r.get(e);return s.usage+=i,s.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let r=this.styleNodesInDOM,s=r?.get(i);if(s?.parentNode===e)return r.delete(i),s.removeAttribute(Ms),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Ms,this.appId),e.appendChild(a),a}}addStyleToHost(e,i){let r=this.getStyleElement(e,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(r):s.set(i,{elements:[r],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}};t.\u0275fac=function(i){return new(i||t)(h(D),h(Ki),h(Qi,8),h(Ke))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})(),Rs={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"},Ps=/%COMP%/g,ql="%COMP%",Cm=`_nghost-${ql}`,Em=`_ngcontent-${ql}`,Dm=!0,Im=new w("",{providedIn:"root",factory:()=>Dm});function Am(n){return Em.replace(Ps,n)}function Sm(n){return Cm.replace(Ps,n)}function Yl(n,t){return t.map(o=>o.replace(Ps,n))}var Hr=(()=>{let t=class t{constructor(e,i,r,s,a,c,l,d=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=ds(c),this.defaultRenderer=new vn(e,a,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Xi.ShadowDom&&(i=$(g({},i),{encapsulation:Xi.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof $r?r.applyToHost(e):r instanceof bn&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,s=r.get(i.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(i.encapsulation){case Xi.Emulated:s=new $r(l,d,i,this.appId,u,a,c,m);break;case Xi.ShadowDom:return new Fs(l,d,e,i,a,c,this.nonce,m);default:s=new bn(l,d,i,u,a,c,m);break}r.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(i){return new(i||t)(h(Gl),h(Wl),h(Ki),h(Im),h(D),h(Ke),h(C),h(Qi))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})(),vn=class{constructor(t,o,e,i){this.eventManager=t,this.doc=o,this.ngZone=e,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,o){return o?this.doc.createElementNS(Rs[o]||o,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,o){(Hl(t)?t.content:t).appendChild(o)}insertBefore(t,o,e){t&&(Hl(t)?t.content:t).insertBefore(o,e)}removeChild(t,o){o.remove()}selectRootElement(t,o){let e=typeof t=="string"?this.doc.querySelector(t):t;if(!e)throw new W(-5104,!1);return o||(e.textContent=""),e}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,o,e,i){if(i){o=i+":"+o;let r=Rs[i];r?t.setAttributeNS(r,o,e):t.setAttribute(o,e)}else t.setAttribute(o,e)}removeAttribute(t,o,e){if(e){let i=Rs[e];i?t.removeAttributeNS(i,o):t.removeAttribute(`${e}:${o}`)}else t.removeAttribute(o)}addClass(t,o){t.classList.add(o)}removeClass(t,o){t.classList.remove(o)}setStyle(t,o,e,i){i&(Ji.DashCase|Ji.Important)?t.style.setProperty(o,e,i&Ji.Important?"important":""):t.style[o]=e}removeStyle(t,o,e){e&Ji.DashCase?t.style.removeProperty(o):t.style[o]=""}setProperty(t,o,e){t!=null&&(t[o]=e)}setValue(t,o){t.nodeValue=o}listen(t,o,e){if(typeof t=="string"&&(t=ti().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${o}`);return this.eventManager.addEventListener(t,o,this.decoratePreventDefault(e))}decoratePreventDefault(t){return o=>{if(o==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(o)):t(o))===!1&&o.preventDefault()}}};function Hl(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Fs=class extends vn{constructor(t,o,e,i,r,s,a,c){super(t,r,s,c),this.sharedStylesHost=o,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Yl(i.id,i.styles);for(let d of l){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,o){return super.appendChild(this.nodeOrShadowRoot(t),o)}insertBefore(t,o,e){return super.insertBefore(this.nodeOrShadowRoot(t),o,e)}removeChild(t,o){return super.removeChild(null,o)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},bn=class extends vn{constructor(t,o,e,i,r,s,a,c){super(t,r,s,a),this.sharedStylesHost=o,this.removeStylesOnCompDestroy=i,this.styles=c?Yl(c,e.styles):e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},$r=class extends bn{constructor(t,o,e,i,r,s,a,c){let l=i+"-"+e.id;super(t,o,e,r,s,a,c,l),this.contentAttr=Am(l),this.hostAttr=Sm(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,o){let e=super.createElement(t,o);return super.setAttribute(e,this.contentAttr,""),e}},Mm=(()=>{let t=class t extends gn{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)}};t.\u0275fac=function(i){return new(i||t)(h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})(),Rm=(()=>{let t=class t extends gn{constructor(e){super(e),this.delegate=v(Yc,{optional:!0})}supports(e){return this.delegate?this.delegate.supports(e):!1}addEventListener(e,i,r){return this.delegate.addEventListener(e,i,r)}removeEventListener(e,i,r){return this.delegate.removeEventListener(e,i,r)}};t.\u0275fac=function(i){return new(i||t)(h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})(),$l=["alt","control","meta","shift"],Tm={"\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"},km={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Om=(()=>{let t=class t extends gn{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r){let s=t.parseEventName(i),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ti().onAndCancel(e,s.domEventName,a))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let s=t._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),$l.forEach(d=>{let u=i.indexOf(d);u>-1&&(i.splice(u,1),a+=d+".")}),a+=s,i.length!=0||s.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(e,i){let r=Tm[e.key]||e.key,s="";return i.indexOf("code.")>-1&&(r=e.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),$l.forEach(a=>{if(a!==r){let c=km[a];c(e)&&(s+=a+".")}}),s+=r,s===i)}static eventCallback(e,i,r){return s=>{t.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>i(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}};t.\u0275fac=function(i){return new(i||t)(h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})();function Zl(n,t){return qc(g({rootComponent:n},Fm(t)))}function Fm(n){return{appProviders:[...Xl,...n?.providers??[]],platformProviders:jm}}function Pm(){ks.makeCurrent()}function Nm(){return new Xe}function Lm(){return Cc(document),document}var jm=[{provide:Ke,useValue:rl},{provide:Ec,useValue:Pm,multi:!0},{provide:D,useFactory:Lm,deps:[]}];var Vm=new w(""),Bm=[{provide:_r,useClass:Os,deps:[]},{provide:$c,useClass:yr,deps:[C,as,_r]},{provide:yr,useClass:yr,deps:[C,as,_r]}],Xl=[{provide:wc,useValue:"root"},{provide:Xe,useFactory:Nm,deps:[]},{provide:Ur,useClass:Mm,multi:!0,deps:[D,C,Ke]},{provide:Ur,useClass:Om,multi:!0,deps:[D]},{provide:Ur,useClass:Rm,multi:!0},Hr,Wl,Gl,{provide:hr,useExisting:Hr},{provide:al,useClass:xm,deps:[]},[]],Kl=(()=>{let t=class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Ki,useValue:e.appId}]}}};t.\u0275fac=function(i){return new(i||t)(h(Vm,12))},t.\u0275mod=R({type:t}),t.\u0275inj=M({providers:[...Xl,...Bm],imports:[Re,Wc]});let n=t;return n})();var Ql=(()=>{let t=class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}};t.\u0275fac=function(i){return new(i||t)(h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ns=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=h(zm),r},providedIn:"root"});let n=t;return n})(),zm=(()=>{let t=class t extends Ns{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case At.NONE:return i;case At.HTML:return bi(i,"HTML")?vi(i):Tc(this._doc,String(i)).toString();case At.STYLE:return bi(i,"Style")?vi(i):i;case At.SCRIPT:if(bi(i,"Script"))return vi(i);throw new W(5200,!1);case At.URL:return bi(i,"URL")?vi(i):Rc(String(i));case At.RESOURCE_URL:if(bi(i,"ResourceURL"))return vi(i);throw new W(5201,!1);default:throw new W(5202,!1)}}bypassSecurityTrustHtml(e){return Dc(e)}bypassSecurityTrustStyle(e){return Ic(e)}bypassSecurityTrustScript(e){return Ac(e)}bypassSecurityTrustUrl(e){return Sc(e)}bypassSecurityTrustResourceUrl(e){return Mc(e)}};t.\u0275fac=function(i){return new(i||t)(h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Um="@",Hm=(()=>{let t=class t{constructor(e,i,r,s,a){this.doc=e,this.delegate=i,this.zone=r,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=v(kc,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-NNKSX5RK.js").then(i=>i)).catch(i=>{throw new W(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:r})=>{this._engine=i(this.animationType,this.doc);let s=new r(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(e,i){let r=this.delegate.createRenderer(e,i);if(r.\u0275type===0)return r;typeof r.throwOnSyntheticProps=="boolean"&&(r.throwOnSyntheticProps=!1);let s=new Ls(r);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let c=a.createRenderer(e,i);s.use(c),this.scheduler?.notify(9)}).catch(a=>{s.use(r)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(i){_i()},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})(),Ls=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let o of this.replay)o(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,o){return this.delegate.createElement(t,o)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,o){this.delegate.appendChild(t,o)}insertBefore(t,o,e,i){this.delegate.insertBefore(t,o,e,i)}removeChild(t,o,e){this.delegate.removeChild(t,o,e)}selectRootElement(t,o){return this.delegate.selectRootElement(t,o)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,o,e,i){this.delegate.setAttribute(t,o,e,i)}removeAttribute(t,o,e){this.delegate.removeAttribute(t,o,e)}addClass(t,o){this.delegate.addClass(t,o)}removeClass(t,o){this.delegate.removeClass(t,o)}setStyle(t,o,e,i){this.delegate.setStyle(t,o,e,i)}removeStyle(t,o,e){this.delegate.removeStyle(t,o,e)}setProperty(t,o,e){this.shouldReplay(o)&&this.replay.push(i=>i.setProperty(t,o,e)),this.delegate.setProperty(t,o,e)}setValue(t,o){this.delegate.setValue(t,o)}listen(t,o,e){return this.shouldReplay(o)&&this.replay.push(i=>i.listen(t,o,e)),this.delegate.listen(t,o,e)}shouldReplay(t){return this.replay!==null&&t.startsWith(Um)}};function td(n="animations"){return Oc("NgAsyncAnimations"),ar([{provide:hr,useFactory:(t,o,e)=>new Hm(t,o,e,n),deps:[D,Hr,C]},{provide:vt,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}var P="primary",On=Symbol("RouteTitle"),Us=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let o=this.params[t];return Array.isArray(o)?o[0]:o}return null}getAll(t){if(this.has(t)){let o=this.params[t];return Array.isArray(o)?o:[o]}return[]}get keys(){return Object.keys(this.params)}};function ki(n){return new Us(n)}function $m(n,t,o){let e=o.path.split("/");if(e.length>n.length||o.pathMatch==="full"&&(t.hasChildren()||e.lengthe[r]===i)}else return n===t}function hd(n){return n.length>0?n[n.length-1]:null}function je(n){return er(n)?n:wr(n)?pt(Promise.resolve(n)):x(n)}var Wm={exact:fd,subset:pd},md={exact:qm,subset:Ym,ignored:()=>!0};function ed(n,t,o){return Wm[o.paths](n.root,t.root,o.matrixParams)&&md[o.queryParams](n.queryParams,t.queryParams)&&!(o.fragment==="exact"&&n.fragment!==t.fragment)}function qm(n,t){return te(n,t)}function fd(n,t,o){if(!oi(n.segments,t.segments)||!qr(n.segments,t.segments,o)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!n.children[e]||!fd(n.children[e],t.children[e],o))return!1;return!0}function Ym(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(o=>ud(n[o],t[o]))}function pd(n,t,o){return gd(n,t,t.segments,o)}function gd(n,t,o,e){if(n.segments.length>o.length){let i=n.segments.slice(0,o.length);return!(!oi(i,o)||t.hasChildren()||!qr(i,o,e))}else if(n.segments.length===o.length){if(!oi(n.segments,o)||!qr(n.segments,o,e))return!1;for(let i in t.children)if(!n.children[i]||!pd(n.children[i],t.children[i],e))return!1;return!0}else{let i=o.slice(0,n.segments.length),r=o.slice(n.segments.length);return!oi(n.segments,i)||!qr(n.segments,i,e)||!n.children[P]?!1:gd(n.children[P],t,r,e)}}function qr(n,t,o){return t.every((e,i)=>md[o](n[i].parameters,e.parameters))}var me=class{constructor(t=new G([],{}),o={},e=null){this.root=t,this.queryParams=o,this.fragment=e}get queryParamMap(){return this._queryParamMap??=ki(this.queryParams),this._queryParamMap}toString(){return Km.serialize(this)}},G=class{constructor(t,o){this.segments=t,this.children=o,this.parent=null,Object.values(o).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yr(this)}},ri=class{constructor(t,o){this.path=t,this.parameters=o}get parameterMap(){return this._parameterMap??=ki(this.parameters),this._parameterMap}toString(){return bd(this)}};function Zm(n,t){return oi(n,t)&&n.every((o,e)=>te(o.parameters,t[e].parameters))}function oi(n,t){return n.length!==t.length?!1:n.every((o,e)=>o.path===t[e].path)}function Xm(n,t){let o=[];return Object.entries(n.children).forEach(([e,i])=>{e===P&&(o=o.concat(t(i,e)))}),Object.entries(n.children).forEach(([e,i])=>{e!==P&&(o=o.concat(t(i,e)))}),o}var Fn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>new Oi,providedIn:"root"});let n=t;return n})(),Oi=class{parse(t){let o=new Gs(t);return new me(o.parseRootSegment(),o.parseQueryParams(),o.parseFragment())}serialize(t){let o=`/${_n(t.root,!0)}`,e=tf(t.queryParams),i=typeof t.fragment=="string"?`#${Qm(t.fragment)}`:"";return`${o}${e}${i}`}},Km=new Oi;function Yr(n){return n.segments.map(t=>bd(t)).join("/")}function _n(n,t){if(!n.hasChildren())return Yr(n);if(t){let o=n.children[P]?_n(n.children[P],!1):"",e=[];return Object.entries(n.children).forEach(([i,r])=>{i!==P&&e.push(`${i}:${_n(r,!1)}`)}),e.length>0?`${o}(${e.join("//")})`:o}else{let o=Xm(n,(e,i)=>i===P?[_n(n.children[P],!1)]:[`${i}:${_n(e,!1)}`]);return Object.keys(n.children).length===1&&n.children[P]!=null?`${Yr(n)}/${o[0]}`:`${Yr(n)}/(${o.join("//")})`}}function vd(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gr(n){return vd(n).replace(/%3B/gi,";")}function Qm(n){return encodeURI(n)}function $s(n){return vd(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zr(n){return decodeURIComponent(n)}function id(n){return Zr(n.replace(/\+/g,"%20"))}function bd(n){return`${$s(n.path)}${Jm(n.parameters)}`}function Jm(n){return Object.entries(n).map(([t,o])=>`;${$s(t)}=${$s(o)}`).join("")}function tf(n){let t=Object.entries(n).map(([o,e])=>Array.isArray(e)?e.map(i=>`${Gr(o)}=${Gr(i)}`).join("&"):`${Gr(o)}=${Gr(e)}`).filter(o=>o);return t.length?`?${t.join("&")}`:""}var ef=/^[^\/()?;#]+/;function js(n){let t=n.match(ef);return t?t[0]:""}var nf=/^[^\/()?;=#]+/;function rf(n){let t=n.match(nf);return t?t[0]:""}var of=/^[^=?&#]+/;function sf(n){let t=n.match(of);return t?t[0]:""}var af=/^[^&#]+/;function cf(n){let t=n.match(af);return t?t[0]:""}var Gs=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new G([],{}):new G([],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 o={};this.peekStartsWith("/(")&&(this.capture("/"),o=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(o).length>0)&&(e[P]=new G(t,o)),e}parseSegment(){let t=js(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new W(4009,!1);return this.capture(t),new ri(Zr(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let o=rf(this.remaining);if(!o)return;this.capture(o);let e="";if(this.consumeOptional("=")){let i=js(this.remaining);i&&(e=i,this.capture(e))}t[Zr(o)]=Zr(e)}parseQueryParam(t){let o=sf(this.remaining);if(!o)return;this.capture(o);let e="";if(this.consumeOptional("=")){let s=cf(this.remaining);s&&(e=s,this.capture(e))}let i=id(o),r=id(e);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(r)}else t[i]=r}parseParens(t){let o={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=js(this.remaining),i=this.remaining[e.length];if(i!=="/"&&i!==")"&&i!==";")throw new W(4010,!1);let r;e.indexOf(":")>-1?(r=e.slice(0,e.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=P);let s=this.parseChildren();o[r]=Object.keys(s).length===1?s[P]:new G([],s),this.consumeOptional("//")}return o}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 W(4011,!1)}};function _d(n){return n.segments.length>0?new G([],{[P]:n}):n}function yd(n){let t={};for(let[e,i]of Object.entries(n.children)){let r=yd(i);if(e===P&&r.segments.length===0&&r.hasChildren())for(let[s,a]of Object.entries(r.children))t[s]=a;else(r.segments.length>0||r.hasChildren())&&(t[e]=r)}let o=new G(n.segments,t);return lf(o)}function lf(n){if(n.numberOfChildren===1&&n.children[P]){let t=n.children[P];return new G(n.segments.concat(t.segments),t.children)}return n}function Dn(n){return n instanceof me}function df(n,t,o=null,e=null){let i=wd(n);return xd(i,t,o,e)}function wd(n){let t;function o(r){let s={};for(let c of r.children){let l=o(c);s[c.outlet]=l}let a=new G(r.url,s);return r===n&&(t=a),a}let e=o(n.root),i=_d(e);return t??i}function xd(n,t,o,e){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return Vs(i,i,i,o,e);let r=uf(t);if(r.toRoot())return Vs(i,i,new G([],{}),o,e);let s=hf(r,i,n),a=s.processChildren?xn(s.segmentGroup,s.index,r.commands):Ed(s.segmentGroup,s.index,r.commands);return Vs(i,s.segmentGroup,a,o,e)}function Xr(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function In(n){return typeof n=="object"&&n!=null&&n.outlets}function Vs(n,t,o,e,i){let r={};e&&Object.entries(e).forEach(([c,l])=>{r[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;n===t?s=o:s=Cd(n,t,o);let a=_d(yd(s));return new me(a,r,i)}function Cd(n,t,o){let e={};return Object.entries(n.children).forEach(([i,r])=>{r===t?e[i]=o:e[i]=Cd(r,t,o)}),new G(n.segments,e)}var Kr=class{constructor(t,o,e){if(this.isAbsolute=t,this.numberOfDoubleDots=o,this.commands=e,t&&e.length>0&&Xr(e[0]))throw new W(4003,!1);let i=e.find(In);if(i&&i!==hd(e))throw new W(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function uf(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Kr(!0,0,n);let t=0,o=!1,e=n.reduce((i,r,s)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let a={};return Object.entries(r.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(r.segmentPath)return[...i,r.segmentPath]}return typeof r!="string"?[...i,r]:s===0?(r.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?o=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,r]},[]);return new Kr(o,t,e)}var Mi=class{constructor(t,o,e){this.segmentGroup=t,this.processChildren=o,this.index=e}};function hf(n,t,o){if(n.isAbsolute)return new Mi(t,!0,0);if(!o)return new Mi(t,!1,NaN);if(o.parent===null)return new Mi(o,!0,0);let e=Xr(n.commands[0])?0:1,i=o.segments.length-1+e;return mf(o,i,n.numberOfDoubleDots)}function mf(n,t,o){let e=n,i=t,r=o;for(;r>i;){if(r-=i,e=e.parent,!e)throw new W(4005,!1);i=e.segments.length}return new Mi(e,!1,i-r)}function ff(n){return In(n[0])?n[0].outlets:{[P]:n}}function Ed(n,t,o){if(n??=new G([],{}),n.segments.length===0&&n.hasChildren())return xn(n,t,o);let e=pf(n,t,o),i=o.slice(e.commandIndex);if(e.match&&e.pathIndexr!==P)&&n.children[P]&&n.numberOfChildren===1&&n.children[P].segments.length===0){let r=xn(n.children[P],t,o);return new G(n.segments,r.children)}return Object.entries(e).forEach(([r,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[r]=Ed(n.children[r],t,s))}),Object.entries(n.children).forEach(([r,s])=>{e[r]===void 0&&(i[r]=s)}),new G(n.segments,i)}}function pf(n,t,o){let e=0,i=t,r={match:!1,pathIndex:0,commandIndex:0};for(;i=o.length)return r;let s=n.segments[i],a=o[e];if(In(a))break;let c=`${a}`,l=e0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!rd(c,l,s))return r;e+=2}else{if(!rd(c,{},s))return r;e++}i++}return{match:!0,pathIndex:i,commandIndex:e}}function Ws(n,t,o){let e=n.segments.slice(0,t),i=0;for(;i{typeof e=="string"&&(e=[e]),e!==null&&(t[o]=Ws(new G([],{}),0,e))}),t}function nd(n){let t={};return Object.entries(n).forEach(([o,e])=>t[o]=`${e}`),t}function rd(n,t,o){return n==o.path&&te(t,o.parameters)}var Cn="imperative",ht=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}(ht||{}),Pt=class{constructor(t,o){this.id=t,this.url=o}},Fi=class extends Pt{constructor(t,o,e="imperative",i=null){super(t,o),this.type=ht.NavigationStart,this.navigationTrigger=e,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},fe=class extends Pt{constructor(t,o,e){super(t,o),this.urlAfterRedirects=e,this.type=ht.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Tt=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(Tt||{}),Qr=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Qr||{}),he=class extends Pt{constructor(t,o,e,i){super(t,o),this.reason=e,this.code=i,this.type=ht.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ne=class extends Pt{constructor(t,o,e,i){super(t,o),this.reason=e,this.code=i,this.type=ht.NavigationSkipped}},An=class extends Pt{constructor(t,o,e,i){super(t,o),this.error=e,this.target=i,this.type=ht.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Jr=class extends Pt{constructor(t,o,e,i){super(t,o),this.urlAfterRedirects=e,this.state=i,this.type=ht.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qs=class extends Pt{constructor(t,o,e,i){super(t,o),this.urlAfterRedirects=e,this.state=i,this.type=ht.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ys=class extends Pt{constructor(t,o,e,i,r){super(t,o),this.urlAfterRedirects=e,this.state=i,this.shouldActivate=r,this.type=ht.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Zs=class extends Pt{constructor(t,o,e,i){super(t,o),this.urlAfterRedirects=e,this.state=i,this.type=ht.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xs=class extends Pt{constructor(t,o,e,i){super(t,o),this.urlAfterRedirects=e,this.state=i,this.type=ht.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ks=class{constructor(t){this.route=t,this.type=ht.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qs=class{constructor(t){this.route=t,this.type=ht.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Js=class{constructor(t){this.snapshot=t,this.type=ht.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ta=class{constructor(t){this.snapshot=t,this.type=ht.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ea=class{constructor(t){this.snapshot=t,this.type=ht.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ia=class{constructor(t){this.snapshot=t,this.type=ht.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},to=class{constructor(t,o,e){this.routerEvent=t,this.position=o,this.anchor=e,this.type=ht.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Sn=class{},Pi=class{constructor(t,o){this.url=t,this.navigationBehaviorOptions=o}};function vf(n,t){return n.providers&&!n._injector&&(n._injector=rs(n.providers,t,`Route: ${n.path}`)),n._injector??t}function Gt(n){return n.outlet||P}function bf(n,t){let o=n.filter(e=>Gt(e)===t);return o.push(...n.filter(e=>Gt(e)!==t)),o}function Pn(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let o=t.routeConfig;if(o?._loadedInjector)return o._loadedInjector;if(o?._injector)return o._injector}return null}var na=class{get injector(){return Pn(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new Nn(this.rootInjector),this.attachRef=null}},Nn=(()=>{let t=class t{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 na(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(i){return new(i||t)(h(Ae))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),eo=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let o=this.pathFromRoot(t);return o.length>1?o[o.length-2]:null}children(t){let o=ra(t,this._root);return o?o.children.map(e=>e.value):[]}firstChild(t){let o=ra(t,this._root);return o&&o.children.length>0?o.children[0].value:null}siblings(t){let o=oa(t,this._root);return o.length<2?[]:o[o.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return oa(t,this._root).map(o=>o.value)}};function ra(n,t){if(n===t.value)return t;for(let o of t.children){let e=ra(n,o);if(e)return e}return null}function oa(n,t){if(n===t.value)return[t];for(let o of t.children){let e=oa(n,o);if(e.length)return e.unshift(t),e}return[]}var Rt=class{constructor(t,o){this.value=t,this.children=o}toString(){return`TreeNode(${this.value})`}};function Si(n){let t={};return n&&n.children.forEach(o=>t[o.value.outlet]=o),t}var io=class extends eo{constructor(t,o){super(t),this.snapshot=o,fa(this,t)}toString(){return this.snapshot.toString()}};function Dd(n){let t=_f(n),o=new xt([new ri("",{})]),e=new xt({}),i=new xt({}),r=new xt({}),s=new xt(""),a=new Le(o,e,r,s,i,P,n,t.root);return a.snapshot=t.root,new io(new Rt(a,[]),t)}function _f(n){let t={},o={},e={},i="",r=new Ri([],t,e,i,o,P,n,null,{});return new ro("",new Rt(r,[]))}var Le=class{constructor(t,o,e,i,r,s,a,c){this.urlSubject=t,this.paramsSubject=o,this.queryParamsSubject=e,this.fragmentSubject=i,this.dataSubject=r,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(k(l=>l[On]))??x(void 0),this.url=t,this.params=o,this.queryParams=e,this.fragment=i,this.data=r}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(k(t=>ki(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(t=>ki(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function no(n,t,o="emptyOnly"){let e,{routeConfig:i}=n;return t!==null&&(o==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:g(g({},t.params),n.params),data:g(g({},t.data),n.data),resolve:g(g(g(g({},n.data),t.data),i?.data),n._resolvedData)}:e={params:g({},n.params),data:g({},n.data),resolve:g(g({},n.data),n._resolvedData??{})},i&&Ad(i)&&(e.resolve[On]=i.title),e}var Ri=class{get title(){return this.data?.[On]}constructor(t,o,e,i,r,s,a,c,l){this.url=t,this.params=o,this.queryParams=e,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ki(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ki(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),o=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${o}')`}},ro=class extends eo{constructor(t,o){super(o),this.url=t,fa(this,o)}toString(){return Id(this._root)}};function fa(n,t){t.value._routerState=n,t.children.forEach(o=>fa(n,o))}function Id(n){let t=n.children.length>0?` { ${n.children.map(Id).join(", ")} } `:"";return`${n.value}${t}`}function Bs(n){if(n.snapshot){let t=n.snapshot,o=n._futureSnapshot;n.snapshot=o,te(t.queryParams,o.queryParams)||n.queryParamsSubject.next(o.queryParams),t.fragment!==o.fragment&&n.fragmentSubject.next(o.fragment),te(t.params,o.params)||n.paramsSubject.next(o.params),Gm(t.url,o.url)||n.urlSubject.next(o.url),te(t.data,o.data)||n.dataSubject.next(o.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function sa(n,t){let o=te(n.params,t.params)&&Zm(n.url,t.url),e=!n.parent!=!t.parent;return o&&!e&&(!n.parent||sa(n.parent,t.parent))}function Ad(n){return typeof n.title=="string"||n.title===null}var pa=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=P,this.activateEvents=new at,this.deactivateEvents=new at,this.attachEvents=new at,this.detachEvents=new at,this.parentContexts=v(Nn),this.location=v(yi),this.changeDetector=v(St),this.inputBinder=v(lo,{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 W(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new W(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new W(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 W(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new aa(e,c,r.injector);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[It]});let n=t;return n})(),aa=class n{__ngOutletInjector(t){return new n(this.route,this.childContexts,t)}constructor(t,o,e){this.route=t,this.childContexts=o,this.parent=e}get(t,o){return t===Le?this.route:t===Nn?this.childContexts:this.parent.get(t,o)}},lo=new w(""),od=(()=>{let t=class t{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=pi([i.queryParams,i.params,i.data]).pipe(Dt(([s,a,c],l)=>(c=g(g(g({},s),a),c),l===0?x(c):Promise.resolve(c)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let a=Zc(i.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:c}of a.inputs)e.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(e,r)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})();function yf(n,t,o){let e=Mn(n,t._root,o?o._root:void 0);return new io(e,t)}function Mn(n,t,o){if(o&&n.shouldReuseRoute(t.value,o.value.snapshot)){let e=o.value;e._futureSnapshot=t.value;let i=wf(n,t,o);return new Rt(e,i)}else{if(n.shouldAttach(t.value)){let r=n.retrieve(t.value);if(r!==null){let s=r.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Mn(n,a)),s}}let e=xf(t.value),i=t.children.map(r=>Mn(n,r));return new Rt(e,i)}}function wf(n,t,o){return t.children.map(e=>{for(let i of o.children)if(n.shouldReuseRoute(e.value,i.value.snapshot))return Mn(n,e,i);return Mn(n,e)})}function xf(n){return new Le(new xt(n.url),new xt(n.params),new xt(n.queryParams),new xt(n.fragment),new xt(n.data),n.outlet,n.component,n)}var Rn=class{constructor(t,o){this.redirectTo=t,this.navigationBehaviorOptions=o}},Sd="ngNavigationCancelingError";function oo(n,t){let{redirectTo:o,navigationBehaviorOptions:e}=Dn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=Md(!1,Tt.Redirect);return i.url=o,i.navigationBehaviorOptions=e,i}function Md(n,t){let o=new Error(`NavigationCancelingError: ${n||""}`);return o[Sd]=!0,o.cancellationCode=t,o}function Cf(n){return Rd(n)&&Dn(n.url)}function Rd(n){return!!n&&n[Sd]}var Ef=(n,t,o,e)=>k(i=>(new ca(t,i.targetRouterState,i.currentRouterState,o,e).activate(n),i)),ca=class{constructor(t,o,e,i,r){this.routeReuseStrategy=t,this.futureState=o,this.currState=e,this.forwardEvent=i,this.inputBindingEnabled=r}activate(t){let o=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(o,e,t),Bs(this.futureState.root),this.activateChildRoutes(o,e,t)}deactivateChildRoutes(t,o,e){let i=Si(o);t.children.forEach(r=>{let s=r.value.outlet;this.deactivateRoutes(r,i[s],e),delete i[s]}),Object.values(i).forEach(r=>{this.deactivateRouteAndItsChildren(r,e)})}deactivateRoutes(t,o,e){let i=t.value,r=o?o.value:null;if(i===r)if(i.component){let s=e.getContext(i.outlet);s&&this.deactivateChildRoutes(t,o,s.children)}else this.deactivateChildRoutes(t,o,e);else r&&this.deactivateRouteAndItsChildren(o,e)}deactivateRouteAndItsChildren(t,o){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,o):this.deactivateRouteAndOutlet(t,o)}detachAndStoreRouteSubtree(t,o){let e=o.getContext(t.value.outlet),i=e&&t.value.component?e.children:o,r=Si(t);for(let s of Object.values(r))this.deactivateRouteAndItsChildren(s,i);if(e&&e.outlet){let s=e.outlet.detach(),a=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,o){let e=o.getContext(t.value.outlet),i=e&&t.value.component?e.children:o,r=Si(t);for(let s of Object.values(r))this.deactivateRouteAndItsChildren(s,i);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,o,e){let i=Si(o);t.children.forEach(r=>{this.activateRoutes(r,i[r.value.outlet],e),this.forwardEvent(new ia(r.value.snapshot))}),t.children.length&&this.forwardEvent(new ta(t.value.snapshot))}activateRoutes(t,o,e){let i=t.value,r=o?o.value:null;if(Bs(i),i===r)if(i.component){let s=e.getOrCreateContext(i.outlet);this.activateChildRoutes(t,o,s.children)}else this.activateChildRoutes(t,o,e);else if(i.component){let s=e.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),Bs(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,e)}},so=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Ti=class{constructor(t,o){this.component=t,this.route=o}};function Df(n,t,o){let e=n._root,i=t?t._root:null;return yn(e,i,o,[e.value])}function If(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function Li(n,t){let o=Symbol(),e=t.get(n,o);return e===o?typeof n=="function"&&!_c(n)?n:t.get(n):e}function yn(n,t,o,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let r=Si(t);return n.children.forEach(s=>{Af(s,r[s.value.outlet],o,e.concat([s.value]),i),delete r[s.value.outlet]}),Object.entries(r).forEach(([s,a])=>En(a,o.getContext(s),i)),i}function Af(n,t,o,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let r=n.value,s=t?t.value:null,a=o?o.getContext(n.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){let c=Sf(s,r,r.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new so(e)):(r.data=s.data,r._resolvedData=s._resolvedData),r.component?yn(n,t,a?a.children:null,e,i):yn(n,t,o,e,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ti(a.outlet.component,s))}else s&&En(t,a,i),i.canActivateChecks.push(new so(e)),r.component?yn(n,null,a?a.children:null,e,i):yn(n,null,o,e,i);return i}function Sf(n,t,o){if(typeof o=="function")return o(n,t);switch(o){case"pathParamsChange":return!oi(n.url,t.url);case"pathParamsOrQueryParamsChange":return!oi(n.url,t.url)||!te(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sa(n,t)||!te(n.queryParams,t.queryParams);case"paramsChange":default:return!sa(n,t)}}function En(n,t,o){let e=Si(n),i=n.value;Object.entries(e).forEach(([r,s])=>{i.component?t?En(s,t.children.getContext(r),o):En(s,null,o):En(s,t,o)}),i.component?t&&t.outlet&&t.outlet.isActivated?o.canDeactivateChecks.push(new Ti(t.outlet.component,i)):o.canDeactivateChecks.push(new Ti(null,i)):o.canDeactivateChecks.push(new Ti(null,i))}function Ln(n){return typeof n=="function"}function Mf(n){return typeof n=="boolean"}function Rf(n){return n&&Ln(n.canLoad)}function Tf(n){return n&&Ln(n.canActivate)}function kf(n){return n&&Ln(n.canActivateChild)}function Of(n){return n&&Ln(n.canDeactivate)}function Ff(n){return n&&Ln(n.canMatch)}function Td(n){return n instanceof fc||n?.name==="EmptyError"}var Wr=Symbol("INITIAL_VALUE");function Ni(){return Dt(n=>pi(n.map(t=>t.pipe(gt(1),ie(Wr)))).pipe(k(t=>{for(let o of t)if(o!==!0){if(o===Wr)return Wr;if(o===!1||Pf(o))return o}return!0}),st(t=>t!==Wr),gt(1)))}function Pf(n){return Dn(n)||n instanceof Rn}function Nf(n,t){return Et(o=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:s}}=o;return s.length===0&&r.length===0?x($(g({},o),{guardsResult:!0})):Lf(s,e,i,n).pipe(Et(a=>a&&Mf(a)?jf(e,r,n,t):x(a)),k(a=>$(g({},o),{guardsResult:a})))})}function Lf(n,t,o,e){return pt(n).pipe(Et(i=>Hf(i.component,i.route,o,t,e)),Ee(i=>i!==!0,!0))}function jf(n,t,o,e){return pt(t).pipe(Ce(i=>ir(Bf(i.route.parent,e),Vf(i.route,e),Uf(n,i.path,o),zf(n,i.route,o))),Ee(i=>i!==!0,!0))}function Vf(n,t){return n!==null&&t&&t(new ea(n)),x(!0)}function Bf(n,t){return n!==null&&t&&t(new Js(n)),x(!0)}function zf(n,t,o){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return x(!0);let i=e.map(r=>Ye(()=>{let s=Pn(t)??o,a=Li(r,s),c=Tf(a)?a.canActivate(t,n):Kt(s,()=>a(t,n));return je(c).pipe(Ee())}));return x(i).pipe(Ni())}function Uf(n,t,o){let e=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(s=>If(s)).filter(s=>s!==null).map(s=>Ye(()=>{let a=s.guards.map(c=>{let l=Pn(s.node)??o,d=Li(c,l),u=kf(d)?d.canActivateChild(e,n):Kt(l,()=>d(e,n));return je(u).pipe(Ee())});return x(a).pipe(Ni())}));return x(r).pipe(Ni())}function Hf(n,t,o,e,i){let r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!r||r.length===0)return x(!0);let s=r.map(a=>{let c=Pn(t)??i,l=Li(a,c),d=Of(l)?l.canDeactivate(n,t,o,e):Kt(c,()=>l(n,t,o,e));return je(d).pipe(Ee())});return x(s).pipe(Ni())}function $f(n,t,o,e){let i=t.canLoad;if(i===void 0||i.length===0)return x(!0);let r=i.map(s=>{let a=Li(s,n),c=Rf(a)?a.canLoad(t,o):Kt(n,()=>a(t,o));return je(c)});return x(r).pipe(Ni(),kd(e))}function kd(n){return mc(nt(t=>{if(typeof t!="boolean")throw oo(n,t)}),k(t=>t===!0))}function Gf(n,t,o,e){let i=t.canMatch;if(!i||i.length===0)return x(!0);let r=i.map(s=>{let a=Li(s,n),c=Ff(a)?a.canMatch(t,o):Kt(n,()=>a(t,o));return je(c)});return x(r).pipe(Ni(),kd(e))}var Tn=class{constructor(t){this.segmentGroup=t||null}},kn=class extends Error{constructor(t){super(),this.urlTree=t}};function Ai(n){return qe(new Tn(n))}function Wf(n){return qe(new W(4e3,!1))}function qf(n){return qe(Md(!1,Tt.GuardRejected))}var la=class{constructor(t,o){this.urlSerializer=t,this.urlTree=o}lineralizeSegments(t,o){let e=[],i=o.root;for(;;){if(e=e.concat(i.segments),i.numberOfChildren===0)return x(e);if(i.numberOfChildren>1||!i.children[P])return Wf(`${t.redirectTo}`);i=i.children[P]}}applyRedirectCommands(t,o,e,i,r){if(typeof o!="string"){let a=o,{queryParams:c,fragment:l,routeConfig:d,url:u,outlet:m,params:p,data:E,title:O}=i,L=Kt(r,()=>a({params:p,data:E,queryParams:c,fragment:l,routeConfig:d,url:u,outlet:m,title:O}));if(L instanceof me)throw new kn(L);o=L}let s=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),t,e);if(o[0]==="/")throw new kn(s);return s}applyRedirectCreateUrlTree(t,o,e,i){let r=this.createSegmentGroup(t,o.root,e,i);return new me(r,this.createQueryParams(o.queryParams,this.urlTree.queryParams),o.fragment)}createQueryParams(t,o){let e={};return Object.entries(t).forEach(([i,r])=>{if(typeof r=="string"&&r[0]===":"){let a=r.substring(1);e[i]=o[a]}else e[i]=r}),e}createSegmentGroup(t,o,e,i){let r=this.createSegments(t,o.segments,e,i),s={};return Object.entries(o.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,e,i)}),new G(r,s)}createSegments(t,o,e,i){return o.map(r=>r.path[0]===":"?this.findPosParam(t,r,i):this.findOrReturn(r,e))}findPosParam(t,o,e){let i=e[o.path.substring(1)];if(!i)throw new W(4001,!1);return i}findOrReturn(t,o){let e=0;for(let i of o){if(i.path===t.path)return o.splice(e),i;e++}return t}},da={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Yf(n,t,o,e,i){let r=ga(n,t,o);return r.matched?(e=vf(t,e),Gf(e,t,o,i).pipe(k(s=>s===!0?r:g({},da)))):x(r)}function ga(n,t,o){if(t.path==="**")return Zf(o);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||o.length>0)?g({},da):{matched:!0,consumedSegments:[],remainingSegments:o,parameters:{},positionalParamSegments:{}};let i=(t.matcher||$m)(o,n,t);if(!i)return g({},da);let r={};Object.entries(i.posParams??{}).forEach(([a,c])=>{r[a]=c.path});let s=i.consumed.length>0?g(g({},r),i.consumed[i.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:i.consumed,remainingSegments:o.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Zf(n){return{matched:!0,parameters:n.length>0?hd(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function sd(n,t,o,e){return o.length>0&&Qf(n,o,e)?{segmentGroup:new G(t,Kf(e,new G(o,n.children))),slicedSegments:[]}:o.length===0&&Jf(n,o,e)?{segmentGroup:new G(n.segments,Xf(n,o,e,n.children)),slicedSegments:o}:{segmentGroup:new G(n.segments,n.children),slicedSegments:o}}function Xf(n,t,o,e){let i={};for(let r of o)if(uo(n,t,r)&&!e[Gt(r)]){let s=new G([],{});i[Gt(r)]=s}return g(g({},e),i)}function Kf(n,t){let o={};o[P]=t;for(let e of n)if(e.path===""&&Gt(e)!==P){let i=new G([],{});o[Gt(e)]=i}return o}function Qf(n,t,o){return o.some(e=>uo(n,t,e)&&Gt(e)!==P)}function Jf(n,t,o){return o.some(e=>uo(n,t,e))}function uo(n,t,o){return(n.hasChildren()||t.length>0)&&o.pathMatch==="full"?!1:o.path===""}function tp(n,t,o,e){return Gt(n)!==e&&(e===P||!uo(t,o,n))?!1:ga(t,n,o).matched}function ep(n,t,o){return t.length===0&&!n.children[o]}var ua=class{};function ip(n,t,o,e,i,r,s="emptyOnly"){return new ha(n,t,o,e,i,s,r).recognize()}var np=31,ha=class{constructor(t,o,e,i,r,s,a){this.injector=t,this.configLoader=o,this.rootComponentType=e,this.config=i,this.urlTree=r,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new la(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new W(4002,`'${t.segmentGroup}'`)}recognize(){let t=sd(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(k(({children:o,rootSnapshot:e})=>{let i=new Rt(e,o),r=new ro("",i),s=df(e,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),{state:r,tree:s}}))}match(t){let o=new Ri([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,P,o).pipe(k(e=>({children:e,rootSnapshot:o})),xe(e=>{if(e instanceof kn)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof Tn?this.noMatchError(e):e}))}processSegmentGroup(t,o,e,i,r){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,o,e,r):this.processSegment(t,o,e,e.segments,i,!0,r).pipe(k(s=>s instanceof Rt?[s]:[]))}processChildren(t,o,e,i){let r=[];for(let s of Object.keys(e.children))s==="primary"?r.unshift(s):r.push(s);return pt(r).pipe(Ce(s=>{let a=e.children[s],c=bf(o,s);return this.processSegmentGroup(t,c,a,s,i)}),vc((s,a)=>(s.push(...a),s)),Qo(null),gc(),Et(s=>{if(s===null)return Ai(e);let a=Od(s);return rp(a),x(a)}))}processSegment(t,o,e,i,r,s,a){return pt(o).pipe(Ce(c=>this.processSegmentAgainstRoute(c._injector??t,o,c,e,i,r,s,a).pipe(xe(l=>{if(l instanceof Tn)return x(null);throw l}))),Ee(c=>!!c),xe(c=>{if(Td(c))return ep(e,i,r)?x(new ua):Ai(e);throw c}))}processSegmentAgainstRoute(t,o,e,i,r,s,a,c){return tp(e,i,r,s)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,e,r,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,o,e,r,s,c):Ai(i):Ai(i)}expandSegmentAgainstRouteUsingRedirect(t,o,e,i,r,s,a){let{matched:c,parameters:l,consumedSegments:d,positionalParamSegments:u,remainingSegments:m}=ga(o,i,r);if(!c)return Ai(o);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>np&&(this.allowRedirects=!1));let p=new Ri(r,l,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,ad(i),Gt(i),i.component??i._loadedComponent??null,i,cd(i)),E=no(p,a,this.paramsInheritanceStrategy);p.params=Object.freeze(E.params),p.data=Object.freeze(E.data);let O=this.applyRedirects.applyRedirectCommands(d,i.redirectTo,u,p,t);return this.applyRedirects.lineralizeSegments(i,O).pipe(Et(L=>this.processSegment(t,e,o,L.concat(m),s,!1,a)))}matchSegmentAgainstRoute(t,o,e,i,r,s){let a=Yf(o,e,i,t,this.urlSerializer);return e.path==="**"&&(o.children={}),a.pipe(Dt(c=>c.matched?(t=e._injector??t,this.getChildConfig(t,e,i).pipe(Dt(({routes:l})=>{let d=e._loadedInjector??t,{parameters:u,consumedSegments:m,remainingSegments:p}=c,E=new Ri(m,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,ad(e),Gt(e),e.component??e._loadedComponent??null,e,cd(e)),O=no(E,s,this.paramsInheritanceStrategy);E.params=Object.freeze(O.params),E.data=Object.freeze(O.data);let{segmentGroup:L,slicedSegments:yt}=sd(o,m,p,l);if(yt.length===0&&L.hasChildren())return this.processChildren(d,l,L,E).pipe(k(N=>new Rt(E,N)));if(l.length===0&&yt.length===0)return x(new Rt(E,[]));let Ct=Gt(e)===r;return this.processSegment(d,l,L,yt,Ct?P:r,!0,E).pipe(k(N=>new Rt(E,N instanceof Rt?[N]:[])))}))):Ai(o)))}getChildConfig(t,o,e){return o.children?x({routes:o.children,injector:t}):o.loadChildren?o._loadedRoutes!==void 0?x({routes:o._loadedRoutes,injector:o._loadedInjector}):$f(t,o,e,this.urlSerializer).pipe(Et(i=>i?this.configLoader.loadChildren(t,o).pipe(nt(r=>{o._loadedRoutes=r.routes,o._loadedInjector=r.injector})):qf(o))):x({routes:[],injector:t})}};function rp(n){n.sort((t,o)=>t.value.outlet===P?-1:o.value.outlet===P?1:t.value.outlet.localeCompare(o.value.outlet))}function op(n){let t=n.value.routeConfig;return t&&t.path===""}function Od(n){let t=[],o=new Set;for(let e of n){if(!op(e)){t.push(e);continue}let i=t.find(r=>e.value.routeConfig===r.value.routeConfig);i!==void 0?(i.children.push(...e.children),o.add(i)):t.push(e)}for(let e of o){let i=Od(e.children);t.push(new Rt(e.value,i))}return t.filter(e=>!o.has(e))}function ad(n){return n.data||{}}function cd(n){return n.resolve||{}}function sp(n,t,o,e,i,r){return Et(s=>ip(n,t,o,e,s.extractedUrl,i,r).pipe(k(({state:a,tree:c})=>$(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ap(n,t){return Et(o=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=o;if(!i.length)return x(o);let r=new Set(i.map(c=>c.route)),s=new Set;for(let c of r)if(!s.has(c))for(let l of Fd(c))s.add(l);let a=0;return pt(s).pipe(Ce(c=>r.has(c)?cp(c,e,n,t):(c.data=no(c,c.parent,n).resolve,x(void 0))),nt(()=>a++),ts(1),Et(c=>a===s.size?x(o):Xt))})}function Fd(n){let t=n.children.map(o=>Fd(o)).flat();return[n,...t]}function cp(n,t,o,e){let i=n.routeConfig,r=n._resolve;return i?.title!==void 0&&!Ad(i)&&(r[On]=i.title),lp(r,n,t,e).pipe(k(s=>(n._resolvedData=s,n.data=no(n,n.parent,o).resolve,null)))}function lp(n,t,o,e){let i=Hs(n);if(i.length===0)return x({});let r={};return pt(i).pipe(Et(s=>dp(n[s],t,o,e).pipe(Ee(),nt(a=>{if(a instanceof Rn)throw oo(new Oi,a);r[s]=a}))),ts(1),pc(r),xe(s=>Td(s)?Xt:qe(s)))}function dp(n,t,o,e){let i=Pn(t)??e,r=Li(n,i),s=r.resolve?r.resolve(t,o):Kt(i,()=>r(t,o));return je(s)}function zs(n){return Dt(t=>{let o=n(t);return o?pt(o).pipe(k(()=>t)):x(t)})}var Pd=(()=>{let t=class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(s=>s.outlet===P);return i}getResolvedTitleForRoute(e){return e.data[On]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>v(up),providedIn:"root"});let n=t;return n})(),up=(()=>{let t=class t extends Pd{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(h(Ql))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),jn=new w("",{providedIn:"root",factory:()=>({})}),hp=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["ng-component"]],standalone:!0,features:[V],decls:1,vars:0,template:function(i,r){i&1&&X(0,"router-outlet")},dependencies:[pa],encapsulation:2});let n=t;return n})();function va(n){let t=n.children&&n.children.map(va),o=t?$(g({},n),{children:t}):g({},n);return!o.component&&!o.loadComponent&&(t||o.loadChildren)&&o.outlet&&o.outlet!==P&&(o.component=hp),o}var ao=new w(""),ba=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=v(xr)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return x(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=je(e.loadComponent()).pipe(k(Nd),nt(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),Ze(()=>{this.componentLoaders.delete(e)})),r=new Yo(i,()=>new A).pipe(qo());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return x({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=mp(i,this.compiler,e,this.onLoadEndListener).pipe(Ze(()=>{this.childrenLoaders.delete(i)})),a=new Yo(s,()=>new A).pipe(qo());return this.childrenLoaders.set(i,a),a}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function mp(n,t,o,e){return je(n.loadChildren()).pipe(k(Nd),Et(i=>i instanceof Nc||Array.isArray(i)?x(i):pt(t.compileModuleAsync(i))),k(i=>{e&&e(n);let r,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(r=i.create(o).injector,s=r.get(ao,[],{optional:!0,self:!0}).flat()),{routes:s.map(va),injector:r}}))}function fp(n){return n&&typeof n=="object"&&"default"in n}function Nd(n){return fp(n)?n.default:n}var _a=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>v(pp),providedIn:"root"});let n=t;return n})(),pp=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ld=new w(""),jd=new w("");function gp(n,t,o){let e=n.get(jd),i=n.get(D);return n.get(C).runOutsideAngular(()=>{if(!i.startViewTransition||e.skipNextTransition)return e.skipNextTransition=!1,new Promise(l=>setTimeout(l));let r,s=new Promise(l=>{r=l}),a=i.startViewTransition(()=>(r(),vp(n))),{onViewTransitionCreated:c}=e;return c&&Kt(n,()=>c({transition:a,from:t,to:o})),s})}function vp(n){return new Promise(t=>{Se({read:()=>setTimeout(t)},{injector:n})})}var bp=new w(""),ya=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new A,this.transitionAbortSubject=new A,this.configLoader=v(ba),this.environmentInjector=v(Ae),this.urlSerializer=v(Fn),this.rootContexts=v(Nn),this.location=v(de),this.inputBindingEnabled=v(lo,{optional:!0})!==null,this.titleStrategy=v(Pd),this.options=v(jn,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=v(_a),this.createViewTransition=v(Ld,{optional:!0}),this.navigationErrorHandler=v(bp,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let e=r=>this.events.next(new Ks(r)),i=r=>this.events.next(new Qs(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next($(g(g({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new xt({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:Cn,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(st(s=>s.id!==0),k(s=>$(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Dt(s=>{let a=!1,c=!1;return x(s).pipe(Dt(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Tt.SupersededByNewNavigation),Xt;this.currentTransition=s,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?$(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!d&&u!=="reload"){let m="";return this.events.next(new Ne(l.id,this.urlSerializer.serialize(l.rawUrl),m,Qr.IgnoredSameUrlNavigation)),l.resolve(!1),Xt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return x(l).pipe(Dt(m=>{let p=this.transitions?.getValue();return this.events.next(new Fi(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),p!==this.transitions?.getValue()?Xt:Promise.resolve(m)}),sp(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),nt(m=>{s.targetSnapshot=m.targetSnapshot,s.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=$(g({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let p=new Jr(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(p)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:m,extractedUrl:p,source:E,restoredState:O,extras:L}=l,yt=new Fi(m,this.urlSerializer.serialize(p),E,O);this.events.next(yt);let Ct=Dd(this.rootComponentType).snapshot;return this.currentTransition=s=$(g({},l),{targetSnapshot:Ct,urlAfterRedirects:p,extras:$(g({},L),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,x(s)}else{let m="";return this.events.next(new Ne(l.id,this.urlSerializer.serialize(l.extractedUrl),m,Qr.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Xt}}),nt(l=>{let d=new qs(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),k(l=>(this.currentTransition=s=$(g({},l),{guards:Df(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),Nf(this.environmentInjector,l=>this.events.next(l)),nt(l=>{if(s.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw oo(this.urlSerializer,l.guardsResult);let d=new Ys(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),st(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Tt.GuardRejected),!1)),zs(l=>{if(l.guards.canActivateChecks.length)return x(l).pipe(nt(d=>{let u=new Zs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),Dt(d=>{let u=!1;return x(d).pipe(ap(this.paramsInheritanceStrategy,this.environmentInjector),nt({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",Tt.NoDataFromResolver)}}))}),nt(d=>{let u=new Xs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),zs(l=>{let d=u=>{let m=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(u.routeConfig).pipe(nt(p=>{u.component=p}),k(()=>{})));for(let p of u.children)m.push(...d(p));return m};return pi(d(l.targetSnapshot.root)).pipe(Qo(null),gt(1))}),zs(()=>this.afterPreactivation()),Dt(()=>{let{currentSnapshot:l,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return u?pt(u).pipe(k(()=>s)):x(s)}),k(l=>{let d=yf(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=$(g({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),nt(()=>{this.events.next(new Sn)}),Ef(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),gt(1),nt({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new fe(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),mt(this.transitionAbortSubject.pipe(nt(l=>{throw l}))),Ze(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Tt.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),xe(l=>{if(c=!0,Rd(l))this.events.next(new he(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),Cf(l)?this.events.next(new Pi(l.url,l.navigationBehaviorOptions)):s.resolve(!1);else{let d=new An(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0);try{let u=Kt(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(u instanceof Rn){let{message:m,cancellationCode:p}=oo(this.urlSerializer,u);this.events.next(new he(s.id,this.urlSerializer.serialize(s.extractedUrl),m,p)),this.events.next(new Pi(u.redirectTo,u.navigationBehaviorOptions))}else{this.events.next(d);let m=e.errorHandler(l);s.resolve(!!m)}}catch(u){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(u)}}return Xt}))}))}cancelNavigationTransition(e,i,r){let s=new he(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(s),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}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function _p(n){return n!==Cn}var yp=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>v(wp),providedIn:"root"});let n=t;return n})(),ma=class{shouldDetach(t){return!1}store(t,o){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,o){return t.routeConfig===o.routeConfig}},wp=(()=>{let t=class t extends ma{};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Qt(t)))(r||t)}})(),t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Vd=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>v(xp),providedIn:"root"});let n=t;return n})(),xp=(()=>{let t=class t extends Vd{constructor(){super(...arguments),this.location=v(de),this.urlSerializer=v(Fn),this.options=v(jn,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=v(_a),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new me,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Dd(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 Fi)this.stateMemento=this.createStateMemento();else if(e instanceof Ne)this.rawUrlTree=i.initialUrl;else if(e instanceof Jr){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 Sn?(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 he&&(e.code===Tt.GuardRejected||e.code===Tt.NoDataFromResolver)?this.restoreHistory(i):e instanceof An?this.restoreHistory(i,!0):e instanceof fe&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof me?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let s=this.browserPageId,a=g(g({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(r,"",a)}else{let s=g(g({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",s)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,s=this.currentPageId-r;s!==0?this.location.historyGo(s):this.currentUrlTree===e.finalUrl&&s===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}}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Qt(t)))(r||t)}})(),t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),wn=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(wn||{});function Bd(n,t){n.events.pipe(st(o=>o instanceof fe||o instanceof he||o instanceof An||o instanceof Ne),k(o=>o instanceof fe||o instanceof Ne?wn.COMPLETE:(o instanceof he?o.code===Tt.Redirect||o.code===Tt.SupersededByNewNavigation:!1)?wn.REDIRECTING:wn.FAILED),st(o=>o!==wn.REDIRECTING),gt(1)).subscribe(()=>{t()})}function Cp(n){throw n}var Ep={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Dp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},si=(()=>{let t=class t{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=v(br),this.stateManager=v(Vd),this.options=v(jn,{optional:!0})||{},this.pendingTasks=v(xc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=v(ya),this.urlSerializer=v(Fn),this.location=v(de),this.urlHandlingStrategy=v(_a),this._events=new A,this.errorHandler=this.options.errorHandler||Cp,this.navigated=!1,this.routeReuseStrategy=v(yp),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=v(ao,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!v(lo,{optional:!0}),this.eventsSubscription=new Ut,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,s=this.navigationTransitions.currentNavigation;if(r!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof he&&i.code!==Tt.Redirect&&i.code!==Tt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof fe)this.navigated=!0;else if(i instanceof Pi){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=g({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||_p(r.source)},a);this.scheduleNavigation(c,Cn,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}Ap(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),Cn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,r){let s={replaceUrl:!0},a=r?.navigationId?r:null;if(r){let l=g({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(e);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(va),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:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=i,d=l?this.currentUrlTree.fragment:a,u=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":u=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let m;try{let p=r?r.snapshot:this.routerState.snapshot.root;m=wd(p)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),m=this.currentUrlTree.root}return xd(m,e,u,d??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Dn(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(s,Cn,null,i)}navigate(e,i={skipLocationChange:!1}){return Ip(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=g({},Ep):i===!1?r=g({},Dp):r=i,Dn(e))return ed(this.currentUrlTree,e,r);let s=this.parseUrl(e);return ed(this.currentUrlTree,s,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,s])=>(s!=null&&(i[r]=s),i),{})}scheduleNavigation(e,i,r,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,d;a?(c=a.resolve,l=a.reject,d=a.promise):d=new Promise((m,p)=>{c=m,l=p});let u=this.pendingTasks.add();return Bd(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(m=>Promise.reject(m))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Ip(n){for(let t=0;t{let t=class t{constructor(e,i,r,s,a){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(st(e=>e instanceof fe),Ce(()=>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 s of i){s.providers&&!s._injector&&(s._injector=rs(s.providers,e,`Route: ${s.path}`));let a=s._injector??e,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&r.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&r.push(this.processRoutes(c,s.children??s._loadedRoutes))}return pt(r).pipe(Zo())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=x(null);let s=r.pipe(Et(a=>a===null?x(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return pt([s,a]).pipe(Zo())}else return s})}};t.\u0275fac=function(i){return new(i||t)(h(si),h(xr),h(Ae),h(co),h(ba))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),zd=new w(""),Mp=(()=>{let t=class t{constructor(e,i,r,s,a={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.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 Fi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof fe?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ne&&e.code===Qr.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 to&&(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 to(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(i){_i()},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})();function Rp(n){return n.routerState.root}function Vn(n,t){return{\u0275kind:n,\u0275providers:t}}function Tp(){let n=v(K);return t=>{let o=n.get(tn);if(t!==o.components[0])return;let e=n.get(si),i=n.get(Ud);n.get(wa)===1&&e.initialNavigation(),n.get(Hd,null,is.Optional)?.setUpPreloading(),n.get(zd,null,is.Optional)?.init(),e.resetRootComponentType(o.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Ud=new w("",{factory:()=>new A}),wa=new w("",{providedIn:"root",factory:()=>1});function kp(){return Vn(2,[{provide:wa,useValue:0},{provide:cs,multi:!0,deps:[K],useFactory:t=>{let o=t.get(Qc,Promise.resolve());return()=>o.then(()=>new Promise(e=>{let i=t.get(si),r=t.get(Ud);Bd(i,()=>{e(!0)}),t.get(ya).afterPreactivation=()=>(e(!0),r.closed?x(void 0):r),i.initialNavigation()}))}}])}function Op(){return Vn(3,[{provide:cs,multi:!0,useFactory:()=>{let t=v(si);return()=>{t.setUpLocationChangeListener()}}},{provide:wa,useValue:2}])}var Hd=new w("");function Fp(n){return Vn(0,[{provide:Hd,useExisting:Sp},{provide:co,useExisting:n}])}function Pp(){return Vn(8,[od,{provide:lo,useExisting:od}])}function Np(n){let t=[{provide:Ld,useValue:gp},{provide:jd,useValue:g({skipNextTransition:!!n?.skipInitialTransition},n)}];return Vn(9,t)}var ld=new w("ROUTER_FORROOT_GUARD"),Lp=[de,{provide:Fn,useClass:Oi},si,Nn,{provide:Le,useFactory:Rp,deps:[si]},ba,[]],xa=(()=>{let t=class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[Lp,[],{provide:ao,multi:!0,useValue:e},{provide:ld,useFactory:zp,deps:[[si,new sr,new ns]]},{provide:jn,useValue:i||{}},i?.useHash?Vp():Bp(),jp(),i?.preloadingStrategy?Fp(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Up(i):[],i?.bindToComponentInputs?Pp().\u0275providers:[],i?.enableViewTransitions?Np().\u0275providers:[],Hp()]}}static forChild(e){return{ngModule:t,providers:[{provide:ao,multi:!0,useValue:e}]}}};t.\u0275fac=function(i){return new(i||t)(h(ld,8))},t.\u0275mod=R({type:t}),t.\u0275inj=M({});let n=t;return n})();function jp(){return{provide:zd,useFactory:()=>{let n=v(sl),t=v(C),o=v(jn),e=v(ya),i=v(Fn);return o.scrollOffset&&n.setOffset(o.scrollOffset),new Mp(i,e,n,t,o)}}}function Vp(){return{provide:ls,useClass:tl}}function Bp(){return{provide:ls,useClass:Jc}}function zp(n){return"guarded"}function Up(n){return[n.initialNavigation==="disabled"?Op().\u0275providers:[],n.initialNavigation==="enabledBlocking"?kp().\u0275providers:[]]}var dd=new w("");function Hp(){return[{provide:dd,useFactory:Tp},{provide:Gc,multi:!0,useExisting:dd}]}var Ea;try{Ea=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ea=!1}var z=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ol(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||Ea)&&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}};t.\u0275fac=function(i){return new(i||t)(h(Ke))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var ji,$d=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Da(){if(ji)return ji;if(typeof document!="object"||!document)return ji=new Set($d),ji;let n=document.createElement("input");return ji=new Set($d.filter(t=>(n.setAttribute("type",t),n.type===t))),ji}var Bn;function Gp(){if(Bn==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Bn=!0}))}finally{Bn=Bn||!1}return Bn}function Ve(n){return Gp()?n:!!n.capture}var Wt=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(Wt||{}),ho,ai;function mo(){if(ai==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ai=!1,ai;if("scrollBehavior"in document.documentElement.style)ai=!0;else{let n=Element.prototype.scrollTo;n?ai=!/\{\s*\[native code\]\s*\}/.test(n.toString()):ai=!1}}return ai}function Vi(){if(typeof document!="object"||!document)return Wt.NORMAL;if(ho==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 o=document.createElement("div"),e=o.style;e.width="2px",e.height="1px",n.appendChild(o),document.body.appendChild(n),ho=Wt.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,ho=n.scrollLeft===0?Wt.NEGATED:Wt.INVERTED),n.remove()}return ho}var Ca;function Wp(){if(Ca==null){let n=typeof document<"u"?document.head:null;Ca=!!(n&&(n.createShadowRoot||n.attachShadow))}return Ca}function Gd(n){if(Wp()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function zn(){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 Nt(n){return n.composedPath?n.composedPath()[0]:n.target}function Un(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function fo(n,...t){return t.length?t.some(o=>n[o]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function ci(n){return n!=null&&`${n}`!="false"}function Bi(n,t=0){return qp(n)?Number(n):arguments.length===2?t:0}function qp(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function zi(n){return Array.isArray(n)?n:[n]}function lt(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Lt(n){return n instanceof F?n.nativeElement:n}var Yp=(()=>{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var po=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({providers:[Yp]});let n=t;return n})();var Wd=new Set,li,Zp=(()=>{let t=class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Kp}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Xp(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(i){return new(i||t)(h(z),h(Qi,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Xp(n,t){if(!Wd.has(n))try{li||(li=document.createElement("style"),t&&li.setAttribute("nonce",t),li.setAttribute("type","text/css"),document.head.appendChild(li)),li.sheet&&(li.sheet.insertRule(`@media ${n} {body{ }}`,0),Wd.add(n))}catch(o){console.error(o)}}function Kp(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var go=(()=>{let t=class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new A}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return qd(zi(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=qd(zi(e)).map(a=>this._registerQuery(a).observable),s=pi(r);return s=ir(s.pipe(gt(1)),s.pipe(or(1),Ko(0))),s.pipe(k(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:d})=>{c.matches=c.matches||l,c.breakpoints[d]=l}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),s={observable:new we(a=>{let c=l=>this._zone.run(()=>a.next(l));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(ie(i),k(({matches:a})=>({query:e,matches:a})),mt(this._destroySubject)),mql:i};return this._queries.set(e,s),s}};t.\u0275fac=function(i){return new(i||t)(h(Zp),h(C))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function qd(n){return n.map(t=>t.split(",")).reduce((t,o)=>t.concat(o)).map(t=>t.trim())}var Yd={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 Hn=(()=>{let t=class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return tg(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=Jp(cg(e));if(i&&(Zd(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),s=Zd(e);return e.hasAttribute("contenteditable")?s!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!sg(e)?!1:r==="audio"?e.hasAttribute("controls")?s!==-1:!1:r==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return ag(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}};t.\u0275fac=function(i){return new(i||t)(h(z))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Jp(n){try{return n.frameElement}catch{return null}}function tg(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function eg(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function ig(n){return rg(n)&&n.type=="hidden"}function ng(n){return og(n)&&n.hasAttribute("href")}function rg(n){return n.nodeName.toLowerCase()=="input"}function og(n){return n.nodeName.toLowerCase()=="a"}function Qd(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Zd(n){if(!Qd(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function sg(n){let t=n.nodeName.toLowerCase(),o=t==="input"&&n.type;return o==="text"||o==="password"||t==="select"||t==="textarea"}function ag(n){return ig(n)?!1:eg(n)||ng(n)||n.hasAttribute("contenteditable")||Qd(n)}function cg(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Aa=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,o,e,i,r=!1,s){this._element=t,this._checker=o,this._ngZone=e,this._document=i,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){let t=this._startAnchor,o=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),o&&(o.removeEventListener("focus",this.endAnchorListener),o.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(o=>{this._executeOnStable(()=>o(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(o=>{this._executeOnStable(()=>o(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(o=>{this._executeOnStable(()=>o(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let o=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?o.length?o[0]:this._getFirstTabbableElement(this._element):o.length?o[o.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let o=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(o){if(!this._checker.isFocusable(o)){let e=this._getFirstTabbableElement(o);return e?.focus(t),!!e}return o.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let o=this._getRegionBoundary("start");return o&&o.focus(t),!!o}focusLastTabbableElement(t){let o=this._getRegionBoundary("end");return o&&o.focus(t),!!o}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let o=t.children;for(let e=0;e=0;e--){let i=o[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(o[e]):null;if(i)return i}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,o){t?o.setAttribute("tabindex","0"):o.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._injector?Se(t,{injector:this._injector}):setTimeout(t)}},_o=(()=>{let t=class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._injector=v(K),this._document=r}create(e,i=!1){return new Aa(e,this._checker,this._ngZone,this._document,i,this._injector)}};t.\u0275fac=function(i){return new(i||t)(h(Hn),h(C),h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Sa(n){return n.buttons===0||n.detail===0}function Ma(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 lg=new w("cdk-input-modality-detector-options"),dg={ignoreKeys:[18,17,224,91,16]},Jd=650,Ui=Ve({passive:!0,capture:!0}),ug=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,i,r,s){this._platform=e,this._mostRecentTarget=null,this._modality=new xt(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Nt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Ma(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Nt(a)},this._options=g(g({},dg),s),this.modalityDetected=this._modality.pipe(or(1)),this.modalityChanged=this.modalityDetected.pipe(Jo()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ui),r.addEventListener("mousedown",this._onMousedown,Ui),r.addEventListener("touchstart",this._onTouchstart,Ui)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ui),document.removeEventListener("mousedown",this._onMousedown,Ui),document.removeEventListener("touchstart",this._onTouchstart,Ui))}};t.\u0275fac=function(i){return new(i||t)(h(z),h(C),h(D),h(lg,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),hg=new w("liveAnnouncerElement",{providedIn:"root",factory:mg});function mg(){return null}var fg=new w("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),pg=0,tu=(()=>{let t=class t{constructor(e,i,r,s){this._ngZone=i,this._defaultOptions=s,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),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 s=0;s .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{let t=class t{constructor(e,i,r,s,a){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 A,this._rootNodeFocusAndBlurListener=c=>{let l=Nt(c);for(let d=l;d;d=d.parentElement)c.type==="focus"?this._onFocus(c,d):this._onBlur(c,d)},this._document=s,this._detectionMode=a?.detectionMode||bo.IMMEDIATE}monitor(e,i=!1){let r=Lt(e);if(!this._platform.isBrowser||r.nodeType!==1)return x();let s=Gd(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new A,rootNode:s};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let i=Lt(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 s=Lt(e),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,l])=>this._originChanged(c,i,l)):(this._setOrigin(i),typeof s.focus=="function"&&s.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===bo.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===bo.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Jd:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),s=Nt(e);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),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,vo),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,vo)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(mt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!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,vo),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,vo),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,s)=>{(s===e||r.checkChildren&&s.contains(e))&&i.push([s,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 s=e.labels;if(s){for(let a=0;a{let t=class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=v(go).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return di.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,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return di.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return di.BLACK_ON_WHITE}return di.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Ia,Xd,Kd),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===di.BLACK_ON_WHITE?e.add(Ia,Xd):i===di.WHITE_ON_BLACK&&e.add(Ia,Kd)}}};t.\u0275fac=function(i){return new(i||t)(h(z),h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),eu=(()=>{let t=class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}};t.\u0275fac=function(i){return new(i||t)(h(Ra))},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[po]});let n=t;return n})();var vg=new w("cdk-dir-doc",{providedIn:"root",factory:bg});function bg(){return v(D)}var _g=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function yg(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?_g.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var pe=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new at,e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=yg(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(h(vg,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Be=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({});let n=t;return n})();function wg(){return!0}var xg=new w("mat-sanity-checks",{providedIn:"root",factory:wg}),it=(()=>{let t=class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Un()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(i){return new(i||t)(h(Ra),h(xg,8),h(D))},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[Be,Be]});let n=t;return n})();var xo=class{constructor(t,o,e,i,r){this._defaultMatcher=t,this.ngControl=o,this._parentFormGroup=e,this._parentForm=i,this._stateChanges=r,this.errorState=!1}updateErrorState(){let t=this.errorState,o=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,r=e?.isErrorState(i,o)??!1;r!==t&&(this.errorState=r,this._stateChanges.next())}};var du=(()=>{let t=class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var jt=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}(jt||{}),Fa=class{constructor(t,o,e,i=!1){this._renderer=t,this.element=o,this.config=e,this._animationForciblyDisabledThroughCss=i,this.state=jt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},iu=Ve({passive:!0,capture:!0}),Pa=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let o=Nt(t);o&&this._events.get(t.type)?.forEach((e,i)=>{(i===o||i.contains(o))&&e.forEach(r=>r.handleEvent(t))})}}addHandler(t,o,e,i){let r=this._events.get(o);if(r){let s=r.get(e);s?s.add(i):r.set(e,new Set([i]))}else this._events.set(o,new Map([[e,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(o,this._delegateEventHandler,iu)})}removeHandler(t,o,e){let i=this._events.get(t);if(!i)return;let r=i.get(o);r&&(r.delete(e),r.size===0&&i.delete(o),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,iu)))}},nu={enterDuration:225,exitDuration:150},Cg=800,ru=Ve({passive:!0,capture:!0}),ou=["mousedown","touchstart"],su=["mouseup","mouseleave","touchend","touchcancel"],$n=class $n{constructor(t,o,e,i){this._target=t,this._ngZone=o,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Lt(e))}fadeInRipple(t,o,e={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=g(g({},nu),e.animation);e.centered&&(t=i.left+i.width/2,o=i.top+i.height/2);let s=e.radius||Eg(t,o,i),a=t-i.left,c=o-i.top,l=r.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${c-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,e.color!=null&&(d.style.backgroundColor=e.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),m=u.transitionProperty,p=u.transitionDuration,E=m==="none"||p==="0s"||p==="0s, 0s"||i.width===0&&i.height===0,O=new Fa(this,d,e,E);d.style.transform="scale3d(1, 1, 1)",O.state=jt.FADING_IN,e.persistent||(this._mostRecentTransientRipple=O);let L=null;return!E&&(l||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let yt=()=>{L&&(L.fallbackTimer=null),clearTimeout(N),this._finishRippleTransition(O)},Ct=()=>this._destroyRipple(O),N=setTimeout(Ct,l+100);d.addEventListener("transitionend",yt),d.addEventListener("transitioncancel",Ct),L={onTransitionEnd:yt,onTransitionCancel:Ct,fallbackTimer:N}}),this._activeRipples.set(O,L),(E||!l)&&this._finishRippleTransition(O),O}fadeOutRipple(t){if(t.state===jt.FADING_OUT||t.state===jt.HIDDEN)return;let o=t.element,e=g(g({},nu),t.config.animation);o.style.transitionDuration=`${e.exitDuration}ms`,o.style.opacity="0",t.state=jt.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let o=Lt(t);!this._platform.isBrowser||!o||o===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=o,ou.forEach(e=>{$n._eventManager.addHandler(this._ngZone,e,o,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{su.forEach(o=>{this._triggerElement.addEventListener(o,this,ru)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===jt.FADING_IN?this._startFadeOutTransition(t):t.state===jt.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let o=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=jt.VISIBLE,!e&&(!o||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let o=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=jt.HIDDEN,o!==null&&(t.element.removeEventListener("transitionend",o.onTransitionEnd),t.element.removeEventListener("transitioncancel",o.onTransitionCancel),o.fallbackTimer!==null&&clearTimeout(o.fallbackTimer)),t.element.remove()}_onMousedown(t){let o=Sa(t),e=this._lastTouchStartEvent&&Date.now(){let o=t.state===jt.VISIBLE||t.config.terminateOnPointerUp&&t.state===jt.FADING_IN;!t.config.persistent&&o&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(ou.forEach(o=>$n._eventManager.removeHandler(o,t,this)),this._pointerUpEventsRegistered&&(su.forEach(o=>t.removeEventListener(o,this,ru)),this._pointerUpEventsRegistered=!1))}};$n._eventManager=new Pa;var Na=$n;function Eg(n,t,o){let e=Math.max(Math.abs(n-o.left),Math.abs(n-o.right)),i=Math.max(Math.abs(t-o.top),Math.abs(t-o.bottom));return Math.sqrt(e*e+i*i)}var uu=new w("mat-ripple-global-options"),Dg=(()=>{let t=class t{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,s,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Na(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:g(g(g({},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,g(g({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),e))}};t.\u0275fac=function(i){return new(i||t)(f(F),f(C),f(z),f(uu,8),f(vt,8))},t.\u0275dir=S({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&Y("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});let n=t;return n})(),hu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[it,it]});let n=t;return n})();var au={capture:!0},cu=["focus","mousedown","mouseenter","touchstart"],ka="mat-ripple-loader-uninitialized",Oa="mat-ripple-loader-class-name",lu="mat-ripple-loader-centered",wo="mat-ripple-loader-disabled",mu=(()=>{let t=class t{constructor(){this._document=v(D,{optional:!0}),this._animationMode=v(vt,{optional:!0}),this._globalRippleOptions=v(uu,{optional:!0}),this._platform=v(z),this._ngZone=v(C),this._hosts=new Map,this._onInteraction=e=>{let i=Nt(e);if(i instanceof HTMLElement){let r=i.closest(`[${ka}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of cu)this._document?.addEventListener(e,this._onInteraction,au)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of cu)this._document?.removeEventListener(i,this._onInteraction,au)}configureRipple(e,i){e.setAttribute(ka,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Oa))&&e.setAttribute(Oa,i.className||""),i.centered&&e.setAttribute(lu,""),i.disabled&&e.setAttribute(wo,"")}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(wo,""):e.removeAttribute(wo)}_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(Oa)),e.append(r);let s=new Dg(new F(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=e,s.centered=e.hasAttribute(lu),s.disabled=e.hasAttribute(wo),this.attachRipple(e,s),s}attachRipple(e,i){e.removeAttribute(ka),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ag=["mat-button",""],Sg=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Mg=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var Rg=".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 Tg=["mat-icon-button",""],kg=["*"];var Og=new w("MAT_BUTTON_CONFIG");var Fg=[{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"]}],fu=(()=>{let t=class t{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,s){this._elementRef=e,this._platform=i,this._ngZone=r,this._animationMode=s,this._focusMonitor=v(Hi),this._rippleLoader=v(mu),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=v(Og,{optional:!0}),c=e.nativeElement,l=c.classList;this.disabledInteractive=a?.disabledInteractive??!1,this.color=a?.color??null,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of Fg)c.hasAttribute(d)&&l.add(...u)}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)}};t.\u0275fac=function(i){_i()},t.\u0275dir=S({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Mt],disabled:[2,"disabled","disabled",Mt],ariaDisabled:[2,"aria-disabled","ariaDisabled",Mt],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Mt]},features:[Ht]});let n=t;return n})();var Co=(()=>{let t=class t extends fu{constructor(e,i,r,s){super(e,i,r,s)}};t.\u0275fac=function(i){return new(i||t)(f(F),f(z),f(C),f(vt,8))},t.\u0275cmp=j({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ct("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Je(r.color?"mat-"+r.color:""),Y("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:[J,V],attrs:Ag,ngContentSelectors:Mg,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&&(bt(Sg),X(0,"span",0),q(1),_(2,"span",1),q(3,1),y(),q(4,2),X(5,"span",2)(6,"span",3)),i&2&&Y("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});let n=t;return n})();var $i=(()=>{let t=class t extends fu{constructor(e,i,r,s){super(e,i,r,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(i){return new(i||t)(f(F),f(z),f(C),f(vt,8))},t.\u0275cmp=j({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ct("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Je(r.color?"mat-"+r.color:""),Y("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:[J,V],attrs:Tg,ngContentSelectors:kg,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&&(bt(),X(0,"span",0),q(1),X(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}',Rg],encapsulation:2,changeDetection:0});let n=t;return n})();var ge=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[it,hu,it]});let n=t;return n})();var Pg=["*"];var Ng=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Lg=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, + [mat-card-title], [mat-card-subtitle], + [matCardTitle], [matCardSubtitle]`,"*"],jg=new w("MAT_CARD_CONFIG"),Do=(()=>{let t=class t{constructor(e){this.appearance=e?.appearance||"raised"}};t.\u0275fac=function(i){return new(i||t)(f(jg,8))},t.\u0275cmp=j({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){i&2&&Y("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[V],ngContentSelectors:Pg,decls:1,vars:0,template:function(i,r){i&1&&(bt(),q(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0});let n=t;return n})(),Io=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0});let n=t;return n})();var Ao=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});let n=t;return n})();var So=(()=>{let t=class t{constructor(){this.align="start"}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,r){i&2&&Y("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0});let n=t;return n})(),Mo=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[V],ngContentSelectors:Lg,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(bt(Ng),q(0),_(1,"div",0),q(2,1),y(),q(3,2))},encapsulation:2,changeDetection:0});let n=t;return n})();var Ro=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[it,Re,it]});let n=t;return n})();var Vg=20,La=(()=>{let t=class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new A,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=Vg){return this._platform.isBrowser?new we(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(Xo(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):x()}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(st(s=>!s||r.indexOf(s)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,s)=>{this._scrollableContainsElement(s,e)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Lt(i),s=e.getElementRef().nativeElement;do if(r==s)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return rr(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(h(C),h(z),h(D,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),vu=(()=>{let t=class t{constructor(e,i,r,s){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=s,this._destroyed=new A,this._elementScrolled=new we(a=>this.ngZone.runOutsideAngular(()=>rr(this.elementRef.nativeElement,"scroll").pipe(mt(this._destroyed)).subscribe(a)))}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&&Vi()!=Wt.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Vi()==Wt.INVERTED?e.left=e.right:Vi()==Wt.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;mo()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",s=this.elementRef.nativeElement;if(e=="top")return s.scrollTop;if(e=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:i:e=="end"&&(e=a?i:r),a&&Vi()==Wt.INVERTED?e==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:a&&Vi()==Wt.NEGATED?e==i?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:e==i?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};t.\u0275fac=function(i){return new(i||t)(f(F),f(La),f(C),f(pe,8))},t.\u0275dir=S({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=t;return n})(),Bg=20,ja=(()=>{let t=class t{constructor(e,i,r){this._platform=e,this._change=new A,this._changeListener=s=>{this._change.next(s)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.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,s=r.getBoundingClientRect(),a=-s.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,c=-s.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:a,left:c}}change(e=Bg){return e>0?this._change.pipe(Xo(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}}};t.\u0275fac=function(i){return new(i||t)(h(z),h(C),h(D,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var gu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({});let n=t;return n})(),Va=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[Be,gu,Be,gu]});let n=t;return n})();var Gn=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}},ve=class extends Gn{constructor(t,o,e,i,r){super(),this.component=t,this.viewContainerRef=o,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=r}},ze=class extends Gn{constructor(t,o,e,i){super(),this.templateRef=t,this.viewContainerRef=o,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,o=this.context){return this.context=o,super.attach(t)}detach(){return this.context=void 0,super.detach()}},Ba=class extends Gn{constructor(t){super(),this.element=t instanceof F?t.nativeElement:t}},Ue=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof ve)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof ze)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof Ba)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 To=class extends Ue{constructor(t,o,e,i,r){super(),this.outletElement=t,this._componentFactoryResolver=o,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=r}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||K.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let o=t.viewContainerRef,e=o.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=o.indexOf(e);i!==-1&&o.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var He=(()=>{let t=class t extends Ue{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new at,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let c=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(c,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},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,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(s,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}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}};t.\u0275fac=function(i){return new(i||t)(f(ur),f(yi),f(D))},t.\u0275dir=S({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[J]});let n=t;return n})();var $e=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({});let n=t;return n})();var _u=mo(),za=class{constructor(t,o){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=o}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=lt(-this._previousScrollPosition.left),t.style.top=lt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,o=this._document.body,e=t.style,i=o.style,r=e.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),_u&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_u&&(e.scrollBehavior=r,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let o=this._document.body,e=this._viewportRuler.getViewportSize();return o.scrollHeight>e.height||o.scrollWidth>e.width}};var Ua=class{constructor(t,o,e,i){this._scrollDispatcher=t,this._ngZone=o,this._viewportRuler=e,this._config=i,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(st(o=>!o||!this._overlayRef.overlayElement.contains(o.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let o=this._viewportRuler.getViewportScrollPosition().top;Math.abs(o-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}},ko=class{enable(){}disable(){}attach(){}};function Ha(n,t){return t.some(o=>{let e=n.bottomo.bottom,r=n.righto.right;return e||i||r||s})}function yu(n,t){return t.some(o=>{let e=n.topo.bottom,r=n.lefto.right;return e||i||r||s})}var $a=class{constructor(t,o,e,i){this._scrollDispatcher=t,this._viewportRuler=o,this._ngZone=e,this._config=i,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 o=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();Ha(o,[{width:e,height:i,bottom:i,right:e,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}},Ug=(()=>{let t=class t{constructor(e,i,r,s){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new ko,this.close=a=>new Ua(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new za(this._viewportRuler,this._document),this.reposition=a=>new $a(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};t.\u0275fac=function(i){return new(i||t)(h(La),h(ja),h(C),h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),hi=class{constructor(t){if(this.scrollStrategy=new ko,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let o=Object.keys(t);for(let e of o)t[e]!==void 0&&(this[e]=t[e])}}};var Ga=class{constructor(t,o){this.connectionPair=t,this.scrollableViewProperties=o}};var Iu=(()=>{let t=class t{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()}};t.\u0275fac=function(i){return new(i||t)(h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Hg=(()=>{let t=class t extends Iu{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let c=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(r)):c.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)}};t.\u0275fac=function(i){return new(i||t)(h(D),h(C,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),$g=(()=>{let t=class t extends Iu{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Nt(s)},this._clickListener=s=>{let a=Nt(s),c=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let d=l.length-1;d>-1;d--){let u=l[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(wu(u.overlayElement,a)||wu(u.overlayElement,c))break;let m=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(s)):m.next(s)}}}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)}};t.\u0275fac=function(i){return new(i||t)(h(D),h(z),h(C,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function wu(n,t){let o=typeof ShadowRoot<"u"&&ShadowRoot,e=t;for(;e;){if(e===n)return!0;e=o&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var Gi=(()=>{let t=class t{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||Un()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;sthis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new A,this._outsidePointerEvents=new A,this._renders=new A,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=$t(()=>fr(()=>{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 o=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Se(()=>{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 o?.onDestroy=="function"&&o.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),o}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._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=g(g({},this._config),t),this._updateElementSize()}setDirection(t){this._config=$(g({},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=lt(this._config.width),t.height=lt(this._config.height),t.minWidth=lt(this._config.minWidth),t.minHeight=lt(this._config.minHeight),t.maxWidth=lt(this._config.maxWidth),t.maxHeight=lt(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,o,e){let i=zi(o||[]).filter(r=>!!r);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(mt(gi(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)}},xu="cdk-overlay-connected-position-bounding-box",Gg=/([A-Za-z%]+)$/,Wa=class{get positions(){return this._preferredPositions}constructor(t,o,e,i,r){this._viewportRuler=o,this._document=e,this._platform=i,this._overlayContainer=r,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 A,this._resizeSubscription=Ut.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(xu),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,o=this._overlayRect,e=this._viewportRect,i=this._containerRect,r=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(t,i,a),l=this._getOverlayPoint(c,o,a),d=this._getOverlayFit(l,o,e,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(d,l,e)){r.push({position:a,origin:c,overlayRect:o,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleAreac&&(c=d,a=l)}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&&ui(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(xu),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 o=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,o)}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,o,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?s:a}o.left<0&&(i-=o.left);let r;return e.originY=="center"?r=t.top+t.height/2:r=e.originY=="top"?t.top:t.bottom,o.top<0&&(r-=o.top),{x:i,y:r}}_getOverlayPoint(t,o,e){let i;e.overlayX=="center"?i=-o.width/2:e.overlayX==="start"?i=this._isRtl()?-o.width:0:i=this._isRtl()?0:-o.width;let r;return e.overlayY=="center"?r=-o.height/2:r=e.overlayY=="top"?0:-o.height,{x:t.x+i,y:t.y+r}}_getOverlayFit(t,o,e,i){let r=Eu(o),{x:s,y:a}=t,c=this._getOffset(i,"x"),l=this._getOffset(i,"y");c&&(s+=c),l&&(a+=l);let d=0-s,u=s+r.width-e.width,m=0-a,p=a+r.height-e.height,E=this._subtractOverflows(r.width,d,u),O=this._subtractOverflows(r.height,m,p),L=E*O;return{visibleArea:L,isCompletelyWithinViewport:r.width*r.height===L,fitsInViewportVertically:O===r.height,fitsInViewportHorizontally:E==r.width}}_canFitWithFlexibleDimensions(t,o,e){if(this._hasFlexibleDimensions){let i=e.bottom-o.y,r=e.right-o.x,s=Cu(this._overlayRef.getConfig().minHeight),a=Cu(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportVertically||s!=null&&s<=i,l=t.fitsInViewportHorizontally||a!=null&&a<=r;return c&&l}return!1}_pushOverlayOnScreen(t,o,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Eu(o),r=this._viewportRect,s=Math.max(t.x+i.width-r.width,0),a=Math.max(t.y+i.height-r.height,0),c=Math.max(r.top-e.top-t.y,0),l=Math.max(r.left-e.left-t.x,0),d=0,u=0;return i.width<=r.width?d=l||-s:d=t.xE&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-E/2)}let c=o.overlayX==="start"&&!i||o.overlayX==="end"&&i,l=o.overlayX==="end"&&!i||o.overlayX==="start"&&i,d,u,m;if(l)m=e.width-t.x+this._viewportMargin*2,d=t.x-this._viewportMargin;else if(c)u=t.x,d=e.right-t.x;else{let p=Math.min(e.right-t.x+e.left,t.x),E=this._lastBoundingBoxSize.width;d=p*2,u=t.x-p,d>E&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-E/2)}return{top:s,left:u,bottom:a,right:m,width:d,height:r}}_setBoundingBoxStyles(t,o){let e=this._calculateBoundingBoxRect(t,o);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=lt(e.height),i.top=lt(e.top),i.bottom=lt(e.bottom),i.width=lt(e.width),i.left=lt(e.left),i.right=lt(e.right),o.overlayX==="center"?i.alignItems="center":i.alignItems=o.overlayX==="end"?"flex-end":"flex-start",o.overlayY==="center"?i.justifyContent="center":i.justifyContent=o.overlayY==="bottom"?"flex-end":"flex-start",r&&(i.maxHeight=lt(r)),s&&(i.maxWidth=lt(s))}this._lastBoundingBoxSize=e,ui(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ui(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ui(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,o){let e={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();ui(e,this._getExactOverlayY(o,t,d)),ui(e,this._getExactOverlayX(o,t,d))}else e.position="static";let a="",c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),e.transform=a.trim(),s.maxHeight&&(i?e.maxHeight=lt(s.maxHeight):r&&(e.maxHeight="")),s.maxWidth&&(i?e.maxWidth=lt(s.maxWidth):r&&(e.maxWidth="")),ui(this._pane.style,e)}_getExactOverlayY(t,o,e){let i={top:"",bottom:""},r=this._getOverlayPoint(o,this._overlayRect,t);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,e)),t.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(r.y+this._overlayRect.height)}px`}else i.top=lt(r.y);return i}_getExactOverlayX(t,o,e){let i={left:"",right:""},r=this._getOverlayPoint(o,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,e));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;i.right=`${a-(r.x+this._overlayRect.width)}px`}else i.left=lt(r.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),o=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:yu(t,e),isOriginOutsideView:Ha(t,e),isOverlayClipped:yu(o,e),isOverlayOutsideView:Ha(o,e)}}_subtractOverflows(t,...o){return o.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,o=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+o-this._viewportMargin,width:t-2*this._viewportMargin,height:o-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,o){return o==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&zi(t).forEach(o=>{o!==""&&this._appliedPanelClasses.indexOf(o)===-1&&(this._appliedPanelClasses.push(o),this._pane.classList.add(o))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof F)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let o=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+o,height:e,width:o}}};function ui(n,t){for(let o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);return n}function Cu(n){if(typeof n!="number"&&n!=null){let[t,o]=n.split(Gg);return!o||o==="px"?parseFloat(t):null}return n||null}function Eu(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 Wg(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var Du="cdk-global-overlay-wrapper",qa=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 o=t.getConfig();this._overlayRef=t,this._width&&!o.width&&t.updateSize({width:this._width}),this._height&&!o.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Du),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,o=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:a}=e,c=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(r==="100%"||r==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",E="",O="";c?O="flex-start":d==="center"?(O="center",m?E=u:p=u):m?d==="left"||d==="end"?(O="flex-end",p=u):(d==="right"||d==="start")&&(O="flex-start",E=u):d==="left"||d==="start"?(O="flex-start",p=u):(d==="right"||d==="end")&&(O="flex-end",E=u),t.position=this._cssPosition,t.marginLeft=c?"0":p,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":E,o.justifyContent=O,o.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,o=this._overlayRef.hostElement,e=o.style;o.classList.remove(Du),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},qg=(()=>{let t=class t{constructor(e,i,r,s){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=s}global(){return new qa}flexibleConnectedTo(e){return new Wa(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(h(ja),h(D),h(z),h(Gi))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Yg=0,kt=(()=>{let t=class t{constructor(e,i,r,s,a,c,l,d,u,m,p,E){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=c,this._ngZone=l,this._document=d,this._directionality=u,this._location=m,this._outsideClickDispatcher=p,this._animationsModuleType=E}create(e){let i=this._createHostElement(),r=this._createPaneElement(i),s=this._createPortalOutlet(r),a=new hi(e);return a.direction=a.direction||this._directionality.value,new be(s,i,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ae))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Yg++}`,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(tn)),new To(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(h(Ug),h(Gi),h(ur),h(qg),h(Hg),h(K),h(C),h(D),h(pe),h(de),h($g),h(vt,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Zg=new w("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=v(kt);return()=>n.scrollStrategies.reposition()}});function Xg(n){return()=>n.scrollStrategies.reposition()}var Kg={provide:Zg,deps:[kt],useFactory:Xg},Wn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({providers:[kt,Kg],imports:[Be,$e,Va,Va]});let n=t;return n})();function Qg(n,t){}var mi=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Ka=(()=>{let t=class t extends Ue{constructor(e,i,r,s,a,c,l,d){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=s,this._interactivityChecker=a,this._ngZone=c,this._overlayRef=l,this._focusMonitor=d,this._platform=v(z),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=v(St),this._injector=v(K),this._isDestroyed=!1,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let m=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),m},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){this._isDestroyed||Se(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=zn(),s=this._elementRef.nativeElement;(!r||r===this._document.body||r===s||s.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=zn();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=zn()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.\u0275fac=function(i){return new(i||t)(f(F),f(_o),f(D,8),f(mi),f(Hn),f(C),f(be),f(Hi))},t.\u0275cmp=j({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&_t(He,7),i&2){let s;tt(s=et())&&(r._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&ct("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[J,V],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&H(0,Qg,0,0,"ng-template",0)},dependencies:[He],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let n=t;return n})(),qn=class{constructor(t,o){this.overlayRef=t,this.config=o,this.closed=new A,this.disableClose=o.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=o.id,this.keydownEvents.subscribe(e=>{e.keyCode===27&&!this.disableClose&&!fo(e)&&(e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{o.closeOnOverlayDetachments!==!1&&this.close()})}close(t,o){if(this.containerInstance){let e=this.closed;this.containerInstance._closeInteractionType=o?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),e.next(t),e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",o=""){return this.overlayRef.updateSize({width:t,height:o}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}},Jg=new w("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=v(kt);return()=>n.scrollStrategies.block()}}),tv=new w("DialogData"),ev=new w("DefaultDialogConfig");var iv=0,Qa=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,s,a,c){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A,this._afterOpenedAtThisLevel=new A,this._ariaHiddenElements=new Map,this.afterAllClosed=Ye(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ie(void 0))),this._scrollStrategy=c}open(e,i){let r=this._defaultOptions||new mi;i=g(g({},r),i),i.id=i.id||`cdk-dialog-${iv++}`,i.id&&this.getDialogById(i.id);let s=this._getOverlayConfig(i),a=this._overlay.create(s),c=new qn(a,i),l=this._attachContainer(a,c,i);return c.containerInstance=l,this._attachDialogContent(e,c,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){Za(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Za(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Za(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new hi({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let s=r.injector||r.viewContainerRef?.injector,a=[{provide:mi,useValue:r},{provide:qn,useValue:i},{provide:be,useValue:e}],c;r.container?typeof r.container=="function"?c=r.container:(c=r.container.type,a.push(...r.container.providers(r))):c=Ka;let l=new ve(c,r.viewContainerRef,K.create({parent:s||this._injector,providers:a}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,s){if(e instanceof Qe){let a=this._createInjector(s,i,r,void 0),c={$implicit:s.data,dialogRef:i};s.templateContext&&(c=g(g({},c),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),r.attachTemplatePortal(new ze(e,null,c,a))}else{let a=this._createInjector(s,i,r,this._injector),c=r.attachComponentPortal(new ve(e,s.viewContainerRef,a,s.componentFactoryResolver));i.componentRef=c,i.componentInstance=c.instance}}_createInjector(e,i,r,s){let a=e.injector||e.viewContainerRef?.injector,c=[{provide:tv,useValue:e.data},{provide:qn,useValue:i}];return e.providers&&(typeof e.providers=="function"?c.push(...e.providers(i,e,r)):c.push(...e.providers)),e.direction&&(!a||!a.get(pe,null,{optional:!0}))&&c.push({provide:pe,useValue:{value:e.direction,change:x()}}),K.create({parent:a||s,providers:c})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let s=i[r];s!==e&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.\u0275fac=function(i){return new(i||t)(h(kt),h(K),h(ev,8),h(t,12),h(Gi),h(Jg))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Za(n,t){let o=n.length;for(;o--;)t(n[o])}var Au=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({providers:[Qa],imports:[Wn,$e,eu,$e]});let n=t;return n})();function nv(n,t){}var Yn=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Ja="mdc-dialog--open",Su="mdc-dialog--opening",Mu="mdc-dialog--closing",rv=150,ov=75,sv=(()=>{let t=class t extends Ka{constructor(e,i,r,s,a,c,l,d,u){super(e,i,r,s,a,c,l,u),this._animationMode=d,this._animationStateChanged=new at,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?Tu(this._config.enterAnimationDuration)??rv:0,this._exitAnimationDuration=this._animationsEnabled?Tu(this._config.exitAnimationDuration)??ov:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ru,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Su,Ja)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ja),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ja),this._animationsEnabled?(this._hostElement.style.setProperty(Ru,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Mu)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Su,Mu)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};t.\u0275fac=function(i){return new(i||t)(f(F),f(_o),f(D,8),f(Yn),f(Hn),f(C),f(be),f(vt,8),f(Hi))},t.\u0275cmp=j({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(Me("id",r._config.id),ct("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Y("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[J,V],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(_(0,"div",0)(1,"div",1),H(2,nv,0,0,"ng-template",2),y()())},dependencies:[He],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2});let n=t;return n})(),Ru="--mat-dialog-transition-duration";function Tu(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Bi(n.substring(0,n.length-2)):n.endsWith("s")?Bi(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var Oo=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(Oo||{}),Fo=class{constructor(t,o,e){this._ref=t,this._containerInstance=e,this._afterOpened=new A,this._beforeClosed=new A,this._state=Oo.OPEN,this.disableClose=o.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),e._animationStateChanged.pipe(st(i=>i.state==="opened"),gt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(st(i=>i.state==="closed"),gt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),gi(this.backdropClick(),this.keydownEvents().pipe(st(i=>i.keyCode===27&&!this.disableClose&&!fo(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),av(this,i.type==="keydown"?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(st(o=>o.state==="closing"),gt(1)).subscribe(o=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),o.totalTime+100)}),this._state=Oo.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let o=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?o.left(t.left):o.right(t.right):o.centerHorizontally(),t&&(t.top||t.bottom)?t.top?o.top(t.top):o.bottom(t.bottom):o.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",o=""){return this._ref.updateSize(t,o),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=Oo.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function av(n,t,o){return n._closeInteractionType=t,n.close(o)}var tc=new w("MatMdcDialogData"),cv=new w("mat-mdc-dialog-default-options"),lv=new w("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=v(kt);return()=>n.scrollStrategies.block()}});var dv=0,Wi=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,r,s,a,c,l,d){this._overlay=e,this._defaultOptions=s,this._scrollStrategy=a,this._parentDialog=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A,this._afterOpenedAtThisLevel=new A,this.dialogConfigClass=Yn,this.afterAllClosed=Ye(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ie(void 0))),this._dialog=i.get(Qa),this._dialogRefConstructor=Fo,this._dialogContainerType=sv,this._dialogDataToken=tc}open(e,i){let r;i=g(g({},this._defaultOptions||new Yn),i),i.id=i.id||`mat-mdc-dialog-${dv++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(e,$(g({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:mi,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(a,c,l)=>(r=new this._dialogRefConstructor(a,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=s.componentRef,r.componentInstance=s.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}};t.\u0275fac=function(i){return new(i||t)(h(kt),h(K),h(de,8),h(cv,8),h(lv),h(t,12),h(Gi),h(vt,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),uv=0;var hv=(()=>{let t=class t{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=mv(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.\u0275fac=function(i){return new(i||t)(f(Fo,8),f(F),f(Wi))},t.\u0275dir=S({type:t,standalone:!0});let n=t;return n})(),Po=(()=>{let t=class t extends hv{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${uv++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Qt(t)))(r||t)}})(),t.\u0275dir=S({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&Me("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[J]});let n=t;return n})(),No=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[Pc([vu])]});let n=t;return n})();function mv(n,t){let o=n.nativeElement.parentElement;for(;o&&!o.classList.contains("mat-mdc-dialog-container");)o=o.parentElement;return o?t.find(e=>e.id===o.id):null}var qi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({providers:[Wi],imports:[Au,Wn,$e,it,it]});let n=t;return n})();var fv=["*"],Lo;function pv(){if(Lo===void 0&&(Lo=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(Lo=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Lo}function Zn(n){return pv()?.createHTML(n)||n}function Ou(n){return Error(`Unable to find icon with the name "${n}"`)}function gv(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Fu(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Pu(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var _e=class{constructor(t,o,e){this.url=t,this.svgText=o,this.options=e}},vv=(()=>{let t=class t{constructor(e,i,r,s){this._httpClient=e,this._sanitizer=i,this._errorHandler=s,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,s){return this._addSvgIconConfig(e,i,new _e(r,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,s){let a=this._sanitizer.sanitize(At.HTML,r);if(!a)throw Pu(r);let c=Zn(a);return this._addSvgIconConfig(e,i,new _e("",c,s))}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 _e(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let s=this._sanitizer.sanitize(At.HTML,i);if(!s)throw Pu(i);let a=Zn(s);return this._addSvgIconSetConfig(e,new _e("",a,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(At.RESOURCE_URL,e);if(!i)throw Fu(e);let r=this._cachedIconsByUrl.get(i);return r?x(jo(r)):this._loadSvgIconFromConfig(new _e(e,null)).pipe(nt(s=>this._cachedIconsByUrl.set(i,s)),k(s=>jo(s)))}getNamedSvgIcon(e,i=""){let r=Nu(i,e),s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,e),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):qe(Ou(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?x(jo(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(k(i=>jo(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return x(r);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(xe(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(At.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),x(null)})));return nr(s).pipe(k(()=>{let a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw Ou(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let s=i[r];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,e,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(nt(i=>e.svgText=i),k(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?x(null):this._fetchIcon(e).pipe(nt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let s=e.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let c=this._svgElementFromString(Zn(""));return c.appendChild(a),this._setSvgAttributes(c,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Zn("")),r=e.attributes;for(let s=0;sZn(d)),Ze(()=>this._inProgressUrlFetches.delete(a)),bc());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(Nu(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}var Lu=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],xv=Lu.map(n=>`[${n}]`).join(", "),Cv=/^url\(['"]?#(.*?)['"]?\)$/,Ge=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,s,a,c){this._elementRef=e,this._iconRegistry=i,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ut.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,s)=>{r.forEach(a=>{s.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(xv),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=i[s],l=c.getAttribute(a),d=l?l.match(Cv):null;if(d){let u=r.get(c);u||(u=[],r.set(c,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(gt(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${r}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};t.\u0275fac=function(i){return new(i||t)(f(F),f(vv),dr("aria-hidden"),f(yv),f(Xe),f(_v,8))},t.\u0275cmp=j({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(ct("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Je(r.color?"mat-"+r.color:""),Y("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Mt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Ht,V],ngContentSelectors:fv,decls:1,vars:0,template:function(i,r){i&1&&(bt(),q(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let n=t;return n})(),We=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[it,it]});let n=t;return n})();var Bo=(()=>{let t=class t{constructor(){}save(e,i){localStorage.setItem(e,JSON.stringify(i))}get(e){let i=localStorage.getItem(e);if(i)return JSON.parse(i)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})();var ec=class{constructor(t,o){this._document=o;let e=this._textarea=this._document.createElement("textarea"),i=e.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",e.setAttribute("aria-hidden","true"),e.value=t,e.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(e)}copy(){let t=this._textarea,o=!1;try{if(t){let e=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),o=this._document.execCommand("copy"),e&&e.focus()}}catch{}return o}destroy(){let t=this._textarea;t&&(t.remove(),this._textarea=void 0)}},ju=(()=>{let t=class t{constructor(e){this._document=e}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new ec(e,this._document)}};t.\u0275fac=function(i){return new(i||t)(h(D))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Vt=(()=>{let t=class t{constructor(e,i){this.lss=e,this.clipboard=i,this.choicesSaveString="choices",this.lastChoiceIdSaveString="lastChoiceId",this.lastChoiceGroupIdSaveString="lastChoiceGroup",this.configSaveString="schedulerConfig",this.defaultCOnfig={groups:[],lastChoiceGroupId:0,lastChoiceId:0},this.config=e.get(this.configSaveString)||this.defaultCOnfig}save(){this.lss.save(this.configSaveString,this.config)}copyToClipboard(){this.clipboard.copy(JSON.stringify(this.config))}import(e){this.config=JSON.parse(e),this.save()}addChoiceGroup(e){return e.id||(e.id=++this.config.lastChoiceGroupId),this.config.groups.push(e),this.save(),this}deleteChoiceGroupById(e){return this.config.groups=this.config.groups.filter(i=>i.id!==e),this.save(),this}getAllChoiceGroups(){return this.config.groups}getChoiceGroupById(e){return this.config.groups.filter(i=>i.id===e).pop()}updateChoiceGroupById(e,i={}){let r=this.getChoiceGroupById(e);if(r)return Object.assign(r,i),this.save(),r}addChoice(e,i){e.id||(e.id=++this.config.lastChoiceId);let r=this.getChoiceGroupById(i);return r&&r.choices.push(e),this.save(),this}deleteChoiceById(e,i){let r=this.getChoiceGroupById(i);return r&&(r.choices=r.choices.filter(s=>s.id!==e)),this.save(),this}getChoiceById(e,i){let r=this.getChoiceGroupById(i);if(r)return r.choices.filter(s=>s.id===e).pop()}updateChoiceById(e,i,r={}){let s=this.getChoiceById(e,i);if(s)return Object.assign(s,r),this.save(),s}};t.\u0275fac=function(i){return new(i||t)(h(Bo),h(ju))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let n=t;return n})();var Vu=(()=>{let t=class t{constructor(e){this.choiceDataService=e}ngOnInit(){}choiceUpdated(){console.log("Hey"),this.choiceDataService.updateChoiceById(this.choice.id,this.groupId,this.choice)}deleteChoice(){confirm("Do you really want to delete this choice?")&&this.choiceDataService.deleteChoiceById(this.choice.id,this.groupId)}};t.\u0275fac=function(i){return new(i||t)(f(Vt))},t.\u0275cmp=j({type:t,selectors:[["choice-card"]],inputs:{choice:"choice",groupId:"groupId"},standalone:!0,features:[V],decls:22,vars:3,consts:[["appearance","outlined",1,"choice-card"],["type","color",3,"ngModelChange","input","ngModel"],["type","number","min","0",3,"ngModelChange","input","ngModel"],["align","end"],["mat-icon-button","",3,"click"]],template:function(i,r){i&1&&(_(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),T(3),y()(),_(4,"mat-card-content")(5,"table")(6,"tr")(7,"td")(8,"b"),T(9,"Color:"),y()(),_(10,"td")(11,"input",1),ce("ngModelChange",function(a){return ae(r.choice.color,a)||(r.choice.color=a),a}),U("input",function(){return r.choiceUpdated()}),y()()(),_(12,"tr")(13,"td")(14,"b"),T(15,"Weight:"),y()(),_(16,"td")(17,"input",2),ce("ngModelChange",function(a){return ae(r.choice.weight,a)||(r.choice.weight=a),a}),U("input",function(){return r.choiceUpdated()}),y()()()()(),_(18,"mat-card-actions",3)(19,"button",4),U("click",function(){return r.deleteChoice()}),_(20,"mat-icon"),T(21,"delete"),y()()()()),i&2&&(I(3),re(r.choice.title),I(8),se("ngModel",r.choice.color),I(6),se("ngModel",r.choice.weight))},dependencies:[Fe,Jt,hn,Oe,xs,ni,Ro,Do,So,Ao,Mo,Io,We,Ge,ge,$i],styles:[".choice-card[_ngcontent-%COMP%]{max-width:fit-content}"]});let n=t;return n})();var Xn=class{constructor(t={}){this.color="#000000",this.weight=1,Object.assign(this,t)}};var oh=hc(ih()),sh=hc(rh());var Bt=(()=>{let t=class t{constructor(){}formatDate(e){return e.getDate()+"."+(e.getMonth()+1)+"."+e.getFullYear()}getMd5ForDate(e){return""+sh.Md5.hashStr(this.formatDate(e))}hexStringToDecimal(e){let i=parseInt(e,16);for(;i>1;)i/=10;return i}splitString(e,i){for(var r=[];e.length>0;){var s=Math.ceil(e.length/i);r.push(e.slice(0,s)),e=e.slice(s),i--}return r}getChoicesForDate(e,i=new Date){let r=e.choicesPerDay,s=this.getMd5ForDate(i),a=this.splitString(s,r);var c=[];return a.forEach(l=>{let d=(0,oh.default)(l)(),u=e.choices.reduce((E,O)=>E+O.weight,0),m=e.choices[0].weight/u,p=0;for(;mt.id;function Ov(n,t){if(n&1&&X(0,"choice-card",7),n&2){let o=t.$implicit,e=rt(2);Q("choice",o)("groupId",e.choiceGroup.id)}}function Fv(n,t){if(n&1&&(_(0,"div")(1,"ul",6),pr(2,Ov,1,2,"choice-card",7,kv),y()()),n&2){let o=rt();I(2),gr(o.choiceGroup.choices)}}function Pv(n,t){if(n&1&&(_(0,"tr")(1,"td"),T(2),y(),_(3,"td"),T(4),y()()),n&2){let o=t.$implicit;I(2),re(o.choice),I(2),re(o.amount)}}function Nv(n,t){if(n&1&&(_(0,"table")(1,"tr")(2,"th"),T(3,"Choice"),y(),_(4,"th"),T(5,"How often?"),y()(),H(6,Pv,5,2,"tr",8),y()),n&2){let o=rt();I(6),Q("ngForOf",o.analytics)}}var $o=(()=>{let t=class t{constructor(e,i,r){this.route=e,this.choiceDataService=i,this.md5Service=r,this.choiceGroupId=v(tc),this.numberOfDays=100,this.newChoice=new Xn,this.analytics=[]}addChoice(){this.choiceDataService.addChoice(this.newChoice,this.choiceGroup.id),this.newChoice=new Xn}ngOnInit(){this.choiceGroup=this.choiceDataService.getChoiceGroupById(this.choiceGroupId)}choiceUpdated(e){this.choiceDataService.updateChoiceById(e.id,this.choiceGroup.id,e)}choiceGroupUpdated(){this.choiceDataService.updateChoiceGroupById(this.choiceGroup.id,this.choiceGroup)}startAnalytics(){let e=new Date,i={};this.choiceGroup.choices.forEach(r=>{i[r.title]=0});for(let r=0;r{i[a.choice.title]++}),e.setDate(e.getDate()+1);this.analytics=[],this.analytics=Object.keys(i).map(r=>({choice:r,amount:i[r]}))}};t.\u0275fac=function(i){return new(i||t)(f(Le),f(Vt),f(Bt))},t.\u0275cmp=j({type:t,selectors:[["app-choice-group-detail"]],standalone:!0,features:[ot([Bt]),V],decls:21,vars:6,consts:[["mat-dialog-title",""],["placeholder","Name for a new choice",3,"ngModelChange","keyup.enter","ngModel"],[4,"ngIf"],["type","number",3,"ngModelChange","input","ngModel"],["type","number","value","100",3,"ngModelChange","ngModel"],[3,"click"],[1,"choice-list"],[3,"choice","groupId"],[4,"ngFor","ngForOf"]],template:function(i,r){i&1&&(_(0,"h2",0),T(1,"Choices"),y(),_(2,"mat-dialog-content"),T(3," Add a new choice "),_(4,"input",1),ce("ngModelChange",function(a){return ae(r.newChoice.title,a)||(r.newChoice.title=a),a}),U("keyup.enter",function(){return r.addChoice()}),y(),H(5,Fv,4,0,"div",2),_(6,"h2"),T(7,"Settings"),y(),T(8," Selections/Day "),_(9,"input",3),ce("ngModelChange",function(a){return ae(r.choiceGroup.choicesPerDay,a)||(r.choiceGroup.choicesPerDay=a),a}),U("input",function(){return r.choiceGroupUpdated()}),y(),_(10,"h2"),T(11,"Analytics"),y(),_(12,"h3"),T(13),y(),_(14,"div")(15,"label"),T(16,"Number of Days"),y(),_(17,"input",4),ce("ngModelChange",function(a){return ae(r.numberOfDays,a)||(r.numberOfDays=a),a}),y()(),_(18,"button",5),U("click",function(){return r.startAnalytics()}),T(19,"Analyze"),y(),H(20,Nv,7,1,"table",2),y()),i&2&&(I(4),se("ngModel",r.newChoice.title),I(),Q("ngIf",r.choiceGroup.choices.length),I(4),se("ngModel",r.choiceGroup.choicesPerDay),I(4),oe("Distribution of choices for the next ",r.numberOfDays," days"),I(4),se("ngModel",r.numberOfDays),I(3),Q("ngIf",r.analytics.length!=0))},dependencies:[Fe,Jt,hn,Oe,ni,xi,Cr,Vu,qi,Po,No],styles:[".choice-list[_ngcontent-%COMP%]{display:flex;list-style-type:none;flex-wrap:wrap;gap:16px}"]});let n=t;return n})();function Lv(n,t){if(n&1&&(_(0,"td")(1,"div",6),T(2),y()()),n&2){let o=t.$implicit,e=rt(3);I(),os("background",o.choice.color)("color",e.isColorLight(o.choice.color)?"#000":"#FFF"),I(),oe(" ",o.choice.title," ")}}function jv(n,t){if(n&1&&(_(0,"tr")(1,"td")(2,"b"),T(3),zc(4,"date"),y()(),H(5,Lv,3,5,"td",5),y()),n&2){let o=t.$implicit;I(3),re(Uc(4,2,o.day,"EEEE")),I(2),Q("ngForOf",o.selections)}}function Vv(n,t){if(n&1&&(_(0,"div",4)(1,"table"),H(2,jv,6,5,"tr",5),y()()),n&2){let o=rt();I(2),Q("ngForOf",o.getNextDaysSelections())}}var ah=(()=>{let t=class t{constructor(e,i){this.choiceDataService=e,this.md5Service=i,this.dialog=v(Wi)}deleteChoiceGroup(){confirm("Do you really want to delete this group?")&&this.choiceDataService.deleteChoiceGroupById(this.group.id)}isColorLight(e){let i=+("0x"+e.slice(1).replace(e.length<5&&/./g,"$&$&")),r=i>>16,s=i>>8&255,a=i&255;return Math.sqrt(.299*(r*r)+.587*(s*s)+.114*(a*a))>127.5}getNextDaysSelections(){let e=[],i=new Date;for(let r=0;r<8;r++)e.push({day:new Date(i.getTime()),selections:this.md5Service.getChoicesForDate(this.group,i)}),i.setDate(i.getDate()+1);return e}getTodaysSelections(){let e=new Date;return this.md5Service.getChoicesForDate(this.group,e)}openDialog(){let e=this.dialog.open($o,{data:this.group.id,minWidth:"0",maxWidth:"100%",width:"80%",height:"80%"})}};t.\u0275fac=function(i){return new(i||t)(f(Vt),f(Bt))},t.\u0275cmp=j({type:t,selectors:[["choice-group-overview"]],inputs:{group:"group"},standalone:!0,features:[ot([Bt]),V],decls:13,vars:2,consts:[["appearance","outlined",1,"choice-group-card"],["class","next-days",4,"ngIf"],["align","end"],["mat-icon-button","",3,"click"],[1,"next-days"],[4,"ngFor","ngForOf"],[1,"choice-overview"]],template:function(i,r){i&1&&(_(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),T(3),y()(),_(4,"mat-card-content"),H(5,Vv,3,1,"div",1),y(),_(6,"mat-card-actions",2)(7,"button",3),U("click",function(){return r.openDialog()}),_(8,"mat-icon"),T(9,"edit"),y()(),_(10,"button",3),U("click",function(){return r.deleteChoiceGroup()}),_(11,"mat-icon"),T(12,"delete"),y()()()()),i&2&&(I(3),oe(" ",r.group.title," "),I(2),Q("ngIf",r.group.choices.length>0))},dependencies:[xi,Cr,nl,Ro,Do,So,Ao,Mo,Io,ge,$i,We,Ge],styles:[".choice-group-card[_ngcontent-%COMP%]{max-width:fit-content}.choice-overview[_ngcontent-%COMP%]{border-radius:5px;padding:5px;display:inline-block}@media (prefers-color-scheme: light){.choice-overview[_ngcontent-%COMP%]{border:2px solid black}}@media (prefers-color-scheme: dark){.choice-overview[_ngcontent-%COMP%]{border:2px solid white}}.overview-header[_ngcontent-%COMP%]{overflow:hidden;margin:5px 10px 10px}.next-days[_ngcontent-%COMP%]{margin:10px}"]});let n=t;return n})();var Kn=class{constructor(t={}){this.choices=[],this.choicesPerDay=1,Object.assign(this,t)}};var Bv=(n,t)=>t.id;function zv(n,t){if(n&1&&X(0,"choice-group-overview",3),n&2){let o=t.$implicit;Q("group",o)}}function Uv(n,t){if(n&1&&(_(0,"section",2),pr(1,zv,1,1,"choice-group-overview",3,Bv),y()),n&2){let o=rt();I(),gr(o.choiceGroups)}}var ch=(()=>{let t=class t{constructor(e,i){this.choiceDataService=e,this.md5Service=i,this.newChoiceGroup=new Kn}addChoiceGroup(){this.choiceDataService.addChoiceGroup(this.newChoiceGroup),this.newChoiceGroup=new Kn}get choiceGroups(){return this.choiceDataService.getAllChoiceGroups()}ngOnInit(){}};t.\u0275fac=function(i){return new(i||t)(f(Vt),f(Bt))},t.\u0275cmp=j({type:t,selectors:[["app-dashboard"]],standalone:!0,features:[ot([Bt]),V],decls:3,vars:2,consts:[["placeholder","Name for a new choice group",3,"ngModelChange","keyup.enter","ngModel"],["class","main",4,"ngIf"],[1,"main"],[3,"group"]],template:function(i,r){i&1&&(T(0,` +Add a new Choice Group `),_(1,"input",0),ce("ngModelChange",function(a){return ae(r.newChoiceGroup.title,a)||(r.newChoiceGroup.title=a),a}),U("keyup.enter",function(){return r.addChoiceGroup()}),y(),H(2,Uv,3,0,"section",1)),i&2&&(I(),se("ngModel",r.newChoiceGroup.title),I(),Q("ngIf",r.choiceGroups.length>0))},dependencies:[Fe,Jt,Oe,ni,xi,ah],styles:[".main[_ngcontent-%COMP%]{padding-top:32px;display:flex;gap:16px}"]});let n=t;return n})();var Hv=[{path:"dashboard",component:ch},{path:"choice-group-detail/:id",component:$o},{path:"",redirectTo:"/dashboard",pathMatch:"full"}],lh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[xa.forRoot(Hv),xa]});let n=t;return n})();var $v=["*",[["mat-toolbar-row"]]],Gv=["*","mat-toolbar-row"],Wv=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let n=t;return n})(),dh=(()=>{let t=class t{constructor(e,i,r){this._elementRef=e,this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};t.\u0275fac=function(i){return new(i||t)(f(F),f(z),f(D))},t.\u0275cmp=j({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,s){if(i&1&&ne(s,Wv,5),i&2){let a;tt(a=et())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(Je(r.color?"mat-"+r.color:""),Y("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[V],ngContentSelectors:Gv,decls:2,vars:0,template:function(i,r){i&1&&(bt($v),q(0),q(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-tracking));margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let n=t;return n})();var uh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[it,it]});let n=t;return n})();var lc=class{constructor(t){this._box=t,this._destroyed=new A,this._resizeSubject=new A,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(o=>this._resizeSubject.next(o)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new we(o=>{let e=this._resizeSubject.subscribe(o);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(st(o=>o.some(e=>e.target===t)),es({bufferSize:1,refCount:!0}),mt(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},hh=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=v(C),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new lc(r)),this._observers.get(r).observe(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Yv=["notch"],Zv=["matFormFieldNotchedOutline",""],Xv=["*"],Kv=["textField"],Qv=["iconPrefixContainer"],Jv=["textPrefixContainer"],tb=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],eb=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function ib(n,t){n&1&&X(0,"span",19)}function nb(n,t){if(n&1&&(_(0,"label",18),q(1,1),H(2,ib,1,0,"span",19),y()),n&2){let o=rt(2);Q("floating",o._shouldLabelFloat())("monitorResize",o._hasOutline())("id",o._labelId),ct("for",o._control.disableAutomaticLabeling?null:o._control.id),I(2),ft(!o.hideRequiredMarker&&o._control.required?2:-1)}}function rb(n,t){if(n&1&&H(0,nb,3,5,"label",18),n&2){let o=rt();ft(o._hasFloatingLabel()?0:-1)}}function ob(n,t){n&1&&X(0,"div",5)}function sb(n,t){}function ab(n,t){if(n&1&&H(0,sb,0,0,"ng-template",11),n&2){rt(2);let o=ss(1);Q("ngTemplateOutlet",o)}}function cb(n,t){if(n&1&&(_(0,"div",7),H(1,ab,1,1,null,11),y()),n&2){let o=rt();Q("matFormFieldNotchedOutlineOpen",o._shouldLabelFloat()),I(),ft(o._forceDisplayInfixLabel()?-1:1)}}function lb(n,t){n&1&&(_(0,"div",8,2),q(2,2),y())}function db(n,t){n&1&&(_(0,"div",9,3),q(2,3),y())}function ub(n,t){}function hb(n,t){if(n&1&&H(0,ub,0,0,"ng-template",11),n&2){rt();let o=ss(1);Q("ngTemplateOutlet",o)}}function mb(n,t){n&1&&(_(0,"div",12),q(1,4),y())}function fb(n,t){n&1&&(_(0,"div",13),q(1,5),y())}function pb(n,t){n&1&&X(0,"div",14)}function gb(n,t){if(n&1&&(_(0,"div",16),q(1,6),y()),n&2){let o=rt();Q("@transitionMessages",o._subscriptAnimationState)}}function vb(n,t){if(n&1&&(_(0,"mat-hint",20),T(1),y()),n&2){let o=rt(2);Q("id",o._hintLabelId),I(),re(o.hintLabel)}}function bb(n,t){if(n&1&&(_(0,"div",17),H(1,vb,2,2,"mat-hint",20),q(2,7),X(3,"div",21),q(4,8),y()),n&2){let o=rt();Q("@transitionMessages",o._subscriptAnimationState),I(),ft(o.hintLabel?1:-1)}}var Wo=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["mat-label"]],standalone:!0});let n=t;return n})();var _b=new w("MatError");var yb=0,mh=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${yb++}`}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(Me("id",r.id),ct("align",null),Y("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=t;return n})(),wb=new w("MatPrefix");var xb=new w("MatSuffix");var wh=new w("FloatingLabelParent"),fh=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=v(hh),this._ngZone=v(C),this._parent=v(wh),this._resizeSubscription=new Ut}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Cb(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};t.\u0275fac=function(i){return new(i||t)(f(F))},t.\u0275dir=S({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&Y("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=t;return n})();function Cb(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let o=t.cloneNode(!0);o.style.setProperty("position","absolute"),o.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(o);let e=o.scrollWidth;return o.remove(),e}var ph="mdc-line-ripple--active",Go="mdc-line-ripple--deactivating",gh=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Go);r.propertyName==="opacity"&&a&&s.remove(ph,Go)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Go),e.add(ph)}deactivate(){this._elementRef.nativeElement.classList.add(Go)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(i){return new(i||t)(f(F),f(C))},t.\u0275dir=S({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let n=t;return n})(),vh=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(i){return new(i||t)(f(F),f(C))},t.\u0275cmp=j({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&_t(Yv,5),i&2){let s;tt(s=et())&&(r._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&Y("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[V],attrs:Zv,ngContentSelectors:Xv,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(bt(),X(0,"div",1),_(1,"div",2,0),q(3),y(),X(4,"div",3))},encapsulation:2,changeDetection:0});let n=t;return n})(),Eb={transitionMessages:Er("transitionMessages",[nn("enter",ei({opacity:1,transform:"translateY(0%)"})),rn("void => enter",[ei({opacity:0,transform:"translateY(-5px)"}),en("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},dc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t});let n=t;return n})();var uc=new w("MatFormField"),Db=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),bh=0,_h="fill",Ib="auto",yh="fixed",Ab="translateY(-50%)",xh=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ci(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Ib}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||_h;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||yh}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||yh}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,s,a,c,l,d){this._elementRef=e,this._changeDetectorRef=i,this._dir=s,this._platform=a,this._defaults=c,this._animationMode=l,this._labelChild=Fc(Wo),this._hideRequiredMarker=!1,this.color="primary",this._appearance=_h,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${bh++}`,this._hintLabelId=`mat-mdc-hint-${bh++}`,this._subscriptAnimationState="",this._destroyed=new A,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=v(K),this.getLabelId=le(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=le(()=>!!this._labelChild()),c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(mt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),gi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),fr(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(mt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,r=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,a=r?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",l=`${s+a}px`,u=`calc(${c} * (${l} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${Ab} translateX(${u}) + )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(i){return new(i||t)(f(F),f(St),f(C),f(pe),f(z),f(Db,8),f(vt,8),f(D))},t.\u0275cmp=j({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,s){if(i&1&&(Vc(s,r._labelChild,Wo,5),ne(s,dc,5),ne(s,wb,5),ne(s,xb,5),ne(s,_b,5),ne(s,mh,5)),i&2){Bc();let a;tt(a=et())&&(r._formFieldControl=a.first),tt(a=et())&&(r._prefixChildren=a),tt(a=et())&&(r._suffixChildren=a),tt(a=et())&&(r._errorChildren=a),tt(a=et())&&(r._hintChildren=a)}},viewQuery:function(i,r){if(i&1&&(_t(Kv,5),_t(Qv,5),_t(Jv,5),_t(fh,5),_t(vh,5),_t(gh,5)),i&2){let s;tt(s=et())&&(r._textField=s.first),tt(s=et())&&(r._iconPrefixContainer=s.first),tt(s=et())&&(r._textPrefixContainer=s.first),tt(s=et())&&(r._floatingLabel=s.first),tt(s=et())&&(r._notchedOutline=s.first),tt(s=et())&&(r._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){i&2&&Y("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[ot([{provide:uc,useExisting:t},{provide:wh,useExisting:t}]),V],ngContentSelectors:eb,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let s=vr();bt(tb),H(0,rb,1,1,"ng-template",null,0,Hc),_(2,"div",4,1),U("click",function(c){return cr(s),lr(r._control.onContainerClick(c))}),H(4,ob,1,0,"div",5),_(5,"div",6),H(6,cb,2,2,"div",7)(7,lb,3,0,"div",8)(8,db,3,0,"div",9),_(9,"div",10),H(10,hb,1,1,null,11),q(11),y(),H(12,mb,2,0,"div",12)(13,fb,2,0,"div",13),y(),H(14,pb,1,0,"div",14),y(),_(15,"div",15),H(16,gb,2,1,"div",16)(17,bb,5,2,"div",17),y()}if(i&2){let s;I(2),Y("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),I(2),ft(!r._hasOutline()&&!r._control.disabled?4:-1),I(2),ft(r._hasOutline()?6:-1),I(),ft(r._hasIconPrefix?7:-1),I(),ft(r._hasTextPrefix?8:-1),I(2),ft(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),I(2),ft(r._hasTextSuffix?12:-1),I(),ft(r._hasIconSuffix?13:-1),I(),ft(r._hasOutline()?-1:14),I(),Y("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),I(),ft((s=r._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[fh,vh,il,gh,mh],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-left:16px;padding-right:16px}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;width:12px;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 24px)}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Eb.transitionMessages]},changeDetection:0});let n=t;return n})(),Qn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[it,Re,po,it]});let n=t;return n})();var Ch=Ve({passive:!0}),Eh=(()=>{let t=class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Xt;let i=Lt(e),r=this._monitoredElements.get(i);if(r)return r.subject;let s=new A,a="cdk-text-field-autofilled",c=l=>{l.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,Ch),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",c,Ch)}}),s}stopMonitoring(e){let i=Lt(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}};t.\u0275fac=function(i){return new(i||t)(h(z),h(C))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Dh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({});let n=t;return n})();var Rb=new w("MAT_INPUT_VALUE_ACCESSOR"),Tb=["button","checkbox","file","hidden","image","radio","range","reset","submit"],kb=0,Ih=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=ci(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ir.required)??!1}set required(e){this._required=ci(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Da().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ci(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,r,s,a,c,l,d,u,m){this._elementRef=e,this._platform=i,this.ngControl=r,this._autofillMonitor=d,this._ngZone=u,this._formField=m,this._uid=`mat-input-${kb++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new A,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(O=>Da().has(O)),this._iOSKeyupListener=O=>{let L=O.target;!L.value&&L.selectionStart===0&&L.selectionEnd===0&&(L.setSelectionRange(1,1),L.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let p=this._elementRef.nativeElement,E=p.nodeName.toLowerCase();this._inputValueAccessor=l||p,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new xo(c,r,a,s,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=E==="select",this._isTextarea=E==="textarea",this._isInFormField=!!m,this._isNativeSelect&&(this.controlType=p.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Tb.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}};t.\u0275fac=function(i){return new(i||t)(f(F),f(z),f(ue,10),f(_s,8),f(ws,8),f(du),f(Rb,10),f(Eh),f(C),f(uc,8))},t.\u0275dir=S({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,r){i&1&&U("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(Me("id",r.id)("disabled",r.disabled)("required",r.required),ct("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),Y("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[ot([{provide:dc,useExisting:t}]),It]});let n=t;return n})(),Ah=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=R({type:t}),t.\u0275inj=M({imports:[it,Qn,Qn,Dh,it]});let n=t;return n})();function Fb(n,t){if(n&1){let o=vr();_(0,"div",1)(1,"button",2),U("click",function(){cr(o);let i=rt();return lr(i.action())}),T(2),y()()}if(n&2){let o=rt();I(2),oe(" ",o.data.action," ")}}var Pb=["label"];function Nb(n,t){}var Lb=Math.pow(2,31)-1,Jn=class{constructor(t,o){this._overlayRef=o,this._afterDismissed=new A,this._afterOpened=new A,this._onAction=new A,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,Lb))}_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}},Sh=new w("MatSnackBarData"),Yi=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},jb=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let n=t;return n})(),Vb=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let n=t;return n})(),Bb=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=S({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let n=t;return n})(),zb=(()=>{let t=class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(i){return new(i||t)(f(Jn),f(Sh))},t.\u0275cmp=j({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[V],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(_(0,"div",0),T(1),y(),H(2,Fb,3,1,"div",1)),i&2&&(I(),oe(" ",r.data.message,` +`),I(),ft(r.hasAction?2:-1))},dependencies:[Co,jb,Vb,Bb],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let n=t;return n})(),Ub={snackBarState:Er("state",[nn("void, hidden",ei({transform:"scale(0.8)",opacity:0})),nn("visible",ei({transform:"scale(1)",opacity:1})),rn("* => visible",en("150ms cubic-bezier(0, 0, 0.2, 1)")),rn("* => void, * => hidden",en("75ms cubic-bezier(0.4, 0.0, 1, 1)",ei({opacity:0})))])},Hb=0,$b=(()=>{let t=class t extends Ue{constructor(e,i,r,s,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=s,this.snackBarConfig=a,this._document=v(D),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new A,this._onExit=new A,this._onEnter=new A,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${Hb++}`,this.attachDomPortal=c=>{this._assertNotAttached();let l=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),l},a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.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 s=this._onEnter;this._ngZone.run(()=>{s.next(),s.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(a=>e.classList.add(a)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,s="mdc-snackbar__label";r.classList.toggle(s,!r.querySelector(`.${s}`))}_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)})}};t.\u0275fac=function(i){return new(i||t)(f(C),f(F),f(St),f(z),f(Yi))},t.\u0275cmp=j({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&(_t(He,7),_t(Pb,7)),i&2){let s;tt(s=et())&&(r._portalOutlet=s.first),tt(s=et())&&(r._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(i,r){i&1&&jc("@state.done",function(a){return r.onAnimationEnd(a)}),i&2&&Lc("@state",r._animationState)},standalone:!0,features:[J,V],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&&(_(0,"div",1)(1,"div",2,0)(3,"div",3),H(4,Nb,0,0,"ng-template",4),y(),X(5,"div"),y()()),i&2&&(I(5),ct("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[He],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){color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary));--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-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[Ub.snackBarState]}});let n=t;return n})();function Gb(){return new Yi}var Wb=new w("mat-snack-bar-default-options",{providedIn:"root",factory:Gb}),Mh=(()=>{let t=class t{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,s,a,c){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=s,this._parentSnackBar=a,this._defaultConfig=c,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=zb,this.snackBarContainerComponent=$b,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 s=g(g({},this._defaultConfig),r);return s.data={message:e,action:i},s.announcementMessage===e&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,s=K.create({parent:r||this._injector,providers:[{provide:Yi,useValue:i}]}),a=new ve(this.snackBarContainerComponent,i.viewContainerRef,s),c=e.attach(a);return c.instance.snackBarConfig=i,c.instance}_attach(e,i){let r=g(g(g({},new Yi),this._defaultConfig),i),s=this._createOverlay(r),a=this._attachSnackBarContainer(s,r),c=new Jn(a,s);if(e instanceof Qe){let l=new ze(e,null,{$implicit:r.data,snackBarRef:c});c.instance=a.attachTemplatePortal(l)}else{let l=this._createInjector(r,c),d=new ve(e,void 0,l),u=a.attachComponentPortal(d);c.instance=u.instance}return this._breakpointObserver.observe(Yd.HandsetPortrait).pipe(mt(s.detachments())).subscribe(l=>{s.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,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 hi;i.direction=e.direction;let r=this._overlay.position().global(),s=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!s||e.horizontalPosition==="end"&&s,c=!a&&e.horizontalPosition!=="center";return a?r.left("0"):c?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 K.create({parent:r||this._injector,providers:[{provide:Jn,useValue:i},{provide:Sh,useValue:e.data}]})}};t.\u0275fac=function(i){return new(i||t)(h(kt),h(tu),h(K),h(go),h(t,12),h(Wb))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Rh=(()=>{let t=class t{constructor(){this.choiceDataService=v(Vt),this.snackBar=v(Mh),this.importControl=new Br("")}copyConfigToClipboard(){this.choiceDataService.copyToClipboard(),this.snackBar.open("Config copied to clipboard",null,{duration:3e3})}importData(){this.choiceDataService.import(this.importControl.value),this.snackBar.open("Config imported successfully",null,{duration:3e3})}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["app-import-export-dialog"]],standalone:!0,features:[V],decls:19,vars:2,consts:[["mat-dialog-title",""],[1,"full-width"],["rows","5","matInput","","placeholder","Paste JSON data",3,"formControl"],["mat-button","",3,"click","disabled"],["mat-button","",3,"click"]],template:function(i,r){i&1&&(_(0,"h2",0),T(1,"Import/Export"),y(),_(2,"mat-dialog-content")(3,"h3"),T(4,"Import"),y(),_(5,"mat-form-field",1)(6,"mat-label"),T(7,"Data"),y(),X(8,"textarea",2),y(),_(9,"button",3),U("click",function(){return r.importData()}),T(10," Import "),_(11,"mat-icon"),T(12,"upload"),y()(),_(13,"h3"),T(14,"Export"),y(),_(15,"button",4),U("click",function(){return r.copyConfigToClipboard()}),T(16," Export "),_(17,"mat-icon"),T(18,"content_paste_go"),y()()()),i&2&&(I(8),Q("formControl",r.importControl),I(),Q("disabled",r.importControl.invalid))},dependencies:[Re,qi,Po,No,ge,Co,We,Ge,Qn,xh,Wo,Ah,Ih,Nl,Jt,Oe,ys],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"],changeDetection:0});let n=t;return n})();var Th=(()=>{let t=class t{constructor(){this.dialog=v(Wi)}openImportExport(){this.dialog.open(Rh,{width:"800px"})}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["app-root"]],standalone:!0,features:[V],decls:8,vars:0,consts:[["mat-icon-button","",3,"click"],[1,"outlet"]],template:function(i,r){i&1&&(_(0,"mat-toolbar")(1,"span"),T(2,"Daily Random Scheduler"),y(),_(3,"button",0),U("click",function(){return r.openImportExport()}),_(4,"mat-icon"),T(5,"import_export"),y()()(),_(6,"div",1),X(7,"router-outlet"),y())},dependencies:[pa,uh,dh,We,Ge,ge,$i,qi],styles:[".outlet[_ngcontent-%COMP%]{margin:16px}mat-toolbar[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]});let n=t;return n})();var kh={production:!0};kh.production&&void 0;Zl(Th,{providers:[yc(Kl,Fe,lh),Vt,Bo,td()]});